From 90ccefa1c9c56f44ed78ef9b6952f783f184d4de Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Wed, 21 Oct 2026 11:33:51 +0100 Subject: [PATCH] feat: check direct-tool responses against forge-generated response schemas Forge's MCP target now generates each tool's response schemas (forge.json pins cloudflare/forge's forge-mcp branch, which adds them; tools/list never sends them). Both direct-tool surfaces check every JSON response, success or error, against them and record each mismatch as a response_schema_mismatch Analytics Engine event, with schema locations and keywords only, never response values. - The check runs in the forge tools service, where the generated schemas already live: the main Worker trims each array to 25 items and calls its checkResponse RPC in waitUntil, catching everything, so it can't change, fail or slow a tool result, and loads nothing into the main Worker. - generate-tools.ts records the openapi.forge.json release in source.json, so each mismatch names the spec it was checked against. - scripts/schema-mismatch-report.ts groups mismatches by product, operation and violation, naming the generated tool and linking the spec release. - RESPONSE_VALIDATION_SAMPLE_RATE samples checks; adds @cfworker/json-schema. Regenerated from openapi@fdbc7d9, whose account_or_zone carries its accounts/zones enum and description (cloudflare/forge#59), so the forge tools no longer add them. --- .github/workflows/forge-tools.yml | 1 + AGENTS.md | 24 +- forge.json | 2 +- package-lock.json | 7 + package.json | 4 +- scripts/bench-response-validation.ts | 128 + scripts/generate-tools.ts | 48 +- scripts/schema-mismatch-report.ts | 203 + src/forge-tools/worker.ts | 52 +- src/generated/forge-mcp/_/index.ts | 1 + src/generated/forge-mcp/_/tool.ts | 22 +- .../forge-mcp/abuseReports/appeals/outputs.ts | 35 + .../forge-mcp/abuseReports/appeals/tools.ts | 65 + .../forge-mcp/abuseReports/emails/outputs.ts | 53 + .../forge-mcp/abuseReports/emails/tools.ts | 117 + .../abuseReports/mitigations/outputs.ts | 128 + .../abuseReports/mitigations/tools.ts | 142 + .../forge-mcp/abuseReports/outputs.ts | 961 ++ src/generated/forge-mcp/abuseReports/tools.ts | 316 + .../accounts/applications/outputs.ts | 420 + .../forge-mcp/accounts/applications/tools.ts | 302 + .../accounts/billing/history/tools.ts | 36 + .../forge-mcp/accounts/billing/outputs.ts | 83 + .../billing/paymentMethods/outputs.ts | 96 + .../accounts/billing/paymentMethods/tools.ts | 131 + .../forge-mcp/accounts/billing/tools.ts | 189 + .../forge-mcp/accounts/categories/outputs.ts | 62 + .../forge-mcp/accounts/categories/tools.ts | 85 + .../forge-mcp/accounts/logs/audit/outputs.ts | 146 + .../forge-mcp/accounts/logs/audit/tools.ts | 135 + .../forge-mcp/accounts/members/outputs.ts | 68 + .../forge-mcp/accounts/members/tools.ts | 235 + .../forge-mcp/accounts/organization/tools.ts | 44 + src/generated/forge-mcp/accounts/outputs.ts | 164 + .../forge-mcp/accounts/profile/tools.ts | 32 + .../accounts/subscriptions/outputs.ts | 32 + .../forge-mcp/accounts/subscriptions/tools.ts | 235 + .../accounts/tokens/permissionGroups/tools.ts | 75 + .../forge-mcp/accounts/tokens/tools.ts | 286 + src/generated/forge-mcp/accounts/tools.ts | 151 + .../accounts/transformations/outputs.ts | 36 + .../accounts/transformations/tools.ts | 34 + .../forge-mcp/accounts/utBilling/outputs.ts | 50 + .../forge-mcp/accounts/utBilling/tools.ts | 40 + .../forge-mcp/acm/customTrustStore/outputs.ts | 180 + .../forge-mcp/acm/customTrustStore/tools.ts | 170 + .../forge-mcp/acm/totalTls/outputs.ts | 84 + src/generated/forge-mcp/acm/totalTls/tools.ts | 85 + .../addressing/addressMaps/accounts/tools.ts | 52 + .../addressing/addressMaps/ips/tools.ts | 98 + .../addressing/addressMaps/outputs.ts | 320 + .../forge-mcp/addressing/addressMaps/tools.ts | 249 + .../addressing/addressMaps/zones/tools.ts | 98 + .../forge-mcp/addressing/leases/outputs.ts | 134 + .../forge-mcp/addressing/leases/tools.ts | 74 + .../addressing/loaDocuments/outputs.ts | 139 + .../addressing/loaDocuments/tools.ts | 92 + src/generated/forge-mcp/addressing/outputs.ts | 163 + .../prefixes/bgpPrefixes/outputs.ts | 222 + .../addressing/prefixes/bgpPrefixes/tools.ts | 203 + .../prefixes/delegations/outputs.ts | 174 + .../addressing/prefixes/delegations/tools.ts | 136 + .../forge-mcp/addressing/prefixes/outputs.ts | 268 + .../prefixes/serviceBindings/outputs.ts | 52 + .../prefixes/serviceBindings/tools.ts | 104 + .../forge-mcp/addressing/prefixes/tools.ts | 217 + .../addressing/prefixes/validate/tools.ts | 61 + .../addressing/regionalHostnames/outputs.ts | 149 + .../regionalHostnames/regions/tools.ts | 59 + .../addressing/regionalHostnames/tools.ts | 132 + .../forge-mcp/addressing/services/tools.ts | 44 + src/generated/forge-mcp/agentMemory/tools.ts | 1797 ++- src/generated/forge-mcp/ai/authors/tools.ts | 51 + .../forge-mcp/ai/finetunes/assets/tools.ts | 70 + .../forge-mcp/ai/finetunes/public/tools.ts | 85 + src/generated/forge-mcp/ai/finetunes/tools.ts | 164 + src/generated/forge-mcp/ai/models/tools.ts | 72 + src/generated/forge-mcp/ai/tasks/tools.ts | 39 + src/generated/forge-mcp/ai/tools.ts | 766 ++ .../forge-mcp/aiAudit/robots/outputs.ts | 164 + .../forge-mcp/aiAudit/robots/tools.ts | 76 + .../aiGateway/customDomains/tools.ts | 323 + .../aiGateway/customProviders/tools.ts | 533 + .../forge-mcp/aiGateway/datasets/tools.ts | 678 + .../dynamicRouting/deployments/tools.ts | 478 + .../aiGateway/dynamicRouting/tools.ts | 2795 +++- .../dynamicRouting/versions/tools.ts | 971 +- .../aiGateway/evaluationTypes/tools.ts | 109 + .../forge-mcp/aiGateway/evaluations/tools.ts | 909 ++ .../aiGateway/gateways/providers/tools.ts | 458 + .../forge-mcp/aiGateway/gateways/tools.ts | 4241 +++++- .../forge-mcp/aiGateway/logs/tools.ts | 492 + .../forge-mcp/aiSearch/items/tools.ts | 2426 ++++ .../forge-mcp/aiSearch/jobs/tools.ts | 788 ++ .../forge-mcp/aiSearch/namespace/tools.ts | 981 +- .../forge-mcp/aiSearch/tokens/tools.ts | 599 + src/generated/forge-mcp/aiSearch/tools.ts | 6733 +++++++++- .../aiSecurity/customTopics/outputs.ts | 69 + .../aiSecurity/customTopics/tools.ts | 55 + src/generated/forge-mcp/aiSecurity/outputs.ts | 77 + src/generated/forge-mcp/aiSecurity/tools.ts | 52 + .../alerting/availableAlerts/outputs.ts | 54 + .../alerting/availableAlerts/tools.ts | 36 + .../alerting/destinations/eligible/outputs.ts | 48 + .../alerting/destinations/eligible/tools.ts | 34 + .../destinations/pagerduty/outputs.ts | 33 + .../alerting/destinations/pagerduty/tools.ts | 118 + .../alerting/destinations/webhooks/outputs.ts | 168 + .../alerting/destinations/webhooks/tools.ts | 170 + .../forge-mcp/alerting/history/outputs.ts | 124 + .../forge-mcp/alerting/history/tools.ts | 63 + src/generated/forge-mcp/alerting/outputs.ts | 139 + .../alerting/policies/email/outputs.ts | 53 + .../alerting/policies/email/tools.ts | 46 + .../forge-mcp/alerting/policies/outputs.ts | 575 + .../forge-mcp/alerting/policies/tools.ts | 200 + .../forge-mcp/alerting/silences/outputs.ts | 101 + .../forge-mcp/alerting/silences/tools.ts | 167 + src/generated/forge-mcp/alerts/clear/tools.ts | 11 + .../forge-mcp/alerts/refute/tools.ts | 11 + src/generated/forge-mcp/alerts/tools.ts | 21 + .../forge-mcp/alerts/verify/tools.ts | 11 + .../analytics/latency/colos/tools.ts | 27 + .../forge-mcp/analytics/latency/outputs.ts | 86 + .../forge-mcp/analytics/latency/tools.ts | 27 + .../dataSecurity/contentFindings/tools.ts | 42 + .../query/dataSecurity/findings/outputs.ts | 32 + .../query/dataSecurity/findings/tools.ts | 54 + .../forge-mcp/analytics/query/outputs.ts | 127 + .../forge-mcp/analytics/query/tools.ts | 90 + .../sql/accounts/introspection/tools.ts | 51 + .../forge-mcp/analytics/sql/accounts/tools.ts | 95 + .../forge-mcp/analytics/sql/tools.ts | 52 + .../forge-mcp/apiSecurity/outputs.ts | 57 + .../schemaValidation/schemas/hosts/outputs.ts | 42 + .../schemaValidation/schemas/hosts/tools.ts | 52 + .../schemas/operations/tools.ts | 115 + .../schemaValidation/schemas/outputs.ts | 123 + .../schemaValidation/schemas/tools.ts | 205 + .../settings/operations/outputs.ts | 52 + .../settings/operations/tools.ts | 189 + .../schemaValidation/settings/outputs.ts | 37 + .../schemaValidation/settings/tools.ts | 99 + .../apiSecurity/sessionIdentifiers/outputs.ts | 112 + .../apiSecurity/sessionIdentifiers/tools.ts | 49 + .../configurations/credentials/tools.ts | 91 + .../tokenValidation/configurations/outputs.ts | 328 + .../tokenValidation/configurations/tools.ts | 269 + .../tokenValidation/rules/outputs.ts | 181 + .../tokenValidation/rules/tools.ts | 317 + .../credentialSets/credentials/outputs.ts | 48 + .../credentialSets/credentials/tools.ts | 140 + .../credentialSets/outputs.ts | 24 + .../credentialSets/tools.ts | 132 + .../vulnerabilityScanner/outputs.ts | 67 + .../vulnerabilityScanner/scans/outputs.ts | 588 + .../vulnerabilityScanner/scans/tools.ts | 187 + .../targetEnvironments/outputs.ts | 67 + .../targetEnvironments/tools.ts | 146 + .../forge-mcp/argo/smartRouting/outputs.ts | 115 + .../forge-mcp/argo/smartRouting/tools.ts | 75 + .../forge-mcp/argo/tieredCaching/outputs.ts | 44 + .../forge-mcp/argo/tieredCaching/tools.ts | 70 + .../artifacts/namespaces/repos/blobs/tools.ts | 521 + .../namespaces/repos/commits/tools.ts | 500 + .../artifacts/namespaces/repos/files/tools.ts | 521 + .../artifacts/namespaces/repos/logs/tools.ts | 561 + .../artifacts/namespaces/repos/raw/tools.ts | 523 + .../namespaces/repos/tokens/tools.ts | 619 + .../artifacts/namespaces/repos/tools.ts | 3650 ++++- .../artifacts/namespaces/repos/trees/tools.ts | 525 + .../artifacts/namespaces/tokens/tools.ts | 907 ++ .../forge-mcp/artifacts/namespaces/tools.ts | 1903 +++ src/generated/forge-mcp/auditLogs/tools.ts | 41 + .../basinCatalog/credentials/tools.ts | 73 + .../basinCatalog/maintenanceConfigs/tools.ts | 78 + .../tables/maintenanceConfigs/tools.ts | 104 + .../tables/maintenanceRuns/tools.ts | 33 + .../basinCatalog/namespaces/tables/tools.ts | 70 + .../basinCatalog/namespaces/tools.ts | 36 + src/generated/forge-mcp/basinCatalog/tools.ts | 155 + .../forge-mcp/billing/addresses/outputs.ts | 34 + .../forge-mcp/billing/addresses/tools.ts | 28 + .../forge-mcp/billing/profiles/tools.ts | 575 + .../forge-mcp/billing/ratePlans/tools.ts | 35 + .../forge-mcp/billing/usage/outputs.ts | 337 + .../forge-mcp/billing/usage/tools.ts | 187 + .../botManagement/feedback/outputs.ts | 123 + .../forge-mcp/botManagement/feedback/tools.ts | 47 + .../forge-mcp/botManagement/outputs.ts | 586 + .../forge-mcp/botManagement/tools.ts | 180 + .../forge-mcp/botnetFeed/asn/tools.ts | 56 + .../forge-mcp/botnetFeed/configs/asn/tools.ts | 42 + .../brandProtection/logoMatches/tools.ts | 89 + .../forge-mcp/brandProtection/logos/tools.ts | 91 + .../brandProtection/matches/tools.ts | 222 + .../brandProtection/queries/tools.ts | 217 + .../forge-mcp/brandProtection/tools.ts | 79 + .../forge-mcp/brandProtection/trial/tools.ts | 58 + .../forge-mcp/brands/patterns/tools.ts | 31 + src/generated/forge-mcp/brands/tools.ts | 31 + .../forge-mcp/browserRun/crawl/tools.ts | 423 + .../devtools/browser/liveView/tools.ts | 141 + .../devtools/browser/targets/tools.ts | 515 + .../browserRun/devtools/browser/tools.ts | 316 + .../browserRun/devtools/json/tools.ts | 96 + .../browserRun/devtools/session/tools.ts | 105 + .../browserRun/quickAction/outputs.ts | 145 + .../forge-mcp/browserRun/quickAction/tools.ts | 1271 ++ .../browserRun/recording/network/tools.ts | 75 + .../forge-mcp/browserRun/recording/tools.ts | 126 + .../forge-mcp/builds/deployHooks/outputs.ts | 109 + .../forge-mcp/builds/deployHooks/tools.ts | 185 + .../forge-mcp/builds/limits/outputs.ts | 34 + .../forge-mcp/builds/limits/tools.ts | 20 + .../forge-mcp/builds/logs/outputs.ts | 44 + src/generated/forge-mcp/builds/logs/tools.ts | 27 + src/generated/forge-mcp/builds/outputs.ts | 65 + .../builds/repos/configAutofill/outputs.ts | 76 + .../builds/repos/configAutofill/tools.ts | 24 + .../builds/repos/connections/tools.ts | 59 + .../forge-mcp/builds/tokens/outputs.ts | 60 + .../forge-mcp/builds/tokens/tools.ts | 86 + src/generated/forge-mcp/builds/tools.ts | 231 + .../forge-mcp/builds/triggers/cache/tools.ts | 25 + .../triggers/environmentVariables/tools.ts | 65 + .../forge-mcp/builds/triggers/outputs.ts | 64 + .../forge-mcp/builds/triggers/tools.ts | 181 + .../forge-mcp/builds/versions/outputs.ts | 19 + .../forge-mcp/builds/versions/tools.ts | 92 + .../forge-mcp/builds/workers/tools.ts | 157 + .../cache/originCloudRegions/outputs.ts | 183 + .../cache/originCloudRegions/tools.ts | 136 + src/generated/forge-mcp/cache/outputs.ts | 115 + .../settings/regionalTieredCache/outputs.ts | 44 + .../settings/regionalTieredCache/tools.ts | 70 + .../cache/settings/reserve/outputs.ts | 100 + .../forge-mcp/cache/settings/reserve/tools.ts | 154 + .../settings/smartTieredCache/outputs.ts | 44 + .../cache/settings/smartTieredCache/tools.ts | 116 + .../cache/settings/variants/outputs.ts | 108 + .../cache/settings/variants/tools.ts | 85 + src/generated/forge-mcp/cache/tools.ts | 103 + src/generated/forge-mcp/clear/tools.ts | 11 + .../clientSideSecurity/connections/outputs.ts | 73 + .../clientSideSecurity/connections/tools.ts | 54 + .../clientSideSecurity/cookies/outputs.ts | 78 + .../clientSideSecurity/cookies/tools.ts | 54 + .../forge-mcp/clientSideSecurity/outputs.ts | 93 + .../clientSideSecurity/policies/outputs.ts | 79 + .../clientSideSecurity/policies/tools.ts | 125 + .../clientSideSecurity/scripts/outputs.ts | 242 + .../clientSideSecurity/scripts/tools.ts | 104 + .../clientSideSecurity/settings/outputs.ts | 88 + .../clientSideSecurity/settings/tools.ts | 50 + .../forge-mcp/cloudConnector/rules/outputs.ts | 130 + .../forge-mcp/cloudConnector/rules/tools.ts | 72 + .../cloudforceOne/binaryStorage/tools.ts | 35 + .../credentialMonitor/domains/tools.ts | 222 + .../credentialMonitor/matches/tools.ts | 91 + .../cloudforceOne/events/aggregate/tools.ts | 95 + .../events/categories/catalog/tools.ts | 71 + .../cloudforceOne/events/categories/tools.ts | 68 + .../events/dataset/copy/tools.ts | 71 + .../events/dataset/events/tools.ts | 176 + .../events/dataset/groups/get/tools.ts | 159 + .../events/dataset/groups/members/tools.ts | 168 + .../events/dataset/groups/tools.ts | 171 + .../events/dataset/indicators/bulk/tools.ts | 37 + .../events/dataset/indicators/create/tools.ts | 134 + .../events/dataset/indicators/get/tools.ts | 134 + .../dataset/indicators/relationships/tools.ts | 250 + .../events/dataset/indicators/tags/tools.ts | 100 + .../events/dataset/indicators/tools.ts | 239 + .../events/dataset/move/tools.ts | 89 + .../events/dataset/permissions/tools.ts | 353 + .../events/dataset/tags/indicators/tools.ts | 229 + .../events/dataset/target/industries/tools.ts | 57 + .../cloudforceOne/events/dataset/tools.ts | 136 + .../events/datasets/populate/tools.ts | 557 + .../cloudforceOne/events/delete/tools.ts | 37 + .../events/graphql/create/graph/tools.ts | 124 + .../events/indicator/types/tools.ts | 57 + .../cloudforceOne/events/indicators/tools.ts | 471 + .../forge-mcp/cloudforceOne/events/outputs.ts | 203 + .../cloudforceOne/events/queries/get/tools.ts | 198 + .../cloudforceOne/events/queries/tools.ts | 386 + .../cloudforceOne/events/raw/tools.ts | 49 + .../events/relate/create/tools.ts | 45 + .../events/relationships/create/tools.ts | 119 + .../events/relationships/tools.ts | 179 + .../events/tags/categories/actors/tools.ts | 607 + .../events/tags/categories/create/tools.ts | 111 + .../events/tags/categories/tools.ts | 379 + .../events/tags/relationships/tools.ts | 230 + .../cloudforceOne/events/tags/tools.ts | 2108 ++- .../events/target/industries/catalog/tools.ts | 57 + .../forge-mcp/cloudforceOne/events/tools.ts | 176 + .../cloudforceOne/events/update/bulk/tools.ts | 67 + .../priorityIntelligence/constants/tools.ts | 6 + .../priorityIntelligence/filters/tools.ts | 427 + .../interests/backtests/tools.ts | 12 + .../interests/evaluations/tools.ts | 12 + .../priorityIntelligence/interests/tools.ts | 26 + .../priorityIntelligence/matches/tools.ts | 14 + .../priorityIntelligence/quota/tools.ts | 6 + .../priorityIntelligence/tools.ts | 36 + .../cloudforceOne/requests/assets/tools.ts | 485 + .../cloudforceOne/requests/constants/tools.ts | 152 + .../requests/legalResponse/tools.ts | 45 + .../cloudforceOne/requests/messages/tools.ts | 491 + .../cloudforceOne/requests/metadata/tools.ts | 196 + .../cloudforceOne/requests/quota/tools.ts | 7 + .../forge-mcp/cloudforceOne/requests/tools.ts | 828 ++ .../cloudforceOne/requests/types/tools.ts | 81 + .../cloudforceOne/requests/user/tools.ts | 19 + .../cloudforceOne/rules/approvals/outputs.ts | 506 + .../cloudforceOne/rules/approvals/tools.ts | 114 + .../rules/email/approvals/tools.ts | 27 + .../cloudforceOne/rules/email/outputs.ts | 253 + .../cloudforceOne/rules/email/schema/tools.ts | 219 + .../cloudforceOne/rules/email/tools.ts | 215 + .../cloudforceOne/rules/exemptions/outputs.ts | 36 + .../cloudforceOne/rules/exemptions/tools.ts | 88 + .../cloudforceOne/rules/managed/tools.ts | 53 + .../forge-mcp/cloudforceOne/rules/outputs.ts | 789 ++ .../cloudforceOne/rules/stats/outputs.ts | 30 + .../cloudforceOne/rules/stats/tools.ts | 16 + .../forge-mcp/cloudforceOne/rules/tools.ts | 190 + .../cloudforceOne/rules/tree/outputs.ts | 52 + .../cloudforceOne/rules/tree/tools.ts | 20 + .../cloudforceOne/scans/config/outputs.ts | 62 + .../cloudforceOne/scans/config/tools.ts | 92 + .../forge-mcp/cloudforceOne/scans/outputs.ts | 61 + .../cloudforceOne/scans/results/outputs.ts | 22 + .../cloudforceOne/scans/results/tools.ts | 57 + .../threatEvents/attackers/tools.ts | 57 + .../threatEvents/categories/tools.ts | 320 + .../threatEvents/countries/tools.ts | 71 + .../threatEvents/datasets/tools.ts | 368 + .../threatEvents/eventTags/tools.ts | 90 + .../threatEvents/indicatorTypes/tools.ts | 139 + .../cloudforceOne/threatEvents/raw/tools.ts | 114 + .../threatEvents/relate/tools.ts | 45 + .../cloudforceOne/threatEvents/tags/tools.ts | 602 + .../threatEvents/targetIndustries/tools.ts | 57 + .../cloudforceOne/threatEvents/tools.ts | 812 ++ .../threatSignals/articles/skills/tools.ts | 654 + .../threatSignals/articles/tags/tools.ts | 141 + .../threatSignals/articles/tools.ts | 684 + .../threatSignals/categories/tools.ts | 36 + .../threatSignals/feeds/skills/tools.ts | 122 + .../threatSignals/feeds/tools.ts | 1011 ++ .../threatSignals/indicators/tools.ts | 129 + .../skills/tagCategories/tools.ts | 54 + .../threatSignals/skills/tools.ts | 381 + .../cloudforceOne/threatSignals/tools.ts | 69 + .../forge-mcp/connectorInterrupts/outputs.ts | 67 + .../forge-mcp/connectorInterrupts/tools.ts | 90 + .../connectorTelemetryEvents/outputs.ts | 128 + .../connectorTelemetryEvents/tools.ts | 69 + .../connectorTelemetrySnapshots/outputs.ts | 1041 ++ .../connectorTelemetrySnapshots/tools.ts | 87 + src/generated/forge-mcp/connectors/outputs.ts | 125 + src/generated/forge-mcp/connectors/tools.ts | 218 + .../applications/instances/outputs.ts | 148 + .../applications/instances/tools.ts | 102 + .../containers/applications/outputs.ts | 772 ++ .../applications/rollouts/outputs.ts | 227 + .../containers/applications/rollouts/tools.ts | 92 + .../containers/applications/tools.ts | 357 + .../applications/versions/outputs.ts | 27 + .../containers/applications/versions/tools.ts | 68 + .../forge-mcp/containers/images/outputs.ts | 41 + .../forge-mcp/containers/images/tools.ts | 38 + src/generated/forge-mcp/containers/outputs.ts | 85 + .../registries/credentials/outputs.ts | 31 + .../registries/credentials/tools.ts | 34 + .../containers/registries/outputs.ts | 87 + .../forge-mcp/containers/registries/tools.ts | 104 + .../contentScan/expressions/outputs.ts | 67 + .../contentScan/expressions/tools.ts | 171 + .../forge-mcp/contentScan/outputs.ts | 50 + src/generated/forge-mcp/contentScan/tools.ts | 35 + src/generated/forge-mcp/cps/outputs.ts | 146 + src/generated/forge-mcp/cps/tools.ts | 65 + .../forge-mcp/csamScanner/outputs.ts | 126 + src/generated/forge-mcp/csamScanner/tools.ts | 62 + src/generated/forge-mcp/customCsrs/outputs.ts | 213 + src/generated/forge-mcp/customCsrs/tools.ts | 146 + .../certificatePack/certificates/tools.ts | 95 + .../customHostnames/fallbackOrigin/outputs.ts | 106 + .../customHostnames/fallbackOrigin/tools.ts | 97 + .../forge-mcp/customHostnames/outputs.ts | 485 + .../customHostnames/quota/outputs.ts | 75 + .../forge-mcp/customHostnames/quota/tools.ts | 22 + .../forge-mcp/customHostnames/tools.ts | 229 + .../forge-mcp/customNameservers/outputs.ts | 211 + .../forge-mcp/customNameservers/tools.ts | 157 + .../customPages/accountAssets/outputs.ts | 49 + .../customPages/accountAssets/tools.ts | 130 + .../customPages/accountCustomPages/outputs.ts | 58 + .../previewTokens/outputs.ts | 19 + .../accountCustomPages/previewTokens/tools.ts | 20 + .../customPages/accountCustomPages/tools.ts | 95 + .../forge-mcp/customPages/outputs.ts | 75 + src/generated/forge-mcp/d1/outputs.ts | 343 + .../forge-mcp/d1/timeTravel/outputs.ts | 43 + .../forge-mcp/d1/timeTravel/tools.ts | 44 + src/generated/forge-mcp/d1/tools.ts | 265 + .../endpointHealthchecks/outputs.ts | 73 + .../diagnostics/endpointHealthchecks/tools.ts | 107 + .../forge-mcp/diagnostics/outputs.ts | 74 + .../diagnostics/traceroutes/outputs.ts | 260 + .../diagnostics/traceroutes/tools.ts | 80 + src/generated/forge-mcp/dls/outputs.ts | 69 + .../prefixBindings/outputs.ts | 83 + .../regionalServices/prefixBindings/tools.ts | 156 + .../forge-mcp/dls/regions/outputs.ts | 70 + src/generated/forge-mcp/dls/regions/tools.ts | 74 + .../forge-mcp/dns/dnssec/list/outputs.ts | 205 + .../forge-mcp/dns/dnssec/list/tools.ts | 46 + src/generated/forge-mcp/dns/dnssec/outputs.ts | 294 + src/generated/forge-mcp/dns/dnssec/tools.ts | 91 + .../forge-mcp/dns/domainconnect/outputs.ts | 55 + .../forge-mcp/dns/domainconnect/tools.ts | 71 + src/generated/forge-mcp/dns/outputs.ts | 67 + .../forge-mcp/dns/records/outputs.ts | 1424 ++ src/generated/forge-mcp/dns/records/tools.ts | 668 + .../account/nameserverSets/outputs.ts | 212 + .../settings/account/nameserverSets/tools.ts | 146 + .../forge-mcp/dns/settings/account/outputs.ts | 300 + .../forge-mcp/dns/settings/account/tools.ts | 85 + .../dns/settings/account/views/outputs.ts | 164 + .../dns/settings/account/views/tools.ts | 201 + .../forge-mcp/dns/usage/account/tools.ts | 43 + .../dns/zoneTransfers/acls/outputs.ts | 129 + .../forge-mcp/dns/zoneTransfers/acls/tools.ts | 180 + .../dns/zoneTransfers/forceAxfr/outputs.ts | 40 + .../dns/zoneTransfers/forceAxfr/tools.ts | 31 + .../dns/zoneTransfers/incoming/outputs.ts | 73 + .../dns/zoneTransfers/incoming/tools.ts | 210 + .../dns/zoneTransfers/outgoing/outputs.ts | 171 + .../zoneTransfers/outgoing/status/tools.ts | 31 + .../dns/zoneTransfers/outgoing/tools.ts | 272 + .../forge-mcp/dns/zoneTransfers/outputs.ts | 194 + .../dns/zoneTransfers/peers/outputs.ts | 158 + .../dns/zoneTransfers/peers/tools.ts | 195 + .../dns/zoneTransfers/tsigs/outputs.ts | 188 + .../dns/zoneTransfers/tsigs/tools.ts | 185 + .../forge-mcp/dnsFirewall/outputs.ts | 371 + .../dnsFirewall/reverseDns/outputs.ts | 52 + .../forge-mcp/dnsFirewall/reverseDns/tools.ts | 54 + src/generated/forge-mcp/dnsFirewall/tools.ts | 239 + src/generated/forge-mcp/domainInfo/tools.ts | 11 + .../namespaces/objects/outputs.ts | 26 + .../namespaces/objects/tools.ts | 78 + .../durableObjects/namespaces/outputs.ts | 172 + .../durableObjects/namespaces/tools.ts | 97 + .../emailAuth/dmarcReports/outputs.ts | 222 + .../forge-mcp/emailAuth/dmarcReports/tools.ts | 52 + src/generated/forge-mcp/emailAuth/outputs.ts | 67 + .../forge-mcp/emailAuth/spf/outputs.ts | 123 + .../forge-mcp/emailAuth/spf/tools.ts | 28 + .../emailRouting/addresses/outputs.ts | 60 + .../forge-mcp/emailRouting/addresses/tools.ts | 121 + .../forge-mcp/emailRouting/dns/tools.ts | 79 + .../forge-mcp/emailRouting/outputs.ts | 129 + .../emailRouting/rules/catchAll/outputs.ts | 34 + .../emailRouting/rules/catchAll/tools.ts | 53 + .../forge-mcp/emailRouting/rules/outputs.ts | 376 + .../forge-mcp/emailRouting/rules/tools.ts | 180 + .../forge-mcp/emailRouting/settings/tools.ts | 72 + src/generated/forge-mcp/emailRouting/tools.ts | 52 + .../emailSecurity/allowPolicies/outputs.ts | 114 + .../emailSecurity/allowPolicies/tools.ts | 181 + .../analytics/monthlyReport/tools.ts | 37 + .../emailSecurity/blockSenders/outputs.ts | 88 + .../emailSecurity/blockSenders/tools.ts | 181 + .../bulkActions/messages/outputs.ts | 177 + .../bulkActions/messages/tools.ts | 70 + .../emailSecurity/bulkActions/outputs.ts | 337 + .../emailSecurity/bulkActions/tools.ts | 136 + .../emailSecurity/contentPolicies/outputs.ts | 103 + .../emailSecurity/contentPolicies/tools.ts | 163 + .../emailSecurity/domains/outputs.ts | 352 + .../forge-mcp/emailSecurity/domains/tools.ts | 243 + .../domains/verification/outputs.ts | 36 + .../domains/verification/tools.ts | 22 + .../impersonationRegistry/outputs.ts | 130 + .../impersonationRegistry/tools.ts | 126 + .../investigate/actionLog/outputs.ts | 146 + .../investigate/actionLog/tools.ts | 52 + .../investigate/detections/outputs.ts | 409 + .../investigate/detections/tools.ts | 40 + .../emailSecurity/investigate/outputs.ts | 144 + .../investigate/preview/outputs.ts | 19 + .../investigate/preview/tools.ts | 35 + .../emailSecurity/investigate/raw/outputs.ts | 19 + .../emailSecurity/investigate/raw/tools.ts | 20 + .../emailSecurity/investigate/tools.ts | 169 + .../investigate/trace/outputs.ts | 116 + .../emailSecurity/investigate/trace/tools.ts | 28 + .../forge-mcp/emailSecurity/outputs.ts | 884 ++ .../phishguard/reports/outputs.ts | 143 + .../emailSecurity/phishguard/reports/tools.ts | 56 + .../sendingDomainRestrictions/outputs.ts | 77 + .../sendingDomainRestrictions/tools.ts | 121 + .../emailSecurity/submissions/outputs.ts | 224 + .../emailSecurity/submissions/tools.ts | 83 + .../emailSecurity/trustedDomains/outputs.ts | 80 + .../emailSecurity/trustedDomains/tools.ts | 174 + .../urlIgnorePatterns/outputs.ts | 69 + .../emailSecurity/urlIgnorePatterns/tools.ts | 166 + .../forge-mcp/emailSending/limits/outputs.ts | 78 + .../forge-mcp/emailSending/limits/tools.ts | 18 + .../forge-mcp/emailSending/outputs.ts | 122 + .../emailSending/reputation/outputs.ts | 115 + .../emailSending/reputation/tools.ts | 18 + .../emailSending/subdomains/dns/tools.ts | 124 + .../emailSending/subdomains/outputs.ts | 155 + .../subdomains/reputation/outputs.ts | 19 + .../subdomains/reputation/tools.ts | 15 + .../emailSending/subdomains/tools.ts | 139 + .../emailSending/suppressions/tools.ts | 1180 +- src/generated/forge-mcp/emailSending/tools.ts | 592 + .../forge-mcp/fieldExtractors/outputs.ts | 170 + .../forge-mcp/fieldExtractors/tools.ts | 73 + .../forge-mcp/firewall/accessRules/outputs.ts | 85 + .../forge-mcp/firewall/accessRules/tools.ts | 173 + .../forge-mcp/firewall/lockdowns/outputs.ts | 137 + .../forge-mcp/firewall/lockdowns/tools.ts | 153 + src/generated/forge-mcp/firewall/outputs.ts | 11 + .../forge-mcp/firewall/uaRules/tools.ts | 137 + .../flagship/apps/definitions/outputs.ts | 429 + .../flagship/apps/definitions/tools.ts | 104 + .../forge-mcp/flagship/apps/evaluate/tools.ts | 37 + .../flagship/apps/flags/changelog/outputs.ts | 103 + .../flagship/apps/flags/changelog/tools.ts | 62 + .../forge-mcp/flagship/apps/flags/outputs.ts | 513 + .../forge-mcp/flagship/apps/flags/tools.ts | 220 + .../forge-mcp/flagship/apps/outputs.ts | 163 + .../forge-mcp/flagship/apps/tools.ts | 173 + src/generated/forge-mcp/fraud/outputs.ts | 176 + src/generated/forge-mcp/fraud/tools.ts | 64 + .../googleTagGateway/config/outputs.ts | 104 + .../googleTagGateway/config/tools.ts | 35 + .../forge-mcp/healthchecks/outputs.ts | 478 + .../forge-mcp/healthchecks/previews/tools.ts | 134 + src/generated/forge-mcp/healthchecks/tools.ts | 271 + .../integration/planetscale/outputs.ts | 28 + .../integration/planetscale/tools.ts | 20 + src/generated/forge-mcp/hyperdrive/outputs.ts | 349 + src/generated/forge-mcp/hyperdrive/tools.ts | 195 + .../forge-mcp/iam/permissionGroups/tools.ts | 53 + .../forge-mcp/iam/resourceGroups/tools.ts | 135 + src/generated/forge-mcp/iam/sso/outputs.ts | 104 + src/generated/forge-mcp/iam/sso/tools.ts | 154 + .../iam/userGroups/members/outputs.ts | 82 + .../forge-mcp/iam/userGroups/members/tools.ts | 135 + .../forge-mcp/iam/userGroups/outputs.ts | 70 + .../forge-mcp/iam/userGroups/tools.ts | 182 + src/generated/forge-mcp/images/flows/tools.ts | 478 + .../forge-mcp/images/import/outputs.ts | 451 + .../images/import/sources/outputs.ts | 257 + .../forge-mcp/images/import/sources/tools.ts | 247 + .../forge-mcp/images/import/tools.ts | 283 + .../forge-mcp/images/keys/outputs.ts | 78 + src/generated/forge-mcp/images/keys/tools.ts | 89 + src/generated/forge-mcp/images/outputs.ts | 322 + src/generated/forge-mcp/images/tools.ts | 193 + .../forge-mcp/images/variants/outputs.ts | 225 + .../forge-mcp/images/variants/tools.ts | 168 + src/generated/forge-mcp/intel/asn/outputs.ts | 40 + .../forge-mcp/intel/asn/subnets/outputs.ts | 25 + .../forge-mcp/intel/asn/subnets/tools.ts | 81 + src/generated/forge-mcp/intel/asn/tools.ts | 33 + .../attackSurfaceReport/issueTypes/tools.ts | 32 + src/generated/forge-mcp/intel/dns/outputs.ts | 101 + src/generated/forge-mcp/intel/dns/tools.ts | 37 + .../forge-mcp/intel/domainHistory/outputs.ts | 97 + .../forge-mcp/intel/domainHistory/tools.ts | 53 + .../forge-mcp/intel/domains/bulks/outputs.ts | 79 + .../forge-mcp/intel/domains/bulks/tools.ts | 99 + .../forge-mcp/intel/domains/outputs.ts | 205 + .../forge-mcp/intel/domains/tools.ts | 57 + .../intel/indicatorFeeds/downloads/tools.ts | 20 + .../forge-mcp/intel/indicatorFeeds/outputs.ts | 468 + .../indicatorFeeds/permissions/outputs.ts | 105 + .../intel/indicatorFeeds/permissions/tools.ts | 109 + .../intel/indicatorFeeds/providers/outputs.ts | 56 + .../intel/indicatorFeeds/providers/tools.ts | 33 + .../forge-mcp/intel/indicatorFeeds/tools.ts | 175 + .../forge-mcp/intel/ipLists/outputs.ts | 58 + .../forge-mcp/intel/ipLists/tools.ts | 47 + src/generated/forge-mcp/intel/ips/outputs.ts | 136 + src/generated/forge-mcp/intel/ips/tools.ts | 57 + .../intel/miscategorizations/outputs.ts | 30 + .../intel/miscategorizations/tools.ts | 29 + src/generated/forge-mcp/intel/outputs.ts | 114 + .../intel/sinkholes/ingresses/outputs.ts | 33 + .../intel/sinkholes/ingresses/tools.ts | 92 + .../forge-mcp/intel/sinkholes/outputs.ts | 99 + .../forge-mcp/intel/sinkholes/tools.ts | 95 + src/generated/forge-mcp/intel/urls/outputs.ts | 91 + src/generated/forge-mcp/intel/urls/tools.ts | 35 + .../forge-mcp/intel/whois/outputs.ts | 415 + src/generated/forge-mcp/intel/whois/tools.ts | 33 + .../forge-mcp/internal/submit/tools.ts | 11 + src/generated/forge-mcp/ips/outputs.ts | 169 + src/generated/forge-mcp/ips/tools.ts | 61 + src/generated/forge-mcp/k2/streams/outputs.ts | 156 + .../k2/streams/subscriptions/outputs.ts | 91 + .../k2/streams/subscriptions/tools.ts | 33 + src/generated/forge-mcp/k2/streams/tools.ts | 96 + src/generated/forge-mcp/kv/bulk/outputs.ts | 123 + src/generated/forge-mcp/kv/bulk/tools.ts | 91 + src/generated/forge-mcp/kv/keys/outputs.ts | 54 + src/generated/forge-mcp/kv/keys/tools.ts | 79 + src/generated/forge-mcp/kv/metadata/tools.ts | 33 + .../forge-mcp/kv/namespaces/outputs.ts | 89 + .../forge-mcp/kv/namespaces/tools.ts | 124 + src/generated/forge-mcp/kv/outputs.ts | 109 + .../detections/outputs.ts | 115 + .../detections/tools.ts | 152 + .../leakedCredentialChecks/outputs.ts | 77 + .../forge-mcp/leakedCredentialChecks/tools.ts | 52 + src/generated/forge-mcp/live/tools.ts | 11 + .../loadBalancers/account/outputs.ts | 570 + .../forge-mcp/loadBalancers/account/tools.ts | 310 + .../loadBalancers/account/usage/tools.ts | 46 + .../loadBalancers/monitorGroups/outputs.ts | 73 + .../monitorGroups/references/tools.ts | 51 + .../loadBalancers/monitorGroups/tools.ts | 146 + .../loadBalancers/monitors/previews/tools.ts | 31 + .../monitors/references/tools.ts | 51 + .../forge-mcp/loadBalancers/monitors/tools.ts | 224 + .../loadBalancers/pools/health/tools.ts | 68 + .../loadBalancers/pools/references/tools.ts | 51 + .../forge-mcp/loadBalancers/pools/tools.ts | 363 + .../forge-mcp/loadBalancers/previews/tools.ts | 22 + .../forge-mcp/loadBalancers/regions/tools.ts | 32 + .../loadBalancers/searches/outputs.ts | 55 + .../forge-mcp/loadBalancers/searches/tools.ts | 24 + .../forge-mcp/logoMatches/download/tools.ts | 19 + .../forge-mcp/logoMatches/outputs.ts | 22 + src/generated/forge-mcp/logoMatches/tools.ts | 19 + src/generated/forge-mcp/logos/tools.ts | 32 + .../logpush/accountDatasets/fields/tools.ts | 21 + .../logpush/accountDatasets/jobs/tools.ts | 73 + .../forge-mcp/logpush/accountJobs/tools.ts | 207 + .../logpush/accountOwnership/tools.ts | 36 + .../accountOwnership/validate/tools.ts | 30 + .../accountValidate/destination/tools.ts | 33 + .../logpush/accountValidate/origin/tools.ts | 33 + .../logpush/accountValidate/tools.ts | 30 + .../forge-mcp/logpush/edge/outputs.ts | 145 + src/generated/forge-mcp/logpush/edge/tools.ts | 98 + src/generated/forge-mcp/logpush/outputs.ts | 512 + .../logpush/transformers/content/tools.ts | 23 + .../forge-mcp/logpush/transformers/outputs.ts | 99 + .../forge-mcp/logpush/transformers/tools.ts | 163 + .../logpush/transformers/versions/outputs.ts | 23 + .../logpush/transformers/versions/tools.ts | 34 + .../logs/control/cmb/config/outputs.ts | 40 + .../logs/control/cmb/config/tools.ts | 57 + .../forge-mcp/logs/control/outputs.ts | 67 + .../logs/control/retention/outputs.ts | 30 + .../forge-mcp/logs/control/retention/tools.ts | 40 + .../forge-mcp/logs/datasets/outputs.ts | 251 + .../forge-mcp/logs/datasets/tools.ts | 188 + src/generated/forge-mcp/logs/list/tools.ts | 111 + src/generated/forge-mcp/logs/outputs.ts | 81 + src/generated/forge-mcp/logs/rayid/tools.ts | 20 + .../forge-mcp/logs/received/fields/outputs.ts | 16 + .../forge-mcp/logs/received/fields/tools.ts | 20 + .../forge-mcp/logs/received/tools.ts | 20 + .../forge-mcp/logs/retrieve/tools.ts | 81 + .../catalogSyncs/outputs.ts | 122 + .../catalogSyncs/prebuiltPolicies/outputs.ts | 34 + .../catalogSyncs/prebuiltPolicies/tools.ts | 49 + .../catalogSyncs/tools.ts | 277 + .../cloudIntegrations/outputs.ts | 267 + .../cloudIntegrations/tools.ts | 365 + .../onRamps/addressSpaces/outputs.ts | 29 + .../onRamps/addressSpaces/tools.ts | 106 + .../magicCloudNetworking/onRamps/outputs.ts | 367 + .../magicCloudNetworking/onRamps/tools.ts | 494 + .../forge-mcp/magicCloudNetworking/outputs.ts | 821 ++ .../magicCloudNetworking/resources/outputs.ts | 41 + .../magicCloudNetworking/resources/tools.ts | 193 + .../configs/full/tools.ts | 43 + .../magicNetworkMonitoring/configs/outputs.ts | 126 + .../magicNetworkMonitoring/configs/tools.ts | 159 + .../magicNetworkMonitoring/outputs.ts | 57 + .../rules/advertisements/outputs.ts | 58 + .../rules/advertisements/tools.ts | 33 + .../rules/bulk/tools.ts | 135 + .../magicNetworkMonitoring/rules/outputs.ts | 302 + .../magicNetworkMonitoring/rules/tools.ts | 254 + .../vpcFlows/tokens/outputs.ts | 42 + .../vpcFlows/tokens/tools.ts | 31 + .../configs/dns/protection/rules/outputs.ts | 57 + .../configs/dns/protection/rules/tools.ts | 127 + .../configs/allowlist/outputs.ts | 41 + .../configs/allowlist/prefix/tools.ts | 51 + .../configs/allowlist/tools.ts | 82 + .../advancedTcpProtection/configs/outputs.ts | 37 + .../configs/prefixes/bulk/tools.ts | 51 + .../configs/prefixes/outputs.ts | 41 + .../configs/prefixes/tools.ts | 127 + .../configs/syn/protection/filters/tools.ts | 127 + .../configs/syn/protection/rules/outputs.ts | 53 + .../configs/syn/protection/rules/tools.ts | 127 + .../tcp/flow/protection/filters/tools.ts | 127 + .../tcp/flow/protection/rules/outputs.ts | 49 + .../tcp/flow/protection/rules/tools.ts | 127 + .../configs/tcp/protection/status/outputs.ts | 19 + .../configs/tcp/protection/status/tools.ts | 35 + .../forge-mcp/magicTransit/apps/outputs.ts | 136 + .../forge-mcp/magicTransit/apps/tools.ts | 122 + .../magicTransit/bgpFilterProfiles/outputs.ts | 58 + .../magicTransit/bgpFilterProfiles/tools.ts | 108 + .../magicTransit/bgpSettings/outputs.ts | 42 + .../magicTransit/bgpSettings/tools.ts | 40 + .../magicTransit/cf1Sites/outputs.ts | 54 + .../magicTransit/cf1Sites/ramps/outputs.ts | 81 + .../magicTransit/cf1Sites/ramps/tools.ts | 110 + .../forge-mcp/magicTransit/cf1Sites/tools.ts | 122 + .../magicTransit/cfInterconnects/outputs.ts | 182 + .../magicTransit/cfInterconnects/tools.ts | 169 + .../magicTransit/greTunnels/outputs.ts | 107 + .../magicTransit/greTunnels/tools.ts | 256 + .../magicTransit/ipsecTunnels/outputs.ts | 170 + .../magicTransit/ipsecTunnels/tools.ts | 335 + .../forge-mcp/magicTransit/outputs.ts | 294 + .../magicTransit/pcaps/download/tools.ts | 19 + .../forge-mcp/magicTransit/pcaps/outputs.ts | 299 + .../magicTransit/pcaps/ownership/outputs.ts | 51 + .../magicTransit/pcaps/ownership/tools.ts | 107 + .../forge-mcp/magicTransit/pcaps/tools.ts | 175 + .../magicTransit/redundancyGroups/outputs.ts | 86 + .../magicTransit/redundancyGroups/tools.ts | 106 + .../forge-mcp/magicTransit/routes/outputs.ts | 146 + .../forge-mcp/magicTransit/routes/tools.ts | 267 + .../magicTransit/sites/acls/outputs.ts | 116 + .../magicTransit/sites/acls/tools.ts | 173 + .../sites/appConfiguration/outputs.ts | 86 + .../sites/appConfiguration/tools.ts | 111 + .../magicTransit/sites/lans/outputs.ts | 202 + .../magicTransit/sites/lans/tools.ts | 211 + .../sites/netflowConfig/outputs.ts | 31 + .../magicTransit/sites/netflowConfig/tools.ts | 80 + .../forge-mcp/magicTransit/sites/outputs.ts | 91 + .../forge-mcp/magicTransit/sites/tools.ts | 146 + .../magicTransit/sites/wans/outputs.ts | 76 + .../magicTransit/sites/wans/tools.ts | 169 + .../vulnerabilityDiscovery/outputs.ts | 1260 ++ .../vulnerabilityDiscovery/reports/outputs.ts | 33 + .../vulnerabilityDiscovery/reports/tools.ts | 82 + .../repositories/outputs.ts | 234 + .../repositories/tools.ts | 120 + .../vulnerabilityDiscovery/scans/outputs.ts | 148 + .../vulnerabilityDiscovery/scans/tools.ts | 175 + .../forge-mcp/managedTransforms/outputs.ts | 97 + .../forge-mcp/managedTransforms/tools.ts | 163 + .../forge-mcp/matches/download/tools.ts | 19 + src/generated/forge-mcp/matches/outputs.ts | 22 + src/generated/forge-mcp/matches/tools.ts | 19 + src/generated/forge-mcp/mcp/portals/tools.ts | 1764 ++- src/generated/forge-mcp/mcp/servers/tools.ts | 1624 ++- src/generated/forge-mcp/media/usage/tools.ts | 42 + .../mesh/nodes/configurations/outputs.ts | 132 + .../mesh/nodes/configurations/tools.ts | 58 + .../mesh/nodes/connections/outputs.ts | 41 + .../forge-mcp/mesh/nodes/connections/tools.ts | 69 + .../mesh/nodes/connectors/outputs.ts | 34 + .../forge-mcp/mesh/nodes/connectors/tools.ts | 53 + src/generated/forge-mcp/mesh/nodes/outputs.ts | 150 + .../forge-mcp/mesh/nodes/token/tools.ts | 29 + src/generated/forge-mcp/mesh/nodes/tools.ts | 271 + .../accountEligibility/outputs.ts | 30 + .../monetization/accountEligibility/tools.ts | 44 + .../forge-mcp/monetization/outputs.ts | 56 + .../forge-mcp/monetization/rules/outputs.ts | 157 + .../forge-mcp/monetization/rules/tools.ts | 167 + src/generated/forge-mcp/network/outputs.ts | 19 + .../forge-mcp/network/routes/cidr/outputs.ts | 100 + .../forge-mcp/network/routes/cidr/tools.ts | 194 + .../network/routes/hostname/outputs.ts | 151 + .../network/routes/hostname/tools.ts | 188 + .../forge-mcp/network/routes/outputs.ts | 102 + .../forge-mcp/network/routes/tools.ts | 51 + .../network/subnets/cloudflareSource/tools.ts | 81 + .../subnets/initialResolvedIp/tools.ts | 81 + .../forge-mcp/network/subnets/outputs.ts | 169 + .../forge-mcp/network/subnets/tools.ts | 65 + .../forge-mcp/network/subnets/warp/outputs.ts | 77 + .../forge-mcp/network/subnets/warp/tools.ts | 185 + .../network/virtualNetworks/outputs.ts | 118 + .../network/virtualNetworks/tools.ts | 178 + .../networkInterconnects/cnis/outputs.ts | 140 + .../networkInterconnects/cnis/tools.ts | 85 + .../interconnects/outputs.ts | 291 + .../interconnects/tools.ts | 106 + .../forge-mcp/networkInterconnects/outputs.ts | 33 + .../networkInterconnects/settings/outputs.ts | 19 + .../networkInterconnects/settings/tools.ts | 27 + .../networkInterconnects/slots/outputs.ts | 77 + .../networkInterconnects/slots/tools.ts | 32 + .../forge-mcp/o11y/agents/sessions/outputs.ts | 140 + .../forge-mcp/o11y/agents/sessions/tools.ts | 714 + .../forge-mcp/o11y/destinations/tools.ts | 1186 +- .../o11y/issues/automations/tools.ts | 1648 +++ .../forge-mcp/o11y/issues/outputs.ts | 312 + src/generated/forge-mcp/o11y/issues/tools.ts | 3850 +++++- .../forge-mcp/o11y/metricsExport/tools.ts | 360 + src/generated/forge-mcp/o11y/outputs.ts | 1821 +++ src/generated/forge-mcp/o11y/queries/tools.ts | 865 ++ .../forge-mcp/o11y/sharedQueries/tools.ts | 510 + .../forge-mcp/o11y/telemetry/tools.ts | 1393 +- src/generated/forge-mcp/o11y/tools.ts | 346 + .../forge-mcp/o11y/tracing/rules/tools.ts | 786 +- .../forge-mcp/o11y/tracing/settings/tools.ts | 732 + .../forge-mcp/oauthClients/outputs.ts | 266 + src/generated/forge-mcp/oauthClients/tools.ts | 189 + .../forge-mcp/oauthScopes/outputs.ts | 32 + src/generated/forge-mcp/oauthScopes/tools.ts | 36 + .../forge-mcp/organization/account/tools.ts | 38 + .../forge-mcp/organization/invite/tools.ts | 26 + .../organization/member/batch/tools.ts | 40 + .../forge-mcp/organization/member/tools.ts | 88 + .../forge-mcp/organization/outputs.ts | 114 + .../forge-mcp/organization/profile/tools.ts | 32 + .../forge-mcp/organization/share/tools.ts | 75 + src/generated/forge-mcp/organization/tools.ts | 124 + .../organizations/billing/usage/tools.ts | 34 + .../organizations/logs/audit/outputs.ts | 87 + .../organizations/logs/audit/tools.ts | 99 + src/generated/forge-mcp/outputs.ts | 11185 ++++++++++++++++ src/generated/forge-mcp/pageRules/outputs.ts | 1157 ++ src/generated/forge-mcp/pageRules/tools.ts | 438 + .../forge-mcp/pages/buildCache/tools.ts | 25 + .../pages/deployments/history/logs/outputs.ts | 49 + .../pages/deployments/history/logs/tools.ts | 24 + .../forge-mcp/pages/deployments/tools.ts | 172 + .../forge-mcp/pages/domains/outputs.ts | 134 + .../forge-mcp/pages/domains/tools.ts | 116 + .../pages/domains/validation/tools.ts | 28 + src/generated/forge-mcp/pages/outputs.ts | 978 ++ src/generated/forge-mcp/pages/source/tools.ts | 86 + src/generated/forge-mcp/pages/tools.ts | 202 + .../forge-mcp/payPerCrawl/config/outputs.ts | 36 + .../forge-mcp/payPerCrawl/config/tools.ts | 60 + .../payPerCrawl/crawler/stripe/tools.ts | 64 + .../forge-mcp/payPerCrawl/crawlers/outputs.ts | 115 + .../forge-mcp/payPerCrawl/crawlers/tools.ts | 26 + .../forge-mcp/payPerCrawl/outputs.ts | 31 + .../payPerCrawl/publisher/stripe/tools.ts | 64 + .../forge-mcp/payPerCrawl/terms/outputs.ts | 31 + .../forge-mcp/payPerCrawl/terms/tools.ts | 86 + .../forge-mcp/payPerCrawl/zones/outputs.ts | 37 + .../forge-mcp/payPerCrawl/zones/tools.ts | 65 + .../payPerUse/enabledDomains/outputs.ts | 84 + .../payPerUse/enabledDomains/tools.ts | 35 + .../forge-mcp/payPerUse/operator/outputs.ts | 62 + .../forge-mcp/payPerUse/operator/tools.ts | 75 + src/generated/forge-mcp/payPerUse/outputs.ts | 55 + .../forge-mcp/payPerUse/pricing/outputs.ts | 66 + .../forge-mcp/payPerUse/pricing/tools.ts | 88 + .../forge-mcp/payPerUse/proposals/outputs.ts | 68 + .../forge-mcp/payPerUse/proposals/tools.ts | 58 + .../forge-mcp/payPerUse/usageStats/outputs.ts | 141 + .../forge-mcp/payPerUse/usageStats/tools.ts | 36 + .../forge-mcp/payPerUse/zones/outputs.ts | 161 + .../forge-mcp/payPerUse/zones/tools.ts | 93 + src/generated/forge-mcp/pipelines/outputs.ts | 729 + .../forge-mcp/pipelines/sinks/outputs.ts | 391 + .../forge-mcp/pipelines/sinks/tools.ts | 301 + .../forge-mcp/pipelines/streams/outputs.ts | 94 + .../forge-mcp/pipelines/streams/tools.ts | 446 + src/generated/forge-mcp/pipelines/tools.ts | 345 + src/generated/forge-mcp/precursor/outputs.ts | 171 + src/generated/forge-mcp/precursor/tools.ts | 64 + src/generated/forge-mcp/previews/tools.ts | 20 + src/generated/forge-mcp/queries/bulk/tools.ts | 15 + .../forge-mcp/queries/matches/tools.ts | 21 + src/generated/forge-mcp/queries/tools.ts | 49 + .../forge-mcp/queues/consumers/tools.ts | 166 + .../forge-mcp/queues/messages/outputs.ts | 78 + .../forge-mcp/queues/messages/tools.ts | 209 + .../forge-mcp/queues/metrics/tools.ts | 22 + src/generated/forge-mcp/queues/outputs.ts | 413 + src/generated/forge-mcp/queues/purge/tools.ts | 83 + .../forge-mcp/queues/subscriptions/outputs.ts | 264 + .../forge-mcp/queues/subscriptions/tools.ts | 207 + src/generated/forge-mcp/queues/tools.ts | 213 + .../forge-mcp/r2/buckets/cors/outputs.ts | 69 + .../forge-mcp/r2/buckets/cors/tools.ts | 61 + .../r2/buckets/domains/custom/outputs.ts | 267 + .../r2/buckets/domains/custom/tools.ts | 98 + .../r2/buckets/domains/managed/outputs.ts | 27 + .../r2/buckets/domains/managed/tools.ts | 38 + .../r2/buckets/eventNotifications/outputs.ts | 102 + .../r2/buckets/eventNotifications/tools.ts | 84 + .../forge-mcp/r2/buckets/jobs/outputs.ts | 128 + .../forge-mcp/r2/buckets/jobs/tools.ts | 84 + .../forge-mcp/r2/buckets/lifecycle/outputs.ts | 190 + .../forge-mcp/r2/buckets/lifecycle/tools.ts | 57 + .../r2/buckets/localUploads/outputs.ts | 16 + .../r2/buckets/localUploads/tools.ts | 37 + .../forge-mcp/r2/buckets/locks/outputs.ts | 125 + .../forge-mcp/r2/buckets/locks/tools.ts | 64 + .../forge-mcp/r2/buckets/metrics/outputs.ts | 52 + .../forge-mcp/r2/buckets/metrics/tools.ts | 28 + src/generated/forge-mcp/r2/buckets/outputs.ts | 64 + .../forge-mcp/r2/buckets/sippy/outputs.ts | 104 + .../forge-mcp/r2/buckets/sippy/tools.ts | 69 + src/generated/forge-mcp/r2/buckets/tools.ts | 138 + src/generated/forge-mcp/r2/objects/outputs.ts | 105 + src/generated/forge-mcp/r2/objects/tools.ts | 156 + src/generated/forge-mcp/r2/outputs.ts | 152 + .../connectivityPrecheck/outputs.ts | 20 + .../connectivityPrecheck/tools.ts | 38 + .../r2/superSlurper/jobs/logs/outputs.ts | 59 + .../r2/superSlurper/jobs/logs/tools.ts | 36 + .../forge-mcp/r2/superSlurper/jobs/outputs.ts | 237 + .../forge-mcp/r2/superSlurper/jobs/tools.ts | 188 + .../forge-mcp/r2/superSlurper/outputs.ts | 70 + .../r2/temporaryCredentials/outputs.ts | 22 + .../r2/temporaryCredentials/tools.ts | 22 + .../forge-mcp/radar/agentReadiness/tools.ts | 126 + .../forge-mcp/radar/ai/bots/tools.ts | 468 + .../forge-mcp/radar/ai/inference/tools.ts | 442 + .../radar/ai/markdownForAgents/tools.ts | 447 + .../radar/ai/timeseriesGroups/tools.ts | 208 + .../radar/annotations/outages/tools.ts | 360 + .../forge-mcp/radar/annotations/tools.ts | 568 + src/generated/forge-mcp/radar/as112/tools.ts | 676 + .../forge-mcp/radar/as112/top/tools.ts | 848 ++ .../forge-mcp/radar/attacks/layer3/tools.ts | 676 + .../attacks/layer3/top/locations/tools.ts | 432 + .../radar/attacks/layer3/top/tools.ts | 212 + .../forge-mcp/radar/attacks/layer7/tools.ts | 677 + .../radar/attacks/layer7/top/ases/tools.ts | 216 + .../attacks/layer7/top/locations/tools.ts | 432 + .../radar/attacks/layer7/top/tools.ts | 220 + .../radar/bgp/hijacks/events/tools.ts | 178 + .../forge-mcp/radar/bgp/ips/tools.ts | 333 + .../forge-mcp/radar/bgp/ips/top/tools.ts | 84 + .../forge-mcp/radar/bgp/leaks/events/tools.ts | 133 + .../forge-mcp/radar/bgp/routes/paths/tools.ts | 172 + .../forge-mcp/radar/bgp/routes/tools.ts | 639 + .../radar/bgp/routes/upstreams/tools.ts | 110 + .../forge-mcp/radar/bgp/rpki/aspa/tools.ts | 350 + .../forge-mcp/radar/bgp/rpki/roas/tools.ts | 82 + src/generated/forge-mcp/radar/bgp/tools.ts | 201 + .../forge-mcp/radar/bgp/top/ases/tools.ts | 162 + .../forge-mcp/radar/bgp/top/tools.ts | 89 + src/generated/forge-mcp/radar/bots/tools.ts | 841 ++ .../forge-mcp/radar/bots/webCrawlers/tools.ts | 442 + .../forge-mcp/radar/ct/authorities/tools.ts | 278 + .../forge-mcp/radar/ct/logs/tools.ts | 311 + src/generated/forge-mcp/radar/ct/tools.ts | 1013 ++ .../forge-mcp/radar/datasets/tools.ts | 175 + src/generated/forge-mcp/radar/dns/tools.ts | 676 + .../forge-mcp/radar/dns/top/tools.ts | 424 + .../forge-mcp/radar/email/routing/tools.ts | 442 + .../forge-mcp/radar/email/security/tools.ts | 442 + .../security/top/tlds/malicious/tools.ts | 208 + .../email/security/top/tlds/spam/tools.ts | 208 + .../email/security/top/tlds/spoof/tools.ts | 208 + .../radar/email/security/top/tlds/tools.ts | 208 + .../forge-mcp/radar/entities/asns/tools.ts | 616 + .../radar/entities/locations/tools.ts | 142 + .../forge-mcp/radar/entities/tools.ts | 62 + .../forge-mcp/radar/geolocations/tools.ts | 300 + .../radar/http/ases/botClass/tools.ts | 212 + .../radar/http/ases/browserFamily/tools.ts | 212 + .../radar/http/ases/deviceType/tools.ts | 212 + .../radar/http/ases/httpMethod/tools.ts | 212 + .../radar/http/ases/httpProtocol/tools.ts | 212 + .../radar/http/ases/ipVersion/tools.ts | 212 + .../forge-mcp/radar/http/ases/os/tools.ts | 212 + .../radar/http/ases/tlsVersion/tools.ts | 212 + .../forge-mcp/radar/http/ases/tools.ts | 212 + .../radar/http/locations/botClass/tools.ts | 212 + .../http/locations/browserFamily/tools.ts | 212 + .../radar/http/locations/deviceType/tools.ts | 212 + .../radar/http/locations/httpMethod/tools.ts | 212 + .../http/locations/httpProtocol/tools.ts | 212 + .../radar/http/locations/ipVersion/tools.ts | 212 + .../radar/http/locations/os/tools.ts | 212 + .../radar/http/locations/tlsVersion/tools.ts | 212 + .../forge-mcp/radar/http/locations/tools.ts | 212 + src/generated/forge-mcp/radar/http/tools.ts | 676 + .../radar/leakedCredentials/tools.ts | 442 + .../forge-mcp/radar/netflows/tools.ts | 677 + .../forge-mcp/radar/netflows/top/tools.ts | 424 + .../forge-mcp/radar/origins/tools.ts | 803 ++ .../radar/postQuantum/origin/tools.ts | 442 + .../forge-mcp/radar/postQuantum/tls/tools.ts | 77 + .../forge-mcp/radar/quality/iqi/tools.ts | 462 + .../forge-mcp/radar/quality/speed/tools.ts | 478 + .../radar/quality/speed/top/tools.ts | 480 + .../forge-mcp/radar/ranking/domain/tools.ts | 129 + .../radar/ranking/internetServices/tools.ts | 541 + .../forge-mcp/radar/ranking/tools.ts | 507 + .../forge-mcp/radar/robotsTxt/top/tools.ts | 208 + .../radar/robotsTxt/top/userAgents/tools.ts | 214 + src/generated/forge-mcp/radar/search/tools.ts | 64 + .../radar/tcpResetsTimeouts/tools.ts | 492 + .../forge-mcp/radar/tlds/performance/tools.ts | 449 + src/generated/forge-mcp/radar/tlds/tools.ts | 106 + .../radar/trafficAnomalies/locations/tools.ts | 64 + .../forge-mcp/radar/trafficAnomalies/tools.ts | 380 + src/generated/forge-mcp/ready/tools.ts | 11 + .../kit/analytics/livestreams/daily/tools.ts | 39 + .../kit/analytics/livestreams/tools.ts | 26 + .../realtime/kit/analytics/usage/tools.ts | 73 + .../forge-mcp/realtime/kit/apps/tools.ts | 113 + .../kit/livestreams/sessions/tools.ts | 145 + .../realtime/kit/livestreams/tools.ts | 240 + .../realtime/kit/meetings/active/outputs.ts | 36 + .../kit/meetings/active/polls/outputs.ts | 90 + .../kit/meetings/active/polls/tools.ts | 34 + .../realtime/kit/meetings/active/tools.ts | 138 + .../realtime/kit/meetings/livestream/tools.ts | 183 + .../realtime/kit/meetings/outputs.ts | 85 + .../kit/meetings/participants/outputs.ts | 58 + .../kit/meetings/participants/tokens/tools.ts | 43 + .../kit/meetings/participants/tools.ts | 250 + .../forge-mcp/realtime/kit/meetings/tools.ts | 318 + .../forge-mcp/realtime/kit/outputs.ts | 560 + .../forge-mcp/realtime/kit/presets/outputs.ts | 764 ++ .../forge-mcp/realtime/kit/presets/tools.ts | 434 + .../realtime/kit/recordings/active/tools.ts | 37 + .../realtime/kit/recordings/outputs.ts | 210 + .../realtime/kit/recordings/tools.ts | 225 + .../realtime/kit/recordings/tracks/tools.ts | 33 + .../realtime/kit/sessions/chat/outputs.ts | 23 + .../realtime/kit/sessions/chat/tools.ts | 19 + .../kit/sessions/livestreams/tools.ts | 74 + .../realtime/kit/sessions/outputs.ts | 83 + .../kit/sessions/participants/outputs.ts | 49 + .../kit/sessions/participants/tools.ts | 53 + .../realtime/kit/sessions/peers/outputs.ts | 1046 ++ .../realtime/kit/sessions/peers/tools.ts | 86 + .../kit/sessions/summaries/outputs.ts | 27 + .../realtime/kit/sessions/summaries/tools.ts | 43 + .../forge-mcp/realtime/kit/sessions/tools.ts | 59 + .../kit/sessions/transcripts/outputs.ts | 27 + .../kit/sessions/transcripts/tools.ts | 19 + .../realtime/kit/webhooks/events/outputs.ts | 37 + .../realtime/kit/webhooks/events/tools.ts | 11 + .../realtime/kit/webhooks/outputs.ts | 139 + .../forge-mcp/realtime/kit/webhooks/tools.ts | 104 + .../forge-mcp/realtime/moq/relays/outputs.ts | 312 + .../realtime/moq/relays/tokens/outputs.ts | 81 + .../realtime/moq/relays/tokens/tools.ts | 87 + .../forge-mcp/realtime/moq/relays/tools.ts | 152 + src/generated/forge-mcp/realtime/outputs.ts | 97 + .../forge-mcp/realtime/sfu/apps/outputs.ts | 69 + .../forge-mcp/realtime/sfu/apps/tools.ts | 119 + .../forge-mcp/realtime/turn/keys/outputs.ts | 76 + .../forge-mcp/realtime/turn/keys/tools.ts | 120 + .../forge-mcp/recentSubmissions/tools.ts | 11 + src/generated/forge-mcp/refute/tools.ts | 11 + .../forge-mcp/registrar/extensions/outputs.ts | 46 + .../forge-mcp/registrar/extensions/tools.ts | 67 + src/generated/forge-mcp/registrar/outputs.ts | 67 + .../registrar/registrations/outputs.ts | 447 + .../registrar/registrations/tools.ts | 260 + .../registrarSandbox/extensions/outputs.ts | 46 + .../registrarSandbox/extensions/tools.ts | 67 + .../forge-mcp/registrarSandbox/outputs.ts | 68 + .../registrarSandbox/registrations/outputs.ts | 287 + .../registrarSandbox/registrations/tools.ts | 190 + .../forge-mcp/reporting/industry/outputs.ts | 306 + .../forge-mcp/reporting/industry/tools.ts | 41 + src/generated/forge-mcp/reporting/outputs.ts | 54 + .../forge-mcp/reporting/policies/outputs.ts | 127 + .../forge-mcp/reporting/policies/tools.ts | 59 + .../forge-mcp/reporting/reports/outputs.ts | 850 ++ .../forge-mcp/reporting/reports/tools.ts | 103 + .../requestTracers/traces/outputs.ts | 98 + .../forge-mcp/requestTracers/traces/tools.ts | 28 + .../excludedRecipients/outputs.ts | 39 + .../excludedRecipients/tools.ts | 136 + .../resourceSharing/recipients/outputs.ts | 104 + .../resourceSharing/recipients/tools.ts | 166 + .../resourceSharing/resources/tools.ts | 171 + .../forge-mcp/resourceSharing/tools.ts | 219 + .../rules/lists/bulkOperations/outputs.ts | 126 + .../rules/lists/bulkOperations/tools.ts | 56 + .../forge-mcp/rules/lists/items/outputs.ts | 343 + .../forge-mcp/rules/lists/items/tools.ts | 264 + .../forge-mcp/rules/lists/outputs.ts | 311 + src/generated/forge-mcp/rules/lists/tools.ts | 232 + .../forge-mcp/rulesets/entrypoint/tools.ts | 550 + .../rulesets/entrypoint/versions/tools.ts | 433 + src/generated/forge-mcp/rulesets/outputs.ts | 4468 ++++++ .../forge-mcp/rulesets/rules/tools.ts | 769 ++ src/generated/forge-mcp/rulesets/tools.ts | 891 ++ .../rulesets/versions/byTag/tools.ts | 338 + .../forge-mcp/rulesets/versions/tools.ts | 467 + src/generated/forge-mcp/rum/outputs.ts | 97 + src/generated/forge-mcp/rum/rules/tools.ts | 125 + .../forge-mcp/rum/siteInfo/outputs.ts | 93 + src/generated/forge-mcp/rum/siteInfo/tools.ts | 232 + src/generated/forge-mcp/scanLogo/tools.ts | 11 + src/generated/forge-mcp/scanPage/tools.ts | 11 + .../forge-mcp/scim/groups/outputs.ts | 136 + src/generated/forge-mcp/scim/groups/tools.ts | 99 + src/generated/forge-mcp/scim/outputs.ts | 32 + .../forge-mcp/scim/resourceTypes/outputs.ts | 119 + .../forge-mcp/scim/resourceTypes/tools.ts | 40 + .../forge-mcp/scim/schemas/outputs.ts | 184 + src/generated/forge-mcp/scim/schemas/tools.ts | 40 + .../scim/serviceProviderConfig/outputs.ts | 145 + .../scim/serviceProviderConfig/tools.ts | 26 + src/generated/forge-mcp/scim/users/outputs.ts | 144 + src/generated/forge-mcp/scim/users/tools.ts | 105 + src/generated/forge-mcp/search/tools.ts | 11 + .../forge-mcp/secretsStore/outputs.ts | 90 + .../forge-mcp/secretsStore/quota/outputs.ts | 52 + .../forge-mcp/secretsStore/quota/tools.ts | 28 + .../forge-mcp/secretsStore/secrets/outputs.ts | 96 + .../forge-mcp/secretsStore/secrets/tools.ts | 234 + .../forge-mcp/secretsStore/stores/outputs.ts | 48 + .../forge-mcp/secretsStore/stores/tools.ts | 83 + .../securityInsights/auditLogs/outputs.ts | 67 + .../securityInsights/auditLogs/tools.ts | 85 + .../securityInsights/context/tools.ts | 18 + .../forge-mcp/securityInsights/count/tools.ts | 134 + .../securityInsights/partners/outputs.ts | 57 + .../partners/settings/outputs.ts | 19 + .../partners/settings/tools.ts | 51 + .../partners/shadowHosts/tools.ts | 55 + .../partners/shadowZoneHosts/tools.ts | 55 + .../partners/shadowZones/outputs.ts | 28 + .../partners/shadowZones/tools.ts | 49 + .../securityInsights/scans/outputs.ts | 85 + .../forge-mcp/securityInsights/scans/tools.ts | 42 + .../securityInsights/state/outputs.ts | 23 + .../forge-mcp/securityInsights/state/tools.ts | 35 + .../forge-mcp/securityInsights/tools.ts | 86 + .../forge-mcp/securityTxt/outputs.ts | 59 + src/generated/forge-mcp/securityTxt/tools.ts | 51 + src/generated/forge-mcp/signedUrl/tools.ts | 11 + .../smartShield/cacheReserveClear/outputs.ts | 60 + .../smartShield/cacheReserveClear/tools.ts | 90 + .../smartShield/healthChecks/outputs.ts | 426 + .../smartShield/healthChecks/tools.ts | 273 + .../forge-mcp/smartShield/outputs.ts | 216 + src/generated/forge-mcp/smartShield/tools.ts | 56 + .../forge-mcp/snippets/content/tools.ts | 59 + src/generated/forge-mcp/snippets/outputs.ts | 141 + .../forge-mcp/snippets/rules/outputs.ts | 41 + .../forge-mcp/snippets/rules/tools.ts | 236 + src/generated/forge-mcp/snippets/tools.ts | 246 + src/generated/forge-mcp/source.json | 3 + .../analytics/aggregates/currents/tools.ts | 65 + .../analytics/events/bytimes/tools.ts | 86 + .../spectrum/analytics/events/outputs.ts | 137 + .../analytics/events/summaries/tools.ts | 86 + .../forge-mcp/spectrum/analytics/outputs.ts | 110 + .../analytics/zones/report/outputs.ts | 61 + .../spectrum/analytics/zones/report/tools.ts | 59 + .../forge-mcp/spectrum/apps/outputs.ts | 360 + .../forge-mcp/spectrum/apps/tools.ts | 279 + src/generated/forge-mcp/spectrum/outputs.ts | 67 + .../forge-mcp/spectrum/protocols/outputs.ts | 34 + .../forge-mcp/spectrum/protocols/tools.ts | 51 + .../forge-mcp/speed/availabilities/outputs.ts | 128 + .../forge-mcp/speed/availabilities/tools.ts | 36 + src/generated/forge-mcp/speed/outputs.ts | 264 + .../forge-mcp/speed/pages/outputs.ts | 117 + .../forge-mcp/speed/pages/tests/outputs.ts | 25 + .../forge-mcp/speed/pages/tests/tools.ts | 129 + src/generated/forge-mcp/speed/pages/tools.ts | 89 + .../forge-mcp/speed/schedule/outputs.ts | 22 + .../forge-mcp/speed/schedule/tools.ts | 89 + src/generated/forge-mcp/sql/tools.ts | 99 + .../forge-mcp/ssl/analyze/outputs.ts | 34 + src/generated/forge-mcp/ssl/analyze/tools.ts | 27 + .../forge-mcp/ssl/autoOriginTlsKex/outputs.ts | 62 + .../forge-mcp/ssl/autoOriginTlsKex/tools.ts | 38 + .../forge-mcp/ssl/automaticUpgrader/tools.ts | 35 + .../hostnameAssociations/outputs.ts | 14 + .../hostnameAssociations/tools.ts | 45 + .../forge-mcp/ssl/certificatePacks/outputs.ts | 450 + .../ssl/certificatePacks/quota/outputs.ts | 64 + .../ssl/certificatePacks/quota/tools.ts | 38 + .../forge-mcp/ssl/certificatePacks/tools.ts | 236 + .../ssl/clientCertificates/outputs.ts | 243 + .../forge-mcp/ssl/clientCertificates/tools.ts | 230 + .../forge-mcp/ssl/ctAlerting/outputs.ts | 74 + .../forge-mcp/ssl/ctAlerting/tools.ts | 60 + .../ssl/customCertificates/outputs.ts | 287 + .../customCertificates/prioritize/tools.ts | 114 + .../forge-mcp/ssl/customCertificates/tools.ts | 287 + .../forge-mcp/ssl/dcvDelegation/outputs.ts | 53 + .../forge-mcp/ssl/dcvDelegation/tools.ts | 33 + .../ssl/keylessCertificates/outputs.ts | 140 + .../ssl/keylessCertificates/tools.ts | 212 + .../mtlsCertificates/associations/outputs.ts | 97 + .../mtlsCertificates/associations/tools.ts | 68 + .../forge-mcp/ssl/mtlsCertificates/outputs.ts | 268 + .../forge-mcp/ssl/mtlsCertificates/tools.ts | 190 + .../ssl/originCaCertificates/outputs.ts | 242 + .../ssl/originCaCertificates/tools.ts | 167 + .../hostnameAssociations/outputs.ts | 95 + .../hostnameAssociations/tools.ts | 78 + .../hostnameCertificates/outputs.ts | 131 + .../hostnameCertificates/tools.ts | 176 + .../originTlsClientAuth/hostnames/outputs.ts | 185 + .../originTlsClientAuth/hostnames/tools.ts | 130 + .../ssl/originTlsClientAuth/outputs.ts | 117 + .../originTlsClientAuth/settings/outputs.ts | 46 + .../ssl/originTlsClientAuth/settings/tools.ts | 67 + .../zoneCertificates/outputs.ts | 212 + .../zoneCertificates/tools.ts | 184 + src/generated/forge-mcp/ssl/outputs.ts | 251 + .../ssl/universal/settings/outputs.ts | 54 + .../forge-mcp/ssl/universal/settings/tools.ts | 57 + .../forge-mcp/ssl/verification/outputs.ts | 230 + .../forge-mcp/ssl/verification/tools.ts | 84 + .../forge-mcp/stream/keys/outputs.ts | 54 + src/generated/forge-mcp/stream/keys/tools.ts | 85 + .../forge-mcp/stream/liveInputs/outputs.ts | 454 + .../stream/liveInputs/outputs/outputs.ts | 53 + .../stream/liveInputs/outputs/tools.ts | 88 + .../forge-mcp/stream/liveInputs/tools.ts | 391 + src/generated/forge-mcp/stream/outputs.ts | 194 + src/generated/forge-mcp/stream/tools.ts | 34 + src/generated/forge-mcp/stream/usage/tools.ts | 42 + .../stream/videos/audioTracks/outputs.ts | 80 + .../stream/videos/audioTracks/tools.ts | 91 + .../stream/videos/captions/language/tools.ts | 63 + .../videos/captions/language/vtt/tools.ts | 16 + .../stream/videos/captions/outputs.ts | 58 + .../forge-mcp/stream/videos/captions/tools.ts | 44 + .../stream/videos/directUpload/tools.ts | 62 + .../stream/videos/downloads/tools.ts | 50 + .../stream/videos/downloadsDefault/tools.ts | 76 + .../forge-mcp/stream/videos/outputs.ts | 414 + .../forge-mcp/stream/videos/token/tools.ts | 23 + .../forge-mcp/stream/videos/tools.ts | 366 + .../forge-mcp/stream/watermarks/tools.ts | 122 + .../forge-mcp/stream/webhooks/tools.ts | 70 + .../forge-mcp/submissionInfo/tools.ts | 11 + src/generated/forge-mcp/submit/outputs.ts | 25 + src/generated/forge-mcp/submit/tools.ts | 16 + .../forge-mcp/tags/accountResources/tools.ts | 239 + src/generated/forge-mcp/tags/keys/tools.ts | 37 + src/generated/forge-mcp/tags/outputs.ts | 1634 +++ .../forge-mcp/tags/resources/tools.ts | 157 + .../forge-mcp/tags/summary/outputs.ts | 26 + src/generated/forge-mcp/tags/summary/tools.ts | 39 + src/generated/forge-mcp/tags/values/tools.ts | 37 + .../forge-mcp/tenant/account/tools.ts | 36 + .../forge-mcp/tenant/accountType/tools.ts | 32 + .../forge-mcp/tenant/entitlement/outputs.ts | 162 + .../forge-mcp/tenant/entitlement/tools.ts | 34 + src/generated/forge-mcp/tenant/outputs.ts | 162 + src/generated/forge-mcp/tenant/tools.ts | 32 + .../tenantCustomNameservers/outputs.ts | 212 + .../tenantCustomNameservers/tools.ts | 157 + src/generated/forge-mcp/totalQueries/tools.ts | 11 + .../forge-mcp/trackedDomains/tools.ts | 11 + src/generated/forge-mcp/tunnel/outputs.ts | 40 + src/generated/forge-mcp/tunnel/tools.ts | 85 + .../forge-mcp/tunnels/config/outputs.ts | 202 + .../forge-mcp/tunnels/config/tools.ts | 67 + .../forge-mcp/tunnels/connections/outputs.ts | 40 + .../forge-mcp/tunnels/connections/tools.ts | 94 + .../forge-mcp/tunnels/connectors/outputs.ts | 34 + .../forge-mcp/tunnels/connectors/tools.ts | 55 + .../tunnels/managementToken/tools.ts | 29 + src/generated/forge-mcp/tunnels/outputs.ts | 124 + .../forge-mcp/tunnels/token/tools.ts | 29 + src/generated/forge-mcp/tunnels/tools.ts | 269 + .../forge-mcp/turnstile/widgets/outputs.ts | 345 + .../forge-mcp/turnstile/widgets/tools.ts | 209 + src/generated/forge-mcp/urlInfo/outputs.ts | 19 + src/generated/forge-mcp/urlInfo/tools.ts | 16 + .../forge-mcp/urlNormalization/outputs.ts | 32 + .../forge-mcp/urlNormalization/tools.ts | 155 + .../forge-mcp/urlScanner/responses/tools.ts | 43 + .../forge-mcp/urlScanner/scans/tools.ts | 5651 ++++++++ .../forge-mcp/user/auditLogs/tools.ts | 41 + .../user/firewall/accessRules/outputs.ts | 45 + .../user/firewall/accessRules/tools.ts | 146 + .../forge-mcp/user/invites/outputs.ts | 100 + src/generated/forge-mcp/user/invites/tools.ts | 92 + .../loadBalancers/monitors/preview/tools.ts | 31 + .../monitors/references/tools.ts | 51 + .../user/loadBalancers/monitors/tools.ts | 224 + .../loadBalancers/pools/edit/pools/tools.ts | 144 + .../user/loadBalancers/pools/health/tools.ts | 41 + .../user/loadBalancers/pools/preview/tools.ts | 31 + .../loadBalancers/pools/references/tools.ts | 51 + .../user/loadBalancers/pools/tools.ts | 256 + .../user/loadBalancers/preview/tools.ts | 22 + .../user/loadBalancers/regions/tools.ts | 18 + .../loadBalancingAnalytics/events/outputs.ts | 87 + .../loadBalancingAnalytics/events/tools.ts | 54 + .../forge-mcp/user/memberships/outputs.ts | 194 + .../forge-mcp/user/memberships/tools.ts | 222 + src/generated/forge-mcp/user/outputs.ts | 118 + .../forge-mcp/user/subscriptions/tools.ts | 100 + src/generated/forge-mcp/user/tenant/tools.ts | 44 + .../user/tokens/permissionGroups/tools.ts | 75 + src/generated/forge-mcp/user/tokens/tools.ts | 286 + src/generated/forge-mcp/user/tools.ts | 184 + .../vectorize/metadataIndex/outputs.ts | 64 + .../vectorize/metadataIndex/tools.ts | 59 + src/generated/forge-mcp/vectorize/outputs.ts | 390 + src/generated/forge-mcp/vectorize/tools.ts | 212 + src/generated/forge-mcp/verify/tools.ts | 11 + .../accountWaitingRooms/outputs.ts | 63 + .../waitingRooms/accountWaitingRooms/tools.ts | 114 + .../waitingRooms/events/details/outputs.ts | 131 + .../waitingRooms/events/details/tools.ts | 63 + .../forge-mcp/waitingRooms/events/outputs.ts | 378 + .../forge-mcp/waitingRooms/events/tools.ts | 290 + .../forge-mcp/waitingRooms/outputs.ts | 508 + .../forge-mcp/waitingRooms/page/outputs.ts | 50 + .../forge-mcp/waitingRooms/page/tools.ts | 38 + .../forge-mcp/waitingRooms/rules/outputs.ts | 139 + .../forge-mcp/waitingRooms/rules/tools.ts | 326 + .../waitingRooms/settings/outputs.ts | 53 + .../forge-mcp/waitingRooms/settings/tools.ts | 105 + .../waitingRooms/statuses/outputs.ts | 96 + .../forge-mcp/waitingRooms/statuses/tools.ts | 58 + src/generated/forge-mcp/waitingRooms/tools.ts | 254 + .../contentLists/entries/outputs.ts | 93 + .../contentLists/entries/tools.ts | 230 + .../contentLists/outputs.ts | 131 + .../ipfsUniversalPaths/contentLists/tools.ts | 77 + .../forge-mcp/web3/hostnames/outputs.ts | 302 + .../forge-mcp/web3/hostnames/tools.ts | 256 + .../webAssets/discovery/operations/outputs.ts | 137 + .../webAssets/discovery/operations/tools.ts | 175 + .../forge-mcp/webAssets/discovery/outputs.ts | 63 + .../forge-mcp/webAssets/discovery/tools.ts | 52 + .../labels/managed/operations/tools.ts | 34 + .../webAssets/labels/managed/outputs.ts | 42 + .../webAssets/labels/managed/tools.ts | 34 + .../forge-mcp/webAssets/labels/outputs.ts | 49 + .../forge-mcp/webAssets/labels/tools.ts | 69 + .../webAssets/labels/user/operations/tools.ts | 38 + .../forge-mcp/webAssets/labels/user/tools.ts | 206 + .../webAssets/operations/labels/outputs.ts | 41 + .../webAssets/operations/labels/tools.ts | 223 + .../forge-mcp/webAssets/operations/outputs.ts | 44 + .../forge-mcp/webAssets/operations/tools.ts | 328 + src/generated/forge-mcp/webAssets/outputs.ts | 71 + .../forge-mcp/webAssets/schemas/outputs.ts | 11 + .../forge-mcp/webAssets/schemas/tools.ts | 31 + .../workers/accountSettings/outputs.ts | 19 + .../workers/accountSettings/tools.ts | 35 + .../workers/assets/upload/outputs.ts | 55 + .../forge-mcp/workers/assets/upload/tools.ts | 45 + .../forge-mcp/workers/deployments/outputs.ts | 84 + .../forge-mcp/workers/deployments/tools.ts | 87 + .../forge-mcp/workers/domains/outputs.ts | 52 + .../forge-mcp/workers/domains/tools.ts | 97 + .../workers/legacy/scripts/content/tools.ts | 16 + .../scriptAndVersionSettings/outputs.ts | 139 + .../scripts/scriptAndVersionSettings/tools.ts | 200 + .../legacy/scripts/settings/outputs.ts | 52 + .../workers/legacy/scripts/settings/tools.ts | 76 + .../legacy/scripts/subdomain/outputs.ts | 23 + .../workers/legacy/scripts/subdomain/tools.ts | 50 + .../forge-mcp/workers/legacy/scripts/tools.ts | 156 + .../legacy/scripts/usageModel/outputs.ts | 30 + .../legacy/scripts/usageModel/tools.ts | 54 + .../legacy/scripts/versions/outputs.ts | 284 + .../workers/legacy/scripts/versions/tools.ts | 193 + src/generated/forge-mcp/workers/outputs.ts | 696 + .../workers/placement/regions/outputs.ts | 59 + .../workers/placement/regions/tools.ts | 26 + .../workers/previews/deployments/outputs.ts | 266 + .../workers/previews/deployments/tools.ts | 577 + .../forge-mcp/workers/previews/outputs.ts | 190 + .../forge-mcp/workers/previews/tools.ts | 143 + .../forge-mcp/workers/routes/tools.ts | 104 + .../forge-mcp/workers/scripts/outputs.ts | 11 + .../workers/scripts/schedules/outputs.ts | 25 + .../workers/scripts/schedules/tools.ts | 57 + .../forge-mcp/workers/scripts/tools.ts | 86 + .../forge-mcp/workers/secrets/tools.ts | 116 + .../forge-mcp/workers/subdomains/outputs.ts | 19 + .../forge-mcp/workers/subdomains/tools.ts | 47 + .../forge-mcp/workers/tail/outputs.ts | 27 + src/generated/forge-mcp/workers/tail/tools.ts | 54 + src/generated/forge-mcp/workers/tools.ts | 621 + .../workers/versions/latest/tools.ts | 211 + .../forge-mcp/workers/versions/outputs.ts | 275 + .../forge-mcp/workers/versions/tools.ts | 548 + .../workersBuilds/workers/previews/outputs.ts | 63 + .../workersBuilds/workers/previews/tools.ts | 280 + .../forge-mcp/workersBuilds/workers/tools.ts | 62 + .../dispatchNamespaces/outputs.ts | 65 + .../scripts/assets/upload/tools.ts | 32 + .../scripts/bindings/tools.ts | 121 + .../scripts/content/tools.ts | 16 + .../dispatchNamespaces/scripts/outputs.ts | 59 + .../scripts/secrets/tools.ts | 116 + .../scripts/settings/outputs.ts | 118 + .../scripts/settings/tools.ts | 198 + .../scripts/tags/outputs.ts | 73 + .../dispatchNamespaces/scripts/tags/tools.ts | 121 + .../dispatchNamespaces/scripts/tools.ts | 198 + .../dispatchNamespaces/tools.ts | 152 + .../forge-mcp/workersVpc/services/outputs.ts | 333 + .../forge-mcp/workersVpc/services/tools.ts | 164 + .../forge-mcp/workflows/concurrency/tools.ts | 864 ++ .../workflows/instances/batch/tools.ts | 177 + .../workflows/instances/events/tools.ts | 108 + .../workflows/instances/step/tools.ts | 231 + .../forge-mcp/workflows/instances/tools.ts | 1672 +++ .../forge-mcp/workflows/settings/tools.ts | 128 + src/generated/forge-mcp/workflows/tools.ts | 444 + .../forge-mcp/workflows/versions/tools.ts | 1171 ++ src/generated/forge-mcp/zaraz/config/tools.ts | 116 + .../forge-mcp/zaraz/default/tools.ts | 74 + src/generated/forge-mcp/zaraz/export/tools.ts | 74 + .../zaraz/history/configs/outputs.ts | 37 + .../forge-mcp/zaraz/history/configs/tools.ts | 79 + .../forge-mcp/zaraz/history/outputs.ts | 33 + .../forge-mcp/zaraz/history/tools.ts | 119 + src/generated/forge-mcp/zaraz/outputs.ts | 1178 ++ .../forge-mcp/zaraz/publish/tools.ts | 18 + .../forge-mcp/zaraz/workflow/outputs.ts | 15 + .../forge-mcp/zaraz/workflow/tools.ts | 35 + .../zeroTrust/access/applications/outputs.ts | 2792 ++++ .../access/applications/policies/outputs.ts | 18 + .../access/applications/policies/tools.ts | 436 + .../applications/policyTests/outputs.ts | 90 + .../access/applications/policyTests/tools.ts | 97 + .../applications/policyTests/users/outputs.ts | 37 + .../applications/policyTests/users/tools.ts | 46 + .../access/applications/settings/outputs.ts | 19 + .../access/applications/settings/tools.ts | 26 + .../shortLivedCertificates/outputs.ts | 43 + .../shortLivedCertificates/tools.ts | 115 + .../zeroTrust/access/applications/tools.ts | 966 ++ .../applications/userPolicyChecks/tools.ts | 91 + .../zeroTrust/access/customPages/outputs.ts | 200 + .../zeroTrust/access/customPages/tools.ts | 192 + .../auditSshSettings/outputs.ts | 68 + .../infrastructure/auditSshSettings/tools.ts | 89 + .../access/infrastructure/sshCa/outputs.ts | 19 + .../access/infrastructure/sshCa/tools.ts | 87 + .../access/logs/accessRequests/outputs.ts | 96 + .../access/logs/accessRequests/tools.ts | 54 + .../access/logs/jitRequests/outputs.ts | 160 + .../access/logs/jitRequests/tools.ts | 82 + .../access/logs/scim/updates/outputs.ts | 46 + .../access/logs/scim/updates/tools.ts | 53 + .../mfa/authenticatorCatalog/outputs.ts | 38 + .../access/mfa/authenticatorCatalog/tools.ts | 57 + .../access/mtlsCertificates/outputs.ts | 58 + .../mtlsCertificates/settings/outputs.ts | 27 + .../access/mtlsCertificates/settings/tools.ts | 97 + .../access/mtlsCertificates/tools.ts | 149 + .../forge-mcp/zeroTrust/access/outputs.ts | 1119 ++ .../zeroTrust/access/policies/outputs.ts | 56 + .../zeroTrust/access/policies/tools.ts | 196 + .../zeroTrust/access/ruleGroups/outputs.ts | 74 + .../zeroTrust/access/ruleGroups/tools.ts | 415 + .../samlEncryptionCertificates/outputs.ts | 70 + .../samlEncryptionCertificates/tools.ts | 108 + .../zeroTrust/access/serviceTokens/outputs.ts | 120 + .../zeroTrust/access/serviceTokens/tools.ts | 276 + .../zeroTrust/access/signingKeys/outputs.ts | 44 + .../zeroTrust/access/signingKeys/tools.ts | 64 + .../zeroTrust/access/tags/outputs.ts | 32 + .../forge-mcp/zeroTrust/access/tags/tools.ts | 135 + .../zeroTrust/access/targets/bulk/tools.ts | 86 + .../zeroTrust/access/targets/outputs.ts | 115 + .../zeroTrust/access/targets/tools.ts | 129 + .../access/userPopulations/outputs.ts | 38 + .../zeroTrust/access/userPopulations/tools.ts | 143 + .../access/userPopulations/users/outputs.ts | 154 + .../access/userPopulations/users/tools.ts | 114 + .../access/users/activeSessions/tools.ts | 138 + .../access/users/failedLogins/tools.ts | 57 + .../access/users/lastSeenIdentity/tools.ts | 67 + .../zeroTrust/access/users/outputs.ts | 279 + .../forge-mcp/zeroTrust/access/users/tools.ts | 183 + .../casb/applications/authMethods/outputs.ts | 120 + .../casb/applications/authMethods/tools.ts | 32 + .../zeroTrust/casb/applications/outputs.ts | 382 + .../zeroTrust/casb/applications/tools.ts | 55 + .../zeroTrust/casb/assetSchemas/outputs.ts | 60 + .../zeroTrust/casb/assetSchemas/tools.ts | 66 + .../zeroTrust/casb/content/outputs.ts | 52 + .../forge-mcp/zeroTrust/casb/content/tools.ts | 65 + .../forge-mcp/zeroTrust/casb/exports/tools.ts | 48 + .../zeroTrust/casb/findingTypes/outputs.ts | 264 + .../findingTypes/remediationTypes/outputs.ts | 37 + .../findingTypes/remediationTypes/tools.ts | 29 + .../zeroTrust/casb/findingTypes/tools.ts | 196 + .../casb/findings/instances/outputs.ts | 250 + .../casb/findings/instances/tools.ts | 126 + .../zeroTrust/casb/findings/outputs.ts | 220 + .../zeroTrust/casb/findings/tools.ts | 238 + .../zeroTrust/casb/integrations/outputs.ts | 296 + .../zeroTrust/casb/integrations/tools.ts | 102 + .../forge-mcp/zeroTrust/casb/outputs.ts | 640 + .../zeroTrust/casb/policies/outputs.ts | 156 + .../zeroTrust/casb/policies/tools.ts | 156 + .../casb/remediations/jobs/outputs.ts | 342 + .../zeroTrust/casb/remediations/jobs/tools.ts | 92 + .../zeroTrust/casb/webhooks/jobs/outputs.ts | 144 + .../zeroTrust/casb/webhooks/jobs/tools.ts | 59 + .../zeroTrust/casb/webhooks/outputs.ts | 105 + .../zeroTrust/casb/webhooks/tools.ts | 179 + .../zeroTrust/connectivitySettings/outputs.ts | 18 + .../zeroTrust/connectivitySettings/tools.ts | 56 + .../cws/basicAuthCredentials/outputs.ts | 34 + .../basicAuthCredentials/secrets/outputs.ts | 29 + .../cws/basicAuthCredentials/secrets/tools.ts | 109 + .../cws/basicAuthCredentials/tools.ts | 106 + .../zeroTrust/cws/deployments/outputs.ts | 98 + .../zeroTrust/cws/deployments/tools.ts | 125 + .../zeroTrust/cws/domainAcls/outputs.ts | 79 + .../zeroTrust/cws/domainAcls/tools.ts | 129 + .../forge-mcp/zeroTrust/cws/outputs.ts | 133 + .../zeroTrust/cws/policies/outputs.ts | 60 + .../forge-mcp/zeroTrust/cws/policies/tools.ts | 131 + .../zeroTrust/cws/policySets/outputs.ts | 108 + .../zeroTrust/cws/policySets/tools.ts | 129 + .../zeroTrust/cws/regoMetadata/outputs.ts | 103 + .../zeroTrust/cws/regoMetadata/tools.ts | 137 + .../zeroTrust/cws/regoModules/outputs.ts | 42 + .../zeroTrust/cws/regoModules/tools.ts | 131 + .../cws/tenantStructures/nodes/outputs.ts | 76 + .../cws/tenantStructures/nodes/tools.ts | 152 + .../zeroTrust/cws/tenantStructures/outputs.ts | 45 + .../zeroTrust/cws/tenantStructures/tools.ts | 125 + .../zeroTrust/cws/workloads/outputs.ts | 48 + .../zeroTrust/cws/workloads/tools.ts | 125 + .../devices/clientVersions/outputs.ts | 32 + .../targetEnvironments/outputs.ts | 23 + .../targetEnvironments/tools.ts | 34 + .../zeroTrust/devices/clientVersions/tools.ts | 36 + .../devices/deploymentGroups/outputs.ts | 112 + .../devices/deploymentGroups/tools.ts | 132 + .../devices/emergencyDisconnect/outputs.ts | 34 + .../devices/emergencyDisconnect/tools.ts | 43 + .../zeroTrust/devices/ipProfiles/outputs.ts | 121 + .../zeroTrust/devices/ipProfiles/tools.ts | 147 + .../zeroTrust/devices/networks/outputs.ts | 68 + .../zeroTrust/devices/networks/tools.ts | 143 + .../forge-mcp/zeroTrust/devices/outputs.ts | 496 + .../devices/overrideCodes/outputs.ts | 19 + .../zeroTrust/devices/overrideCodes/tools.ts | 20 + .../devices/posture/integrations/outputs.ts | 89 + .../devices/posture/integrations/tools.ts | 134 + .../devices/posture/rules/outputs.ts | 907 ++ .../zeroTrust/devices/posture/rules/tools.ts | 288 + .../devices/profiles/custom/outputs.ts | 191 + .../devices/profiles/custom/tools.ts | 397 + .../devices/profiles/default/outputs.ts | 91 + .../devices/profiles/default/tools.ts | 154 + .../zeroTrust/devices/profiles/outputs.ts | 469 + .../devices/registrations/outputs.ts | 131 + .../registrations/overrideCodes/outputs.ts | 19 + .../registrations/overrideCodes/tools.ts | 20 + .../zeroTrust/devices/registrations/tools.ts | 102 + .../zeroTrust/devices/settings/outputs.ts | 41 + .../zeroTrust/devices/settings/tools.ts | 50 + .../forge-mcp/zeroTrust/devices/tools.ts | 102 + .../forge-mcp/zeroTrust/dex/colos/outputs.ts | 30 + .../forge-mcp/zeroTrust/dex/colos/tools.ts | 31 + .../dex/commands/eligibleDevices/outputs.ts | 61 + .../dex/commands/eligibleDevices/tools.ts | 32 + .../zeroTrust/dex/commands/outputs.ts | 128 + .../zeroTrust/dex/commands/quota/outputs.ts | 29 + .../zeroTrust/dex/commands/quota/tools.ts | 20 + .../zeroTrust/dex/commands/results/tools.ts | 16 + .../forge-mcp/zeroTrust/dex/commands/tools.ts | 42 + .../dex/devices/aggregates/live/outputs.ts | 19 + .../dex/devices/aggregates/live/tools.ts | 97 + .../dex/devices/aggregates/outputs.ts | 12 + .../devices/aggregates/overTime/outputs.ts | 23 + .../dex/devices/aggregates/overTime/tools.ts | 46 + .../zeroTrust/dex/devices/outputs.ts | 750 ++ .../zeroTrust/dex/devices/overTime/outputs.ts | 325 + .../zeroTrust/dex/devices/overTime/tools.ts | 52 + .../forge-mcp/zeroTrust/dex/devices/tools.ts | 110 + .../forge-mcp/zeroTrust/dex/isps/outputs.ts | 101 + .../forge-mcp/zeroTrust/dex/isps/tools.ts | 28 + .../forge-mcp/zeroTrust/dex/outputs.ts | 140 + .../zeroTrust/dex/overview/tests/outputs.ts | 407 + .../zeroTrust/dex/overview/tests/tools.ts | 48 + .../overview/tests/uniqueDevices/outputs.ts | 20 + .../dex/overview/tests/uniqueDevices/tools.ts | 20 + .../forge-mcp/zeroTrust/dex/rules/outputs.ts | 86 + .../forge-mcp/zeroTrust/dex/rules/tools.ts | 105 + .../zeroTrust/dex/testResults/http/outputs.ts | 238 + .../testResults/http/percentiles/outputs.ts | 24 + .../dex/testResults/http/percentiles/tools.ts | 22 + .../zeroTrust/dex/testResults/http/tools.ts | 44 + .../zeroTrust/dex/testResults/outputs.ts | 192 + .../traceroute/networkPath/outputs.ts | 212 + .../traceroute/networkPath/tools.ts | 32 + .../dex/testResults/traceroute/outputs.ts | 162 + .../traceroute/percentiles/outputs.ts | 24 + .../traceroute/percentiles/tools.ts | 22 + .../dex/testResults/traceroute/tools.ts | 40 + .../dex/tests/networkPath/outputs.ts | 167 + .../zeroTrust/dex/tests/networkPath/tools.ts | 30 + .../forge-mcp/zeroTrust/dex/tests/outputs.ts | 125 + .../forge-mcp/zeroTrust/dex/tests/tools.ts | 158 + .../zeroTrust/dex/warpChangeEvents/outputs.ts | 131 + .../zeroTrust/dex/warpChangeEvents/tools.ts | 60 + .../dlp/customPromptTopics/outputs.ts | 63 + .../zeroTrust/dlp/customPromptTopics/tools.ts | 95 + .../zeroTrust/dlp/dataClasses/outputs.ts | 73 + .../zeroTrust/dlp/dataClasses/tools.ts | 98 + .../dlp/dataTagCategories/outputs.ts | 72 + .../zeroTrust/dlp/dataTagCategories/tools.ts | 101 + .../dlp/dataTagCategoryTemplates/outputs.ts | 64 + .../dlp/dataTagCategoryTemplates/tools.ts | 53 + .../zeroTrust/dlp/dataTags/outputs.ts | 14 + .../forge-mcp/zeroTrust/dlp/dataTags/tools.ts | 94 + .../zeroTrust/dlp/datasets/outputs.ts | 203 + .../forge-mcp/zeroTrust/dlp/datasets/tools.ts | 127 + .../dlp/documentFingerprints/outputs.ts | 81 + .../dlp/documentFingerprints/tools.ts | 97 + .../dlp/email/accountMapping/outputs.ts | 67 + .../dlp/email/accountMapping/tools.ts | 40 + .../zeroTrust/dlp/email/rules/outputs.ts | 166 + .../zeroTrust/dlp/email/rules/tools.ts | 145 + .../zeroTrust/dlp/entries/outputs.ts | 544 + .../forge-mcp/zeroTrust/dlp/entries/tools.ts | 156 + .../forge-mcp/zeroTrust/dlp/limits/outputs.ts | 39 + .../forge-mcp/zeroTrust/dlp/limits/tools.ts | 20 + .../forge-mcp/zeroTrust/dlp/outputs.ts | 741 + .../zeroTrust/dlp/patterns/outputs.ts | 19 + .../forge-mcp/zeroTrust/dlp/patterns/tools.ts | 20 + .../zeroTrust/dlp/profiles/custom/tools.ts | 115 + .../zeroTrust/dlp/profiles/outputs.ts | 326 + .../dlp/profiles/predefined/tools.ts | 64 + .../forge-mcp/zeroTrust/dlp/profiles/tools.ts | 112 + .../dlp/sensitivityGroupTemplates/outputs.ts | 64 + .../dlp/sensitivityGroupTemplates/tools.ts | 53 + .../dlp/sensitivityGroups/outputs.ts | 91 + .../zeroTrust/dlp/sensitivityGroups/tools.ts | 132 + .../dlp/sensitivityLevels/outputs.ts | 14 + .../zeroTrust/dlp/sensitivityLevels/tools.ts | 94 + .../zeroTrust/dlp/settings/outputs.ts | 69 + .../forge-mcp/zeroTrust/dlp/settings/tools.ts | 77 + .../zeroTrust/dlp/validators/outputs.ts | 256 + .../dlp/validators/proximityWords/outputs.ts | 14 + .../dlp/validators/proximityWords/tools.ts | 121 + .../zeroTrust/dlp/validators/tools.ts | 74 + .../dlp/validators/worker/outputs.ts | 14 + .../dlp/validators/worker/status/outputs.ts | 32 + .../dlp/validators/worker/status/tools.ts | 24 + .../zeroTrust/dlp/validators/worker/tools.ts | 116 + .../zeroTrust/gateway/appTypes/outputs.ts | 116 + .../zeroTrust/gateway/appTypes/tools.ts | 61 + .../zeroTrust/gateway/categories/outputs.ts | 135 + .../zeroTrust/gateway/categories/tools.ts | 59 + .../zeroTrust/gateway/certificates/outputs.ts | 154 + .../zeroTrust/gateway/certificates/tools.ts | 198 + .../gateway/configurations/outputs.ts | 634 + .../zeroTrust/gateway/configurations/tools.ts | 206 + .../gateway/dnsDestinationIps/outputs.ts | 71 + .../gateway/dnsDestinationIps/tools.ts | 47 + .../zeroTrust/gateway/lists/items/outputs.ts | 49 + .../zeroTrust/gateway/lists/items/tools.ts | 71 + .../zeroTrust/gateway/lists/outputs.ts | 243 + .../zeroTrust/gateway/lists/tools.ts | 243 + .../zeroTrust/gateway/locations/outputs.ts | 416 + .../zeroTrust/gateway/locations/tools.ts | 252 + .../zeroTrust/gateway/logging/outputs.ts | 85 + .../zeroTrust/gateway/logging/tools.ts | 60 + .../forge-mcp/zeroTrust/gateway/outputs.ts | 166 + .../zeroTrust/gateway/pacfiles/outputs.ts | 159 + .../zeroTrust/gateway/pacfiles/tools.ts | 205 + .../gateway/proxyEndpoints/outputs.ts | 177 + .../zeroTrust/gateway/proxyEndpoints/tools.ts | 177 + .../zeroTrust/gateway/rules/outputs.ts | 979 ++ .../zeroTrust/gateway/rules/tools.ts | 455 + .../forge-mcp/zeroTrust/gateway/tools.ts | 85 + .../federationGrants/outputs.ts | 28 + .../federationGrants/tools.ts | 119 + .../zeroTrust/identityProviders/outputs.ts | 1406 ++ .../samlCertificate/tools.ts | 33 + .../identityProviders/scim/groups/outputs.ts | 99 + .../identityProviders/scim/groups/tools.ts | 91 + .../identityProviders/scim/outputs.ts | 28 + .../identityProviders/scim/users/outputs.ts | 58 + .../identityProviders/scim/users/tools.ts | 88 + .../zeroTrust/identityProviders/tools.ts | 319 + .../zeroTrust/organization/doh/outputs.ts | 11 + .../zeroTrust/organization/doh/tools.ts | 44 + .../zeroTrust/organization/outputs.ts | 339 + .../forge-mcp/zeroTrust/organization/tools.ts | 159 + src/generated/forge-mcp/zeroTrust/outputs.ts | 254 + .../riskScoring/behaviours/outputs.ts | 86 + .../zeroTrust/riskScoring/behaviours/tools.ts | 45 + .../riskScoring/integrations/outputs.ts | 69 + .../integrations/references/tools.ts | 24 + .../riskScoring/integrations/tools.ts | 101 + .../zeroTrust/riskScoring/outputs.ts | 87 + .../zeroTrust/riskScoring/summary/outputs.ts | 59 + .../zeroTrust/riskScoring/summary/tools.ts | 23 + .../forge-mcp/zeroTrust/riskScoring/tools.ts | 42 + .../forge-mcp/zeroTrust/seats/outputs.ts | 49 + .../forge-mcp/zeroTrust/seats/tools.ts | 61 + .../users/mfa/authenticators/tools.ts | 25 + .../zeroTrust/users/passkeys/tools.ts | 25 + src/generated/forge-mcp/zone/outputs.ts | 74 + src/generated/forge-mcp/zone/tools.ts | 25 + .../forge-mcp/zones/aegis/outputs.ts | 51 + src/generated/forge-mcp/zones/aegis/tools.ts | 40 + .../automaticPlatformOptimization/outputs.ts | 89 + .../automaticPlatformOptimization/tools.ts | 40 + .../forge-mcp/zones/binaryAst/outputs.ts | 52 + .../forge-mcp/zones/binaryAst/tools.ts | 40 + .../forge-mcp/zones/fonts/outputs.ts | 51 + src/generated/forge-mcp/zones/fonts/tools.ts | 40 + .../zones/h2Prioritization/outputs.ts | 52 + .../forge-mcp/zones/h2Prioritization/tools.ts | 40 + src/generated/forge-mcp/zones/holds/tools.ts | 104 + .../zones/hostnames/settings/outputs.ts | 113 + .../zones/hostnames/settings/tls/outputs.ts | 126 + .../zones/hostnames/settings/tls/tools.ts | 153 + .../hostnames/settings/tlsSingle/tools.ts | 41 + .../forge-mcp/zones/imageResizing/outputs.ts | 53 + .../forge-mcp/zones/imageResizing/tools.ts | 40 + .../zones/originH2MaxStreams/outputs.ts | 43 + .../zones/originH2MaxStreams/tools.ts | 40 + .../zones/originMaxHttpVersion/outputs.ts | 47 + .../zones/originMaxHttpVersion/tools.ts | 40 + .../zones/originTlsComplianceModes/outputs.ts | 45 + .../zones/originTlsComplianceModes/tools.ts | 116 + src/generated/forge-mcp/zones/outputs.ts | 382 + .../forge-mcp/zones/plans/outputs.ts | 75 + src/generated/forge-mcp/zones/plans/tools.ts | 82 + .../forge-mcp/zones/ratePlans/outputs.ts | 101 + .../forge-mcp/zones/ratePlans/tools.ts | 60 + src/generated/forge-mcp/zones/rum/outputs.ts | 43 + src/generated/forge-mcp/zones/rum/tools.ts | 46 + .../forge-mcp/zones/settings/outputs.ts | 3708 +++++ .../forge-mcp/zones/settings/tools.ts | 437 + .../forge-mcp/zones/speedBrain/outputs.ts | 37 + .../forge-mcp/zones/speedBrain/tools.ts | 35 + .../forge-mcp/zones/subscriptions/outputs.ts | 114 + .../forge-mcp/zones/subscriptions/tools.ts | 160 + src/generated/forge-mcp/zones/tools.ts | 141 + .../transformationsAllowedOrigins/outputs.ts | 47 + .../transformationsAllowedOrigins/tools.ts | 40 + .../zones/transformationsC2pa/outputs.ts | 51 + .../zones/transformationsC2pa/tools.ts | 40 + .../zones/transformationsConfig/outputs.ts | 68 + .../zones/transformationsConfig/tools.ts | 40 + src/metrics.ts | 89 +- src/response-schema-check.ts | 380 + src/response-validation.ts | 132 + src/spec-processor.ts | 2 +- src/tools/forge-tools.ts | 18 +- src/tools/non-codemode.ts | 20 +- tests/forge-tools-worker.test.ts | 5 +- tests/metrics.test.ts | 76 + tests/response-schema-check.test.ts | 223 + tests/response-validation-worker.test.ts | 220 + vitest.config.ts | 5 +- worker-configuration.d.ts | 7 +- wrangler.jsonc | 9 +- 1779 files changed, 336467 insertions(+), 1564 deletions(-) create mode 100644 scripts/bench-response-validation.ts create mode 100644 scripts/schema-mismatch-report.ts create mode 100644 src/generated/forge-mcp/abuseReports/appeals/outputs.ts create mode 100644 src/generated/forge-mcp/abuseReports/emails/outputs.ts create mode 100644 src/generated/forge-mcp/abuseReports/mitigations/outputs.ts create mode 100644 src/generated/forge-mcp/abuseReports/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/applications/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/billing/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/billing/paymentMethods/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/categories/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/logs/audit/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/members/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/subscriptions/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/transformations/outputs.ts create mode 100644 src/generated/forge-mcp/accounts/utBilling/outputs.ts create mode 100644 src/generated/forge-mcp/acm/customTrustStore/outputs.ts create mode 100644 src/generated/forge-mcp/acm/totalTls/outputs.ts create mode 100644 src/generated/forge-mcp/addressing/addressMaps/outputs.ts create mode 100644 src/generated/forge-mcp/addressing/leases/outputs.ts create mode 100644 src/generated/forge-mcp/addressing/loaDocuments/outputs.ts create mode 100644 src/generated/forge-mcp/addressing/outputs.ts create mode 100644 src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts create mode 100644 src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts create mode 100644 src/generated/forge-mcp/addressing/prefixes/outputs.ts create mode 100644 src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts create mode 100644 src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts create mode 100644 src/generated/forge-mcp/aiAudit/robots/outputs.ts create mode 100644 src/generated/forge-mcp/aiSecurity/customTopics/outputs.ts create mode 100644 src/generated/forge-mcp/aiSecurity/outputs.ts create mode 100644 src/generated/forge-mcp/alerting/availableAlerts/outputs.ts create mode 100644 src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts create mode 100644 src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts create mode 100644 src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts create mode 100644 src/generated/forge-mcp/alerting/history/outputs.ts create mode 100644 src/generated/forge-mcp/alerting/outputs.ts create mode 100644 src/generated/forge-mcp/alerting/policies/email/outputs.ts create mode 100644 src/generated/forge-mcp/alerting/policies/outputs.ts create mode 100644 src/generated/forge-mcp/alerting/silences/outputs.ts create mode 100644 src/generated/forge-mcp/analytics/latency/outputs.ts create mode 100644 src/generated/forge-mcp/analytics/query/dataSecurity/findings/outputs.ts create mode 100644 src/generated/forge-mcp/analytics/query/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/schemaValidation/settings/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/sessionIdentifiers/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts create mode 100644 src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/outputs.ts create mode 100644 src/generated/forge-mcp/argo/smartRouting/outputs.ts create mode 100644 src/generated/forge-mcp/argo/tieredCaching/outputs.ts create mode 100644 src/generated/forge-mcp/billing/addresses/outputs.ts create mode 100644 src/generated/forge-mcp/billing/usage/outputs.ts create mode 100644 src/generated/forge-mcp/botManagement/feedback/outputs.ts create mode 100644 src/generated/forge-mcp/botManagement/outputs.ts create mode 100644 src/generated/forge-mcp/browserRun/quickAction/outputs.ts create mode 100644 src/generated/forge-mcp/builds/deployHooks/outputs.ts create mode 100644 src/generated/forge-mcp/builds/limits/outputs.ts create mode 100644 src/generated/forge-mcp/builds/logs/outputs.ts create mode 100644 src/generated/forge-mcp/builds/outputs.ts create mode 100644 src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts create mode 100644 src/generated/forge-mcp/builds/tokens/outputs.ts create mode 100644 src/generated/forge-mcp/builds/triggers/outputs.ts create mode 100644 src/generated/forge-mcp/builds/versions/outputs.ts create mode 100644 src/generated/forge-mcp/cache/originCloudRegions/outputs.ts create mode 100644 src/generated/forge-mcp/cache/outputs.ts create mode 100644 src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts create mode 100644 src/generated/forge-mcp/cache/settings/reserve/outputs.ts create mode 100644 src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts create mode 100644 src/generated/forge-mcp/cache/settings/variants/outputs.ts create mode 100644 src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts create mode 100644 src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts create mode 100644 src/generated/forge-mcp/clientSideSecurity/outputs.ts create mode 100644 src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts create mode 100644 src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts create mode 100644 src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts create mode 100644 src/generated/forge-mcp/cloudConnector/rules/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/events/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/rules/approvals/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/rules/email/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/rules/exemptions/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/rules/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/rules/stats/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/rules/tree/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/scans/outputs.ts create mode 100644 src/generated/forge-mcp/cloudforceOne/scans/results/outputs.ts create mode 100644 src/generated/forge-mcp/connectorInterrupts/outputs.ts create mode 100644 src/generated/forge-mcp/connectorTelemetryEvents/outputs.ts create mode 100644 src/generated/forge-mcp/connectorTelemetrySnapshots/outputs.ts create mode 100644 src/generated/forge-mcp/connectors/outputs.ts create mode 100644 src/generated/forge-mcp/containers/applications/instances/outputs.ts create mode 100644 src/generated/forge-mcp/containers/applications/outputs.ts create mode 100644 src/generated/forge-mcp/containers/applications/rollouts/outputs.ts create mode 100644 src/generated/forge-mcp/containers/applications/versions/outputs.ts create mode 100644 src/generated/forge-mcp/containers/images/outputs.ts create mode 100644 src/generated/forge-mcp/containers/outputs.ts create mode 100644 src/generated/forge-mcp/containers/registries/credentials/outputs.ts create mode 100644 src/generated/forge-mcp/containers/registries/outputs.ts create mode 100644 src/generated/forge-mcp/contentScan/expressions/outputs.ts create mode 100644 src/generated/forge-mcp/contentScan/outputs.ts create mode 100644 src/generated/forge-mcp/cps/outputs.ts create mode 100644 src/generated/forge-mcp/csamScanner/outputs.ts create mode 100644 src/generated/forge-mcp/customCsrs/outputs.ts create mode 100644 src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts create mode 100644 src/generated/forge-mcp/customHostnames/outputs.ts create mode 100644 src/generated/forge-mcp/customHostnames/quota/outputs.ts create mode 100644 src/generated/forge-mcp/customNameservers/outputs.ts create mode 100644 src/generated/forge-mcp/customPages/accountAssets/outputs.ts create mode 100644 src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts create mode 100644 src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/outputs.ts create mode 100644 src/generated/forge-mcp/customPages/outputs.ts create mode 100644 src/generated/forge-mcp/d1/outputs.ts create mode 100644 src/generated/forge-mcp/d1/timeTravel/outputs.ts create mode 100644 src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts create mode 100644 src/generated/forge-mcp/diagnostics/outputs.ts create mode 100644 src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts create mode 100644 src/generated/forge-mcp/dls/outputs.ts create mode 100644 src/generated/forge-mcp/dls/regionalServices/prefixBindings/outputs.ts create mode 100644 src/generated/forge-mcp/dls/regions/outputs.ts create mode 100644 src/generated/forge-mcp/dns/dnssec/list/outputs.ts create mode 100644 src/generated/forge-mcp/dns/dnssec/outputs.ts create mode 100644 src/generated/forge-mcp/dns/domainconnect/outputs.ts create mode 100644 src/generated/forge-mcp/dns/outputs.ts create mode 100644 src/generated/forge-mcp/dns/records/outputs.ts create mode 100644 src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts create mode 100644 src/generated/forge-mcp/dns/settings/account/outputs.ts create mode 100644 src/generated/forge-mcp/dns/settings/account/views/outputs.ts create mode 100644 src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts create mode 100644 src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts create mode 100644 src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts create mode 100644 src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts create mode 100644 src/generated/forge-mcp/dns/zoneTransfers/outputs.ts create mode 100644 src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts create mode 100644 src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts create mode 100644 src/generated/forge-mcp/dnsFirewall/outputs.ts create mode 100644 src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts create mode 100644 src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts create mode 100644 src/generated/forge-mcp/durableObjects/namespaces/outputs.ts create mode 100644 src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts create mode 100644 src/generated/forge-mcp/emailAuth/outputs.ts create mode 100644 src/generated/forge-mcp/emailAuth/spf/outputs.ts create mode 100644 src/generated/forge-mcp/emailRouting/addresses/outputs.ts create mode 100644 src/generated/forge-mcp/emailRouting/outputs.ts create mode 100644 src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts create mode 100644 src/generated/forge-mcp/emailRouting/rules/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/domains/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/investigate/actionLog/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/investigate/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/investigate/preview/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/investigate/raw/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/investigate/trace/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/submissions/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts create mode 100644 src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts create mode 100644 src/generated/forge-mcp/emailSending/limits/outputs.ts create mode 100644 src/generated/forge-mcp/emailSending/outputs.ts create mode 100644 src/generated/forge-mcp/emailSending/reputation/outputs.ts create mode 100644 src/generated/forge-mcp/emailSending/subdomains/outputs.ts create mode 100644 src/generated/forge-mcp/emailSending/subdomains/reputation/outputs.ts create mode 100644 src/generated/forge-mcp/fieldExtractors/outputs.ts create mode 100644 src/generated/forge-mcp/firewall/accessRules/outputs.ts create mode 100644 src/generated/forge-mcp/firewall/lockdowns/outputs.ts create mode 100644 src/generated/forge-mcp/firewall/outputs.ts create mode 100644 src/generated/forge-mcp/flagship/apps/definitions/outputs.ts create mode 100644 src/generated/forge-mcp/flagship/apps/flags/changelog/outputs.ts create mode 100644 src/generated/forge-mcp/flagship/apps/flags/outputs.ts create mode 100644 src/generated/forge-mcp/flagship/apps/outputs.ts create mode 100644 src/generated/forge-mcp/fraud/outputs.ts create mode 100644 src/generated/forge-mcp/googleTagGateway/config/outputs.ts create mode 100644 src/generated/forge-mcp/healthchecks/outputs.ts create mode 100644 src/generated/forge-mcp/hyperdrive/integration/planetscale/outputs.ts create mode 100644 src/generated/forge-mcp/hyperdrive/outputs.ts create mode 100644 src/generated/forge-mcp/iam/sso/outputs.ts create mode 100644 src/generated/forge-mcp/iam/userGroups/members/outputs.ts create mode 100644 src/generated/forge-mcp/iam/userGroups/outputs.ts create mode 100644 src/generated/forge-mcp/images/import/outputs.ts create mode 100644 src/generated/forge-mcp/images/import/sources/outputs.ts create mode 100644 src/generated/forge-mcp/images/keys/outputs.ts create mode 100644 src/generated/forge-mcp/images/outputs.ts create mode 100644 src/generated/forge-mcp/images/variants/outputs.ts create mode 100644 src/generated/forge-mcp/intel/asn/outputs.ts create mode 100644 src/generated/forge-mcp/intel/asn/subnets/outputs.ts create mode 100644 src/generated/forge-mcp/intel/dns/outputs.ts create mode 100644 src/generated/forge-mcp/intel/domainHistory/outputs.ts create mode 100644 src/generated/forge-mcp/intel/domains/bulks/outputs.ts create mode 100644 src/generated/forge-mcp/intel/domains/outputs.ts create mode 100644 src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts create mode 100644 src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts create mode 100644 src/generated/forge-mcp/intel/indicatorFeeds/providers/outputs.ts create mode 100644 src/generated/forge-mcp/intel/ipLists/outputs.ts create mode 100644 src/generated/forge-mcp/intel/ips/outputs.ts create mode 100644 src/generated/forge-mcp/intel/miscategorizations/outputs.ts create mode 100644 src/generated/forge-mcp/intel/outputs.ts create mode 100644 src/generated/forge-mcp/intel/sinkholes/ingresses/outputs.ts create mode 100644 src/generated/forge-mcp/intel/sinkholes/outputs.ts create mode 100644 src/generated/forge-mcp/intel/urls/outputs.ts create mode 100644 src/generated/forge-mcp/intel/whois/outputs.ts create mode 100644 src/generated/forge-mcp/ips/outputs.ts create mode 100644 src/generated/forge-mcp/k2/streams/outputs.ts create mode 100644 src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts create mode 100644 src/generated/forge-mcp/kv/bulk/outputs.ts create mode 100644 src/generated/forge-mcp/kv/keys/outputs.ts create mode 100644 src/generated/forge-mcp/kv/namespaces/outputs.ts create mode 100644 src/generated/forge-mcp/kv/outputs.ts create mode 100644 src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts create mode 100644 src/generated/forge-mcp/leakedCredentialChecks/outputs.ts create mode 100644 src/generated/forge-mcp/loadBalancers/account/outputs.ts create mode 100644 src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts create mode 100644 src/generated/forge-mcp/loadBalancers/searches/outputs.ts create mode 100644 src/generated/forge-mcp/logoMatches/outputs.ts create mode 100644 src/generated/forge-mcp/logpush/edge/outputs.ts create mode 100644 src/generated/forge-mcp/logpush/outputs.ts create mode 100644 src/generated/forge-mcp/logpush/transformers/outputs.ts create mode 100644 src/generated/forge-mcp/logpush/transformers/versions/outputs.ts create mode 100644 src/generated/forge-mcp/logs/control/cmb/config/outputs.ts create mode 100644 src/generated/forge-mcp/logs/control/outputs.ts create mode 100644 src/generated/forge-mcp/logs/control/retention/outputs.ts create mode 100644 src/generated/forge-mcp/logs/datasets/outputs.ts create mode 100644 src/generated/forge-mcp/logs/outputs.ts create mode 100644 src/generated/forge-mcp/logs/received/fields/outputs.ts create mode 100644 src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/outputs.ts create mode 100644 src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/prebuiltPolicies/outputs.ts create mode 100644 src/generated/forge-mcp/magicCloudNetworking/cloudIntegrations/outputs.ts create mode 100644 src/generated/forge-mcp/magicCloudNetworking/onRamps/addressSpaces/outputs.ts create mode 100644 src/generated/forge-mcp/magicCloudNetworking/onRamps/outputs.ts create mode 100644 src/generated/forge-mcp/magicCloudNetworking/outputs.ts create mode 100644 src/generated/forge-mcp/magicCloudNetworking/resources/outputs.ts create mode 100644 src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts create mode 100644 src/generated/forge-mcp/magicNetworkMonitoring/outputs.ts create mode 100644 src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts create mode 100644 src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts create mode 100644 src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/apps/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/bgpSettings/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/pcaps/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/redundancyGroups/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/routes/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/sites/netflowConfig/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/sites/outputs.ts create mode 100644 src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts create mode 100644 src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/outputs.ts create mode 100644 src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/outputs.ts create mode 100644 src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/outputs.ts create mode 100644 src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/outputs.ts create mode 100644 src/generated/forge-mcp/managedTransforms/outputs.ts create mode 100644 src/generated/forge-mcp/matches/outputs.ts create mode 100644 src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts create mode 100644 src/generated/forge-mcp/mesh/nodes/connections/outputs.ts create mode 100644 src/generated/forge-mcp/mesh/nodes/connectors/outputs.ts create mode 100644 src/generated/forge-mcp/mesh/nodes/outputs.ts create mode 100644 src/generated/forge-mcp/monetization/accountEligibility/outputs.ts create mode 100644 src/generated/forge-mcp/monetization/outputs.ts create mode 100644 src/generated/forge-mcp/monetization/rules/outputs.ts create mode 100644 src/generated/forge-mcp/network/outputs.ts create mode 100644 src/generated/forge-mcp/network/routes/cidr/outputs.ts create mode 100644 src/generated/forge-mcp/network/routes/hostname/outputs.ts create mode 100644 src/generated/forge-mcp/network/routes/outputs.ts create mode 100644 src/generated/forge-mcp/network/subnets/outputs.ts create mode 100644 src/generated/forge-mcp/network/subnets/warp/outputs.ts create mode 100644 src/generated/forge-mcp/network/virtualNetworks/outputs.ts create mode 100644 src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts create mode 100644 src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts create mode 100644 src/generated/forge-mcp/networkInterconnects/outputs.ts create mode 100644 src/generated/forge-mcp/networkInterconnects/settings/outputs.ts create mode 100644 src/generated/forge-mcp/networkInterconnects/slots/outputs.ts create mode 100644 src/generated/forge-mcp/o11y/agents/sessions/outputs.ts create mode 100644 src/generated/forge-mcp/o11y/issues/outputs.ts create mode 100644 src/generated/forge-mcp/o11y/outputs.ts create mode 100644 src/generated/forge-mcp/oauthClients/outputs.ts create mode 100644 src/generated/forge-mcp/oauthScopes/outputs.ts create mode 100644 src/generated/forge-mcp/organization/outputs.ts create mode 100644 src/generated/forge-mcp/organizations/logs/audit/outputs.ts create mode 100644 src/generated/forge-mcp/outputs.ts create mode 100644 src/generated/forge-mcp/pageRules/outputs.ts create mode 100644 src/generated/forge-mcp/pages/deployments/history/logs/outputs.ts create mode 100644 src/generated/forge-mcp/pages/domains/outputs.ts create mode 100644 src/generated/forge-mcp/pages/outputs.ts create mode 100644 src/generated/forge-mcp/payPerCrawl/config/outputs.ts create mode 100644 src/generated/forge-mcp/payPerCrawl/crawlers/outputs.ts create mode 100644 src/generated/forge-mcp/payPerCrawl/outputs.ts create mode 100644 src/generated/forge-mcp/payPerCrawl/terms/outputs.ts create mode 100644 src/generated/forge-mcp/payPerCrawl/zones/outputs.ts create mode 100644 src/generated/forge-mcp/payPerUse/enabledDomains/outputs.ts create mode 100644 src/generated/forge-mcp/payPerUse/operator/outputs.ts create mode 100644 src/generated/forge-mcp/payPerUse/outputs.ts create mode 100644 src/generated/forge-mcp/payPerUse/pricing/outputs.ts create mode 100644 src/generated/forge-mcp/payPerUse/proposals/outputs.ts create mode 100644 src/generated/forge-mcp/payPerUse/usageStats/outputs.ts create mode 100644 src/generated/forge-mcp/payPerUse/zones/outputs.ts create mode 100644 src/generated/forge-mcp/pipelines/outputs.ts create mode 100644 src/generated/forge-mcp/pipelines/sinks/outputs.ts create mode 100644 src/generated/forge-mcp/pipelines/streams/outputs.ts create mode 100644 src/generated/forge-mcp/precursor/outputs.ts create mode 100644 src/generated/forge-mcp/queues/messages/outputs.ts create mode 100644 src/generated/forge-mcp/queues/outputs.ts create mode 100644 src/generated/forge-mcp/queues/subscriptions/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/cors/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/domains/custom/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/domains/managed/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/jobs/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/lifecycle/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/localUploads/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/locks/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/metrics/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/outputs.ts create mode 100644 src/generated/forge-mcp/r2/buckets/sippy/outputs.ts create mode 100644 src/generated/forge-mcp/r2/objects/outputs.ts create mode 100644 src/generated/forge-mcp/r2/outputs.ts create mode 100644 src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/outputs.ts create mode 100644 src/generated/forge-mcp/r2/superSlurper/jobs/logs/outputs.ts create mode 100644 src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts create mode 100644 src/generated/forge-mcp/r2/superSlurper/outputs.ts create mode 100644 src/generated/forge-mcp/r2/temporaryCredentials/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/meetings/active/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/meetings/active/polls/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/meetings/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/meetings/participants/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/presets/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/recordings/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/sessions/chat/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/sessions/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/sessions/participants/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/sessions/peers/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/sessions/summaries/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/sessions/transcripts/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/webhooks/events/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/kit/webhooks/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/moq/relays/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/moq/relays/tokens/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/sfu/apps/outputs.ts create mode 100644 src/generated/forge-mcp/realtime/turn/keys/outputs.ts create mode 100644 src/generated/forge-mcp/registrar/extensions/outputs.ts create mode 100644 src/generated/forge-mcp/registrar/outputs.ts create mode 100644 src/generated/forge-mcp/registrar/registrations/outputs.ts create mode 100644 src/generated/forge-mcp/registrarSandbox/extensions/outputs.ts create mode 100644 src/generated/forge-mcp/registrarSandbox/outputs.ts create mode 100644 src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts create mode 100644 src/generated/forge-mcp/reporting/industry/outputs.ts create mode 100644 src/generated/forge-mcp/reporting/outputs.ts create mode 100644 src/generated/forge-mcp/reporting/policies/outputs.ts create mode 100644 src/generated/forge-mcp/reporting/reports/outputs.ts create mode 100644 src/generated/forge-mcp/requestTracers/traces/outputs.ts create mode 100644 src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts create mode 100644 src/generated/forge-mcp/resourceSharing/recipients/outputs.ts create mode 100644 src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts create mode 100644 src/generated/forge-mcp/rules/lists/items/outputs.ts create mode 100644 src/generated/forge-mcp/rules/lists/outputs.ts create mode 100644 src/generated/forge-mcp/rulesets/outputs.ts create mode 100644 src/generated/forge-mcp/rum/outputs.ts create mode 100644 src/generated/forge-mcp/rum/siteInfo/outputs.ts create mode 100644 src/generated/forge-mcp/scim/groups/outputs.ts create mode 100644 src/generated/forge-mcp/scim/outputs.ts create mode 100644 src/generated/forge-mcp/scim/resourceTypes/outputs.ts create mode 100644 src/generated/forge-mcp/scim/schemas/outputs.ts create mode 100644 src/generated/forge-mcp/scim/serviceProviderConfig/outputs.ts create mode 100644 src/generated/forge-mcp/scim/users/outputs.ts create mode 100644 src/generated/forge-mcp/secretsStore/outputs.ts create mode 100644 src/generated/forge-mcp/secretsStore/quota/outputs.ts create mode 100644 src/generated/forge-mcp/secretsStore/secrets/outputs.ts create mode 100644 src/generated/forge-mcp/secretsStore/stores/outputs.ts create mode 100644 src/generated/forge-mcp/securityInsights/auditLogs/outputs.ts create mode 100644 src/generated/forge-mcp/securityInsights/partners/outputs.ts create mode 100644 src/generated/forge-mcp/securityInsights/partners/settings/outputs.ts create mode 100644 src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts create mode 100644 src/generated/forge-mcp/securityInsights/scans/outputs.ts create mode 100644 src/generated/forge-mcp/securityInsights/state/outputs.ts create mode 100644 src/generated/forge-mcp/securityTxt/outputs.ts create mode 100644 src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts create mode 100644 src/generated/forge-mcp/smartShield/healthChecks/outputs.ts create mode 100644 src/generated/forge-mcp/smartShield/outputs.ts create mode 100644 src/generated/forge-mcp/snippets/outputs.ts create mode 100644 src/generated/forge-mcp/snippets/rules/outputs.ts create mode 100644 src/generated/forge-mcp/source.json create mode 100644 src/generated/forge-mcp/spectrum/analytics/events/outputs.ts create mode 100644 src/generated/forge-mcp/spectrum/analytics/outputs.ts create mode 100644 src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts create mode 100644 src/generated/forge-mcp/spectrum/apps/outputs.ts create mode 100644 src/generated/forge-mcp/spectrum/outputs.ts create mode 100644 src/generated/forge-mcp/spectrum/protocols/outputs.ts create mode 100644 src/generated/forge-mcp/speed/availabilities/outputs.ts create mode 100644 src/generated/forge-mcp/speed/outputs.ts create mode 100644 src/generated/forge-mcp/speed/pages/outputs.ts create mode 100644 src/generated/forge-mcp/speed/pages/tests/outputs.ts create mode 100644 src/generated/forge-mcp/speed/schedule/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/analyze/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/certificatePacks/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/certificatePacks/quota/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/clientCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/ctAlerting/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/customCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/universal/settings/outputs.ts create mode 100644 src/generated/forge-mcp/ssl/verification/outputs.ts create mode 100644 src/generated/forge-mcp/stream/keys/outputs.ts create mode 100644 src/generated/forge-mcp/stream/liveInputs/outputs.ts create mode 100644 src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts create mode 100644 src/generated/forge-mcp/stream/outputs.ts create mode 100644 src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts create mode 100644 src/generated/forge-mcp/stream/videos/captions/outputs.ts create mode 100644 src/generated/forge-mcp/stream/videos/outputs.ts create mode 100644 src/generated/forge-mcp/submit/outputs.ts create mode 100644 src/generated/forge-mcp/tags/outputs.ts create mode 100644 src/generated/forge-mcp/tags/summary/outputs.ts create mode 100644 src/generated/forge-mcp/tenant/entitlement/outputs.ts create mode 100644 src/generated/forge-mcp/tenant/outputs.ts create mode 100644 src/generated/forge-mcp/tenantCustomNameservers/outputs.ts create mode 100644 src/generated/forge-mcp/tunnel/outputs.ts create mode 100644 src/generated/forge-mcp/tunnels/config/outputs.ts create mode 100644 src/generated/forge-mcp/tunnels/connections/outputs.ts create mode 100644 src/generated/forge-mcp/tunnels/connectors/outputs.ts create mode 100644 src/generated/forge-mcp/tunnels/outputs.ts create mode 100644 src/generated/forge-mcp/turnstile/widgets/outputs.ts create mode 100644 src/generated/forge-mcp/urlInfo/outputs.ts create mode 100644 src/generated/forge-mcp/urlNormalization/outputs.ts create mode 100644 src/generated/forge-mcp/user/firewall/accessRules/outputs.ts create mode 100644 src/generated/forge-mcp/user/invites/outputs.ts create mode 100644 src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts create mode 100644 src/generated/forge-mcp/user/memberships/outputs.ts create mode 100644 src/generated/forge-mcp/user/outputs.ts create mode 100644 src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts create mode 100644 src/generated/forge-mcp/vectorize/outputs.ts create mode 100644 src/generated/forge-mcp/waitingRooms/accountWaitingRooms/outputs.ts create mode 100644 src/generated/forge-mcp/waitingRooms/events/details/outputs.ts create mode 100644 src/generated/forge-mcp/waitingRooms/events/outputs.ts create mode 100644 src/generated/forge-mcp/waitingRooms/outputs.ts create mode 100644 src/generated/forge-mcp/waitingRooms/page/outputs.ts create mode 100644 src/generated/forge-mcp/waitingRooms/rules/outputs.ts create mode 100644 src/generated/forge-mcp/waitingRooms/settings/outputs.ts create mode 100644 src/generated/forge-mcp/waitingRooms/statuses/outputs.ts create mode 100644 src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/outputs.ts create mode 100644 src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts create mode 100644 src/generated/forge-mcp/web3/hostnames/outputs.ts create mode 100644 src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts create mode 100644 src/generated/forge-mcp/webAssets/discovery/outputs.ts create mode 100644 src/generated/forge-mcp/webAssets/labels/managed/outputs.ts create mode 100644 src/generated/forge-mcp/webAssets/labels/outputs.ts create mode 100644 src/generated/forge-mcp/webAssets/operations/labels/outputs.ts create mode 100644 src/generated/forge-mcp/webAssets/operations/outputs.ts create mode 100644 src/generated/forge-mcp/webAssets/outputs.ts create mode 100644 src/generated/forge-mcp/webAssets/schemas/outputs.ts create mode 100644 src/generated/forge-mcp/workers/accountSettings/outputs.ts create mode 100644 src/generated/forge-mcp/workers/assets/upload/outputs.ts create mode 100644 src/generated/forge-mcp/workers/deployments/outputs.ts create mode 100644 src/generated/forge-mcp/workers/domains/outputs.ts create mode 100644 src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts create mode 100644 src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts create mode 100644 src/generated/forge-mcp/workers/legacy/scripts/subdomain/outputs.ts create mode 100644 src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts create mode 100644 src/generated/forge-mcp/workers/legacy/scripts/versions/outputs.ts create mode 100644 src/generated/forge-mcp/workers/outputs.ts create mode 100644 src/generated/forge-mcp/workers/placement/regions/outputs.ts create mode 100644 src/generated/forge-mcp/workers/previews/deployments/outputs.ts create mode 100644 src/generated/forge-mcp/workers/previews/outputs.ts create mode 100644 src/generated/forge-mcp/workers/scripts/outputs.ts create mode 100644 src/generated/forge-mcp/workers/scripts/schedules/outputs.ts create mode 100644 src/generated/forge-mcp/workers/subdomains/outputs.ts create mode 100644 src/generated/forge-mcp/workers/tail/outputs.ts create mode 100644 src/generated/forge-mcp/workers/versions/outputs.ts create mode 100644 src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts create mode 100644 src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts create mode 100644 src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts create mode 100644 src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts create mode 100644 src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/outputs.ts create mode 100644 src/generated/forge-mcp/workersVpc/services/outputs.ts create mode 100644 src/generated/forge-mcp/zaraz/history/configs/outputs.ts create mode 100644 src/generated/forge-mcp/zaraz/history/outputs.ts create mode 100644 src/generated/forge-mcp/zaraz/outputs.ts create mode 100644 src/generated/forge-mcp/zaraz/workflow/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/applications/policies/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/userPopulations/users/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/access/users/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/applications/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/assetSchemas/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/content/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/integrations/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/policies/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/casb/webhooks/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/deployments/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/domainAcls/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/policies/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/policySets/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/regoMetadata/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/regoModules/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/tenantStructures/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/cws/workloads/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/clientVersions/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/overrideCodes/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/devices/settings/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/colos/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/commands/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/commands/quota/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/devices/overTime/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/isps/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/testResults/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/dataClasses/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/dataTags/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/limits/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/patterns/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/validators/worker/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/lists/items/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/logging/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/organization/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts create mode 100644 src/generated/forge-mcp/zeroTrust/seats/outputs.ts create mode 100644 src/generated/forge-mcp/zone/outputs.ts create mode 100644 src/generated/forge-mcp/zones/aegis/outputs.ts create mode 100644 src/generated/forge-mcp/zones/automaticPlatformOptimization/outputs.ts create mode 100644 src/generated/forge-mcp/zones/binaryAst/outputs.ts create mode 100644 src/generated/forge-mcp/zones/fonts/outputs.ts create mode 100644 src/generated/forge-mcp/zones/h2Prioritization/outputs.ts create mode 100644 src/generated/forge-mcp/zones/hostnames/settings/outputs.ts create mode 100644 src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts create mode 100644 src/generated/forge-mcp/zones/imageResizing/outputs.ts create mode 100644 src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts create mode 100644 src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts create mode 100644 src/generated/forge-mcp/zones/originTlsComplianceModes/outputs.ts create mode 100644 src/generated/forge-mcp/zones/outputs.ts create mode 100644 src/generated/forge-mcp/zones/plans/outputs.ts create mode 100644 src/generated/forge-mcp/zones/ratePlans/outputs.ts create mode 100644 src/generated/forge-mcp/zones/rum/outputs.ts create mode 100644 src/generated/forge-mcp/zones/settings/outputs.ts create mode 100644 src/generated/forge-mcp/zones/speedBrain/outputs.ts create mode 100644 src/generated/forge-mcp/zones/subscriptions/outputs.ts create mode 100644 src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts create mode 100644 src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts create mode 100644 src/generated/forge-mcp/zones/transformationsConfig/outputs.ts create mode 100644 src/response-schema-check.ts create mode 100644 src/response-validation.ts create mode 100644 tests/response-schema-check.test.ts create mode 100644 tests/response-validation-worker.test.ts diff --git a/.github/workflows/forge-tools.yml b/.github/workflows/forge-tools.yml index 892df47c..3e1d6cc6 100644 --- a/.github/workflows/forge-tools.yml +++ b/.github/workflows/forge-tools.yml @@ -69,6 +69,7 @@ jobs: - name: Generate env: FORGE_BINARY: .forge/target/release/forge + GITHUB_TOKEN: ${{ github.token }} run: npm run generate:tools -- --summary "$RUNNER_TEMP/summary.md" - name: Check for changes diff --git a/AGENTS.md b/AGENTS.md index 9e221d3b..26f7ad37 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -25,6 +25,8 @@ cloudflare-mcp/ │ ├── executor.ts # Code executor (Worker Loader API) │ ├── spec-processor.ts # OpenAPI spec fetching & $ref resolution │ ├── truncate.ts # Response truncation (~6K token limit) +│ ├── response-schema-check.ts # Validates a body against generated response schemas; value-free violations +│ ├── response-validation.ts # checkResponse(): sampling, trimming, waitUntil, mismatch events │ ├── metrics.ts # Analytics Engine metrics (auth_user/tool_call) │ ├── skills/ │ │ ├── types.ts # Skills extension wire + R2 manifest schemas (Zod) @@ -57,7 +59,9 @@ cloudflare-mcp/ │ └── *.test.ts ├── scripts/ │ ├── seed-r2.ts # Seed OpenAPI spec to R2 bucket -│ └── generate-tools.ts # Regenerate src/generated/forge-mcp with forge +│ ├── generate-tools.ts # Regenerate src/generated/forge-mcp with forge +│ ├── schema-mismatch-report.ts # Response schema mismatches by product, for teams +│ └── bench-response-validation.ts # Cost of response schema checks on the generated schemas ├── forge.json # The forge commit that generates src/generated/forge-mcp ├── .github/workflows/ │ ├── ci.yml # PR validation @@ -96,6 +100,7 @@ Node 22+ required. | `npm run check` | Run all checks (format, lint, typecheck, test)| | `npm run seed:staging` | Seed OpenAPI spec to staging R2 | | `npm run seed:prod` | Seed OpenAPI spec to production R2 | +| `npm run report:schema-mismatches` | Response schema mismatch report (see below) | ## Code standards @@ -175,9 +180,9 @@ The consent page offers minimal, read-only and full-access templates. Minimal is `?codemode=false` asks for direct tools; `?experimentalForge=true` changes how they are built: from code forge generates instead of `mcp-tools.json`. The flag is opt-in while the forge tools soak, and is meant to become how `?codemode=false` works. Code Mode ignores it, since it already reads the Forge spec. The earlier `?forge=true` preview param is gone; it now serves Code Mode. -- `src/generated/forge-mcp/` is TypeScript that `forge openapi.forge.json --target mcp` writes, committed and never edited by hand. Each group's `tools.ts` has its tools: schema, hints, the method's extensions, and a `request(args)` function that builds the API request. `schemas.ts` files hold the shared model schemas, `index.ts` exports every tool, `README.md` lists the methods without a tool and why, and `_/` is forge's runtime for serving them on an `McpServer`. oxfmt and oxlint skip it +- `src/generated/forge-mcp/` is TypeScript that `forge openapi.forge.json --target mcp` writes, committed and never edited by hand. Each group's `tools.ts` has its tools: schema, hints, the method's extensions, and a `request(args)` function that builds the API request. Each tool also has `responses`: the JSON Schema of every response body the method declares, by status, from the shared `outputs.ts` models; `tools/list` never sends them (see Response schema checks). `schemas.ts` files hold the shared argument models, `source.json` the `openapi.forge.json` release they came from (written by `generate-tools.ts`), `index.ts` exports every tool, `README.md` lists the methods without a tool and why, and `_/` is forge's runtime for serving them on an `McpServer`. oxfmt and oxlint skip it - The MCP target lives on the long-lived `forge-mcp` branch of `cloudflare/forge`, kept rebased on its main; `forge.json` pins the commit. `FORGE_BINARY=… npm run generate:tools` regenerates locally. `.github/workflows/forge-tools.yml` builds that forge, regenerates from the latest `openapi.forge.json` every six hours, runs the type check and tests, and opens or updates the `bot/forge-tools` pull request when the code changes. The pull request is opened with `GITHUB_TOKEN`, so CI doesn't run on it; the workflow's own type check and tests are the check. Merging it deploys both Workers through Workers Builds. To change the generator, bump `forge.json`'s `ref` -- The generated tools run in their own Worker, the **forge tools service** (`src/forge-tools/worker.ts`, `wrangler.forge-tools.jsonc`, `cloudflare-api-mcp-forge-tools[-staging|-dev]`), which the main Worker reaches through its `FORGE_TOOLS` service binding. Code Mode isolates never compile the ~10 MB of generated code: workerd compiles every module a Worker uploads at startup, so in the main Worker a lazy import still cost ~27 ms per isolate, and a separate uploaded module didn't help. The service holds no credentials, makes no requests, and has no route. Its RPC methods are `listJson()`, the tools as `tools/list` sends them as one JSON string, which the main Worker parses once per isolate (`getForgeToolList()` in `src/isolate-cache.ts`; decoding ~3,000 nested objects over RPC cost ~200–300 ms of CPU per `tools/list`), and `plan(name, args, { baseUrl, sessionAccountId })`, the request a call makes (`src/forge-tools/plan.ts`). +- The generated tools run in their own Worker, the **forge tools service** (`src/forge-tools/worker.ts`, `wrangler.forge-tools.jsonc`, `cloudflare-api-mcp-forge-tools[-staging|-dev]`), which the main Worker reaches through its `FORGE_TOOLS` service binding. Code Mode isolates never compile the ~10 MB of generated code: workerd compiles every module a Worker uploads at startup, so in the main Worker a lazy import still cost ~27 ms per isolate, and a separate uploaded module didn't help. The service holds no credentials, makes no requests, and has no route. Its RPC methods are `listJson()`, the tools as `tools/list` sends them as one JSON string, which the main Worker parses once per isolate (`getForgeToolList()` in `src/isolate-cache.ts`; decoding ~3,000 nested objects over RPC cost ~200–300 ms of CPU per `tools/list`), `plan(name, args, { baseUrl, sessionAccountId })`, the request a call makes (`src/forge-tools/plan.ts`), and `checkResponse(...)`, which checks a trimmed response against the generated response schemas. - `src/forge-tools/cloudflare.ts` applies the Cloudflare policy once per service isolate: `account_id` is optional with one description, and so is a merged tool's `account_or_zone_id` (the document gives `account_or_zone` its values). Permissions come from each tool's `x-api-token-group` extension, which clients never see - `src/tools/forge-tools.ts`, in the main Worker, serves `?codemode=false&experimentalForge=true`: `docs` and `whoami` itself, and the generated tools from the service. It sends each planned request with the session's token, which never leaves the main Worker, and explains refused calls and steps up OAuth scopes like the other direct tools - Workers Builds deploys the service and the main Worker on every push to `main`. Ship a new RPC method in the service before the main Worker calls it, and in a new environment deploy the service first (`npm run deploy:forge-tools` / `deploy:forge-tools:prod`), since the main Worker binds to it. `npm run dev` runs both, and `npm run types` reads both configs to type the binding. Vitest builds the service with `wrangler deploy --dry-run` and runs it as an auxiliary Worker, so tests call it over the real binding @@ -237,11 +242,23 @@ Responses capped at ~6,000 tokens (~24KB). `src/truncate.ts` shrinks oversized J The cap is on by default in Code Mode and off for the direct tools (`?codemode=false`, with or without `experimentalForge`): `createServer` defaults `truncateToolResult` to `codemode`. Clients without code mode of their own use our Code Mode, where results go straight to the model. Clients with their own code mode use the direct tools and parse each result in their own code, so a capped result would lose data. An explicit `?truncateToolResult=` overrides either default; truncation is then on unless the value is exactly `false`. Code Mode clients that bound results themselves, for example by writing them to a file, pass `?truncateToolResult=false`. +### Response schema checks + +The direct tools (`?codemode=false`, with or without `experimentalForge`) check every JSON response, success or error, against the response schemas forge generates and record each mismatch, so product teams can fix their schemas before tools advertise an `outputSchema` (#320). Code Mode is not checked. + +- **Schemas:** forge's MCP target generates each tool's `responses` from forge's model of the spec, not the raw OpenAPI: read-only fields are kept, descriptions dropped, and `nullable` is a union with `null`. They ship with the generated tools in the forge tools service, so nothing is fetched or parsed to check a response. The main Worker never loads them. +- **Flow** (`src/response-validation.ts`): `checkResponse()` samples (`RESPONSE_VALIDATION_SAMPLE_RATE`, 0-1, unset means 1), skips bodies over 1M characters, and in `waitUntil` trims every array to its first 25 items and calls the service's `checkResponse` RPC. The service finds the generated tool by `METHOD template`: a forge tool's own template, or for an endpoint tool the account or zone route a merged `/{account_or_zone}/…` tool splits into. Everything is caught, so nothing can change or fail a tool result. +- **Validation** (`src/response-schema-check.ts`, in the service): `@cfworker/json-schema` 2020-12, against the status's schema, then its class (`4XX`), then `default`; validators are compiled per tool and cached per isolate. A short-circuit pass finds the first violation; invalid bodies are validated again to count them. A check costs at most ~10 ms. `npx tsx scripts/bench-response-validation.ts [tool ...]` measures it. +- **No customer data:** events and logs hold keywords, schema locations and instance paths only. Array indices and keys the schema doesn't declare become `*`; the validator's messages are never recorded. +- **Recording:** one `response_schema_mismatch` Analytics Engine event per mismatching response (layout below), naming the generated tool and the spec release (`source.json`), and one `console.warn` line with up to five violations. +- **Report:** `CLOUDFLARE_ACCOUNT_ID=… CLOUDFLARE_API_TOKEN=… npm run report:schema-mismatches -- [--env production] [--days 7] [--product dns_records]` groups mismatches by product → operation → violation, each row linked to its spec release. The token needs Account Analytics Read; `--format sql` prints the query and `--from-json` renders a result run elsewhere. + ### Usage metrics (Analytics Engine) Tool usage is tracked via the `MCP_METRICS` Analytics Engine binding into the shared `mcp-metrics-{dev,staging,production}` dataset — the same dataset used by the per-product Cloudflare MCP servers (`cloudflare/mcp-server-cloudflare`), so this server shows up alongside them under server name `cloudflare-api`. - `src/metrics.ts` mirrors the upstream `@repo/mcp-observability` schema. The blob/double layout is **positional and must not change**: `index1` = event type, `blob1`/`blob2` = server name/version (reserved), `blob3` = userId, `blob4` = toolName/errorMessage, `double1` = errorCode. +- `response_schema_mismatch` (see Response schema checks) keeps those positions (`blob3` userId, `blob4` toolName, `double1` = 0) and adds: `blob5` method, `blob6` path template, `blob7` product, `blob8` the generated tool whose schema was used, `blob9` response key (`200`/`4XX`/`default`), `blob10` first violation's keyword, `blob11` its schema location (`#/components/schemas//…` or `#/responses//schema/…`), `blob12` its instance path (`/result/*/id`), `blob13` the spec release the generated schemas came from (`openapi@`), `double2` HTTP status, `double3` violation count, `double4` sample interval (1 / `RESPONSE_VALIDATION_SAMPLE_RATE`), `double5` 1 if `double3` is exact, 0 if a lower bound. - `attachMetrics()` in `src/server.ts` wraps Code-Mode `registerTool` calls; the lazy non-Code-Mode dispatcher records the same `tool_call` events directly. `auth_user` events are emitted from the OAuth handler. - **No `session_start`**: MCP `2026-07-28` has no protocol sessions or `initialize` handshake. The 2025 compatibility path also creates a fresh server for each request and retains no initialization state. Client identity remains visible at the HTTP layer through `User-Agent` (including zone HTTP analytics). - The tracker is tolerant of a missing binding (no-op in tests/local dev) and swallows write errors so metrics can never break a tool call. @@ -273,6 +290,7 @@ npm run test:watch # Watch mode - Auth props building and validation - Spec processor ($ref resolution, product extraction) - Response truncation +- Response schema checks and mismatch events (`tests/response-*.test.ts`) - Metrics event mapping & path normalization **End to end (`tests/worker.test.ts` and the other worker-level files):** diff --git a/forge.json b/forge.json index e9ff1834..fac3ebb3 100644 --- a/forge.json +++ b/forge.json @@ -1,5 +1,5 @@ { "$comment": "The forge that generates src/generated/forge-mcp: a commit of the forge-mcp branch. Bump ref to pick up generator changes; CI builds it.", "repository": "cloudflare/forge", - "ref": "f4b7c8ae1b0c65697fcabfdbffe4c63892bea4c6" + "ref": "9561734e4fc4c8082c5f09ea5f4ff0dfc031aefd" } diff --git a/package-lock.json b/package-lock.json index 5877003b..03842eda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "cloudflare-mcp", "version": "0.1.0", "dependencies": { + "@cfworker/json-schema": "^4.1.1", "@cloudflare/workers-oauth-provider": "^1.2.3", "@modelcontextprotocol/server": "2.3.1", "hono": "^4.13.7", @@ -29,6 +30,12 @@ "wrangler": "^4.149.0" } }, + "node_modules/@cfworker/json-schema": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@cfworker/json-schema/-/json-schema-4.1.1.tgz", + "integrity": "sha512-gAmrUZSGtKc3AiBL71iNWxDsyUC5uMaKKGdvzYsBoTW/xi42JQHl7eKV2OYzCUqvc+D2RCcf7EXY2iCyFIk6og==", + "license": "MIT" + }, "node_modules/@cloudflare/kv-asset-handler": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.5.0.tgz", diff --git a/package.json b/package.json index d1fc3553..12277582 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,11 @@ "test:watch": "vitest", "check": "npm run format:check && npm run lint && npm run typecheck && npm run test", "seed:staging": "tsx scripts/seed-r2.ts staging", - "seed:prod": "tsx scripts/seed-r2.ts production" + "seed:prod": "tsx scripts/seed-r2.ts production", + "report:schema-mismatches": "tsx scripts/schema-mismatch-report.ts" }, "dependencies": { + "@cfworker/json-schema": "^4.1.1", "@cloudflare/workers-oauth-provider": "^1.2.3", "@modelcontextprotocol/server": "2.3.1", "hono": "^4.13.7", diff --git a/scripts/bench-response-validation.ts b/scripts/bench-response-validation.ts new file mode 100644 index 00000000..52f63d8e --- /dev/null +++ b/scripts/bench-response-validation.ts @@ -0,0 +1,128 @@ +/** + * Measures what checking a direct-tool response costs, against the response + * schemas forge generated (`src/generated/forge-mcp`): trimming the body (the + * main Worker), and compiling the tool's validator and validating the trimmed + * body (the forge tools service), for bodies of growing size that match, or + * break, the schema. + * + * Bodies are synthesised from each tool's own response schema, so they are + * shaped like real responses. Runs in Node (same V8 as workerd). + * + * npx tsx scripts/bench-response-validation.ts [tool_name ...] + */ +import { tools, type JsonSchema, type ToolResponses } from '../src/generated/forge-mcp' +import { findMismatch, trimForCheck } from '../src/response-schema-check' + +const MAX_ITEMS = 25 +const DEFAULT_TOOLS = ['zones_list', 'dns_records_list', 'workers_legacy_scripts_list', 'd1_list'] + +type Node = { readonly [keyword: string]: unknown } + +/** A value matching `schema`, with `items` entries in each top-level array. */ +function sample( + schema: JsonSchema | undefined, + defs: ToolResponses['$defs'], + items: number, + depth = 0 +): unknown { + if (!schema || depth > 12) return {} + const node = schema as Node + if (typeof node.$ref === 'string') { + return sample(defs?.[node.$ref.slice('#/$defs/'.length)], defs, items, depth + 1) + } + if (Array.isArray(node.enum)) return node.enum.find((value) => value !== null) ?? null + for (const keyword of ['oneOf', 'anyOf'] as const) { + const branches = node[keyword] as JsonSchema[] | undefined + if (branches) { + const branch = branches.find((b) => (b as Node).type !== 'null') ?? branches[0] + return sample(branch, defs, items, depth + 1) + } + } + if (Array.isArray(node.allOf)) { + return Object.assign( + {}, + ...(node.allOf as JsonSchema[]).map((part) => sample(part, defs, items, depth + 1)) + ) + } + const type = Array.isArray(node.type) + ? (node.type as string[]).find((t) => t !== 'null') + : node.type + if (type === 'array') { + return Array.from({ length: depth <= 3 ? items : 2 }, () => + sample(node.items as JsonSchema, defs, items, depth + 1) + ) + } + if (type === 'object' || node.properties) { + const properties = (node.properties ?? {}) as Record + return Object.fromEntries( + Object.entries(properties).map(([name, value]) => [ + name, + sample(value, defs, items, depth + 1) + ]) + ) + } + if (type === 'integer' || type === 'number') return 1 + if (type === 'boolean') return true + if (type === 'null') return null + if (node.format === 'date-time') return '2026-01-01T00:00:00Z' + if (node.format === 'date') return '2026-01-01' + if (node.format === 'uuid') return '00000000-0000-4000-8000-000000000000' + return 'x'.repeat(16) +} + +/** Break every item: turn each string into a number. */ +function breakTypes(value: unknown): unknown { + if (typeof value === 'string') return 12345 + if (Array.isArray(value)) return value.map(breakTypes) + if (typeof value === 'object' && value !== null) { + return Object.fromEntries(Object.entries(value).map(([k, v]) => [k, breakTypes(v)])) + } + return value +} + +function time(run: () => void, runs: number): number { + const begin = performance.now() + for (let i = 0; i < runs; i++) run() + return (performance.now() - begin) / runs +} + +const names = process.argv.length > 2 ? process.argv.slice(2) : DEFAULT_TOOLS +console.log( + '| tool | items | body | trim ms | compile ms | check ms | errors | broken check ms | broken errors |' +) +console.log('|---|---|---|---|---|---|---|---|---|') +for (const name of names) { + const tool = tools.find((candidate) => candidate.name === name) + const responses = tool?.responses + if (!responses?.schemas['200']) { + console.log(`| \`${name}\` | no 200 response schema |`) + continue + } + for (const items of [10, 100, 1000, 5000]) { + const body = sample(responses.schemas['200'], responses.$defs, items) + const broken = breakTypes(body) + const chars = JSON.stringify(body).length + const trimmed = trimForCheck(200, body, MAX_ITEMS) + const trimmedBroken = trimForCheck(200, broken, MAX_ITEMS) + const runs = chars > 500_000 ? 3 : 20 + + let compileMs = '' + if (items === 10) { + const begin = performance.now() + findMismatch(responses, trimmed, name) + compileMs = (performance.now() - begin).toFixed(1) + } + const result = findMismatch(responses, trimmed, name) + const brokenResult = findMismatch(responses, trimmedBroken, name) + const count = (mismatch: typeof result) => + mismatch + ? `${mismatch.errorCount}${mismatch.counted ? '' : '+'} (${mismatch.errors[0]?.keyword})` + : '0' + console.log( + `| \`${name}\` | ${items} | ${(chars / 1024).toFixed(0)} KB | ` + + `${time(() => trimForCheck(200, body, MAX_ITEMS), runs).toFixed(2)} | ${compileMs} | ` + + `${time(() => findMismatch(responses, trimmed, name), runs).toFixed(2)} | ${count(result)} | ` + + `${time(() => findMismatch(responses, trimmedBroken, name), runs).toFixed(2)} | ${count(brokenResult)} |` + ) + } +} diff --git a/scripts/generate-tools.ts b/scripts/generate-tools.ts index f4c33cf8..fcc92bb1 100644 --- a/scripts/generate-tools.ts +++ b/scripts/generate-tools.ts @@ -2,13 +2,15 @@ * Regenerates `src/generated/forge-mcp`, the direct tools served at * `/mcp?codemode=false&experimentalForge=true`, with forge's MCP target: * - * FORGE_BINARY=path/to/forge npm run generate:tools [-- --spec openapi.forge.json] [-- --summary summary.md] + * FORGE_BINARY=path/to/forge npm run generate:tools [-- --spec openapi.forge.json --release ] [-- --summary summary.md] * * `forge.json` names the forge commit to build; `.github/workflows/forge-tools.yml` * builds it, runs this every six hours, and opens a pull request when the * generated code changes. Without `--spec`, the latest `openapi.forge.json` - * Forge release is downloaded. `--summary` writes the tools added and removed - * as Markdown, for the pull request. + * Forge release is downloaded. `source.json` records the release, so a + * response that breaks a generated response schema names the spec it came + * from (`--release` gives it for a local `--spec`). `--summary` writes the + * tools added and removed as Markdown, for the pull request. */ import { execFileSync } from 'node:child_process' import { @@ -24,20 +26,30 @@ import { tmpdir } from 'node:os' import { join } from 'node:path' import { parseArgs } from 'node:util' -const SPEC_URL = 'https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json' +const LATEST_RELEASE = 'https://api.github.com/repos/cloudflare/forge/releases/latest' +const SPEC_ASSET = 'openapi.forge.json' const OUT = 'src/generated/forge-mcp' -const { values } = parseArgs({ options: { spec: { type: 'string' }, summary: { type: 'string' } } }) +const { values } = parseArgs({ + options: { + spec: { type: 'string' }, + release: { type: 'string' }, + summary: { type: 'string' } + } +}) const forge = process.env.FORGE_BINARY ?? 'forge' const tmp = mkdtempSync(join(tmpdir(), 'forge-mcp-')) try { let spec = values.spec + let release = values.release ?? null if (!spec) { - console.log(`Downloading ${SPEC_URL}`) - const response = await fetch(SPEC_URL) + const latest = await latestRelease() + release = latest.tag + console.log(`Downloading ${latest.url}`) + const response = await fetch(latest.url) if (!response.ok) throw new Error(`Failed to download the spec: HTTP ${response.status}`) - spec = join(tmp, 'openapi.forge.json') + spec = join(tmp, SPEC_ASSET) writeFileSync(spec, Buffer.from(await response.arrayBuffer())) } @@ -47,6 +59,7 @@ try { const before = toolNames(OUT) rmSync(OUT, { recursive: true, force: true }) renameSync(out, OUT) + writeFileSync(join(OUT, 'source.json'), `${JSON.stringify({ release }, null, 2)}\n`) const after = toolNames(OUT) const added = [...after].filter((name) => !before.has(name)).sort() @@ -57,6 +70,25 @@ try { rmSync(tmp, { recursive: true, force: true }) } +/** The latest Forge release's tag and the download URL of its `openapi.forge.json`. */ +async function latestRelease(): Promise<{ tag: string; url: string }> { + const token = process.env.GITHUB_TOKEN + const response = await fetch(LATEST_RELEASE, { + headers: { + Accept: 'application/vnd.github+json', + ...(token && { Authorization: `Bearer ${token}` }) + } + }) + if (!response.ok) throw new Error(`Failed to read the latest release: HTTP ${response.status}`) + const { tag_name: tag, assets } = (await response.json()) as { + tag_name: string + assets: Array<{ name: string; browser_download_url: string }> + } + const asset = assets.find((item) => item.name === SPEC_ASSET) + if (!asset) throw new Error(`The release ${tag} has no ${SPEC_ASSET}`) + return { tag, url: asset.browser_download_url } +} + /** The names of the generated tools in `dir`, read from each `tools.ts`. */ function toolNames(dir: string): Set { const names = new Set() diff --git a/scripts/schema-mismatch-report.ts b/scripts/schema-mismatch-report.ts new file mode 100644 index 00000000..57d1c9ee --- /dev/null +++ b/scripts/schema-mismatch-report.ts @@ -0,0 +1,203 @@ +/** + * Report where Cloudflare API responses don't match their OpenAPI response + * schemas, grouped by product → operation → violation, from the + * `response_schema_mismatch` events the direct tools write to Analytics Engine + * (layout in `src/metrics.ts`). This is the list to send each product team. + * + * CLOUDFLARE_ACCOUNT_ID=… CLOUDFLARE_API_TOKEN=… \ + * npx tsx scripts/schema-mismatch-report.ts [--env production|staging|dev] + * [--dataset name] [--days 7] [--product dns_records] [--server cloudflare-api] + * [--format markdown|json|sql] [--from-json result.json] + * + * The token needs Account Analytics Read on the account that owns the + * `mcp-metrics-*` datasets. Read-only: it runs one SELECT. To run the query + * with another client instead, print it with `--format sql`, run it, and + * render its `FORMAT JSON` result with `--from-json`, e.g. with the cf CLI: + * + * npx tsx scripts/schema-mismatch-report.ts --format sql > q.sql + * cf analytics_engine sql query --file q.sql > result.json + * npx tsx scripts/schema-mismatch-report.ts --from-json result.json + */ +import { readFileSync } from 'node:fs' +import { parseArgs } from 'node:util' +import { z } from 'zod' + +/** The repository whose releases publish the OpenAPI document (`OPENAPI_SPEC_URL`). */ +const SPEC_REPOSITORY = 'cloudflare/forge' + +const DATASETS = { + production: 'mcp-metrics-production', + staging: 'mcp-metrics-staging', + dev: 'mcp-metrics-dev' +} as const + +const { values: args } = parseArgs({ + options: { + env: { type: 'string', default: 'production' }, + dataset: { type: 'string' }, + 'from-json': { type: 'string' }, + days: { type: 'string', default: '7' }, + product: { type: 'string' }, + server: { type: 'string', default: 'cloudflare-api' }, + format: { type: 'string', default: 'markdown' } + } +}) + +const dataset = args.dataset ?? DATASETS[args.env as keyof typeof DATASETS] +if (!dataset) fail(`--env must be one of ${Object.keys(DATASETS).join(', ')}`) +if (!/^[\w.-]+$/.test(dataset)) fail('--dataset must be a plain dataset name') +const days = Number(args.days) +if (!Number.isInteger(days) || days < 1 || days > 90) fail('--days must be a whole number, 1-90') +if (!/^[\w.-]+$/.test(args.server)) fail('--server must be a plain server name') +if (!['markdown', 'json', 'sql'].includes(args.format)) + fail('--format must be markdown, json or sql') + +// Counts are weighted by Analytics Engine's sampling and by our own +// RESPONSE_VALIDATION_SAMPLE_RATE (double4 = 1 / rate). +const SQL = `SELECT + blob7 AS product, + blob8 AS forge_tool, + blob5 AS method, + blob6 AS path, + blob9 AS response, + blob10 AS keyword, + blob11 AS schema_location, + blob12 AS instance_path, + blob13 AS spec_release, + SUM(_sample_interval * double4) AS responses, + SUM(_sample_interval * double4 * double3) AS violations, + MIN(double5) AS fully_counted, + MAX(timestamp) AS last_seen +FROM '${dataset}' +WHERE index1 = 'response_schema_mismatch' + AND blob1 = '${args.server}' + AND timestamp > NOW() - INTERVAL '${days}' DAY +GROUP BY product, forge_tool, method, path, response, keyword, schema_location, instance_path, spec_release +ORDER BY product ASC, responses DESC +LIMIT 10000 +FORMAT JSON` + +if (args.format === 'sql') { + console.log(SQL) + process.exit(0) +} + +const Row = z.object({ + product: z.string(), + forge_tool: z.string(), + method: z.string(), + path: z.string(), + response: z.string(), + keyword: z.string(), + schema_location: z.string(), + instance_path: z.string(), + // Empty when the spec came from a URL that isn't a release download. + spec_release: z.string().nullable().optional(), + responses: z.coerce.number(), + violations: z.coerce.number(), + fully_counted: z.coerce.number(), + last_seen: z.string() +}) +type Row = z.infer + +const text = args['from-json'] ? readFileSync(args['from-json'], 'utf8') : await runQuery() +const rows = z + .object({ data: z.array(Row) }) + .parse(JSON.parse(text)) + .data.filter((row) => !args.product || row.product === args.product) + // Product by name, then the most frequent violations first. + .sort((a, b) => a.product.localeCompare(b.product) || b.responses - a.responses) + +if (args.format === 'json') { + console.log(JSON.stringify(rows, null, 2)) +} else { + console.log(markdown(rows)) +} + +async function runQuery(): Promise { + const accountId = process.env.CLOUDFLARE_ACCOUNT_ID + const token = process.env.CLOUDFLARE_API_TOKEN + if (!accountId || !token) fail('Set CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN') + const response = await fetch( + `https://api.cloudflare.com/client/v4/accounts/${accountId}/analytics_engine/sql`, + { method: 'POST', headers: { Authorization: `Bearer ${token}` }, body: SQL } + ) + const body = await response.text() + if (!response.ok) fail(`Analytics Engine SQL API returned ${response.status}: ${body}`) + return body +} + +function markdown(rows: Row[]): string { + const lines = [ + `# Response schema mismatches`, + '', + `\`${dataset}\`, server \`${args.server}\`, last ${days} days. Each row is one way a ` + + 'response broke its OpenAPI schema: the keyword that failed, where it is in the spec, and ' + + 'where in the response (`*` is an array index or a map key). "Responses" counts responses ' + + 'with this as their first violation; "violations" counts every violation in them (`≥` when ' + + 'large responses were only partly checked). "Spec release" links the OpenAPI document the ' + + 'schema location refers to.', + '' + ] + if (rows.length === 0) return [...lines, 'No mismatches recorded.'].join('\n') + + for (const [product, productRows] of groupBy(rows, (row) => row.product)) { + const total = sum(productRows, (row) => row.responses) + lines.push(`## ${product}: ${round(total)} responses`, '') + + for (const [operation, operationRows] of groupBy( + productRows, + (row) => `${row.method} ${row.path}` + )) { + // The generated tool names where its response schema lives in src/generated/forge-mcp. + const forgeTools = [...new Set(operationRows.map((row) => `\`${row.forge_tool}\``))] + lines.push(`### \`${operation}\` (${forgeTools.join(', ')})`, '') + lines.push( + '| response | keyword | schema location | instance path | spec release | responses | violations | last seen |' + ) + lines.push('|---|---|---|---|---|---|---|---|') + for (const row of operationRows) { + const violations = `${row.fully_counted < 1 ? '≥' : ''}${round(row.violations)}` + lines.push( + `| ${row.response} | ${row.keyword} | \`${row.schema_location}\` | \`${row.instance_path}\` | ${release(row.spec_release)} | ${round(row.responses)} | ${violations} | ${row.last_seen} |` + ) + } + lines.push('') + } + } + return lines.join('\n') +} + +/** + * A spec release as a link to the document the schema came from, so the + * schema location can be read as it was when the mismatch was recorded. + */ +function release(tag: string | null | undefined): string { + if (!tag) return 'unknown' + const url = `https://github.com/${SPEC_REPOSITORY}/releases/download/${encodeURIComponent(tag)}/openapi.forge.json` + return `[\`${tag}\`](${url})` +} + +/** Group rows, keeping the query's order (busiest first within a product). */ +function groupBy(items: T[], key: (item: T) => string): Map { + const groups = new Map() + for (const item of items) { + const group = groups.get(key(item)) ?? [] + group.push(item) + groups.set(key(item), group) + } + return groups +} + +function sum(items: T[], value: (item: T) => number): number { + return items.reduce((total, item) => total + value(item), 0) +} + +function round(value: number): string { + return String(Math.round(value)) +} + +function fail(message: string): never { + console.error(message) + process.exit(1) +} diff --git a/src/forge-tools/worker.ts b/src/forge-tools/worker.ts index 6775ff43..a5adb3ce 100644 --- a/src/forge-tools/worker.ts +++ b/src/forge-tools/worker.ts @@ -5,8 +5,9 @@ * * It holds no credentials and makes no requests. `list` returns the tools as * `tools/list` sends them; `plan` builds the request a call makes, which the - * main Worker sends with the session's token. It has no public route: the - * main Worker reaches it through its `FORGE_TOOLS` service binding. + * main Worker sends with the session's token; `checkResponse` checks a + * response against the generated response schemas. It has no public route: + * the main Worker reaches it through its `FORGE_TOOLS` service binding. */ import { WorkerEntrypoint } from 'cloudflare:workers' import { @@ -19,11 +20,46 @@ import { } from '../generated/forge-mcp' import { cloudflareTool } from './cloudflare' import { planCall, type CallPlan, type PlanOptions } from './plan' +import { findMismatch, type Mismatch, type TrimmedResponse } from '../response-schema-check' +import { concretePaths } from '../spec-processor' /** The generated tools with the Cloudflare policy, built once per isolate. */ const tools = generatedTools.map(cloudflareTool) let listing: string | undefined +let byOperation: Map | undefined + +/** + * The generated tools by `METHOD template`. A tool on a merged + * `/{account_or_zone}/…` path is also found by the account and zone routes + * `processSpec` splits it into, which the endpoint tools (`?codemode=false`) + * use; a route the spec lists on its own keeps its own tool. + */ +function toolsByOperation() { + if (!byOperation) { + byOperation = new Map(tools.map((tool) => [`${tool.method} ${tool.path}`, tool])) + for (const tool of tools) { + for (const { path } of concretePaths(tool.path)) { + const key = `${tool.method} ${path}` + if (!byOperation.has(key)) byOperation.set(key, tool) + } + } + } + return byOperation +} + +/** A direct-tool response to check against the generated response schemas. */ +export interface ResponseCheck extends TrimmedResponse { + /** HTTP method, upper case. */ + method: string + /** The path template of the tool that made the request. */ + pathTemplate: string +} + +/** A mismatch, with the generated tool whose response schema it broke. */ +export interface CheckedMismatch extends Mismatch { + forgeTool: string +} export default class ForgeTools extends WorkerEntrypoint { /** @@ -43,6 +79,18 @@ export default class ForgeTools extends WorkerEntrypoint { return planCall(tool, args, options, buildRequest, (error) => error instanceof InvalidArguments) } + /** + * Check a trimmed response body against the response schemas of the + * generated tool for its operation. Returns `null` when it matches or there + * is no schema to check against. + */ + checkResponse(check: ResponseCheck): CheckedMismatch | null { + const tool = toolsByOperation().get(`${check.method} ${check.pathTemplate}`) + if (!tool?.responses) return null + const mismatch = findMismatch(tool.responses, check, tool.name) + return mismatch ? { forgeTool: tool.name, ...mismatch } : null + } + override fetch(): Response { return new Response('Not found', { status: 404 }) } diff --git a/src/generated/forge-mcp/_/index.ts b/src/generated/forge-mcp/_/index.ts index 2c39f0a4..e289874d 100644 --- a/src/generated/forge-mcp/_/index.ts +++ b/src/generated/forge-mcp/_/index.ts @@ -15,5 +15,6 @@ export { type QueryParam, type Tool, type ToolAnnotations, + type ToolResponses, } from './tool.js'; export { callTool, createHandler, readBody, serveTools, type CallContext, type HandlerOptions } from './server.js'; diff --git a/src/generated/forge-mcp/_/tool.ts b/src/generated/forge-mcp/_/tool.ts index 3a31e9d8..589bec77 100644 --- a/src/generated/forge-mcp/_/tool.ts +++ b/src/generated/forge-mcp/_/tool.ts @@ -16,6 +16,21 @@ export type InputSchema = JsonSchema & { readonly required?: readonly string[]; }; +/** + * The JSON Schemas of a method's response bodies, for the server to check + * responses against. `tools/list` doesn't send them. + */ +export interface ToolResponses { + /** + * The schema of each response's JSON body, by status as the API declares it: + * a code such as `200`, a range such as `4XX`, or `default`. `null` is a + * response without a JSON body. + */ + readonly schemas: { readonly [status: string]: JsonSchema | null }; + /** The models the schemas refer to as `#/$defs/`. */ + readonly $defs?: { readonly [key: string]: JsonSchema }; +} + /** What a tool says about calling it. The hints describe the API method; they don't authorize anything. */ export interface ToolAnnotations { readonly title?: string; @@ -63,6 +78,8 @@ export interface Tool { * itself, such as `x-api-token-group`. For the server; clients never see them. */ readonly extensions?: { readonly [name: string]: unknown }; + /** The JSON Schemas of the method's response bodies. For the server; clients never see them. */ + readonly responses?: ToolResponses; /** Returns the API request for `args`. Throws {@link InvalidArguments}. */ request(args: Args): ApiRequest; } @@ -158,14 +175,15 @@ const indexes = new WeakMap>(); /** * Returns `tools` as `tools/list` sends them, without their request code, - * method, path and extensions. It is built once for each array of tools, and + * method, path, extensions and response schemas. It is built once for each array of tools, and * the same array every time after. */ export function listTools(tools: readonly Tool[]): readonly McpTool[] { let listing = listings.get(tools); if (!listing) { listing = tools.map( - ({ request: _request, method: _method, path: _path, extensions: _extensions, ...tool }) => tool as McpTool, + ({ request: _request, method: _method, path: _path, extensions: _extensions, responses: _responses, ...tool }) => + tool as McpTool, ); listings.set(tools, listing); } diff --git a/src/generated/forge-mcp/abuseReports/appeals/outputs.ts b/src/generated/forge-mcp/abuseReports/appeals/outputs.ts new file mode 100644 index 00000000..c06bf5f2 --- /dev/null +++ b/src/generated/forge-mcp/abuseReports/appeals/outputs.ts @@ -0,0 +1,35 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `abuse-reports_AppealEligibility` in responses. + */ +export const abuse_reports_AppealEligibility_output: JsonSchema = { + "properties": { + "appeal_count": { + "type": "integer" + }, + "appealable": { + "type": "boolean" + }, + "has_appealable_mitigations": { + "type": "boolean" + }, + "has_open_appeal": { + "type": "boolean" + }, + "max_appeals": { + "type": "integer" + } + }, + "required": [ + "appeal_count", + "appealable", + "has_appealable_mitigations", + "has_open_appeal", + "max_appeals" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/abuseReports/appeals/tools.ts b/src/generated/forge-mcp/abuseReports/appeals/tools.ts index 3d29cf10..2e3f416b 100644 --- a/src/generated/forge-mcp/abuseReports/appeals/tools.ts +++ b/src/generated/forge-mcp/abuseReports/appeals/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + abuse_reports_AuthErrorResponse_output, + abuse_reports_CloudflareAPIErrorResponse_output, + abuse_reports_ErrorMessage_code_output, + abuse_reports_ErrorMessage_output, + abuse_reports_Message_output, + abuse_reports_UnauthorizedErrorResponse_output, +} from "../outputs.js"; +import { abuse_reports_AppealEligibility_output } from "./outputs.js"; /** * The tools of `abuse_reports.appeals`. @@ -43,6 +52,62 @@ export const tools: readonly Tool[] = [ "Trust and Safety Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/abuse-reports_AppealEligibility" + }, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "404": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + $defs: { + "abuse-reports_AppealEligibility": abuse_reports_AppealEligibility_output, + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_id")}/appeals/eligibility`, }), diff --git a/src/generated/forge-mcp/abuseReports/emails/outputs.ts b/src/generated/forge-mcp/abuseReports/emails/outputs.ts new file mode 100644 index 00000000..b4d06a2a --- /dev/null +++ b/src/generated/forge-mcp/abuseReports/emails/outputs.ts @@ -0,0 +1,53 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `abuse-reports_EmailListItem` in responses. + */ +export const abuse_reports_EmailListItem_output: JsonSchema = { + "properties": { + "body": { + "type": "string" + }, + "id": { + "type": "string" + }, + "recipient": { + "type": "string" + }, + "sent_at": { + "type": "string" + }, + "subject": { + "type": "string" + } + }, + "required": [ + "body", + "id", + "recipient", + "sent_at", + "subject" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_EmailListResponse_result` in responses. + */ +export const abuse_reports_EmailListResponse_result_output: JsonSchema = { + "properties": { + "emails": { + "items": { + "$ref": "#/$defs/abuse-reports_EmailListItem" + }, + "type": "array" + } + }, + "required": [ + "emails" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/abuseReports/emails/tools.ts b/src/generated/forge-mcp/abuseReports/emails/tools.ts index 02e897f1..2c73e384 100644 --- a/src/generated/forge-mcp/abuseReports/emails/tools.ts +++ b/src/generated/forge-mcp/abuseReports/emails/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + abuse_reports_AuthErrorResponse_output, + abuse_reports_CloudflareAPIErrorResponse_output, + abuse_reports_ErrorMessage_code_output, + abuse_reports_ErrorMessage_output, + abuse_reports_Message_output, + abuse_reports_UnauthorizedErrorResponse_output, +} from "../outputs.js"; +import { + abuse_reports_EmailListItem_output, + abuse_reports_EmailListResponse_result_output, +} from "./outputs.js"; /** * The tools of `abuse_reports.emails`. @@ -51,6 +63,85 @@ export const tools: readonly Tool[] = [ "Trust and Safety Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "emails": { + "items": { + "$ref": "#/$defs/abuse-reports_EmailListItem" + }, + "type": "array" + } + }, + "required": [ + "emails" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "500": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + $defs: { + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_EmailListItem": abuse_reports_EmailListItem_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_id")}/emails`, query: [ @@ -103,6 +194,32 @@ export const tools: readonly Tool[] = [ "Trust and Safety Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/abuse-reports_EmailListResponse_result" + }, + "400": null, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "404": null, + "500": null + }, + $defs: { + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_EmailListItem": abuse_reports_EmailListItem_output, + "abuse-reports_EmailListResponse_result": abuse_reports_EmailListResponse_result_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/submitted/${pathParam(args, "report_id")}/emails`, query: [ diff --git a/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts b/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts new file mode 100644 index 00000000..0fea3c57 --- /dev/null +++ b/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts @@ -0,0 +1,128 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `abuse-reports_MitigatedEntityType` in responses. + */ +export const abuse_reports_MitigatedEntityType_output: JsonSchema = { + "enum": [ + "url_pattern", + "account", + "zone", + "custom_expression" + ], + "type": "string" +}; + +/** + * The schema of `abuse-reports_MitigationAppealResult` in responses. + */ +export const abuse_reports_MitigationAppealResult_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "result": { + "items": { + "$ref": "#/$defs/abuse-reports_MitigationListItem" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/abuse-reports_MitigationAppealResult_result_info" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "result_info", + "success" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_MitigationAppealResult_result_info` in + * responses. + */ +export const abuse_reports_MitigationAppealResult_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_MitigationListItem` in responses. + */ +export const abuse_reports_MitigationListItem_output: JsonSchema = { + "properties": { + "effective_date": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "entity_type": { + "$ref": "#/$defs/abuse-reports_MitigatedEntityType" + }, + "id": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/abuse-reports_MitigationStatus" + }, + "type": { + "$ref": "#/$defs/abuse-reports_MitigationType" + } + }, + "required": [ + "effective_date", + "entity_id", + "entity_type", + "id", + "status", + "type" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_MitigationType` in responses. + */ +export const abuse_reports_MitigationType_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/abuseReports/mitigations/tools.ts b/src/generated/forge-mcp/abuseReports/mitigations/tools.ts index a428da58..0ef10e5e 100644 --- a/src/generated/forge-mcp/abuseReports/mitigations/tools.ts +++ b/src/generated/forge-mcp/abuseReports/mitigations/tools.ts @@ -2,7 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + abuse_reports_AuthErrorResponse_output, + abuse_reports_CloudflareAPIErrorResponse_output, + abuse_reports_ErrorMessage_code_output, + abuse_reports_ErrorMessage_output, + abuse_reports_Message_output, + abuse_reports_MitigationStatus_output, + abuse_reports_UnauthorizedErrorResponse_output, +} from "../outputs.js"; import { abuse_reports_MitigationStatus } from "../schemas.js"; +import { + abuse_reports_MitigatedEntityType_output, + abuse_reports_MitigationAppealResult_output, + abuse_reports_MitigationAppealResult_result_info_output, + abuse_reports_MitigationListItem_output, + abuse_reports_MitigationType_output, +} from "./outputs.js"; import { abuse_reports_AppealReason, abuse_reports_AppealType, @@ -100,6 +116,65 @@ export const tools: readonly Tool[] = [ "Trust and Safety Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "mitigations": { + "items": { + "$ref": "#/$defs/abuse-reports_MitigationListItem" + }, + "type": "array" + } + }, + "required": [ + "mitigations" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "500": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + $defs: { + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_MitigatedEntityType": abuse_reports_MitigatedEntityType_output, + "abuse-reports_MitigationListItem": abuse_reports_MitigationListItem_output, + "abuse-reports_MitigationStatus": abuse_reports_MitigationStatus_output, + "abuse-reports_MitigationType": abuse_reports_MitigationType_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_id")}/mitigations`, query: [ @@ -160,6 +235,73 @@ export const tools: readonly Tool[] = [ "Trust and Safety Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/abuse-reports_MitigationListItem" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/abuse-reports_MitigationAppealResult_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "207": { + "$ref": "#/$defs/abuse-reports_MitigationAppealResult" + }, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "500": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + $defs: { + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_MitigatedEntityType": abuse_reports_MitigatedEntityType_output, + "abuse-reports_MitigationAppealResult": abuse_reports_MitigationAppealResult_output, + "abuse-reports_MitigationAppealResult_result_info": abuse_reports_MitigationAppealResult_result_info_output, + "abuse-reports_MitigationListItem": abuse_reports_MitigationListItem_output, + "abuse-reports_MitigationStatus": abuse_reports_MitigationStatus_output, + "abuse-reports_MitigationType": abuse_reports_MitigationType_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_id")}/mitigations/appeal`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/abuseReports/outputs.ts b/src/generated/forge-mcp/abuseReports/outputs.ts new file mode 100644 index 00000000..c8271999 --- /dev/null +++ b/src/generated/forge-mcp/abuseReports/outputs.ts @@ -0,0 +1,961 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `abuse-reports_AbuseReport` in responses. + */ +export const abuse_reports_AbuseReport_output: JsonSchema = { + "properties": { + "cdate": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "id": { + "type": "string" + }, + "justification": { + "type": "string" + }, + "mitigation_summary": { + "$ref": "#/$defs/abuse-reports_MitigationSummary" + }, + "original_work": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/abuse-reports_ReportStatus" + }, + "submitter": { + "$ref": "#/$defs/abuse-reports_SubmitterDetails" + }, + "type": { + "$ref": "#/$defs/abuse-reports_ReportType" + }, + "urls": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "cdate", + "domain", + "id", + "mitigation_summary", + "status", + "type" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_AuthErrorResponse` in responses. + */ +export const abuse_reports_AuthErrorResponse_output: JsonSchema = { + "properties": { + "err_code": { + "type": "string" + }, + "error_code": { + "type": "string" + }, + "msg": { + "type": "string" + }, + "result": { + "type": "string" + } + }, + "required": [ + "err_code", + "error_code", + "msg", + "result" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_BadActError` in responses. + */ +export const abuse_reports_BadActError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadAddressError` in responses. + */ +export const abuse_reports_BadAddressError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadAgentNameError` in responses. + */ +export const abuse_reports_BadAgentNameError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadCityError` in responses. + */ +export const abuse_reports_BadCityError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadCommentsError` in responses. + */ +export const abuse_reports_BadCommentsError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadCountryError` in responses. + */ +export const abuse_reports_BadCountryError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadEmailError` in responses. + */ +export const abuse_reports_BadEmailError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadIPError` in responses. + */ +export const abuse_reports_BadIPError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadJustError` in responses. + */ +export const abuse_reports_BadJustError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadNameError` in responses. + */ +export const abuse_reports_BadNameError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadPortsProtocolError` in responses. + */ +export const abuse_reports_BadPortsProtocolError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadStateError` in responses. + */ +export const abuse_reports_BadStateError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_BadUrlsError` in responses. + */ +export const abuse_reports_BadUrlsError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_CloudflareAPIErrorResponse` in responses. + */ +export const abuse_reports_CloudflareAPIErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_ErrorMessage" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_DBError` in responses. + */ +export const abuse_reports_DBError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_DedupeError` in responses. + */ +export const abuse_reports_DedupeError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_DiffEmailError` in responses. + */ +export const abuse_reports_DiffEmailError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_EmailError` in responses. + */ +export const abuse_reports_EmailError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_ErrorCode` in responses. + */ +export const abuse_reports_ErrorCode_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/abuse-reports_BadActError" + }, + { + "$ref": "#/$defs/abuse-reports_BadAddressError" + }, + { + "$ref": "#/$defs/abuse-reports_BadAgentNameError" + }, + { + "$ref": "#/$defs/abuse-reports_BadCityError" + }, + { + "$ref": "#/$defs/abuse-reports_BadCountryError" + }, + { + "$ref": "#/$defs/abuse-reports_BadPortsProtocolError" + }, + { + "$ref": "#/$defs/abuse-reports_BadStateError" + }, + { + "$ref": "#/$defs/abuse-reports_MaxIPsError" + }, + { + "$ref": "#/$defs/abuse-reports_PortsProtocolError" + }, + { + "$ref": "#/$defs/abuse-reports_BadCommentsError" + }, + { + "$ref": "#/$defs/abuse-reports_BadEmailError" + }, + { + "$ref": "#/$defs/abuse-reports_BadIPError" + }, + { + "$ref": "#/$defs/abuse-reports_BadJustError" + }, + { + "$ref": "#/$defs/abuse-reports_BadNameError" + }, + { + "$ref": "#/$defs/abuse-reports_BadUrlsError" + }, + { + "$ref": "#/$defs/abuse-reports_DBError" + }, + { + "$ref": "#/$defs/abuse-reports_DedupeError" + }, + { + "$ref": "#/$defs/abuse-reports_DiffEmailError" + }, + { + "$ref": "#/$defs/abuse-reports_EmailError" + }, + { + "$ref": "#/$defs/abuse-reports_InternalError" + }, + { + "$ref": "#/$defs/abuse-reports_InvalidNotifyError" + }, + { + "$ref": "#/$defs/abuse-reports_MustNotifyError" + }, + { + "$ref": "#/$defs/abuse-reports_NoAgreeError" + }, + { + "$ref": "#/$defs/abuse-reports_NoOriginalWorkError" + }, + { + "$ref": "#/$defs/abuse-reports_NoSigError" + }, + { + "$ref": "#/$defs/abuse-reports_UnexpectedActError" + }, + { + "$ref": "#/$defs/abuse-reports_UnknownError" + }, + { + "$ref": "#/$defs/abuse-reports_UrlNotOrangeError" + }, + { + "$ref": "#/$defs/abuse-reports_UrlNotvalidError" + } + ] +}; + +/** + * The schema of `abuse-reports_ErrorMessage` in responses. + */ +export const abuse_reports_ErrorMessage_output: JsonSchema = { + "properties": { + "code": { + "$ref": "#/$defs/abuse-reports_ErrorMessage_code" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_ErrorMessage_code` in responses. + */ +export const abuse_reports_ErrorMessage_code_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] +}; + +/** + * The schema of `abuse-reports_InternalError` in responses. + */ +export const abuse_reports_InternalError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_InvalidNotifyError` in responses. + */ +export const abuse_reports_InvalidNotifyError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_MaxIPsError` in responses. + */ +export const abuse_reports_MaxIPsError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_Message` in responses. + */ +export const abuse_reports_Message_output: JsonSchema = { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_MitigationStatus` in responses. + */ +export const abuse_reports_MitigationStatus_output: JsonSchema = { + "enum": [ + "pending", + "active", + "in_review", + "cancelled", + "removed" + ], + "type": "string" +}; + +/** + * The schema of `abuse-reports_MitigationSummary` in responses. + */ +export const abuse_reports_MitigationSummary_output: JsonSchema = { + "properties": { + "accepted_url_count": { + "type": "integer" + }, + "active_count": { + "type": "integer" + }, + "external_host_notified": { + "type": "boolean" + }, + "in_review_count": { + "type": "integer" + }, + "pending_count": { + "type": "integer" + } + }, + "required": [ + "accepted_url_count", + "active_count", + "external_host_notified", + "in_review_count", + "pending_count" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_MustNotifyError` in responses. + */ +export const abuse_reports_MustNotifyError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_NoAgreeError` in responses. + */ +export const abuse_reports_NoAgreeError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_NoOriginalWorkError` in responses. + */ +export const abuse_reports_NoOriginalWorkError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_NoSigError` in responses. + */ +export const abuse_reports_NoSigError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_PortsProtocolError` in responses. + */ +export const abuse_reports_PortsProtocolError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_RegistrarWhoIsFields` in responses. + */ +export const abuse_reports_RegistrarWhoIsFields_output: JsonSchema = { + "properties": { + "reg_who_authorization_statement": { + "type": "string" + }, + "reg_who_good_faith_affirmation": { + "type": "boolean" + }, + "reg_who_lawful_processing_agreement": { + "type": "boolean" + }, + "reg_who_legal_basis": { + "type": "string" + }, + "reg_who_request_type": { + "enum": [ + "disclosure", + "invalid_whois" + ], + "type": "string" + }, + "reg_who_requested_data_elements": { + "items": { + "enum": [ + "registrant_name", + "registrant_organization", + "registrant_email", + "registrant_phone", + "registrant_address", + "registrant_address_country", + "registrant_address_postal_code", + "admin_name", + "admin_organization", + "admin_email", + "admin_phone", + "admin_address", + "tech_name", + "tech_organization", + "tech_email", + "tech_phone", + "tech_address" + ], + "type": "string" + }, + "maxItems": 17, + "minItems": 1, + "type": "array" + }, + "reg_who_requestor_type": { + "enum": [ + "government", + "corporation", + "individual" + ], + "type": "string" + } + }, + "required": [ + "reg_who_good_faith_affirmation", + "reg_who_lawful_processing_agreement", + "reg_who_legal_basis", + "reg_who_request_type", + "reg_who_requested_data_elements" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_ReportStatus` in responses. + */ +export const abuse_reports_ReportStatus_output: JsonSchema = { + "enum": [ + "accepted", + "in_review" + ], + "type": "string" +}; + +/** + * The schema of `abuse-reports_ReportType` in responses. + */ +export const abuse_reports_ReportType_output: JsonSchema = { + "enum": [ + "PHISH", + "GEN", + "THREAT", + "DMCA", + "EMER", + "TM", + "REG_WHO", + "NCSEI", + "NETWORK" + ], + "type": "string" +}; + +/** + * The schema of `abuse-reports_SubmissionReportType` in responses. + */ +export const abuse_reports_SubmissionReportType_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_SubmitErrorResponse` in responses. + */ +export const abuse_reports_SubmitErrorResponse_output: JsonSchema = { + "properties": { + "err_code": { + "$ref": "#/$defs/abuse-reports_ErrorCode" + }, + "error_code": { + "$ref": "#/$defs/abuse-reports_ErrorCode" + }, + "msg": { + "type": "string" + }, + "request": { + "$ref": "#/$defs/abuse-reports_SubmitErrorResponse_request" + }, + "result": { + "type": "string" + } + }, + "required": [ + "err_code", + "error_code", + "msg", + "request", + "result" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_SubmitErrorResponse_request` in responses. + */ +export const abuse_reports_SubmitErrorResponse_request_output: JsonSchema = { + "properties": { + "act": { + "$ref": "#/$defs/abuse-reports_SubmissionReportType" + } + }, + "required": [ + "act" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_SubmitReportResponse` in responses. + */ +export const abuse_reports_SubmitReportResponse_output: JsonSchema = { + "properties": { + "abuse_rand": { + "type": "string" + }, + "request": { + "$ref": "#/$defs/abuse-reports_SubmitReportResponse_request" + }, + "result": { + "type": "string" + } + }, + "required": [ + "abuse_rand", + "request", + "result" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_SubmitReportResponse_request` in responses. + */ +export const abuse_reports_SubmitReportResponse_request_output: JsonSchema = { + "properties": { + "act": { + "$ref": "#/$defs/abuse-reports_SubmissionReportType" + } + }, + "required": [ + "act" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_SubmittedAbuseReportDenialReason` in responses. + */ +export const abuse_reports_SubmittedAbuseReportDenialReason_output: JsonSchema = { + "enum": [ + "unable_to_confirm", + "incomplete_report", + "not_on_cloudflare", + "duplicate_report", + "content_removed", + "report_details_mismatch", + "no_abuse_found", + "missing_original_work", + "direct_url_required", + "wrong_report_category", + "content_unavailable", + "law_enforcement_referral_required", + "domain_dispute_process_required" + ], + "type": "string" +}; + +/** + * The schema of `abuse-reports_SubmittedAbuseReportDetail` in responses. + */ +export const abuse_reports_SubmittedAbuseReportDetail_output: JsonSchema = { + "properties": { + "agent_name": { + "type": "string" + }, + "cdate": { + "format": "date-time", + "type": "string" + }, + "comments": { + "type": "string" + }, + "court": { + "type": "string" + }, + "denial_reason": { + "oneOf": [ + { + "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportDenialReason" + }, + { + "type": "null" + } + ] + }, + "destination_ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "domain": { + "type": "string" + }, + "dsa_attestation": { + "type": "boolean" + }, + "host_notification": { + "type": "string" + }, + "id": { + "type": "string" + }, + "justification": { + "type": "string" + }, + "ncmec_notification": { + "type": "string" + }, + "ncsei_subject_representation": { + "type": "boolean" + }, + "original_work": { + "type": "string" + }, + "owner_notification": { + "type": "string" + }, + "ports_protocols": { + "items": { + "type": "string" + }, + "type": "array" + }, + "reg_who_request": { + "$ref": "#/$defs/abuse-reports_RegistrarWhoIsFields" + }, + "reported_country": { + "type": "string" + }, + "reported_user_agent": { + "type": "string" + }, + "source_ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportStatus" + }, + "submitter": { + "$ref": "#/$defs/abuse-reports_SubmitterDetails" + }, + "subtypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "type": "string" + }, + "type": { + "$ref": "#/$defs/abuse-reports_ReportType" + }, + "udrp": { + "type": "string" + }, + "urls": { + "items": { + "type": "string" + }, + "type": "array" + }, + "urs": { + "type": "string" + } + }, + "required": [ + "cdate", + "denial_reason", + "domain", + "id", + "status", + "type", + "dsa_attestation", + "urls" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_SubmittedAbuseReportListItem` in responses. + */ +export const abuse_reports_SubmittedAbuseReportListItem_output: JsonSchema = { + "properties": { + "cdate": { + "format": "date-time", + "type": "string" + }, + "denial_reason": { + "oneOf": [ + { + "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportDenialReason" + }, + { + "type": "null" + } + ] + }, + "domain": { + "type": "string" + }, + "id": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportStatus" + }, + "submitter": { + "$ref": "#/$defs/abuse-reports_SubmitterDetails" + }, + "type": { + "$ref": "#/$defs/abuse-reports_ReportType" + } + }, + "required": [ + "cdate", + "denial_reason", + "domain", + "id", + "status", + "type" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_SubmittedAbuseReportListResponse_result` in + * responses. + */ +export const abuse_reports_SubmittedAbuseReportListResponse_result_output: JsonSchema = { + "properties": { + "reports": { + "items": { + "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportListItem" + }, + "type": "array" + } + }, + "required": [ + "reports" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_SubmittedAbuseReportStatus` in responses. + */ +export const abuse_reports_SubmittedAbuseReportStatus_output: JsonSchema = { + "enum": [ + "submitted", + "accepted", + "denied" + ], + "type": "string" +}; + +/** + * The schema of `abuse-reports_SubmitterDetails` in responses. + */ +export const abuse_reports_SubmitterDetails_output: JsonSchema = { + "properties": { + "company": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "telephone": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `abuse-reports_UnauthorizedErrorResponse` in responses. + */ +export const abuse_reports_UnauthorizedErrorResponse_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + { + "$ref": "#/$defs/abuse-reports_AuthErrorResponse" + } + ] +}; + +/** + * The schema of `abuse-reports_UnexpectedActError` in responses. + */ +export const abuse_reports_UnexpectedActError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_UnknownError` in responses. + */ +export const abuse_reports_UnknownError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_UrlNotOrangeError` in responses. + */ +export const abuse_reports_UrlNotOrangeError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_UrlNotvalidError` in responses. + */ +export const abuse_reports_UrlNotvalidError_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/abuseReports/tools.ts b/src/generated/forge-mcp/abuseReports/tools.ts index 4a536e2c..8c2e2680 100644 --- a/src/generated/forge-mcp/abuseReports/tools.ts +++ b/src/generated/forge-mcp/abuseReports/tools.ts @@ -2,6 +2,60 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + abuse_reports_AbuseReport_output, + abuse_reports_AuthErrorResponse_output, + abuse_reports_BadActError_output, + abuse_reports_BadAddressError_output, + abuse_reports_BadAgentNameError_output, + abuse_reports_BadCityError_output, + abuse_reports_BadCommentsError_output, + abuse_reports_BadCountryError_output, + abuse_reports_BadEmailError_output, + abuse_reports_BadIPError_output, + abuse_reports_BadJustError_output, + abuse_reports_BadNameError_output, + abuse_reports_BadPortsProtocolError_output, + abuse_reports_BadStateError_output, + abuse_reports_BadUrlsError_output, + abuse_reports_CloudflareAPIErrorResponse_output, + abuse_reports_DBError_output, + abuse_reports_DedupeError_output, + abuse_reports_DiffEmailError_output, + abuse_reports_EmailError_output, + abuse_reports_ErrorCode_output, + abuse_reports_ErrorMessage_code_output, + abuse_reports_ErrorMessage_output, + abuse_reports_InternalError_output, + abuse_reports_InvalidNotifyError_output, + abuse_reports_MaxIPsError_output, + abuse_reports_Message_output, + abuse_reports_MitigationSummary_output, + abuse_reports_MustNotifyError_output, + abuse_reports_NoAgreeError_output, + abuse_reports_NoOriginalWorkError_output, + abuse_reports_NoSigError_output, + abuse_reports_PortsProtocolError_output, + abuse_reports_RegistrarWhoIsFields_output, + abuse_reports_ReportStatus_output, + abuse_reports_ReportType_output, + abuse_reports_SubmissionReportType_output, + abuse_reports_SubmitErrorResponse_output, + abuse_reports_SubmitErrorResponse_request_output, + abuse_reports_SubmitReportResponse_output, + abuse_reports_SubmitReportResponse_request_output, + abuse_reports_SubmittedAbuseReportDenialReason_output, + abuse_reports_SubmittedAbuseReportDetail_output, + abuse_reports_SubmittedAbuseReportListItem_output, + abuse_reports_SubmittedAbuseReportListResponse_result_output, + abuse_reports_SubmittedAbuseReportStatus_output, + abuse_reports_SubmitterDetails_output, + abuse_reports_UnauthorizedErrorResponse_output, + abuse_reports_UnexpectedActError_output, + abuse_reports_UnknownError_output, + abuse_reports_UrlNotOrangeError_output, + abuse_reports_UrlNotvalidError_output, +} from "./outputs.js"; import { abuse_reports_CSAMReport, abuse_reports_DMCAReport, @@ -74,6 +128,68 @@ export const tools: readonly Tool[] = [ "Trust and Safety Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/abuse-reports_SubmitReportResponse" + }, + "400": { + "$ref": "#/$defs/abuse-reports_SubmitErrorResponse" + }, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "500": { + "$ref": "#/$defs/abuse-reports_SubmitErrorResponse" + } + }, + $defs: { + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_BadActError": abuse_reports_BadActError_output, + "abuse-reports_BadAddressError": abuse_reports_BadAddressError_output, + "abuse-reports_BadAgentNameError": abuse_reports_BadAgentNameError_output, + "abuse-reports_BadCityError": abuse_reports_BadCityError_output, + "abuse-reports_BadCommentsError": abuse_reports_BadCommentsError_output, + "abuse-reports_BadCountryError": abuse_reports_BadCountryError_output, + "abuse-reports_BadEmailError": abuse_reports_BadEmailError_output, + "abuse-reports_BadIPError": abuse_reports_BadIPError_output, + "abuse-reports_BadJustError": abuse_reports_BadJustError_output, + "abuse-reports_BadNameError": abuse_reports_BadNameError_output, + "abuse-reports_BadPortsProtocolError": abuse_reports_BadPortsProtocolError_output, + "abuse-reports_BadStateError": abuse_reports_BadStateError_output, + "abuse-reports_BadUrlsError": abuse_reports_BadUrlsError_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_DBError": abuse_reports_DBError_output, + "abuse-reports_DedupeError": abuse_reports_DedupeError_output, + "abuse-reports_DiffEmailError": abuse_reports_DiffEmailError_output, + "abuse-reports_EmailError": abuse_reports_EmailError_output, + "abuse-reports_ErrorCode": abuse_reports_ErrorCode_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_InternalError": abuse_reports_InternalError_output, + "abuse-reports_InvalidNotifyError": abuse_reports_InvalidNotifyError_output, + "abuse-reports_MaxIPsError": abuse_reports_MaxIPsError_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_MustNotifyError": abuse_reports_MustNotifyError_output, + "abuse-reports_NoAgreeError": abuse_reports_NoAgreeError_output, + "abuse-reports_NoOriginalWorkError": abuse_reports_NoOriginalWorkError_output, + "abuse-reports_NoSigError": abuse_reports_NoSigError_output, + "abuse-reports_PortsProtocolError": abuse_reports_PortsProtocolError_output, + "abuse-reports_SubmissionReportType": abuse_reports_SubmissionReportType_output, + "abuse-reports_SubmitErrorResponse": abuse_reports_SubmitErrorResponse_output, + "abuse-reports_SubmitErrorResponse_request": abuse_reports_SubmitErrorResponse_request_output, + "abuse-reports_SubmitReportResponse": abuse_reports_SubmitReportResponse_output, + "abuse-reports_SubmitReportResponse_request": abuse_reports_SubmitReportResponse_request_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_UnexpectedActError": abuse_reports_UnexpectedActError_output, + "abuse-reports_UnknownError": abuse_reports_UnknownError_output, + "abuse-reports_UrlNotOrangeError": abuse_reports_UrlNotOrangeError_output, + "abuse-reports_UrlNotvalidError": abuse_reports_UrlNotvalidError_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_type")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -115,6 +231,86 @@ export const tools: readonly Tool[] = [ "Trust and Safety Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/abuse-reports_AbuseReport" + }, + "400": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_ErrorMessage" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "result": { + "$ref": "#/$defs/abuse-reports_AbuseReport" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "500": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_ErrorMessage" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "result": { + "$ref": "#/$defs/abuse-reports_AbuseReport" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + $defs: { + "abuse-reports_AbuseReport": abuse_reports_AbuseReport_output, + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_MitigationSummary": abuse_reports_MitigationSummary_output, + "abuse-reports_ReportStatus": abuse_reports_ReportStatus_output, + "abuse-reports_ReportType": abuse_reports_ReportType_output, + "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_id")}`, }), @@ -155,6 +351,36 @@ export const tools: readonly Tool[] = [ "Trust and Safety Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportDetail" + }, + "400": null, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "404": null, + "500": null + }, + $defs: { + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_RegistrarWhoIsFields": abuse_reports_RegistrarWhoIsFields_output, + "abuse-reports_ReportType": abuse_reports_ReportType_output, + "abuse-reports_SubmittedAbuseReportDenialReason": abuse_reports_SubmittedAbuseReportDenialReason_output, + "abuse-reports_SubmittedAbuseReportDetail": abuse_reports_SubmittedAbuseReportDetail_output, + "abuse-reports_SubmittedAbuseReportStatus": abuse_reports_SubmittedAbuseReportStatus_output, + "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/submitted/${pathParam(args, "report_id")}`, }), @@ -235,6 +461,67 @@ export const tools: readonly Tool[] = [ "Trust and Safety Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "reports": { + "items": { + "$ref": "#/$defs/abuse-reports_AbuseReport" + }, + "type": "array" + } + }, + "required": [ + "reports" + ], + "type": "object" + }, + "400": null, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "500": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/abuse-reports_Message" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + $defs: { + "abuse-reports_AbuseReport": abuse_reports_AbuseReport_output, + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_MitigationSummary": abuse_reports_MitigationSummary_output, + "abuse-reports_ReportStatus": abuse_reports_ReportStatus_output, + "abuse-reports_ReportType": abuse_reports_ReportType_output, + "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports`, query: [ @@ -335,6 +622,35 @@ export const tools: readonly Tool[] = [ "Trust and Safety Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportListResponse_result" + }, + "400": null, + "401": { + "$ref": "#/$defs/abuse-reports_UnauthorizedErrorResponse" + }, + "403": { + "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" + }, + "500": null + }, + $defs: { + "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, + "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, + "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, + "abuse-reports_ErrorMessage_code": abuse_reports_ErrorMessage_code_output, + "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_ReportType": abuse_reports_ReportType_output, + "abuse-reports_SubmittedAbuseReportDenialReason": abuse_reports_SubmittedAbuseReportDenialReason_output, + "abuse-reports_SubmittedAbuseReportListItem": abuse_reports_SubmittedAbuseReportListItem_output, + "abuse-reports_SubmittedAbuseReportListResponse_result": abuse_reports_SubmittedAbuseReportListResponse_result_output, + "abuse-reports_SubmittedAbuseReportStatus": abuse_reports_SubmittedAbuseReportStatus_output, + "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, + "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/submitted`, query: [ diff --git a/src/generated/forge-mcp/accounts/applications/outputs.ts b/src/generated/forge-mcp/accounts/applications/outputs.ts new file mode 100644 index 00000000..ecdc68fa --- /dev/null +++ b/src/generated/forge-mcp/accounts/applications/outputs.ts @@ -0,0 +1,420 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `alexandria_application` in responses. + */ +export const alexandria_application_output: JsonSchema = { + "properties": { + "application_confidence_score": { + "$ref": "#/$defs/alexandria_application_confidence_score" + }, + "application_score_composition": { + "$ref": "#/$defs/alexandria_application_score_composition" + }, + "application_source": { + "$ref": "#/$defs/alexandria_application_source" + }, + "application_type": { + "$ref": "#/$defs/alexandria_application_type" + }, + "application_type_description": { + "$ref": "#/$defs/alexandria_application_type_description" + }, + "category_id": { + "$ref": "#/$defs/alexandria_category_id" + }, + "created_at": { + "$ref": "#/$defs/alexandria_application_created_at" + }, + "gen_ai_score": { + "$ref": "#/$defs/alexandria_application_gen_ai_score" + }, + "hostnames": { + "$ref": "#/$defs/alexandria_application_hostnames" + }, + "human_id": { + "$ref": "#/$defs/alexandria_application_human_id" + }, + "id": { + "$ref": "#/$defs/alexandria_application_id" + }, + "ip_subnets": { + "$ref": "#/$defs/alexandria_application_ip_subnets" + }, + "name": { + "$ref": "#/$defs/alexandria_application_name" + }, + "port_protocols": { + "$ref": "#/$defs/alexandria_application_port_protocols" + }, + "support_domains": { + "$ref": "#/$defs/alexandria_application_support_domains" + }, + "supported": { + "$ref": "#/$defs/alexandria_application_supported" + }, + "updated_at": { + "$ref": "#/$defs/alexandria_application_updated_at" + }, + "version": { + "$ref": "#/$defs/alexandria_application_version" + } + }, + "required": [ + "application_confidence_score", + "application_source", + "application_type", + "application_type_description", + "category_id", + "created_at", + "gen_ai_score", + "hostnames", + "human_id", + "id", + "ip_subnets", + "name", + "port_protocols", + "support_domains", + "supported", + "updated_at", + "version" + ], + "type": "object" +}; + +/** + * The schema of `alexandria_application_confidence_score` in responses. + */ +export const alexandria_application_confidence_score_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `alexandria_application_created_at` in responses. + */ +export const alexandria_application_created_at_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_application_gen_ai_score` in responses. + */ +export const alexandria_application_gen_ai_score_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `alexandria_application_hostnames` in responses. + */ +export const alexandria_application_hostnames_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `alexandria_application_human_id` in responses. + */ +export const alexandria_application_human_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_application_id` in responses. + */ +export const alexandria_application_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `alexandria_application_ip_subnets` in responses. + */ +export const alexandria_application_ip_subnets_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `alexandria_application_list_item` in responses. + */ +export const alexandria_application_list_item_output: JsonSchema = { + "properties": { + "application_confidence_score": { + "$ref": "#/$defs/alexandria_application_confidence_score" + }, + "application_score_composition": { + "$ref": "#/$defs/alexandria_application_score_composition" + }, + "application_source": { + "$ref": "#/$defs/alexandria_application_source" + }, + "application_type": { + "$ref": "#/$defs/alexandria_application_type" + }, + "application_type_description": { + "$ref": "#/$defs/alexandria_application_type_description" + }, + "category_id": { + "$ref": "#/$defs/alexandria_category_id" + }, + "created_at": { + "$ref": "#/$defs/alexandria_application_created_at" + }, + "gen_ai_score": { + "$ref": "#/$defs/alexandria_application_gen_ai_score" + }, + "hostnames": { + "$ref": "#/$defs/alexandria_application_hostnames" + }, + "human_id": { + "$ref": "#/$defs/alexandria_application_human_id" + }, + "id": { + "$ref": "#/$defs/alexandria_application_id" + }, + "ip_subnets": { + "$ref": "#/$defs/alexandria_application_ip_subnets" + }, + "name": { + "$ref": "#/$defs/alexandria_application_name" + }, + "port_protocols": { + "$ref": "#/$defs/alexandria_application_port_protocols" + }, + "review_status": { + "enum": [ + "approved", + "unapproved", + "in_review", + "unreviewed" + ], + "type": "string" + }, + "support_domains": { + "$ref": "#/$defs/alexandria_application_support_domains" + }, + "supported": { + "$ref": "#/$defs/alexandria_application_supported" + }, + "updated_at": { + "$ref": "#/$defs/alexandria_application_updated_at" + }, + "version": { + "$ref": "#/$defs/alexandria_application_version" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `alexandria_application_name` in responses. + */ +export const alexandria_application_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_application_port_protocols` in responses. + */ +export const alexandria_application_port_protocols_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `alexandria_application_reference` in responses. + */ +export const alexandria_application_reference_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `alexandria_application_score_composition` in responses. + */ +export const alexandria_application_score_composition_output: JsonSchema = { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `alexandria_application_source` in responses. + */ +export const alexandria_application_source_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_application_support_domains` in responses. + */ +export const alexandria_application_support_domains_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `alexandria_application_supported` in responses. + */ +export const alexandria_application_supported_output: JsonSchema = { + "items": { + "enum": [ + "GATEWAY", + "ACCESS", + "CASB" + ], + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `alexandria_application_type` in responses. + */ +export const alexandria_application_type_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_application_type_description` in responses. + */ +export const alexandria_application_type_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_application_updated_at` in responses. + */ +export const alexandria_application_updated_at_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_application_version` in responses. + */ +export const alexandria_application_version_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_applications` in responses. + */ +export const alexandria_applications_output: JsonSchema = { + "items": { + "$ref": "#/$defs/alexandria_application_list_item" + }, + "type": "array" +}; + +/** + * The schema of `alexandria_delete_application_conflict_response` in responses. + */ +export const alexandria_delete_application_conflict_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/alexandria_delete_application_conflict_response_errorsItem" + }, + "maxItems": 1, + "minItems": 1, + "type": "array" + }, + "messages": { + "$ref": "#/$defs/alexandria_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `alexandria_delete_application_conflict_response_errorsItem` in + * responses. + */ +export const alexandria_delete_application_conflict_response_errorsItem_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/alexandria_delete_application_conflict_response_errorsItem_meta" + } + }, + "required": [ + "code", + "message", + "meta" + ], + "type": "object" +}; + +/** + * The schema of + * `alexandria_delete_application_conflict_response_errorsItem_meta` in + * responses. + */ +export const alexandria_delete_application_conflict_response_errorsItem_meta_output: JsonSchema = { + "properties": { + "references": { + "items": { + "$ref": "#/$defs/alexandria_application_reference" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "references" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/accounts/applications/tools.ts b/src/generated/forge-mcp/accounts/applications/tools.ts index c0262bd6..4f6112bc 100644 --- a/src/generated/forge-mcp/accounts/applications/tools.ts +++ b/src/generated/forge-mcp/accounts/applications/tools.ts @@ -2,7 +2,38 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + alexandria_api_response_common_failure_output, + alexandria_category_id_output, + alexandria_messages_output, +} from "../outputs.js"; import { alexandria_category_id } from "../schemas.js"; +import { + alexandria_application_confidence_score_output, + alexandria_application_created_at_output, + alexandria_application_gen_ai_score_output, + alexandria_application_hostnames_output, + alexandria_application_human_id_output, + alexandria_application_id_output, + alexandria_application_ip_subnets_output, + alexandria_application_list_item_output, + alexandria_application_name_output, + alexandria_application_output, + alexandria_application_port_protocols_output, + alexandria_application_reference_output, + alexandria_application_score_composition_output, + alexandria_application_source_output, + alexandria_application_support_domains_output, + alexandria_application_supported_output, + alexandria_application_type_description_output, + alexandria_application_type_output, + alexandria_application_updated_at_output, + alexandria_application_version_output, + alexandria_applications_output, + alexandria_delete_application_conflict_response_errorsItem_meta_output, + alexandria_delete_application_conflict_response_errorsItem_output, + alexandria_delete_application_conflict_response_output, +} from "./outputs.js"; import { alexandria_application_hostnames, alexandria_application_human_id, @@ -58,6 +89,39 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/resource-library/applications", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/alexandria_application" + }, + "4XX": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + } + }, + $defs: { + "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, + "alexandria_application": alexandria_application_output, + "alexandria_application_confidence_score": alexandria_application_confidence_score_output, + "alexandria_application_created_at": alexandria_application_created_at_output, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, + "alexandria_application_hostnames": alexandria_application_hostnames_output, + "alexandria_application_human_id": alexandria_application_human_id_output, + "alexandria_application_id": alexandria_application_id_output, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, + "alexandria_application_name": alexandria_application_name_output, + "alexandria_application_port_protocols": alexandria_application_port_protocols_output, + "alexandria_application_score_composition": alexandria_application_score_composition_output, + "alexandria_application_source": alexandria_application_source_output, + "alexandria_application_support_domains": alexandria_application_support_domains_output, + "alexandria_application_supported": alexandria_application_supported_output, + "alexandria_application_type": alexandria_application_type_output, + "alexandria_application_type_description": alexandria_application_type_description_output, + "alexandria_application_updated_at": alexandria_application_updated_at_output, + "alexandria_application_version": alexandria_application_version_output, + "alexandria_category_id": alexandria_category_id_output, + "alexandria_messages": alexandria_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/applications`, body: { value: args["body"], mediaType: "application/json" }, @@ -93,6 +157,30 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/resource-library/applications/{id}", + responses: { + schemas: { + "200": { + "type": "null" + }, + "409": { + "$ref": "#/$defs/alexandria_delete_application_conflict_response" + }, + "4XX": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + }, + "502": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + } + }, + $defs: { + "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, + "alexandria_application_reference": alexandria_application_reference_output, + "alexandria_delete_application_conflict_response": alexandria_delete_application_conflict_response_output, + "alexandria_delete_application_conflict_response_errorsItem": alexandria_delete_application_conflict_response_errorsItem_output, + "alexandria_delete_application_conflict_response_errorsItem_meta": alexandria_delete_application_conflict_response_errorsItem_meta_output, + "alexandria_messages": alexandria_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/applications/${pathParam(args, "id")}`, }), @@ -127,6 +215,39 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/resource-library/applications/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/alexandria_application" + }, + "4XX": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + } + }, + $defs: { + "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, + "alexandria_application": alexandria_application_output, + "alexandria_application_confidence_score": alexandria_application_confidence_score_output, + "alexandria_application_created_at": alexandria_application_created_at_output, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, + "alexandria_application_hostnames": alexandria_application_hostnames_output, + "alexandria_application_human_id": alexandria_application_human_id_output, + "alexandria_application_id": alexandria_application_id_output, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, + "alexandria_application_name": alexandria_application_name_output, + "alexandria_application_port_protocols": alexandria_application_port_protocols_output, + "alexandria_application_score_composition": alexandria_application_score_composition_output, + "alexandria_application_source": alexandria_application_source_output, + "alexandria_application_support_domains": alexandria_application_support_domains_output, + "alexandria_application_supported": alexandria_application_supported_output, + "alexandria_application_type": alexandria_application_type_output, + "alexandria_application_type_description": alexandria_application_type_description_output, + "alexandria_application_updated_at": alexandria_application_updated_at_output, + "alexandria_application_version": alexandria_application_version_output, + "alexandria_category_id": alexandria_category_id_output, + "alexandria_messages": alexandria_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/applications/${pathParam(args, "id")}`, }), @@ -190,6 +311,80 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/resource-library/applications", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/alexandria_applications" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "403": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + }, + "4XX": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + }, + "502": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + }, + "503": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + } + }, + $defs: { + "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, + "alexandria_application_confidence_score": alexandria_application_confidence_score_output, + "alexandria_application_created_at": alexandria_application_created_at_output, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, + "alexandria_application_hostnames": alexandria_application_hostnames_output, + "alexandria_application_human_id": alexandria_application_human_id_output, + "alexandria_application_id": alexandria_application_id_output, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, + "alexandria_application_list_item": alexandria_application_list_item_output, + "alexandria_application_name": alexandria_application_name_output, + "alexandria_application_port_protocols": alexandria_application_port_protocols_output, + "alexandria_application_score_composition": alexandria_application_score_composition_output, + "alexandria_application_source": alexandria_application_source_output, + "alexandria_application_support_domains": alexandria_application_support_domains_output, + "alexandria_application_supported": alexandria_application_supported_output, + "alexandria_application_type": alexandria_application_type_output, + "alexandria_application_type_description": alexandria_application_type_description_output, + "alexandria_application_updated_at": alexandria_application_updated_at_output, + "alexandria_application_version": alexandria_application_version_output, + "alexandria_applications": alexandria_applications_output, + "alexandria_category_id": alexandria_category_id_output, + "alexandria_messages": alexandria_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/applications`, query: [ @@ -249,6 +444,80 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/resource-library/applications/lookup", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/alexandria_applications" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "403": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + }, + "4XX": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + }, + "502": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + }, + "503": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + } + }, + $defs: { + "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, + "alexandria_application_confidence_score": alexandria_application_confidence_score_output, + "alexandria_application_created_at": alexandria_application_created_at_output, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, + "alexandria_application_hostnames": alexandria_application_hostnames_output, + "alexandria_application_human_id": alexandria_application_human_id_output, + "alexandria_application_id": alexandria_application_id_output, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, + "alexandria_application_list_item": alexandria_application_list_item_output, + "alexandria_application_name": alexandria_application_name_output, + "alexandria_application_port_protocols": alexandria_application_port_protocols_output, + "alexandria_application_score_composition": alexandria_application_score_composition_output, + "alexandria_application_source": alexandria_application_source_output, + "alexandria_application_support_domains": alexandria_application_support_domains_output, + "alexandria_application_supported": alexandria_application_supported_output, + "alexandria_application_type": alexandria_application_type_output, + "alexandria_application_type_description": alexandria_application_type_description_output, + "alexandria_application_updated_at": alexandria_application_updated_at_output, + "alexandria_application_version": alexandria_application_version_output, + "alexandria_applications": alexandria_applications_output, + "alexandria_category_id": alexandria_category_id_output, + "alexandria_messages": alexandria_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/applications/lookup`, query: [ @@ -300,6 +569,39 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/resource-library/applications/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/alexandria_application" + }, + "4XX": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + } + }, + $defs: { + "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, + "alexandria_application": alexandria_application_output, + "alexandria_application_confidence_score": alexandria_application_confidence_score_output, + "alexandria_application_created_at": alexandria_application_created_at_output, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, + "alexandria_application_hostnames": alexandria_application_hostnames_output, + "alexandria_application_human_id": alexandria_application_human_id_output, + "alexandria_application_id": alexandria_application_id_output, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, + "alexandria_application_name": alexandria_application_name_output, + "alexandria_application_port_protocols": alexandria_application_port_protocols_output, + "alexandria_application_score_composition": alexandria_application_score_composition_output, + "alexandria_application_source": alexandria_application_source_output, + "alexandria_application_support_domains": alexandria_application_support_domains_output, + "alexandria_application_supported": alexandria_application_supported_output, + "alexandria_application_type": alexandria_application_type_output, + "alexandria_application_type_description": alexandria_application_type_description_output, + "alexandria_application_updated_at": alexandria_application_updated_at_output, + "alexandria_application_version": alexandria_application_version_output, + "alexandria_category_id": alexandria_category_id_output, + "alexandria_messages": alexandria_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/applications/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/accounts/billing/history/tools.ts b/src/generated/forge-mcp/accounts/billing/history/tools.ts index 9b23410a..71be40c9 100644 --- a/src/generated/forge-mcp/accounts/billing/history/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/history/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_messages_output, + bill_subs_api_result_info_output, +} from "../../../outputs.js"; +import { bill_subs_api_account_billing_history_output } from "../outputs.js"; /** * The tools of `accounts.billing.history`. @@ -68,6 +74,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/bill-subs-api_account_billing_history" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/bill-subs-api_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_account_billing_history": bill_subs_api_account_billing_history_output, + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_result_info": bill_subs_api_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/history`, query: [ diff --git a/src/generated/forge-mcp/accounts/billing/outputs.ts b/src/generated/forge-mcp/accounts/billing/outputs.ts new file mode 100644 index 00000000..5bbe482a --- /dev/null +++ b/src/generated/forge-mcp/accounts/billing/outputs.ts @@ -0,0 +1,83 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `bill-subs-api_account_billing_history` in responses. + */ +export const bill_subs_api_account_billing_history_output: JsonSchema = { + "properties": { + "action": { + "type": "string" + }, + "amount": { + "type": "number" + }, + "amount_to_pay": { + "type": "number" + }, + "currency": { + "type": "string" + }, + "description": { + "type": "string" + }, + "external_invoice_id": { + "type": "string" + }, + "hosted_invoice_url": { + "type": "string" + }, + "id": { + "type": "string" + }, + "invoice_id": { + "type": "string" + }, + "occurred_at": { + "format": "date-time", + "type": "string" + }, + "receipt_id": { + "type": "string" + }, + "source": { + "type": "string" + }, + "source_invoice_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `bill-subs-api_bad_debt_info` in responses. + */ +export const bill_subs_api_bad_debt_info_output: JsonSchema = { + "properties": { + "already_paid": { + "type": "number" + }, + "bad_debt_status": { + "type": "string" + }, + "invoices": { + "items": { + "$ref": "#/$defs/bill-subs-api_account_billing_history" + }, + "type": "array" + }, + "total_debt_amount": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/accounts/billing/paymentMethods/outputs.ts b/src/generated/forge-mcp/accounts/billing/paymentMethods/outputs.ts new file mode 100644 index 00000000..5ae0f928 --- /dev/null +++ b/src/generated/forge-mcp/accounts/billing/paymentMethods/outputs.ts @@ -0,0 +1,96 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `bill-subs-api_payment_method` in responses. + */ +export const bill_subs_api_payment_method_output: JsonSchema = { + "properties": { + "address": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "bank_account_type": { + "type": "string" + }, + "bank_code": { + "type": "string" + }, + "bank_country": { + "type": "string" + }, + "bank_name": { + "type": "string" + }, + "bank_routing_number": { + "type": "string" + }, + "cashapp_cash_tag": { + "type": "string" + }, + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "default": { + "type": "boolean" + }, + "device_data": { + "type": "string" + }, + "expiration_date": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "last_four": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "nick_name": { + "type": "string" + }, + "payment_account_email": { + "type": "string" + }, + "payment_email": { + "type": "string" + }, + "payment_gateway": { + "type": "string" + }, + "payment_nonce": { + "type": "string" + }, + "state": { + "type": "string" + }, + "type": { + "enum": [ + "CREDIT_CARD", + "PAYPAL", + "CASHAPP", + "SEPA_DEBIT", + "LINK", + "ACH_DIRECT_DEBIT" + ], + "type": "string" + }, + "zipcode": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts b/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts index f8dcaea8..7ad07513 100644 --- a/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_messages_output, + bill_subs_api_result_info_output, +} from "../../../outputs.js"; +import { bill_subs_api_payment_method_output } from "./outputs.js"; import { bill_subs_api_payment_method } from "./schemas.js"; /** @@ -65,6 +71,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_payment_method" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_payment_method": bill_subs_api_payment_method_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/payment-methods`, body: { value: args["body"], mediaType: "application/json" }, @@ -121,6 +142,31 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "204": null, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/payment-methods/${pathParam(args, "payment_method_id")}`, }), @@ -177,6 +223,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_payment_method" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_payment_method": bill_subs_api_payment_method_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/payment-methods/${pathParam(args, "payment_method_id")}`, }), @@ -238,6 +299,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/bill-subs-api_payment_method" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/bill-subs-api_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_payment_method": bill_subs_api_payment_method_output, + "bill-subs-api_result_info": bill_subs_api_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/payment-methods`, query: [ @@ -301,6 +392,31 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "204": null, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/payment-methods/${pathParam(args, "payment_method_id")}/set-as-default`, }), @@ -367,6 +483,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_payment_method" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_payment_method": bill_subs_api_payment_method_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/payment-methods/${pathParam(args, "payment_method_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/accounts/billing/tools.ts b/src/generated/forge-mcp/accounts/billing/tools.ts index 24e4f0ad..0cbba4a4 100644 --- a/src/generated/forge-mcp/accounts/billing/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_messages_output, +} from "../../outputs.js"; +import { + bill_subs_api_account_billing_history_output, + bill_subs_api_bad_debt_info_output, +} from "./outputs.js"; /** * The tools of `accounts.billing`. @@ -40,6 +48,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "client_secret": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/client-secret`, }), @@ -77,6 +104,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_bad_debt_info" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_account_billing_history": bill_subs_api_account_billing_history_output, + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_bad_debt_info": bill_subs_api_bad_debt_info_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/bad-debt`, }), @@ -128,6 +171,55 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "confirmed_balance_cents": { + "type": "integer" + }, + "currency": { + "type": "string" + }, + "days_remaining": { + "type": "integer" + }, + "eligible": { + "type": "boolean" + }, + "has_record": { + "type": "boolean" + }, + "original_amount_cents": { + "type": "integer" + }, + "percent_consumed": { + "type": "number" + }, + "projected_depletion_date": { + "format": "date-time", + "type": "string" + }, + "valid_from": { + "format": "date-time", + "type": "string" + }, + "valid_to": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/credits`, }), @@ -174,6 +266,18 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/receipts/${pathParam(args, "receipt_id")}/pdf`, query: [ @@ -214,6 +318,29 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "invoices": { + "items": { + "$ref": "#/$defs/bill-subs-api_account_billing_history" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_account_billing_history": bill_subs_api_account_billing_history_output, + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/unpaid-invoice`, }), @@ -261,6 +388,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "client_secret": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-bad-debt`, body: { value: args["body"], mediaType: "application/json" }, @@ -320,6 +466,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "client_secret": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-invoice`, body: { value: args["body"], mediaType: "application/json" }, @@ -368,6 +533,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/invoices`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/accounts/categories/outputs.ts b/src/generated/forge-mcp/accounts/categories/outputs.ts new file mode 100644 index 00000000..df081e1e --- /dev/null +++ b/src/generated/forge-mcp/accounts/categories/outputs.ts @@ -0,0 +1,62 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `alexandria_categories` in responses. + */ +export const alexandria_categories_output: JsonSchema = { + "items": { + "$ref": "#/$defs/alexandria_category" + }, + "type": "array" +}; + +/** + * The schema of `alexandria_category` in responses. + */ +export const alexandria_category_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/alexandria_category_created_at" + }, + "description": { + "$ref": "#/$defs/alexandria_category_description" + }, + "id": { + "$ref": "#/$defs/alexandria_category_id" + }, + "name": { + "$ref": "#/$defs/alexandria_category_name" + } + }, + "required": [ + "created_at", + "description", + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `alexandria_category_created_at` in responses. + */ +export const alexandria_category_created_at_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_category_description` in responses. + */ +export const alexandria_category_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `alexandria_category_name` in responses. + */ +export const alexandria_category_name_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/accounts/categories/tools.ts b/src/generated/forge-mcp/accounts/categories/tools.ts index fb0e367b..a3985351 100644 --- a/src/generated/forge-mcp/accounts/categories/tools.ts +++ b/src/generated/forge-mcp/accounts/categories/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + alexandria_api_response_common_failure_output, + alexandria_category_id_output, + alexandria_messages_output, +} from "../outputs.js"; +import { + alexandria_categories_output, + alexandria_category_created_at_output, + alexandria_category_description_output, + alexandria_category_name_output, + alexandria_category_output, +} from "./outputs.js"; /** * The tools of `accounts.categories`. @@ -37,6 +49,25 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/resource-library/categories/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/alexandria_category" + }, + "4XX": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + } + }, + $defs: { + "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, + "alexandria_category": alexandria_category_output, + "alexandria_category_created_at": alexandria_category_created_at_output, + "alexandria_category_description": alexandria_category_description_output, + "alexandria_category_id": alexandria_category_id_output, + "alexandria_category_name": alexandria_category_name_output, + "alexandria_messages": alexandria_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/categories/${pathParam(args, "id")}`, }), @@ -80,6 +111,60 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/resource-library/categories", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/alexandria_categories" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + }, + "503": { + "$ref": "#/$defs/alexandria_api_response_common_failure" + } + }, + $defs: { + "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, + "alexandria_categories": alexandria_categories_output, + "alexandria_category": alexandria_category_output, + "alexandria_category_created_at": alexandria_category_created_at_output, + "alexandria_category_description": alexandria_category_description_output, + "alexandria_category_id": alexandria_category_id_output, + "alexandria_category_name": alexandria_category_name_output, + "alexandria_messages": alexandria_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/categories`, query: [ diff --git a/src/generated/forge-mcp/accounts/logs/audit/outputs.ts b/src/generated/forge-mcp/accounts/logs/audit/outputs.ts new file mode 100644 index 00000000..54fd18e8 --- /dev/null +++ b/src/generated/forge-mcp/accounts/logs/audit/outputs.ts @@ -0,0 +1,146 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `aaa_audit-logs-v2` in responses. + */ +export const aaa_audit_logs_v2_output: JsonSchema = { + "properties": { + "account": { + "$ref": "#/$defs/aaa_audit-logs-v2_account" + }, + "action": { + "$ref": "#/$defs/aaa_audit-log-action" + }, + "actor": { + "allOf": [ + { + "$ref": "#/$defs/aaa_audit-log-actor-base" + }, + { + "properties": { + "type": { + "enum": [ + "account", + "cloudflare_admin", + "delegated_service", + "system", + "user" + ], + "type": "string" + } + }, + "type": "object" + } + ] + }, + "id": { + "$ref": "#/$defs/aaa_identifier-2" + }, + "raw": { + "$ref": "#/$defs/aaa_audit-log-raw" + }, + "resource": { + "$ref": "#/$defs/aaa_audit-logs-v2_resource" + }, + "zone": { + "$ref": "#/$defs/aaa_audit-logs-v2_zone" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs-v2-product-category` in responses. + */ +export const aaa_audit_logs_v2_product_category_output: JsonSchema = { + "properties": { + "label": { + "type": "string" + }, + "products": { + "items": { + "$ref": "#/$defs/aaa_audit-logs-v2-product-category-item" + }, + "type": "array" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs-v2-product-category-item` in responses. + */ +export const aaa_audit_logs_v2_product_category_item_output: JsonSchema = { + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs-v2_account` in responses. + */ +export const aaa_audit_logs_v2_account_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs-v2_resource` in responses. + */ +export const aaa_audit_logs_v2_resource_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "product": { + "type": "string" + }, + "request": { + "type": "object" + }, + "response": { + "type": "object" + }, + "scope": { + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs-v2_zone` in responses. + */ +export const aaa_audit_logs_v2_zone_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/accounts/logs/audit/tools.ts b/src/generated/forge-mcp/accounts/logs/audit/tools.ts index e7cdbf77..22db0a36 100644 --- a/src/generated/forge-mcp/accounts/logs/audit/tools.ts +++ b/src/generated/forge-mcp/accounts/logs/audit/tools.ts @@ -2,6 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + aaa_api_response_common_failure_2_errorsItem_output, + aaa_api_response_common_failure_2_messagesItem_output, + aaa_api_response_common_failure_2_output, + aaa_audit_log_action_output, + aaa_audit_log_actor_base_output, + aaa_audit_log_raw_output, + aaa_audit_logs_v2_history_not_found_output, + aaa_audit_logs_v2_history_result_info_output, + aaa_history_status_output, + aaa_identifier_2_output, + aaa_messages_2_output, + aaa_result_info_output, +} from "../../../outputs.js"; +import { + aaa_audit_logs_v2_account_output, + aaa_audit_logs_v2_output, + aaa_audit_logs_v2_product_category_item_output, + aaa_audit_logs_v2_product_category_output, + aaa_audit_logs_v2_resource_output, + aaa_audit_logs_v2_zone_output, +} from "./outputs.js"; /** * The tools of `accounts.logs.audit`. @@ -86,6 +108,50 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_audit-logs-v2" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/aaa_audit-logs-v2-history-result-info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "404": { + "$ref": "#/$defs/aaa_audit-logs-v2-history-not-found" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-2" + } + }, + $defs: { + "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, + "aaa_api-response-common-failure-2_errorsItem": aaa_api_response_common_failure_2_errorsItem_output, + "aaa_api-response-common-failure-2_messagesItem": aaa_api_response_common_failure_2_messagesItem_output, + "aaa_audit-log-action": aaa_audit_log_action_output, + "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, + "aaa_audit-log-raw": aaa_audit_log_raw_output, + "aaa_audit-logs-v2": aaa_audit_logs_v2_output, + "aaa_audit-logs-v2-history-not-found": aaa_audit_logs_v2_history_not_found_output, + "aaa_audit-logs-v2-history-result-info": aaa_audit_logs_v2_history_result_info_output, + "aaa_audit-logs-v2_account": aaa_audit_logs_v2_account_output, + "aaa_audit-logs-v2_resource": aaa_audit_logs_v2_resource_output, + "aaa_audit-logs-v2_zone": aaa_audit_logs_v2_zone_output, + "aaa_history-status": aaa_history_status_output, + "aaa_identifier-2": aaa_identifier_2_output, + "aaa_messages-2": aaa_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/audit/${pathParam(args, "id")}/history`, query: [ @@ -542,6 +608,44 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_audit-logs-v2" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/aaa_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-2" + } + }, + $defs: { + "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, + "aaa_api-response-common-failure-2_errorsItem": aaa_api_response_common_failure_2_errorsItem_output, + "aaa_api-response-common-failure-2_messagesItem": aaa_api_response_common_failure_2_messagesItem_output, + "aaa_audit-log-action": aaa_audit_log_action_output, + "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, + "aaa_audit-log-raw": aaa_audit_log_raw_output, + "aaa_audit-logs-v2": aaa_audit_logs_v2_output, + "aaa_audit-logs-v2_account": aaa_audit_logs_v2_account_output, + "aaa_audit-logs-v2_resource": aaa_audit_logs_v2_resource_output, + "aaa_audit-logs-v2_zone": aaa_audit_logs_v2_zone_output, + "aaa_identifier-2": aaa_identifier_2_output, + "aaa_result_info": aaa_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/audit`, query: [ @@ -635,6 +739,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_audit-logs-v2-product-category" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-2" + } + }, + $defs: { + "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, + "aaa_api-response-common-failure-2_errorsItem": aaa_api_response_common_failure_2_errorsItem_output, + "aaa_api-response-common-failure-2_messagesItem": aaa_api_response_common_failure_2_messagesItem_output, + "aaa_audit-logs-v2-product-category": aaa_audit_logs_v2_product_category_output, + "aaa_audit-logs-v2-product-category-item": aaa_audit_logs_v2_product_category_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/audit/product_categories`, }), diff --git a/src/generated/forge-mcp/accounts/members/outputs.ts b/src/generated/forge-mcp/accounts/members/outputs.ts new file mode 100644 index 00000000..31dbabf8 --- /dev/null +++ b/src/generated/forge-mcp/accounts/members/outputs.ts @@ -0,0 +1,68 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_member_with_policies` in responses. + */ +export const iam_member_with_policies_output: JsonSchema = { + "properties": { + "email": { + "$ref": "#/$defs/iam_email" + }, + "id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier" + }, + "policies": { + "items": { + "$ref": "#/$defs/iam_list_member_policy" + }, + "type": "array" + }, + "roles": { + "items": { + "$ref": "#/$defs/iam_role" + }, + "type": "array" + }, + "status": { + "enum": [ + "accepted", + "pending" + ], + "type": "string" + }, + "user": { + "$ref": "#/$defs/iam_member_with_policies_user" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_member_with_policies_user` in responses. + */ +export const iam_member_with_policies_user_output: JsonSchema = { + "properties": { + "email": { + "$ref": "#/$defs/iam_email" + }, + "first_name": { + "$ref": "#/$defs/iam_first_name" + }, + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + }, + "last_name": { + "$ref": "#/$defs/iam_last_name" + }, + "two_factor_authentication_enabled": { + "$ref": "#/$defs/iam_two_factor_authentication_enabled" + } + }, + "required": [ + "email" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/accounts/members/tools.ts b/src/generated/forge-mcp/accounts/members/tools.ts index 55be25e5..66b5e633 100644 --- a/src/generated/forge-mcp/accounts/members/tools.ts +++ b/src/generated/forge-mcp/accounts/members/tools.ts @@ -2,16 +2,50 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + iam_access_output, + iam_api_response_common_failure_output, + iam_common_components_schemas_identifier_output, + iam_email_output, + iam_first_name_output, + iam_grants_output, + iam_last_name_output, + iam_list_member_policy_output, + iam_membership_components_schemas_identifier_output, + iam_messages_2_output, + iam_permission_group_meta_output, + iam_permission_group_output, + iam_permission_groups_output, + iam_permissions_output, + iam_policy_identifier_output, + iam_resource_group_meta_output, + iam_resource_group_output, + iam_resource_groups_output, + iam_result_info_output, + iam_scope_key_output, + iam_scope_object_key_output, + iam_scope_object_output, + iam_scope_output, + iam_two_factor_authentication_enabled_output, +} from "../../outputs.js"; import { iam_access, iam_email, iam_grants, iam_permissions, } from "../../schemas.js"; +import { + iam_role_components_schemas_identifier_output, + iam_role_output, +} from "../outputs.js"; import { iam_role, iam_role_components_schemas_identifier, } from "../schemas.js"; +import { + iam_member_with_policies_output, + iam_member_with_policies_user_output, +} from "./outputs.js"; import { iam_create_member_policy, iam_create_member_with_policies, @@ -100,6 +134,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_member_with_policies" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_email": iam_email_output, + "iam_first_name": iam_first_name_output, + "iam_grants": iam_grants_output, + "iam_last_name": iam_last_name_output, + "iam_list_member_policy": iam_list_member_policy_output, + "iam_member_with_policies": iam_member_with_policies_output, + "iam_member_with_policies_user": iam_member_with_policies_user_output, + "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_permissions": iam_permissions_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_role": iam_role_output, + "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/members`, body: { value: args["body"], mediaType: "application/json" }, @@ -157,6 +230,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/members/${pathParam(args, "member_id")}`, }), @@ -214,6 +317,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_member_with_policies" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_email": iam_email_output, + "iam_first_name": iam_first_name_output, + "iam_grants": iam_grants_output, + "iam_last_name": iam_last_name_output, + "iam_list_member_policy": iam_list_member_policy_output, + "iam_member_with_policies": iam_member_with_policies_output, + "iam_member_with_policies_user": iam_member_with_policies_user_output, + "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_permissions": iam_permissions_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_role": iam_role_output, + "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/members/${pathParam(args, "member_id")}`, }), @@ -303,6 +445,60 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_member_with_policies" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_email": iam_email_output, + "iam_first_name": iam_first_name_output, + "iam_grants": iam_grants_output, + "iam_last_name": iam_last_name_output, + "iam_list_member_policy": iam_list_member_policy_output, + "iam_member_with_policies": iam_member_with_policies_output, + "iam_member_with_policies_user": iam_member_with_policies_user_output, + "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_permissions": iam_permissions_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_result_info": iam_result_info_output, + "iam_role": iam_role_output, + "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/members`, query: [ @@ -391,6 +587,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_member_with_policies" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_email": iam_email_output, + "iam_first_name": iam_first_name_output, + "iam_grants": iam_grants_output, + "iam_last_name": iam_last_name_output, + "iam_list_member_policy": iam_list_member_policy_output, + "iam_member_with_policies": iam_member_with_policies_output, + "iam_member_with_policies_user": iam_member_with_policies_user_output, + "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_permissions": iam_permissions_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_role": iam_role_output, + "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/members/${pathParam(args, "member_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/accounts/organization/tools.ts b/src/generated/forge-mcp/accounts/organization/tools.ts index 5d751bde..308dc06e 100644 --- a/src/generated/forge-mcp/accounts/organization/tools.ts +++ b/src/generated/forge-mcp/accounts/organization/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + organizations_api_OrganizationFlags_output, + organizations_api_OrganizationID_output, + organizations_api_Organization_meta_output, + organizations_api_Organization_output, + organizations_api_Organization_parent_output, + organizations_api_Profile_output, + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; /** * The tools of `accounts.organization`. @@ -36,6 +46,40 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/organizations-api_Organization" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Organization": organizations_api_Organization_output, + "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, + "organizations-api_OrganizationID": organizations_api_OrganizationID_output, + "organizations-api_Organization_meta": organizations_api_Organization_meta_output, + "organizations-api_Organization_parent": organizations_api_Organization_parent_output, + "organizations-api_Profile": organizations_api_Profile_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/organizations`, }), diff --git a/src/generated/forge-mcp/accounts/outputs.ts b/src/generated/forge-mcp/accounts/outputs.ts new file mode 100644 index 00000000..1781e29a --- /dev/null +++ b/src/generated/forge-mcp/accounts/outputs.ts @@ -0,0 +1,164 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `alexandria_api_response_common_failure` in responses. + */ +export const alexandria_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/alexandria_messages" + }, + "messages": { + "$ref": "#/$defs/alexandria_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `alexandria_category_id` in responses. + */ +export const alexandria_category_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `alexandria_messages` in responses. + */ +export const alexandria_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `iam_account` in responses. + */ +export const iam_account_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + }, + "managed_by": { + "$ref": "#/$defs/iam_account_managed_by" + }, + "name": { + "type": "string" + }, + "settings": { + "$ref": "#/$defs/iam_account_settings" + }, + "type": { + "$ref": "#/$defs/iam_account-type" + } + }, + "required": [ + "id", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `iam_role` in responses. + */ +export const iam_role_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/iam_role_components-schemas-identifier" + }, + "name": { + "type": "string" + }, + "permissions": { + "$ref": "#/$defs/iam_permissions" + } + }, + "required": [ + "description", + "id", + "name", + "permissions" + ], + "type": "object" +}; + +/** + * The schema of `iam_role_components-schemas-identifier` in responses. + */ +export const iam_role_components_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `organizations-api_MoveAccountResult` in responses. + */ +export const organizations_api_MoveAccountResult_output: JsonSchema = { + "properties": { + "account_id": { + "type": "string" + }, + "destination_organization_id": { + "type": "string" + }, + "source_organization_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "destination_organization_id", + "source_organization_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/accounts/profile/tools.ts b/src/generated/forge-mcp/accounts/profile/tools.ts index 2b1c21c4..28361a0e 100644 --- a/src/generated/forge-mcp/accounts/profile/tools.ts +++ b/src/generated/forge-mcp/accounts/profile/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + organizations_api_Profile_output, + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; import { organizations_api_Profile } from "../../schemas.js"; /** @@ -38,6 +43,21 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_Profile" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Profile": organizations_api_Profile_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/profile`, }), @@ -79,6 +99,18 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/profile`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/accounts/subscriptions/outputs.ts b/src/generated/forge-mcp/accounts/subscriptions/outputs.ts new file mode 100644 index 00000000..9af5771b --- /dev/null +++ b/src/generated/forge-mcp/accounts/subscriptions/outputs.ts @@ -0,0 +1,32 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `bill-subs-api_cancel_reason` in responses. + */ +export const bill_subs_api_cancel_reason_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "other": { + "type": "string" + }, + "reason_code": { + "items": { + "type": "string" + }, + "type": "array" + }, + "submitted": { + "format": "date-time", + "type": "string" + }, + "subscription_id": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/accounts/subscriptions/tools.ts b/src/generated/forge-mcp/accounts/subscriptions/tools.ts index a64745c7..f5b169cd 100644 --- a/src/generated/forge-mcp/accounts/subscriptions/tools.ts +++ b/src/generated/forge-mcp/accounts/subscriptions/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_component_value_output, + bill_subs_api_component_values_output, + bill_subs_api_currency_output, + bill_subs_api_current_period_end_output, + bill_subs_api_current_period_start_output, + bill_subs_api_frequency_output, + bill_subs_api_identifier_output, + bill_subs_api_install_id_output, + bill_subs_api_messages_output, + bill_subs_api_name_output, + bill_subs_api_price_output, + bill_subs_api_rate_plan_output, + bill_subs_api_result_info_output, + bill_subs_api_schemas_identifier_output, + bill_subs_api_state_output, + bill_subs_api_subscription_v2_app_output, + bill_subs_api_subscription_v2_output, + bill_subs_api_zone_output, +} from "../../outputs.js"; import { bill_subs_api_component_value, bill_subs_api_component_values, @@ -12,6 +33,7 @@ import { bill_subs_api_subscription_v2_app, bill_subs_api_zone, } from "../../schemas.js"; +import { bill_subs_api_cancel_reason_output } from "./outputs.js"; import { bill_subs_api_cancel_reason_request } from "./schemas.js"; /** @@ -77,6 +99,31 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "204": null, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/subscriptions/cancel-downgrade`, body: { value: args["body"], mediaType: "application/json" }, @@ -155,6 +202,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_subscription-v2" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_component_value": bill_subs_api_component_value_output, + "bill-subs-api_component_values": bill_subs_api_component_values_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, + "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, + "bill-subs-api_frequency": bill_subs_api_frequency_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_install_id": bill_subs_api_install_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_name": bill_subs_api_name_output, + "bill-subs-api_price": bill_subs_api_price_output, + "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_state": bill_subs_api_state_output, + "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, + "bill-subs-api_subscription-v2_app": bill_subs_api_subscription_v2_app_output, + "bill-subs-api_zone": bill_subs_api_zone_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/subscriptions`, body: { value: args["body"], mediaType: "application/json" }, @@ -218,6 +295,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_cancel_reason" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_cancel_reason": bill_subs_api_cancel_reason_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/subscriptions/${pathParam(args, "subscription_identifier")}/cancel-reason`, body: { value: args["body"], mediaType: "application/json" }, @@ -268,6 +360,26 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "subscription_id": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/subscriptions/${pathParam(args, "subscription_identifier")}`, }), @@ -328,6 +440,51 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/bill-subs-api_subscription-v2" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/bill-subs-api_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_component_value": bill_subs_api_component_value_output, + "bill-subs-api_component_values": bill_subs_api_component_values_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, + "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, + "bill-subs-api_frequency": bill_subs_api_frequency_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_install_id": bill_subs_api_install_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_name": bill_subs_api_name_output, + "bill-subs-api_price": bill_subs_api_price_output, + "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, + "bill-subs-api_result_info": bill_subs_api_result_info_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_state": bill_subs_api_state_output, + "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, + "bill-subs-api_subscription-v2_app": bill_subs_api_subscription_v2_app_output, + "bill-subs-api_zone": bill_subs_api_zone_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/subscriptions`, }), @@ -384,6 +541,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_subscription-v2" + }, + "404": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_component_value": bill_subs_api_component_value_output, + "bill-subs-api_component_values": bill_subs_api_component_values_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, + "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, + "bill-subs-api_frequency": bill_subs_api_frequency_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_install_id": bill_subs_api_install_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_name": bill_subs_api_name_output, + "bill-subs-api_price": bill_subs_api_price_output, + "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_state": bill_subs_api_state_output, + "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, + "bill-subs-api_subscription-v2_app": bill_subs_api_subscription_v2_app_output, + "bill-subs-api_zone": bill_subs_api_zone_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/subscriptions/${pathParam(args, "subscription_identifier")}`, }), @@ -426,6 +616,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_cancel_reason" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_cancel_reason": bill_subs_api_cancel_reason_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/subscriptions/${pathParam(args, "subscription_identifier")}/cancel-reason`, }), @@ -499,6 +704,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_subscription-v2" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_component_value": bill_subs_api_component_value_output, + "bill-subs-api_component_values": bill_subs_api_component_values_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, + "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, + "bill-subs-api_frequency": bill_subs_api_frequency_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_install_id": bill_subs_api_install_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_name": bill_subs_api_name_output, + "bill-subs-api_price": bill_subs_api_price_output, + "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_state": bill_subs_api_state_output, + "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, + "bill-subs-api_subscription-v2_app": bill_subs_api_subscription_v2_app_output, + "bill-subs-api_zone": bill_subs_api_zone_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/subscriptions/${pathParam(args, "subscription_identifier")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts b/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts index 4d0f3e3d..41daed11 100644 --- a/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts +++ b/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_messages_2_output, + iam_result_info_output, +} from "../../../outputs.js"; /** * The tools of `accounts.tokens.permission_groups`. @@ -62,6 +67,76 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "category": { + "enum": [ + "developer_platform", + "ai_and_machine_learning", + "dns_and_zones", + "app_security", + "rules_and_configuration", + "cloudflare_one_and_zero_trust", + "analytics_and_logs", + "network_services", + "media", + "email_and_messaging", + "cache_and_performance", + "account_and_billing", + "other" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "is_selectable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "scopes": { + "items": { + "enum": [ + "com.cloudflare.api.account", + "com.cloudflare.api.account.zone", + "com.cloudflare.api.user", + "com.cloudflare.edge.r2.bucket" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_result_info": iam_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens/permission_groups`, query: [ diff --git a/src/generated/forge-mcp/accounts/tokens/tools.ts b/src/generated/forge-mcp/accounts/tokens/tools.ts index 7c7f00d9..b301ffc2 100644 --- a/src/generated/forge-mcp/accounts/tokens/tools.ts +++ b/src/generated/forge-mcp/accounts/tokens/tools.ts @@ -2,6 +2,39 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_cidr_list_output, + iam_common_components_schemas_identifier_output, + iam_condition_output, + iam_creator_email_at_creation_output, + iam_effect_output, + iam_expires_on_output, + iam_issued_on_output, + iam_last_used_on_output, + iam_messages_2_output, + iam_modified_on_output, + iam_name_output, + iam_not_before_output, + iam_permission_group_meta_output, + iam_permission_group_output, + iam_permission_groups_output, + iam_policy_identifier_output, + iam_policy_with_permission_groups_and_resources_output, + iam_provisioner_id_output, + iam_provisioner_type_output, + iam_request_ip_output, + iam_resources_output, + iam_resources_type_object_nested_output, + iam_resources_type_object_string_output, + iam_result_info_output, + iam_token_base_output, + iam_token_identifier_output, + iam_token_policies_output, + iam_token_status_output, + iam_token_with_value_output, + iam_value_output, +} from "../../outputs.js"; import { iam_cidr_list, iam_condition, @@ -95,6 +128,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_token_with_value" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_cidr_list": iam_cidr_list_output, + "iam_condition": iam_condition_output, + "iam_creator_email_at_creation": iam_creator_email_at_creation_output, + "iam_effect": iam_effect_output, + "iam_expires_on": iam_expires_on_output, + "iam_issued_on": iam_issued_on_output, + "iam_last_used_on": iam_last_used_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_modified_on": iam_modified_on_output, + "iam_name": iam_name_output, + "iam_not_before": iam_not_before_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, + "iam_provisioner_id": iam_provisioner_id_output, + "iam_provisioner_type": iam_provisioner_type_output, + "iam_request_ip": iam_request_ip_output, + "iam_resources": iam_resources_output, + "iam_resources_type_object_nested": iam_resources_type_object_nested_output, + "iam_resources_type_object_string": iam_resources_type_object_string_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_policies": iam_token_policies_output, + "iam_token_status": iam_token_status_output, + "iam_token_with_value": iam_token_with_value_output, + "iam_value": iam_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens`, body: { value: args["body"], mediaType: "application/json" }, @@ -151,6 +224,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens/${pathParam(args, "token_id")}`, }), @@ -207,6 +310,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_token_base" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_cidr_list": iam_cidr_list_output, + "iam_condition": iam_condition_output, + "iam_creator_email_at_creation": iam_creator_email_at_creation_output, + "iam_effect": iam_effect_output, + "iam_expires_on": iam_expires_on_output, + "iam_issued_on": iam_issued_on_output, + "iam_last_used_on": iam_last_used_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_modified_on": iam_modified_on_output, + "iam_name": iam_name_output, + "iam_not_before": iam_not_before_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, + "iam_provisioner_id": iam_provisioner_id_output, + "iam_provisioner_type": iam_provisioner_type_output, + "iam_request_ip": iam_request_ip_output, + "iam_resources": iam_resources_output, + "iam_resources_type_object_nested": iam_resources_type_object_nested_output, + "iam_resources_type_object_string": iam_resources_type_object_string_output, + "iam_token_base": iam_token_base_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_policies": iam_token_policies_output, + "iam_token_status": iam_token_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens/${pathParam(args, "token_id")}`, }), @@ -285,6 +427,60 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_token_base" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_cidr_list": iam_cidr_list_output, + "iam_condition": iam_condition_output, + "iam_creator_email_at_creation": iam_creator_email_at_creation_output, + "iam_effect": iam_effect_output, + "iam_expires_on": iam_expires_on_output, + "iam_issued_on": iam_issued_on_output, + "iam_last_used_on": iam_last_used_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_modified_on": iam_modified_on_output, + "iam_name": iam_name_output, + "iam_not_before": iam_not_before_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, + "iam_provisioner_id": iam_provisioner_id_output, + "iam_provisioner_type": iam_provisioner_type_output, + "iam_request_ip": iam_request_ip_output, + "iam_resources": iam_resources_output, + "iam_resources_type_object_nested": iam_resources_type_object_nested_output, + "iam_resources_type_object_string": iam_resources_type_object_string_output, + "iam_result_info": iam_result_info_output, + "iam_token_base": iam_token_base_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_policies": iam_token_policies_output, + "iam_token_status": iam_token_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens`, query: [ @@ -346,6 +542,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_value" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_value": iam_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens/${pathParam(args, "token_id")}/value`, }), @@ -424,6 +635,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_token_base" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_cidr_list": iam_cidr_list_output, + "iam_condition": iam_condition_output, + "iam_creator_email_at_creation": iam_creator_email_at_creation_output, + "iam_effect": iam_effect_output, + "iam_expires_on": iam_expires_on_output, + "iam_issued_on": iam_issued_on_output, + "iam_last_used_on": iam_last_used_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_modified_on": iam_modified_on_output, + "iam_name": iam_name_output, + "iam_not_before": iam_not_before_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, + "iam_provisioner_id": iam_provisioner_id_output, + "iam_provisioner_type": iam_provisioner_type_output, + "iam_request_ip": iam_request_ip_output, + "iam_resources": iam_resources_output, + "iam_resources_type_object_nested": iam_resources_type_object_nested_output, + "iam_resources_type_object_string": iam_resources_type_object_string_output, + "iam_token_base": iam_token_base_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_policies": iam_token_policies_output, + "iam_token_status": iam_token_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens/${pathParam(args, "token_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -462,6 +712,42 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "expires_on": { + "$ref": "#/$defs/iam_expires_on" + }, + "id": { + "$ref": "#/$defs/iam_token_identifier" + }, + "not_before": { + "$ref": "#/$defs/iam_not_before" + }, + "status": { + "$ref": "#/$defs/iam_token_status" + } + }, + "required": [ + "id", + "status" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_expires_on": iam_expires_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_not_before": iam_not_before_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_status": iam_token_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens/verify`, }), diff --git a/src/generated/forge-mcp/accounts/tools.ts b/src/generated/forge-mcp/accounts/tools.ts index 8070ac43..bd80f0a8 100644 --- a/src/generated/forge-mcp/accounts/tools.ts +++ b/src/generated/forge-mcp/accounts/tools.ts @@ -2,12 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + iam_account_managed_by_output, + iam_account_settings_output, + iam_account_type_output, + iam_api_response_common_failure_output, + iam_common_components_schemas_identifier_output, + iam_messages_2_output, + iam_result_info_output, + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../outputs.js"; import { iam_account_managed_by, iam_account_settings, iam_account_type, iam_common_components_schemas_identifier, } from "../schemas.js"; +import { + iam_account_output, + organizations_api_MoveAccountResult_output, +} from "./outputs.js"; import { iam_account, iam_create_account, @@ -60,6 +75,25 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_account" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_account": iam_account_output, + "iam_account-type": iam_account_type_output, + "iam_account_managed_by": iam_account_managed_by_output, + "iam_account_settings": iam_account_settings_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts`, headers: [ @@ -114,6 +148,36 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}`, }), @@ -192,6 +256,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_account" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_account": iam_account_output, + "iam_account-type": iam_account_type_output, + "iam_account_managed_by": iam_account_managed_by_output, + "iam_account_settings": iam_account_settings_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}`, }), @@ -244,6 +327,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_account" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_account": iam_account_output, + "iam_account-type": iam_account_type_output, + "iam_account_managed_by": iam_account_managed_by_output, + "iam_account_settings": iam_account_settings_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_result_info": iam_result_info_output, + }, + }, request: (args) => ({ path: `/accounts`, query: [ @@ -296,6 +413,21 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": null }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_MoveAccountResult" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_MoveAccountResult": organizations_api_MoveAccountResult_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/move`, body: { value: args["body"], mediaType: "application/json" }, @@ -358,6 +490,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_account" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_account": iam_account_output, + "iam_account-type": iam_account_type_output, + "iam_account_managed_by": iam_account_managed_by_output, + "iam_account_settings": iam_account_settings_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/accounts/transformations/outputs.ts b/src/generated/forge-mcp/accounts/transformations/outputs.ts new file mode 100644 index 00000000..f3c447aa --- /dev/null +++ b/src/generated/forge-mcp/accounts/transformations/outputs.ts @@ -0,0 +1,36 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_zone_config_item` in responses. + */ +export const speed_zone_config_item_output: JsonSchema = { + "properties": { + "cf_zone_tag": { + "type": "string" + }, + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/accounts/transformations/tools.ts b/src/generated/forge-mcp/accounts/transformations/tools.ts index 691acfbe..11897efb 100644 --- a/src/generated/forge-mcp/accounts/transformations/tools.ts +++ b/src/generated/forge-mcp/accounts/transformations/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { speed_zone_config_item_output } from "./outputs.js"; /** * The tools of `accounts.transformations`. @@ -48,6 +53,35 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/speed_zone_config_item" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_messages": speed_messages_output, + "speed_zone_config_item": speed_zone_config_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/settings/transformations`, }), diff --git a/src/generated/forge-mcp/accounts/utBilling/outputs.ts b/src/generated/forge-mcp/accounts/utBilling/outputs.ts new file mode 100644 index 00000000..1df84684 --- /dev/null +++ b/src/generated/forge-mcp/accounts/utBilling/outputs.ts @@ -0,0 +1,50 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_ut_billing_response` in responses. + */ +export const speed_ut_billing_response_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "ut_billing" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/speed_ut_billing_value" + } + }, + "type": "object" +}; + +/** + * The schema of `speed_ut_billing_value` in responses. + */ +export const speed_ut_billing_value_output: JsonSchema = { + "enum": [ + "on" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/accounts/utBilling/tools.ts b/src/generated/forge-mcp/accounts/utBilling/tools.ts index f89e39b4..42a2686e 100644 --- a/src/generated/forge-mcp/accounts/utBilling/tools.ts +++ b/src/generated/forge-mcp/accounts/utBilling/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { + speed_ut_billing_response_output, + speed_ut_billing_value_output, +} from "./outputs.js"; import { speed_ut_billing_value } from "./schemas.js"; /** @@ -64,6 +72,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_ut_billing_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_messages": speed_messages_output, + "speed_ut_billing_response": speed_ut_billing_response_output, + "speed_ut_billing_value": speed_ut_billing_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/settings/ut-billing`, body: { value: args["body"], mediaType: "application/json" }, @@ -110,6 +134,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_ut_billing_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_messages": speed_messages_output, + "speed_ut_billing_response": speed_ut_billing_response_output, + "speed_ut_billing_value": speed_ut_billing_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/settings/ut-billing`, }), diff --git a/src/generated/forge-mcp/acm/customTrustStore/outputs.ts b/src/generated/forge-mcp/acm/customTrustStore/outputs.ts new file mode 100644 index 00000000..9a033185 --- /dev/null +++ b/src/generated/forge-mcp/acm/customTrustStore/outputs.ts @@ -0,0 +1,180 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_certificate-3` in responses. + */ +export const tls_certificates_and_hostnames_certificate_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom-trust-store` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_trust_store_output: JsonSchema = { + "properties": { + "certificate": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-3" + }, + "expires_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-2" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier" + }, + "issuer": { + "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + }, + "signature": { + "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-7" + }, + "updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-2" + }, + "uploaded_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on" + } + }, + "required": [ + "certificate", + "expires_on", + "id", + "issuer", + "signature", + "status", + "updated_at", + "uploaded_on" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_trust_store_identifier` + * in responses. + */ +export const tls_certificates_and_hostnames_custom_trust_store_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_trust_store_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_trust_store_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-trust-store" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_trust_store_response_collection_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_custom_trust_store_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_trust_store_response_single` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_trust_store_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-trust-store" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-7` in responses. + */ +export const tls_certificates_and_hostnames_status_7_output: JsonSchema = { + "enum": [ + "initializing", + "pending_deployment", + "active", + "pending_deletion", + "deleted", + "expired" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_updated_at-2` in responses. + */ +export const tls_certificates_and_hostnames_updated_at_2_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/acm/customTrustStore/tools.ts b/src/generated/forge-mcp/acm/customTrustStore/tools.ts index f3b09945..549e6d45 100644 --- a/src/generated/forge-mcp/acm/customTrustStore/tools.ts +++ b/src/generated/forge-mcp/acm/customTrustStore/tools.ts @@ -2,6 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_expires_on_2_output, + tls_certificates_and_hostnames_issuer_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_signature_output, + tls_certificates_and_hostnames_uploaded_on_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_certificate_3_output, + tls_certificates_and_hostnames_custom_trust_store_identifier_output, + tls_certificates_and_hostnames_custom_trust_store_output, + tls_certificates_and_hostnames_custom_trust_store_response_collection_output, + tls_certificates_and_hostnames_custom_trust_store_response_collection_result_info_output, + tls_certificates_and_hostnames_custom_trust_store_response_single_output, + tls_certificates_and_hostnames_status_7_output, + tls_certificates_and_hostnames_updated_at_2_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_certificate_3 } from "./schemas.js"; /** @@ -74,6 +92,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-trust-store" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3_output, + "tls-certificates-and-hostnames_custom-trust-store": tls_certificates_and_hostnames_custom_trust_store_output, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, + "tls-certificates-and-hostnames_custom_trust_store_response_single": tls_certificates_and_hostnames_custom_trust_store_response_single_output, + "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-7": tls_certificates_and_hostnames_status_7_output, + "tls-certificates-and-hostnames_updated_at-2": tls_certificates_and_hostnames_updated_at_2_output, + "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/acm/custom_trust_store`, body: { value: args["body"], mediaType: "application/json" }, @@ -134,6 +183,33 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/acm/custom_trust_store/${pathParam(args, "custom_origin_trust_store_id")}`, }), @@ -190,6 +266,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-trust-store" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3_output, + "tls-certificates-and-hostnames_custom-trust-store": tls_certificates_and_hostnames_custom_trust_store_output, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, + "tls-certificates-and-hostnames_custom_trust_store_response_single": tls_certificates_and_hostnames_custom_trust_store_response_single_output, + "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-7": tls_certificates_and_hostnames_status_7_output, + "tls-certificates-and-hostnames_updated_at-2": tls_certificates_and_hostnames_updated_at_2_output, + "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/acm/custom_trust_store/${pathParam(args, "custom_origin_trust_store_id")}`, }), @@ -259,6 +366,69 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-trust-store" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3_output, + "tls-certificates-and-hostnames_custom-trust-store": tls_certificates_and_hostnames_custom_trust_store_output, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, + "tls-certificates-and-hostnames_custom_trust_store_response_collection": tls_certificates_and_hostnames_custom_trust_store_response_collection_output, + "tls-certificates-and-hostnames_custom_trust_store_response_collection_result_info": tls_certificates_and_hostnames_custom_trust_store_response_collection_result_info_output, + "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-7": tls_certificates_and_hostnames_status_7_output, + "tls-certificates-and-hostnames_updated_at-2": tls_certificates_and_hostnames_updated_at_2_output, + "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/acm/custom_trust_store`, query: [ diff --git a/src/generated/forge-mcp/acm/totalTls/outputs.ts b/src/generated/forge-mcp/acm/totalTls/outputs.ts new file mode 100644 index 00000000..d8a01ec7 --- /dev/null +++ b/src/generated/forge-mcp/acm/totalTls/outputs.ts @@ -0,0 +1,84 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_authority-3` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_authority_3_output: JsonSchema = { + "enum": [ + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_enabled-3` in responses. + */ +export const tls_certificates_and_hostnames_enabled_3_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tls-certificates-and-hostnames_total_tls_settings_response` in + * responses. + */ +export const tls_certificates_and_hostnames_total_tls_settings_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_total_tls_settings_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_total_tls_settings_response_result` in + * responses. + */ +export const tls_certificates_and_hostnames_total_tls_settings_response_result_output: JsonSchema = { + "properties": { + "certificate_authority": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-3" + }, + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-3" + }, + "validity_period": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validity_period" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_validity_period` in responses. + */ +export const tls_certificates_and_hostnames_validity_period_output: JsonSchema = { + "enum": [ + 90 + ], + "type": "integer" +}; diff --git a/src/generated/forge-mcp/acm/totalTls/tools.ts b/src/generated/forge-mcp/acm/totalTls/tools.ts index 8d560a13..573d8f7f 100644 --- a/src/generated/forge-mcp/acm/totalTls/tools.ts +++ b/src/generated/forge-mcp/acm/totalTls/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_certificate_authority_3_output, + tls_certificates_and_hostnames_enabled_3_output, + tls_certificates_and_hostnames_total_tls_settings_response_output, + tls_certificates_and_hostnames_total_tls_settings_response_result_output, + tls_certificates_and_hostnames_validity_period_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_certificate_authority_3, tls_certificates_and_hostnames_enabled_3, @@ -82,6 +93,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "certificate_authority": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-3" + }, + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-3" + }, + "validity_period": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validity_period" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_total_tls_settings_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority-3": tls_certificates_and_hostnames_certificate_authority_3_output, + "tls-certificates-and-hostnames_enabled-3": tls_certificates_and_hostnames_enabled_3_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_total_tls_settings_response": tls_certificates_and_hostnames_total_tls_settings_response_output, + "tls-certificates-and-hostnames_total_tls_settings_response_result": tls_certificates_and_hostnames_total_tls_settings_response_result_output, + "tls-certificates-and-hostnames_validity_period": tls_certificates_and_hostnames_validity_period_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/acm/total_tls`, body: { value: args["body"], mediaType: "application/json" }, @@ -134,6 +182,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "certificate_authority": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-3" + }, + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-3" + }, + "validity_period": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validity_period" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_total_tls_settings_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority-3": tls_certificates_and_hostnames_certificate_authority_3_output, + "tls-certificates-and-hostnames_enabled-3": tls_certificates_and_hostnames_enabled_3_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_total_tls_settings_response": tls_certificates_and_hostnames_total_tls_settings_response_output, + "tls-certificates-and-hostnames_total_tls_settings_response_result": tls_certificates_and_hostnames_total_tls_settings_response_result_output, + "tls-certificates-and-hostnames_validity_period": tls_certificates_and_hostnames_validity_period_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/acm/total_tls`, }), diff --git a/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts index 2dbe4db7..b4d10877 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + addressing_api_response_collection_output, + addressing_api_response_collection_result_info_output, + addressing_api_response_common_failure_output, + addressing_messages_output, +} from "../../outputs.js"; /** * The tools of `addressing.address_maps.accounts`. @@ -47,6 +53,29 @@ export const tools: readonly Tool[] = [ "Address Maps Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/accounts/${pathParam(args, "member_account_id")}`, }), @@ -86,6 +115,29 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{member_account_id}", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/accounts/${pathParam(args, "member_account_id")}`, }), diff --git a/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts index 0d38fb09..7b12374c 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + addressing_api_response_collection_output, + addressing_api_response_collection_result_info_output, + addressing_api_response_common_failure_output, + addressing_messages_output, +} from "../../outputs.js"; import { addressing_ip_address } from "../schemas.js"; /** @@ -48,6 +54,29 @@ export const tools: readonly Tool[] = [ "Address Maps Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/ips/${pathParam(args, "ip_address")}`, }), @@ -105,6 +134,29 @@ export const tools: readonly Tool[] = [ "Address Maps Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/ips`, body: { value: args["body"], mediaType: "application/json" }, @@ -150,6 +202,29 @@ export const tools: readonly Tool[] = [ "Address Maps Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/ips/${pathParam(args, "ip_address")}`, }), @@ -202,6 +277,29 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/addressing/address_maps/{address_map_id}/ips", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/ips`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/addressing/addressMaps/outputs.ts b/src/generated/forge-mcp/addressing/addressMaps/outputs.ts new file mode 100644 index 00000000..a9ad4d0a --- /dev/null +++ b/src/generated/forge-mcp/addressing/addressMaps/outputs.ts @@ -0,0 +1,320 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `addressing_address-maps` in responses. + */ +export const addressing_address_maps_output: JsonSchema = { + "properties": { + "can_delete": { + "$ref": "#/$defs/addressing_can_delete" + }, + "can_modify_ips": { + "$ref": "#/$defs/addressing_can_modify_ips" + }, + "created_at": { + "$ref": "#/$defs/addressing_timestamp" + }, + "default_sni": { + "$ref": "#/$defs/addressing_default_sni" + }, + "description": { + "$ref": "#/$defs/addressing_description-2" + }, + "enabled": { + "$ref": "#/$defs/addressing_enabled" + }, + "id": { + "$ref": "#/$defs/addressing_address_map_identifier" + }, + "modified_at": { + "$ref": "#/$defs/addressing_timestamp" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_address-maps-ip` in responses. + */ +export const addressing_address_maps_ip_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/addressing_timestamp" + }, + "ip": { + "$ref": "#/$defs/addressing_ip" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_address-maps-membership` in responses. + */ +export const addressing_address_maps_membership_output: JsonSchema = { + "properties": { + "can_delete": { + "$ref": "#/$defs/addressing_can_delete-2" + }, + "created_at": { + "$ref": "#/$defs/addressing_timestamp" + }, + "identifier": { + "$ref": "#/$defs/addressing_identifier" + }, + "kind": { + "$ref": "#/$defs/addressing_kind" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_address_map_identifier` in responses. + */ +export const addressing_address_map_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_can_delete` in responses. + */ +export const addressing_can_delete_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_can_delete-2` in responses. + */ +export const addressing_can_delete_2_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_can_modify_ips` in responses. + */ +export const addressing_can_modify_ips_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_default_sni` in responses. + */ +export const addressing_default_sni_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_description-2` in responses. + */ +export const addressing_description_2_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_enabled` in responses. + */ +export const addressing_enabled_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_full_response` in responses. + */ +export const addressing_full_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "allOf": [ + { + "$ref": "#/$defs/addressing_address-maps" + }, + { + "properties": { + "ips": { + "$ref": "#/$defs/addressing_ips" + }, + "memberships": { + "$ref": "#/$defs/addressing_memberships" + } + }, + "type": "object" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_identifier` in responses. + */ +export const addressing_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_ip` in responses. + */ +export const addressing_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_ips` in responses. + */ +export const addressing_ips_output: JsonSchema = { + "items": { + "$ref": "#/$defs/addressing_address-maps-ip" + }, + "type": "array" +}; + +/** + * The schema of `addressing_kind` in responses. + */ +export const addressing_kind_output: JsonSchema = { + "enum": [ + "zone", + "account" + ], + "type": "string" +}; + +/** + * The schema of `addressing_memberships` in responses. + */ +export const addressing_memberships_output: JsonSchema = { + "items": { + "$ref": "#/$defs/addressing_address-maps-membership" + }, + "type": "array" +}; + +/** + * The schema of `addressing_response_collection-3` in responses. + */ +export const addressing_response_collection_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/addressing_address-maps" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/addressing_response_collection-3_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_response_collection-3_result_info` in responses. + */ +export const addressing_response_collection_3_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_single_response-3` in responses. + */ +export const addressing_single_response_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "$ref": "#/$defs/addressing_address-maps" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/addressing/addressMaps/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/tools.ts index 9b4873cc..bdfac0e7 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/tools.ts @@ -2,6 +2,34 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + addressing_api_response_collection_output, + addressing_api_response_collection_result_info_output, + addressing_api_response_common_failure_output, + addressing_messages_output, + addressing_timestamp_output, +} from "../outputs.js"; +import { + addressing_address_map_identifier_output, + addressing_address_maps_ip_output, + addressing_address_maps_membership_output, + addressing_address_maps_output, + addressing_can_delete_2_output, + addressing_can_delete_output, + addressing_can_modify_ips_output, + addressing_default_sni_output, + addressing_description_2_output, + addressing_enabled_output, + addressing_full_response_output, + addressing_identifier_output, + addressing_ip_output, + addressing_ips_output, + addressing_kind_output, + addressing_memberships_output, + addressing_response_collection_3_output, + addressing_response_collection_3_result_info_output, + addressing_single_response_3_output, +} from "./outputs.js"; import { addressing_address_maps_membership_request, addressing_default_sni, @@ -81,6 +109,59 @@ export const tools: readonly Tool[] = [ "Address Maps Write" ] }, + responses: { + schemas: { + "201": { + "allOf": [ + { + "$ref": "#/$defs/addressing_address-maps" + }, + { + "properties": { + "ips": { + "$ref": "#/$defs/addressing_ips" + }, + "memberships": { + "$ref": "#/$defs/addressing_memberships" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_full_response" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_address-maps": addressing_address_maps_output, + "addressing_address-maps-ip": addressing_address_maps_ip_output, + "addressing_address-maps-membership": addressing_address_maps_membership_output, + "addressing_address_map_identifier": addressing_address_map_identifier_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_can_delete": addressing_can_delete_output, + "addressing_can_delete-2": addressing_can_delete_2_output, + "addressing_can_modify_ips": addressing_can_modify_ips_output, + "addressing_default_sni": addressing_default_sni_output, + "addressing_description-2": addressing_description_2_output, + "addressing_enabled": addressing_enabled_output, + "addressing_full_response": addressing_full_response_output, + "addressing_identifier": addressing_identifier_output, + "addressing_ip": addressing_ip_output, + "addressing_ips": addressing_ips_output, + "addressing_kind": addressing_kind_output, + "addressing_memberships": addressing_memberships_output, + "addressing_messages": addressing_messages_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps`, body: { value: args["body"], mediaType: "application/json" }, @@ -121,6 +202,29 @@ export const tools: readonly Tool[] = [ "Address Maps Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}`, }), @@ -184,6 +288,36 @@ export const tools: readonly Tool[] = [ "Address Maps Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_address-maps" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_single_response-3" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_address-maps": addressing_address_maps_output, + "addressing_address_map_identifier": addressing_address_map_identifier_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_can_delete": addressing_can_delete_output, + "addressing_can_modify_ips": addressing_can_modify_ips_output, + "addressing_default_sni": addressing_default_sni_output, + "addressing_description-2": addressing_description_2_output, + "addressing_enabled": addressing_enabled_output, + "addressing_messages": addressing_messages_output, + "addressing_single_response-3": addressing_single_response_3_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -225,6 +359,59 @@ export const tools: readonly Tool[] = [ "Address Maps Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/addressing_address-maps" + }, + { + "properties": { + "ips": { + "$ref": "#/$defs/addressing_ips" + }, + "memberships": { + "$ref": "#/$defs/addressing_memberships" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_full_response" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_address-maps": addressing_address_maps_output, + "addressing_address-maps-ip": addressing_address_maps_ip_output, + "addressing_address-maps-membership": addressing_address_maps_membership_output, + "addressing_address_map_identifier": addressing_address_map_identifier_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_can_delete": addressing_can_delete_output, + "addressing_can_delete-2": addressing_can_delete_2_output, + "addressing_can_modify_ips": addressing_can_modify_ips_output, + "addressing_default_sni": addressing_default_sni_output, + "addressing_description-2": addressing_description_2_output, + "addressing_enabled": addressing_enabled_output, + "addressing_full_response": addressing_full_response_output, + "addressing_identifier": addressing_identifier_output, + "addressing_ip": addressing_ip_output, + "addressing_ips": addressing_ips_output, + "addressing_kind": addressing_kind_output, + "addressing_memberships": addressing_memberships_output, + "addressing_messages": addressing_messages_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}`, }), @@ -260,6 +447,68 @@ export const tools: readonly Tool[] = [ "Address Maps Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/addressing_address-maps" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_response_collection-3" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_address-maps": addressing_address_maps_output, + "addressing_address_map_identifier": addressing_address_map_identifier_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_can_delete": addressing_can_delete_output, + "addressing_can_modify_ips": addressing_can_modify_ips_output, + "addressing_default_sni": addressing_default_sni_output, + "addressing_description-2": addressing_description_2_output, + "addressing_enabled": addressing_enabled_output, + "addressing_messages": addressing_messages_output, + "addressing_response_collection-3": addressing_response_collection_3_output, + "addressing_response_collection-3_result_info": addressing_response_collection_3_result_info_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps`, }), diff --git a/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts index 6e99f314..ecb23240 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + addressing_api_response_collection_output, + addressing_api_response_collection_result_info_output, + addressing_api_response_common_failure_output, + addressing_messages_output, +} from "../../outputs.js"; import { addressing_zone_identifier } from "./schemas.js"; /** @@ -48,6 +54,29 @@ export const tools: readonly Tool[] = [ "Address Maps Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/zones/${pathParam(args, "member_zone_id")}`, }), @@ -105,6 +134,29 @@ export const tools: readonly Tool[] = [ "Address Maps Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/zones`, body: { value: args["body"], mediaType: "application/json" }, @@ -145,6 +197,29 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{member_zone_id}", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/zones/${pathParam(args, "member_zone_id")}`, }), @@ -197,6 +272,29 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/addressing_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/address_maps/${pathParam(args, "address_map_id")}/zones`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/addressing/leases/outputs.ts b/src/generated/forge-mcp/addressing/leases/outputs.ts new file mode 100644 index 00000000..508352e7 --- /dev/null +++ b/src/generated/forge-mcp/addressing/leases/outputs.ts @@ -0,0 +1,134 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `addressing_cidr-2` in responses. + */ +export const addressing_cidr_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_created_at` in responses. + */ +export const addressing_created_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `addressing_lease` in responses. + */ +export const addressing_lease_output: JsonSchema = { + "properties": { + "active_from": { + "format": "date-time", + "type": "string" + }, + "cidrs": { + "items": { + "$ref": "#/$defs/addressing_cidr-2" + }, + "type": "array" + }, + "created_at": { + "$ref": "#/$defs/addressing_created_at" + }, + "id": { + "$ref": "#/$defs/addressing_lease_id" + }, + "modified_at": { + "$ref": "#/$defs/addressing_modified_at" + }, + "owner_id": { + "$ref": "#/$defs/addressing_lease_owner_id" + }, + "purpose": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_lease_id` in responses. + */ +export const addressing_lease_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_lease_owner_id` in responses. + */ +export const addressing_lease_owner_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_modified_at` in responses. + */ +export const addressing_modified_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `addressing_response_collection-4` in responses. + */ +export const addressing_response_collection_4_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/addressing_lease" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/addressing_response_collection-4_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_response_collection-4_result_info` in responses. + */ +export const addressing_response_collection_4_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/addressing/leases/tools.ts b/src/generated/forge-mcp/addressing/leases/tools.ts index a432a4e3..393d59c4 100644 --- a/src/generated/forge-mcp/addressing/leases/tools.ts +++ b/src/generated/forge-mcp/addressing/leases/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + addressing_api_response_common_failure_output, + addressing_messages_output, +} from "../outputs.js"; +import { + addressing_cidr_2_output, + addressing_created_at_output, + addressing_lease_id_output, + addressing_lease_output, + addressing_lease_owner_id_output, + addressing_modified_at_output, + addressing_response_collection_4_output, + addressing_response_collection_4_result_info_output, +} from "./outputs.js"; /** * The tools of `addressing.leases`. @@ -35,6 +49,66 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": null }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/addressing_lease" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_response_collection-4" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_cidr-2": addressing_cidr_2_output, + "addressing_created_at": addressing_created_at_output, + "addressing_lease": addressing_lease_output, + "addressing_lease_id": addressing_lease_id_output, + "addressing_lease_owner_id": addressing_lease_owner_id_output, + "addressing_messages": addressing_messages_output, + "addressing_modified_at": addressing_modified_at_output, + "addressing_response_collection-4": addressing_response_collection_4_output, + "addressing_response_collection-4_result_info": addressing_response_collection_4_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/leases`, }), diff --git a/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts b/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts new file mode 100644 index 00000000..53697abd --- /dev/null +++ b/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts @@ -0,0 +1,139 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `addressing_auto_generated` in responses. + */ +export const addressing_auto_generated_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_filename` in responses. + */ +export const addressing_filename_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_loa_document` in responses. + */ +export const addressing_loa_document_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier" + }, + "auto_generated": { + "$ref": "#/$defs/addressing_auto_generated" + }, + "created": { + "$ref": "#/$defs/addressing_timestamp" + }, + "filename": { + "$ref": "#/$defs/addressing_filename" + }, + "id": { + "$ref": "#/$defs/addressing_loa_document_identifier" + }, + "size_bytes": { + "$ref": "#/$defs/addressing_size_bytes" + }, + "verified": { + "$ref": "#/$defs/addressing_verified" + }, + "verified_at": { + "$ref": "#/$defs/addressing_verified_at" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_loa_document_collection` in responses. + */ +export const addressing_loa_document_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/addressing_loa_document" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/addressing_loa_document_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_loa_document_collection_result_info` in responses. + */ +export const addressing_loa_document_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_size_bytes` in responses. + */ +export const addressing_size_bytes_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `addressing_verified` in responses. + */ +export const addressing_verified_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_verified_at` in responses. + */ +export const addressing_verified_at_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/addressing/loaDocuments/tools.ts b/src/generated/forge-mcp/addressing/loaDocuments/tools.ts index c67e5ebf..c64528a8 100644 --- a/src/generated/forge-mcp/addressing/loaDocuments/tools.ts +++ b/src/generated/forge-mcp/addressing/loaDocuments/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + addressing_account_identifier_output, + addressing_api_response_common_failure_output, + addressing_loa_document_identifier_output, + addressing_messages_output, + addressing_timestamp_output, +} from "../outputs.js"; +import { + addressing_auto_generated_output, + addressing_filename_output, + addressing_loa_document_collection_output, + addressing_loa_document_collection_result_info_output, + addressing_loa_document_output, + addressing_size_bytes_output, + addressing_verified_at_output, + addressing_verified_output, +} from "./outputs.js"; /** * The tools of `addressing.loa_documents`. @@ -43,6 +60,18 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + }, + $defs: { + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/loa_documents/${pathParam(args, "loa_document_id")}/download`, }), @@ -78,6 +107,69 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/addressing_loa_document" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_loa_document_collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_account_identifier": addressing_account_identifier_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_auto_generated": addressing_auto_generated_output, + "addressing_filename": addressing_filename_output, + "addressing_loa_document": addressing_loa_document_output, + "addressing_loa_document_collection": addressing_loa_document_collection_output, + "addressing_loa_document_collection_result_info": addressing_loa_document_collection_result_info_output, + "addressing_loa_document_identifier": addressing_loa_document_identifier_output, + "addressing_messages": addressing_messages_output, + "addressing_size_bytes": addressing_size_bytes_output, + "addressing_timestamp": addressing_timestamp_output, + "addressing_verified": addressing_verified_output, + "addressing_verified_at": addressing_verified_at_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/loa_documents`, }), diff --git a/src/generated/forge-mcp/addressing/outputs.ts b/src/generated/forge-mcp/addressing/outputs.ts new file mode 100644 index 00000000..796091a7 --- /dev/null +++ b/src/generated/forge-mcp/addressing/outputs.ts @@ -0,0 +1,163 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `addressing_account_identifier` in responses. + */ +export const addressing_account_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_api-response-collection` in responses. + */ +export const addressing_api_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result_info": { + "$ref": "#/$defs/addressing_api-response-collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_api-response-collection_result_info` in responses. + */ +export const addressing_api_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_api-response-common-failure` in responses. + */ +export const addressing_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_loa_document_identifier` in responses. + */ +export const addressing_loa_document_identifier_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_messages` in responses. + */ +export const addressing_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `addressing_service_identifier` in responses. + */ +export const addressing_service_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_service_name` in responses. + */ +export const addressing_service_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_timestamp` in responses. + */ +export const addressing_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts new file mode 100644 index 00000000..8d8b104f --- /dev/null +++ b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts @@ -0,0 +1,222 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `addressing_advertised-2` in responses. + */ +export const addressing_advertised_2_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_asn-2` in responses. + */ +export const addressing_asn_2_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_asn_prepend_count` in responses. + */ +export const addressing_asn_prepend_count_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `addressing_auto_advertise_withdraw` in responses. + */ +export const addressing_auto_advertise_withdraw_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_bgp_on_demand` in responses. + */ +export const addressing_bgp_on_demand_output: JsonSchema = { + "properties": { + "advertised": { + "$ref": "#/$defs/addressing_advertised-2" + }, + "advertised_modified_at": { + "$ref": "#/$defs/addressing_modified_at_nullable" + }, + "on_demand_enabled": { + "$ref": "#/$defs/addressing_on_demand_enabled-2" + }, + "on_demand_locked": { + "$ref": "#/$defs/addressing_on_demand_locked-2" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_bgp_prefix_identifier` in responses. + */ +export const addressing_bgp_prefix_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_bgp_signal_opts` in responses. + */ +export const addressing_bgp_signal_opts_output: JsonSchema = { + "properties": { + "enabled": { + "$ref": "#/$defs/addressing_bgp_signaling_enabled" + }, + "modified_at": { + "$ref": "#/$defs/addressing_bgp_signaling_modified_at" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_bgp_signaling_enabled` in responses. + */ +export const addressing_bgp_signaling_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_bgp_signaling_modified_at` in responses. + */ +export const addressing_bgp_signaling_modified_at_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_ipam-bgp-prefixes` in responses. + */ +export const addressing_ipam_bgp_prefixes_output: JsonSchema = { + "properties": { + "asn": { + "$ref": "#/$defs/addressing_asn-2" + }, + "asn_prepend_count": { + "$ref": "#/$defs/addressing_asn_prepend_count" + }, + "auto_advertise_withdraw": { + "$ref": "#/$defs/addressing_auto_advertise_withdraw" + }, + "bgp_signal_opts": { + "$ref": "#/$defs/addressing_bgp_signal_opts" + }, + "cidr": { + "$ref": "#/$defs/addressing_cidr" + }, + "created_at": { + "$ref": "#/$defs/addressing_timestamp" + }, + "id": { + "$ref": "#/$defs/addressing_bgp_prefix_identifier" + }, + "modified_at": { + "$ref": "#/$defs/addressing_timestamp" + }, + "on_demand": { + "$ref": "#/$defs/addressing_bgp_on_demand" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_on_demand_enabled-2` in responses. + */ +export const addressing_on_demand_enabled_2_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_on_demand_locked-2` in responses. + */ +export const addressing_on_demand_locked_2_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_response_collection_bgp` in responses. + */ +export const addressing_response_collection_bgp_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/addressing_ipam-bgp-prefixes" + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_single_response_bgp` in responses. + */ +export const addressing_single_response_bgp_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "$ref": "#/$defs/addressing_ipam-bgp-prefixes" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts index 579771d3..d4e94314 100644 --- a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts @@ -2,7 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + addressing_api_response_common_failure_output, + addressing_messages_output, + addressing_timestamp_output, +} from "../../outputs.js"; +import { + addressing_api_response_common_output, + addressing_cidr_output, + addressing_modified_at_nullable_output, +} from "../outputs.js"; import { addressing_cidr } from "../schemas.js"; +import { + addressing_advertised_2_output, + addressing_asn_2_output, + addressing_asn_prepend_count_output, + addressing_auto_advertise_withdraw_output, + addressing_bgp_on_demand_output, + addressing_bgp_prefix_identifier_output, + addressing_bgp_signal_opts_output, + addressing_bgp_signaling_enabled_output, + addressing_bgp_signaling_modified_at_output, + addressing_ipam_bgp_prefixes_output, + addressing_on_demand_enabled_2_output, + addressing_on_demand_locked_2_output, + addressing_response_collection_bgp_output, + addressing_single_response_bgp_output, +} from "./outputs.js"; import { addressing_asn_prepend_count, addressing_auto_advertise_withdraw, @@ -53,6 +79,43 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/prefixes", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/addressing_ipam-bgp-prefixes" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_single_response_bgp" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_advertised-2": addressing_advertised_2_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_asn-2": addressing_asn_2_output, + "addressing_asn_prepend_count": addressing_asn_prepend_count_output, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, + "addressing_bgp_on_demand": addressing_bgp_on_demand_output, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, + "addressing_cidr": addressing_cidr_output, + "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, + "addressing_messages": addressing_messages_output, + "addressing_modified_at_nullable": addressing_modified_at_nullable_output, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, + "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, + "addressing_single_response_bgp": addressing_single_response_bgp_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/bgp/prefixes`, body: { value: args["body"], mediaType: "application/json" }, @@ -93,6 +156,21 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/prefixes/{bgp_prefix_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + }, + $defs: { + "addressing_api-response-common": addressing_api_response_common_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/bgp/prefixes/${pathParam(args, "bgp_prefix_id")}`, }), @@ -149,6 +227,43 @@ export const tools: readonly Tool[] = [ "IP Prefixes: BGP On Demand Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_ipam-bgp-prefixes" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_single_response_bgp" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_advertised-2": addressing_advertised_2_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_asn-2": addressing_asn_2_output, + "addressing_asn_prepend_count": addressing_asn_prepend_count_output, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, + "addressing_bgp_on_demand": addressing_bgp_on_demand_output, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, + "addressing_cidr": addressing_cidr_output, + "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, + "addressing_messages": addressing_messages_output, + "addressing_modified_at_nullable": addressing_modified_at_nullable_output, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, + "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, + "addressing_single_response_bgp": addressing_single_response_bgp_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/bgp/prefixes/${pathParam(args, "bgp_prefix_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -199,6 +314,43 @@ export const tools: readonly Tool[] = [ "IP Prefixes: BGP On Demand Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_ipam-bgp-prefixes" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_single_response_bgp" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_advertised-2": addressing_advertised_2_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_asn-2": addressing_asn_2_output, + "addressing_asn_prepend_count": addressing_asn_prepend_count_output, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, + "addressing_bgp_on_demand": addressing_bgp_on_demand_output, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, + "addressing_cidr": addressing_cidr_output, + "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, + "addressing_messages": addressing_messages_output, + "addressing_modified_at_nullable": addressing_modified_at_nullable_output, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, + "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, + "addressing_single_response_bgp": addressing_single_response_bgp_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/bgp/prefixes/${pathParam(args, "bgp_prefix_id")}`, }), @@ -243,6 +395,57 @@ export const tools: readonly Tool[] = [ "IP Prefixes: BGP On Demand Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/addressing_ipam-bgp-prefixes" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_response_collection_bgp" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_advertised-2": addressing_advertised_2_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_asn-2": addressing_asn_2_output, + "addressing_asn_prepend_count": addressing_asn_prepend_count_output, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, + "addressing_bgp_on_demand": addressing_bgp_on_demand_output, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, + "addressing_cidr": addressing_cidr_output, + "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, + "addressing_messages": addressing_messages_output, + "addressing_modified_at_nullable": addressing_modified_at_nullable_output, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, + "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, + "addressing_response_collection_bgp": addressing_response_collection_bgp_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/bgp/prefixes`, }), diff --git a/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts new file mode 100644 index 00000000..5835d266 --- /dev/null +++ b/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts @@ -0,0 +1,174 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `addressing_delegated_account_identifier` in responses. + */ +export const addressing_delegated_account_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_delegation_identifier` in responses. + */ +export const addressing_delegation_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_id_response` in responses. + */ +export const addressing_id_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "$ref": "#/$defs/addressing_id_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_id_response_result` in responses. + */ +export const addressing_id_response_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/addressing_delegation_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_ipam-delegations` in responses. + */ +export const addressing_ipam_delegations_output: JsonSchema = { + "properties": { + "cidr": { + "$ref": "#/$defs/addressing_cidr" + }, + "created_at": { + "$ref": "#/$defs/addressing_timestamp" + }, + "delegated_account_id": { + "$ref": "#/$defs/addressing_delegated_account_identifier" + }, + "id": { + "$ref": "#/$defs/addressing_delegation_identifier" + }, + "modified_at": { + "$ref": "#/$defs/addressing_timestamp" + }, + "parent_prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_response_collection-2` in responses. + */ +export const addressing_response_collection_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/addressing_ipam-delegations" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/addressing_response_collection-2_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_response_collection-2_result_info` in responses. + */ +export const addressing_response_collection_2_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_single_response-2` in responses. + */ +export const addressing_single_response_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "$ref": "#/$defs/addressing_ipam-delegations" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts b/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts index c7ef7596..26eeac78 100644 --- a/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts @@ -2,7 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + addressing_api_response_common_failure_output, + addressing_messages_output, + addressing_timestamp_output, +} from "../../outputs.js"; +import { + addressing_cidr_output, + addressing_prefix_identifier_output, +} from "../outputs.js"; import { addressing_cidr } from "../schemas.js"; +import { + addressing_delegated_account_identifier_output, + addressing_delegation_identifier_output, + addressing_id_response_output, + addressing_id_response_result_output, + addressing_ipam_delegations_output, + addressing_response_collection_2_output, + addressing_response_collection_2_result_info_output, + addressing_single_response_2_output, +} from "./outputs.js"; import { addressing_delegated_account_identifier } from "./schemas.js"; /** @@ -66,6 +85,34 @@ export const tools: readonly Tool[] = [ "IP Prefixes: Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/addressing_ipam-delegations" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_single_response-2" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_cidr": addressing_cidr_output, + "addressing_delegated_account_identifier": addressing_delegated_account_identifier_output, + "addressing_delegation_identifier": addressing_delegation_identifier_output, + "addressing_ipam-delegations": addressing_ipam_delegations_output, + "addressing_messages": addressing_messages_output, + "addressing_prefix_identifier": addressing_prefix_identifier_output, + "addressing_single_response-2": addressing_single_response_2_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/delegations`, body: { value: args["body"], mediaType: "application/json" }, @@ -111,6 +158,35 @@ export const tools: readonly Tool[] = [ "IP Prefixes: Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/addressing_delegation_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_id_response" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_delegation_identifier": addressing_delegation_identifier_output, + "addressing_id_response": addressing_id_response_output, + "addressing_id_response_result": addressing_id_response_result_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/delegations/${pathParam(args, "delegation_id")}`, }), @@ -145,6 +221,66 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/addressing/prefixes/{prefix_id}/delegations", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/addressing_ipam-delegations" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_response_collection-2" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_cidr": addressing_cidr_output, + "addressing_delegated_account_identifier": addressing_delegated_account_identifier_output, + "addressing_delegation_identifier": addressing_delegation_identifier_output, + "addressing_ipam-delegations": addressing_ipam_delegations_output, + "addressing_messages": addressing_messages_output, + "addressing_prefix_identifier": addressing_prefix_identifier_output, + "addressing_response_collection-2": addressing_response_collection_2_output, + "addressing_response_collection-2_result_info": addressing_response_collection_2_result_info_output, + "addressing_timestamp": addressing_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/delegations`, }), diff --git a/src/generated/forge-mcp/addressing/prefixes/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/outputs.ts new file mode 100644 index 00000000..a55821e5 --- /dev/null +++ b/src/generated/forge-mcp/addressing/prefixes/outputs.ts @@ -0,0 +1,268 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `addressing_advertised` in responses. + */ +export const addressing_advertised_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_advertised_modified_at_nullable` in responses. + */ +export const addressing_advertised_modified_at_nullable_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_api-response-common` in responses. + */ +export const addressing_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_approved` in responses. + */ +export const addressing_approved_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_asn` in responses. + */ +export const addressing_asn_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `addressing_cidr` in responses. + */ +export const addressing_cidr_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_delegate_loa_creation` in responses. + */ +export const addressing_delegate_loa_creation_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_description` in responses. + */ +export const addressing_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_ipam-prefixes` in responses. + */ +export const addressing_ipam_prefixes_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier" + }, + "advertised": { + "$ref": "#/$defs/addressing_advertised" + }, + "advertised_modified_at": { + "$ref": "#/$defs/addressing_advertised_modified_at_nullable" + }, + "approved": { + "$ref": "#/$defs/addressing_approved" + }, + "asn": { + "$ref": "#/$defs/addressing_asn" + }, + "cidr": { + "$ref": "#/$defs/addressing_cidr" + }, + "created_at": { + "$ref": "#/$defs/addressing_timestamp" + }, + "delegate_loa_creation": { + "$ref": "#/$defs/addressing_delegate_loa_creation" + }, + "description": { + "$ref": "#/$defs/addressing_description" + }, + "id": { + "$ref": "#/$defs/addressing_prefix_identifier" + }, + "irr_validation_state": { + "$ref": "#/$defs/addressing_validation_state" + }, + "loa_document_id": { + "$ref": "#/$defs/addressing_loa_document_identifier" + }, + "modified_at": { + "$ref": "#/$defs/addressing_timestamp" + }, + "on_demand_enabled": { + "$ref": "#/$defs/addressing_on_demand_enabled" + }, + "on_demand_locked": { + "$ref": "#/$defs/addressing_on_demand_locked" + }, + "ownership_validation_state": { + "$ref": "#/$defs/addressing_validation_state" + }, + "ownership_validation_token": { + "$ref": "#/$defs/addressing_ownership_validation_token" + }, + "rpki_validation_state": { + "$ref": "#/$defs/addressing_validation_state" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_modified_at_nullable` in responses. + */ +export const addressing_modified_at_nullable_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `addressing_on_demand_enabled` in responses. + */ +export const addressing_on_demand_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_on_demand_locked` in responses. + */ +export const addressing_on_demand_locked_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `addressing_ownership_validation_token` in responses. + */ +export const addressing_ownership_validation_token_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_prefix_identifier` in responses. + */ +export const addressing_prefix_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `addressing_response_collection` in responses. + */ +export const addressing_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/addressing_ipam-prefixes" + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_single_response` in responses. + */ +export const addressing_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/addressing_messages" + }, + "messages": { + "$ref": "#/$defs/addressing_messages" + }, + "result": { + "$ref": "#/$defs/addressing_ipam-prefixes" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `addressing_validation_state` in responses. + */ +export const addressing_validation_state_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts new file mode 100644 index 00000000..dc82c975 --- /dev/null +++ b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `addressing_provisioning` in responses. + */ +export const addressing_provisioning_output: JsonSchema = { + "properties": { + "state": { + "enum": [ + "provisioning", + "active", + "magic_transit_route_missing" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_service_binding` in responses. + */ +export const addressing_service_binding_output: JsonSchema = { + "properties": { + "cidr": { + "$ref": "#/$defs/addressing_cidr" + }, + "id": { + "$ref": "#/$defs/addressing_service_binding_identifier" + }, + "provisioning": { + "$ref": "#/$defs/addressing_provisioning" + }, + "service_id": { + "$ref": "#/$defs/addressing_service_identifier" + }, + "service_name": { + "$ref": "#/$defs/addressing_service_name" + } + }, + "type": "object" +}; + +/** + * The schema of `addressing_service_binding_identifier` in responses. + */ +export const addressing_service_binding_identifier_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts index 4184111c..37a560a8 100644 --- a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts @@ -2,8 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + addressing_api_response_common_failure_output, + addressing_messages_output, + addressing_service_identifier_output, + addressing_service_name_output, +} from "../../outputs.js"; import { addressing_service_identifier } from "../../schemas.js"; +import { + addressing_api_response_common_output, + addressing_cidr_output, +} from "../outputs.js"; import { addressing_cidr } from "../schemas.js"; +import { + addressing_provisioning_output, + addressing_service_binding_identifier_output, + addressing_service_binding_output, +} from "./outputs.js"; import { addressing_create_binding_request } from "./schemas.js"; /** @@ -53,6 +68,26 @@ export const tools: readonly Tool[] = [ "IP Prefixes: Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/addressing_service_binding" + }, + "4XX": { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + }, + $defs: { + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_cidr": addressing_cidr_output, + "addressing_messages": addressing_messages_output, + "addressing_provisioning": addressing_provisioning_output, + "addressing_service_binding": addressing_service_binding_output, + "addressing_service_binding_identifier": addressing_service_binding_identifier_output, + "addressing_service_identifier": addressing_service_identifier_output, + "addressing_service_name": addressing_service_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/bindings`, body: { value: args["body"], mediaType: "application/json" }, @@ -98,6 +133,21 @@ export const tools: readonly Tool[] = [ "IP Prefixes: Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + }, + $defs: { + "addressing_api-response-common": addressing_api_response_common_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/bindings/${pathParam(args, "binding_id")}`, }), @@ -143,6 +193,26 @@ export const tools: readonly Tool[] = [ "IP Prefixes: Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_service_binding" + }, + "4XX": { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + }, + $defs: { + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_cidr": addressing_cidr_output, + "addressing_messages": addressing_messages_output, + "addressing_provisioning": addressing_provisioning_output, + "addressing_service_binding": addressing_service_binding_output, + "addressing_service_binding_identifier": addressing_service_binding_identifier_output, + "addressing_service_identifier": addressing_service_identifier_output, + "addressing_service_name": addressing_service_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/bindings/${pathParam(args, "binding_id")}`, }), @@ -183,6 +253,40 @@ export const tools: readonly Tool[] = [ "IP Prefixes: Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/addressing_service_binding" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + }, + $defs: { + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_cidr": addressing_cidr_output, + "addressing_messages": addressing_messages_output, + "addressing_provisioning": addressing_provisioning_output, + "addressing_service_binding": addressing_service_binding_output, + "addressing_service_binding_identifier": addressing_service_binding_identifier_output, + "addressing_service_identifier": addressing_service_identifier_output, + "addressing_service_name": addressing_service_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/bindings`, }), diff --git a/src/generated/forge-mcp/addressing/prefixes/tools.ts b/src/generated/forge-mcp/addressing/prefixes/tools.ts index 4b170fbc..8540d7ab 100644 --- a/src/generated/forge-mcp/addressing/prefixes/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/tools.ts @@ -2,7 +2,34 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + addressing_account_identifier_output, + addressing_api_response_collection_output, + addressing_api_response_collection_result_info_output, + addressing_api_response_common_failure_output, + addressing_loa_document_identifier_output, + addressing_messages_output, + addressing_timestamp_output, +} from "../outputs.js"; import { addressing_loa_document_identifier } from "../schemas.js"; +import { + addressing_advertised_modified_at_nullable_output, + addressing_advertised_output, + addressing_api_response_common_output, + addressing_approved_output, + addressing_asn_output, + addressing_cidr_output, + addressing_delegate_loa_creation_output, + addressing_description_output, + addressing_ipam_prefixes_output, + addressing_on_demand_enabled_output, + addressing_on_demand_locked_output, + addressing_ownership_validation_token_output, + addressing_prefix_identifier_output, + addressing_response_collection_output, + addressing_single_response_output, + addressing_validation_state_output, +} from "./outputs.js"; import { addressing_asn, addressing_cidr, @@ -80,6 +107,44 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": null }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/addressing_ipam-prefixes" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_single_response" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_account_identifier": addressing_account_identifier_output, + "addressing_advertised": addressing_advertised_output, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_approved": addressing_approved_output, + "addressing_asn": addressing_asn_output, + "addressing_cidr": addressing_cidr_output, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, + "addressing_description": addressing_description_output, + "addressing_ipam-prefixes": addressing_ipam_prefixes_output, + "addressing_loa_document_identifier": addressing_loa_document_identifier_output, + "addressing_messages": addressing_messages_output, + "addressing_on_demand_enabled": addressing_on_demand_enabled_output, + "addressing_on_demand_locked": addressing_on_demand_locked_output, + "addressing_ownership_validation_token": addressing_ownership_validation_token_output, + "addressing_prefix_identifier": addressing_prefix_identifier_output, + "addressing_single_response": addressing_single_response_output, + "addressing_timestamp": addressing_timestamp_output, + "addressing_validation_state": addressing_validation_state_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes`, body: { value: args["body"], mediaType: "application/json" }, @@ -120,6 +185,30 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_api-response-common" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_api-response-collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_api-response-collection": addressing_api_response_collection_output, + "addressing_api-response-collection_result_info": addressing_api_response_collection_result_info_output, + "addressing_api-response-common": addressing_api_response_common_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}`, }), @@ -176,6 +265,44 @@ export const tools: readonly Tool[] = [ "IP Prefixes: Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_ipam-prefixes" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_single_response" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_account_identifier": addressing_account_identifier_output, + "addressing_advertised": addressing_advertised_output, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_approved": addressing_approved_output, + "addressing_asn": addressing_asn_output, + "addressing_cidr": addressing_cidr_output, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, + "addressing_description": addressing_description_output, + "addressing_ipam-prefixes": addressing_ipam_prefixes_output, + "addressing_loa_document_identifier": addressing_loa_document_identifier_output, + "addressing_messages": addressing_messages_output, + "addressing_on_demand_enabled": addressing_on_demand_enabled_output, + "addressing_on_demand_locked": addressing_on_demand_locked_output, + "addressing_ownership_validation_token": addressing_ownership_validation_token_output, + "addressing_prefix_identifier": addressing_prefix_identifier_output, + "addressing_single_response": addressing_single_response_output, + "addressing_timestamp": addressing_timestamp_output, + "addressing_validation_state": addressing_validation_state_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -221,6 +348,44 @@ export const tools: readonly Tool[] = [ "IP Prefixes: BGP On Demand Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/addressing_ipam-prefixes" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_single_response" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_account_identifier": addressing_account_identifier_output, + "addressing_advertised": addressing_advertised_output, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_approved": addressing_approved_output, + "addressing_asn": addressing_asn_output, + "addressing_cidr": addressing_cidr_output, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, + "addressing_description": addressing_description_output, + "addressing_ipam-prefixes": addressing_ipam_prefixes_output, + "addressing_loa_document_identifier": addressing_loa_document_identifier_output, + "addressing_messages": addressing_messages_output, + "addressing_on_demand_enabled": addressing_on_demand_enabled_output, + "addressing_on_demand_locked": addressing_on_demand_locked_output, + "addressing_ownership_validation_token": addressing_ownership_validation_token_output, + "addressing_prefix_identifier": addressing_prefix_identifier_output, + "addressing_single_response": addressing_single_response_output, + "addressing_timestamp": addressing_timestamp_output, + "addressing_validation_state": addressing_validation_state_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}`, }), @@ -260,6 +425,58 @@ export const tools: readonly Tool[] = [ "IP Prefixes: BGP On Demand Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/addressing_ipam-prefixes" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_response_collection" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_account_identifier": addressing_account_identifier_output, + "addressing_advertised": addressing_advertised_output, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_approved": addressing_approved_output, + "addressing_asn": addressing_asn_output, + "addressing_cidr": addressing_cidr_output, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, + "addressing_description": addressing_description_output, + "addressing_ipam-prefixes": addressing_ipam_prefixes_output, + "addressing_loa_document_identifier": addressing_loa_document_identifier_output, + "addressing_messages": addressing_messages_output, + "addressing_on_demand_enabled": addressing_on_demand_enabled_output, + "addressing_on_demand_locked": addressing_on_demand_locked_output, + "addressing_ownership_validation_token": addressing_ownership_validation_token_output, + "addressing_prefix_identifier": addressing_prefix_identifier_output, + "addressing_response_collection": addressing_response_collection_output, + "addressing_timestamp": addressing_timestamp_output, + "addressing_validation_state": addressing_validation_state_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes`, }), diff --git a/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts b/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts index 3806a566..d776f42f 100644 --- a/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts @@ -2,6 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + addressing_account_identifier_output, + addressing_api_response_common_failure_output, + addressing_loa_document_identifier_output, + addressing_messages_output, + addressing_timestamp_output, +} from "../../outputs.js"; +import { + addressing_advertised_modified_at_nullable_output, + addressing_advertised_output, + addressing_approved_output, + addressing_asn_output, + addressing_cidr_output, + addressing_delegate_loa_creation_output, + addressing_description_output, + addressing_ipam_prefixes_output, + addressing_on_demand_enabled_output, + addressing_on_demand_locked_output, + addressing_ownership_validation_token_output, + addressing_prefix_identifier_output, + addressing_single_response_output, + addressing_validation_state_output, +} from "../outputs.js"; /** * The tools of `addressing.prefixes.validate`. @@ -43,6 +66,44 @@ export const tools: readonly Tool[] = [ "IP Prefixes: Write" ] }, + responses: { + schemas: { + "202": { + "$ref": "#/$defs/addressing_ipam-prefixes" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/addressing_single_response" + }, + { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + ] + } + }, + $defs: { + "addressing_account_identifier": addressing_account_identifier_output, + "addressing_advertised": addressing_advertised_output, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_approved": addressing_approved_output, + "addressing_asn": addressing_asn_output, + "addressing_cidr": addressing_cidr_output, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, + "addressing_description": addressing_description_output, + "addressing_ipam-prefixes": addressing_ipam_prefixes_output, + "addressing_loa_document_identifier": addressing_loa_document_identifier_output, + "addressing_messages": addressing_messages_output, + "addressing_on_demand_enabled": addressing_on_demand_enabled_output, + "addressing_on_demand_locked": addressing_on_demand_locked_output, + "addressing_ownership_validation_token": addressing_ownership_validation_token_output, + "addressing_prefix_identifier": addressing_prefix_identifier_output, + "addressing_single_response": addressing_single_response_output, + "addressing_timestamp": addressing_timestamp_output, + "addressing_validation_state": addressing_validation_state_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/prefixes/${pathParam(args, "prefix_id")}/validate`, }), diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts b/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts new file mode 100644 index 00000000..e6812c4b --- /dev/null +++ b/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts @@ -0,0 +1,149 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `dls_api-response-common` in responses. + */ +export const dls_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dls_messages" + }, + "messages": { + "$ref": "#/$defs/dls_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dls_api-response-common-failure` in responses. + */ +export const dls_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dls_messages" + }, + "messages": { + "$ref": "#/$defs/dls_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dls_hostname` in responses. + */ +export const dls_hostname_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dls_messages` in responses. + */ +export const dls_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `dls_region_key` in responses. + */ +export const dls_region_key_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dls_regional_hostname_response` in responses. + */ +export const dls_regional_hostname_response_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/dls_timestamp" + }, + "hostname": { + "$ref": "#/$defs/dls_hostname" + }, + "region_key": { + "$ref": "#/$defs/dls_region_key" + }, + "routing": { + "$ref": "#/$defs/dls_routing" + } + }, + "required": [ + "created_on", + "hostname", + "region_key", + "routing" + ], + "type": "object" +}; + +/** + * The schema of `dls_routing` in responses. + */ +export const dls_routing_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dls_timestamp` in responses. + */ +export const dls_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts b/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts index 834720b0..76bcb8fc 100644 --- a/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts +++ b/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dls_api_response_common_failure_output, + dls_messages_output, + dls_region_key_output, +} from "../outputs.js"; import { dls_identifier } from "../schemas.js"; /** @@ -42,6 +47,60 @@ export const tools: readonly Tool[] = [ "DNS Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "key": { + "$ref": "#/$defs/dls_region_key" + }, + "label": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dls_api-response-common-failure" + } + }, + $defs: { + "dls_api-response-common-failure": dls_api_response_common_failure_output, + "dls_messages": dls_messages_output, + "dls_region_key": dls_region_key_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/regional_hostnames/regions`, }), diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts b/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts index c26d1988..60e78c90 100644 --- a/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts +++ b/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + dls_api_response_common_failure_output, + dls_api_response_common_output, + dls_hostname_output, + dls_messages_output, + dls_region_key_output, + dls_regional_hostname_response_output, + dls_routing_output, + dls_timestamp_output, +} from "./outputs.js"; import { dls_hostname, dls_identifier, @@ -71,6 +81,25 @@ export const tools: readonly Tool[] = [ "DNS Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dls_regional_hostname_response" + }, + "4XX": { + "$ref": "#/$defs/dls_api-response-common-failure" + } + }, + $defs: { + "dls_api-response-common-failure": dls_api_response_common_failure_output, + "dls_hostname": dls_hostname_output, + "dls_messages": dls_messages_output, + "dls_region_key": dls_region_key_output, + "dls_regional_hostname_response": dls_regional_hostname_response_output, + "dls_routing": dls_routing_output, + "dls_timestamp": dls_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/addressing/regional_hostnames`, body: { value: args["body"], mediaType: "application/json" }, @@ -115,6 +144,21 @@ export const tools: readonly Tool[] = [ "DNS Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dls_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dls_api-response-common-failure" + } + }, + $defs: { + "dls_api-response-common": dls_api_response_common_output, + "dls_api-response-common-failure": dls_api_response_common_failure_output, + "dls_messages": dls_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/addressing/regional_hostnames/${pathParam(args, "hostname")}`, }), @@ -171,6 +215,25 @@ export const tools: readonly Tool[] = [ "DNS Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dls_regional_hostname_response" + }, + "4XX": { + "$ref": "#/$defs/dls_api-response-common-failure" + } + }, + $defs: { + "dls_api-response-common-failure": dls_api_response_common_failure_output, + "dls_hostname": dls_hostname_output, + "dls_messages": dls_messages_output, + "dls_region_key": dls_region_key_output, + "dls_regional_hostname_response": dls_regional_hostname_response_output, + "dls_routing": dls_routing_output, + "dls_timestamp": dls_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/addressing/regional_hostnames/${pathParam(args, "hostname")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -216,6 +279,25 @@ export const tools: readonly Tool[] = [ "DNS Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dls_regional_hostname_response" + }, + "4XX": { + "$ref": "#/$defs/dls_api-response-common-failure" + } + }, + $defs: { + "dls_api-response-common-failure": dls_api_response_common_failure_output, + "dls_hostname": dls_hostname_output, + "dls_messages": dls_messages_output, + "dls_region_key": dls_region_key_output, + "dls_regional_hostname_response": dls_regional_hostname_response_output, + "dls_routing": dls_routing_output, + "dls_timestamp": dls_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/addressing/regional_hostnames/${pathParam(args, "hostname")}`, }), @@ -254,6 +336,56 @@ export const tools: readonly Tool[] = [ "DNS Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dls_regional_hostname_response" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dls_api-response-common-failure" + } + }, + $defs: { + "dls_api-response-common-failure": dls_api_response_common_failure_output, + "dls_hostname": dls_hostname_output, + "dls_messages": dls_messages_output, + "dls_region_key": dls_region_key_output, + "dls_regional_hostname_response": dls_regional_hostname_response_output, + "dls_routing": dls_routing_output, + "dls_timestamp": dls_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/addressing/regional_hostnames`, }), diff --git a/src/generated/forge-mcp/addressing/services/tools.ts b/src/generated/forge-mcp/addressing/services/tools.ts index 0fd06a5f..93de0e4a 100644 --- a/src/generated/forge-mcp/addressing/services/tools.ts +++ b/src/generated/forge-mcp/addressing/services/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + addressing_api_response_common_failure_output, + addressing_messages_output, + addressing_service_identifier_output, + addressing_service_name_output, +} from "../outputs.js"; /** * The tools of `addressing.services`. @@ -38,6 +44,44 @@ export const tools: readonly Tool[] = [ "IP Prefixes: Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "id": { + "$ref": "#/$defs/addressing_service_identifier" + }, + "name": { + "$ref": "#/$defs/addressing_service_name" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/addressing_api-response-common-failure" + } + }, + $defs: { + "addressing_api-response-common-failure": addressing_api_response_common_failure_output, + "addressing_messages": addressing_messages_output, + "addressing_service_identifier": addressing_service_identifier_output, + "addressing_service_name": addressing_service_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/addressing/services`, }), diff --git a/src/generated/forge-mcp/agentMemory/tools.ts b/src/generated/forge-mcp/agentMemory/tools.ts index bef26c0c..391aa3ee 100644 --- a/src/generated/forge-mcp/agentMemory/tools.ts +++ b/src/generated/forge-mcp/agentMemory/tools.ts @@ -45,6 +45,120 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/agent-memory/namespaces", + responses: { + schemas: { + "201": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "updated_at" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces`, body: { value: args["body"], mediaType: "application/json" }, @@ -90,6 +204,145 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/memories/{memory_id}", + responses: { + schemas: { + "200": { + "properties": { + "content": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "sessionId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "summary": { + "type": "string" + }, + "type": { + "enum": [ + "fact", + "event", + "instruction", + "task" + ], + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "content", + "createdAt", + "id", + "sessionId", + "summary", + "type", + "updatedAt" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/memories/${pathParam(args, "memory_id")}`, }), @@ -124,6 +377,105 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}", + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}`, }), @@ -163,6 +515,105 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}", + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}`, }), @@ -207,8 +658,107 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/sessions/{session_id}", - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/sessions/${pathParam(args, "session_id")}`, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/sessions/${pathParam(args, "session_id")}`, }), }, { @@ -251,6 +801,145 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/memories/{memory_id}", + responses: { + schemas: { + "200": { + "properties": { + "content": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "sessionId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "summary": { + "type": "string" + }, + "type": { + "enum": [ + "fact", + "event", + "instruction", + "task" + ], + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "content", + "createdAt", + "id", + "sessionId", + "summary", + "type", + "updatedAt" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/memories/${pathParam(args, "memory_id")}`, }), @@ -285,6 +974,120 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}", + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "updated_at" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}`, }), @@ -325,56 +1128,155 @@ export const tools: readonly Tool[] = [ } }, "required": [ - "content", - "role" + "content", + "role" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "sessionId": { + "description": "Session identifier.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "messages" + ], + "type": "object" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + } + }, + required: [ + "account_id", + "namespace_name", + "profile_name", + "body" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Ingest messages" + }, + method: "POST", + path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/ingest", + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" ], "type": "object" }, - "minItems": 1, "type": "array" }, - "sessionId": { - "description": "Session identifier.", + "result": { "oneOf": [ { - "type": "string" + "type": "object" }, { "type": "null" } ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" } }, "required": [ - "messages" + "errors", + "messages", + "result", + "success" ], "type": "object" - }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" } }, - required: [ - "account_id", - "namespace_name", - "profile_name", - "body" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Ingest messages" }, - method: "POST", - path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/ingest", request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/ingest`, body: { value: args["body"], mediaType: "application/json" }, @@ -437,6 +1339,166 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/memories", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "sessionId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "summary": { + "type": "string" + }, + "type": { + "enum": [ + "fact", + "event", + "instruction", + "task" + ], + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "createdAt", + "id", + "sessionId", + "summary", + "type", + "updatedAt" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/memories`, query: [ @@ -496,6 +1558,145 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/agent-memory/namespaces", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "updated_at" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces`, query: [ @@ -530,20 +1731,150 @@ export const tools: readonly Tool[] = [ "type": "integer" } }, - required: [ - "account_id", - "namespace_name" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "List profiles" + required: [ + "account_id", + "namespace_name" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "List profiles" + }, + method: "GET", + path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "createdAt", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, }, - method: "GET", - path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles", request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles`, query: [ @@ -622,6 +1953,143 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/recall", + responses: { + schemas: { + "200": { + "properties": { + "answer": { + "type": "string" + }, + "candidates": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "score": { + "type": "number" + }, + "sessionId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "summary": { + "type": "string" + } + }, + "required": [ + "id", + "score", + "sessionId", + "summary" + ], + "type": "object" + }, + "type": "array" + }, + "count": { + "type": "number" + } + }, + "required": [ + "candidates", + "count" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/recall`, body: { value: args["body"], mediaType: "application/json" }, @@ -686,6 +2154,145 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/remember", + responses: { + schemas: { + "200": { + "properties": { + "content": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "sessionId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "summary": { + "type": "string" + }, + "type": { + "enum": [ + "fact", + "event", + "instruction", + "task" + ], + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "content", + "createdAt", + "id", + "sessionId", + "summary", + "type", + "updatedAt" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/remember`, body: { value: args["body"], mediaType: "application/json" }, @@ -743,6 +2350,106 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/summary", + responses: { + schemas: { + "200": { + "properties": { + "summary": { + "type": "string" + } + }, + "required": [ + "summary" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/summary`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/ai/authors/tools.ts b/src/generated/forge-mcp/ai/authors/tools.ts index da7bea00..b7cdaeb3 100644 --- a/src/generated/forge-mcp/ai/authors/tools.ts +++ b/src/generated/forge-mcp/ai/authors/tools.ts @@ -53,6 +53,57 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/authors/search`, }), diff --git a/src/generated/forge-mcp/ai/finetunes/assets/tools.ts b/src/generated/forge-mcp/ai/finetunes/assets/tools.ts index 740d9742..8d017b75 100644 --- a/src/generated/forge-mcp/ai/finetunes/assets/tools.ts +++ b/src/generated/forge-mcp/ai/finetunes/assets/tools.ts @@ -56,6 +56,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/finetunes/${pathParam(args, "finetune_id")}/finetune-assets`, }), @@ -110,6 +143,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "file_name": { + "type": "string" + }, + "file_url": { + "type": "string" + } + }, + "required": [ + "file_name", + "file_url" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/finetunes/${pathParam(args, "finetune_id")}/finetune-assets/${pathParam(args, "file_name")}`, }), diff --git a/src/generated/forge-mcp/ai/finetunes/public/tools.ts b/src/generated/forge-mcp/ai/finetunes/public/tools.ts index 25d12f15..88748184 100644 --- a/src/generated/forge-mcp/ai/finetunes/public/tools.ts +++ b/src/generated/forge-mcp/ai/finetunes/public/tools.ts @@ -67,6 +67,91 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "model": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "public": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "id", + "model", + "modified_at", + "name", + "public" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/finetunes/public`, query: [ diff --git a/src/generated/forge-mcp/ai/finetunes/tools.ts b/src/generated/forge-mcp/ai/finetunes/tools.ts index 7efb2fdf..d2572f61 100644 --- a/src/generated/forge-mcp/ai/finetunes/tools.ts +++ b/src/generated/forge-mcp/ai/finetunes/tools.ts @@ -74,6 +74,65 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "model": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "public": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "id", + "model", + "modified_at", + "name", + "public" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/finetunes`, body: { value: args["body"], mediaType: "application/json" }, @@ -125,6 +184,44 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/finetunes/${pathParam(args, "finetune_id")}`, }), @@ -175,6 +272,73 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "model": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "model", + "modified_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/finetunes`, }), diff --git a/src/generated/forge-mcp/ai/models/tools.ts b/src/generated/forge-mcp/ai/models/tools.ts index 83eb31bd..84b0a906 100644 --- a/src/generated/forge-mcp/ai/models/tools.ts +++ b/src/generated/forge-mcp/ai/models/tools.ts @@ -97,6 +97,78 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "properties": { + "errors": { + "items": { + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + { + "properties": { + "data": { + "items": { + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + } + ] + }, + "404": { + "properties": { + "errors": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/models/search`, query: [ diff --git a/src/generated/forge-mcp/ai/tasks/tools.ts b/src/generated/forge-mcp/ai/tasks/tools.ts index 5d126ba7..89c4605a 100644 --- a/src/generated/forge-mcp/ai/tasks/tools.ts +++ b/src/generated/forge-mcp/ai/tasks/tools.ts @@ -53,6 +53,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/tasks/search`, }), diff --git a/src/generated/forge-mcp/ai/tools.ts b/src/generated/forge-mcp/ai/tools.ts index 7ff4f37d..434aeb50 100644 --- a/src/generated/forge-mcp/ai/tools.ts +++ b/src/generated/forge-mcp/ai/tools.ts @@ -59,6 +59,87 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "input": { + "properties": { + "additionalProperties": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "additionalProperties", + "description", + "type" + ], + "type": "object" + }, + "output": { + "properties": { + "additionalProperties": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "additionalProperties", + "description", + "type" + ], + "type": "object" + } + }, + "required": [ + "input", + "output" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/models/schema`, query: [ @@ -113,6 +194,69 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "extension": { + "type": "string" + }, + "mimeType": { + "type": "string" + } + }, + "required": [ + "extension", + "mimeType" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/tomarkdown/supported`, }), @@ -210,6 +354,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/run`, body: { value: args["body"], mediaType: "application/json" }, @@ -1056,6 +1237,265 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "properties": { + "label": { + "type": "string" + }, + "score": { + "type": "number" + } + }, + "type": "object" + }, + "type": "array" + }, + { + "format": "binary", + "type": "string" + }, + { + "properties": { + "audio": { + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "items": { + "items": { + "type": "number" + }, + "type": "array" + }, + "type": "array" + }, + "shape": { + "items": { + "type": "number" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "properties": { + "text": { + "type": "string" + }, + "vtt": { + "type": "string" + }, + "word_count": { + "type": "number" + }, + "words": { + "items": { + "properties": { + "end": { + "type": "number" + }, + "start": { + "type": "number" + }, + "word": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "text" + ], + "type": "object" + }, + { + "items": { + "properties": { + "label": { + "type": "string" + }, + "score": { + "type": "number" + } + }, + "type": "object" + }, + "type": "array" + }, + { + "items": { + "properties": { + "box": { + "properties": { + "xmax": { + "type": "number" + }, + "xmin": { + "type": "number" + }, + "ymax": { + "type": "number" + }, + "ymin": { + "type": "number" + } + }, + "type": "object" + }, + "label": { + "type": "string" + }, + "score": { + "type": "number" + } + }, + "type": "object" + }, + "type": "array" + }, + { + "properties": { + "response": { + "type": "string" + }, + "tool_calls": { + "items": { + "properties": { + "arguments": { + "type": "object" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "usage": { + "properties": { + "completion_tokens": { + "type": "number" + }, + "prompt_tokens": { + "type": "number" + }, + "total_tokens": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "response" + ], + "type": "object" + }, + { + "properties": { + "translated_text": { + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "summary": { + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "description": { + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "description": { + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "items": { + "items": { + "type": "number" + }, + "type": "array" + }, + "type": "array" + }, + "shape": { + "items": { + "type": "number" + }, + "type": "array" + } + }, + "type": "object" + } + ] + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/run/${pathParam(args, "model_name")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -1108,6 +1548,81 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "data": { + "type": "string" + }, + "format": { + "type": "string" + }, + "mimeType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tokens": { + "type": "string" + } + }, + "required": [ + "data", + "format", + "mimeType", + "name", + "tokens" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/tomarkdown`, }), @@ -1194,6 +1709,257 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "items": { + "items": { + "properties": { + "description": { + "type": "string" + }, + "faviconUrl": { + "type": "string" + }, + "imageUrl": { + "type": "string" + }, + "lastModifiedDate": { + "format": "date-time", + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "title", + "url" + ], + "type": "object" + }, + "type": "array" + }, + "metadata": { + "properties": { + "latencyMs": { + "type": "number" + }, + "query": { + "type": "string" + }, + "requestId": { + "type": "string" + } + }, + "required": [ + "latencyMs", + "query", + "requestId" + ], + "type": "object" + } + }, + "required": [ + "items", + "metadata" + ], + "type": "object" + }, + "400": { + "anyOf": [ + { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": {}, + "type": "array" + }, + "result": {}, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + { + "properties": { + "error": { + "properties": { + "category": { + "enum": [ + "gateway", + "credential", + "provider", + "internal" + ], + "type": "string" + }, + "code": { + "type": "string" + }, + "gatewayRequestId": { + "type": "string" + }, + "retryable": { + "type": "boolean" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "category", + "code", + "gatewayRequestId", + "retryable", + "status" + ], + "type": "object" + }, + "ok": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "error", + "ok" + ], + "type": "object" + } + ] + }, + "403": { + "properties": { + "error": { + "properties": { + "category": { + "enum": [ + "gateway", + "credential", + "provider", + "internal" + ], + "type": "string" + }, + "code": { + "type": "string" + }, + "gatewayRequestId": { + "type": "string" + }, + "retryable": { + "type": "boolean" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "category", + "code", + "gatewayRequestId", + "retryable", + "status" + ], + "type": "object" + }, + "ok": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "error", + "ok" + ], + "type": "object" + }, + "502": { + "properties": { + "error": { + "properties": { + "category": { + "enum": [ + "gateway", + "credential", + "provider", + "internal" + ], + "type": "string" + }, + "code": { + "type": "string" + }, + "gatewayRequestId": { + "type": "string" + }, + "retryable": { + "type": "boolean" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "category", + "code", + "gatewayRequestId", + "retryable", + "status" + ], + "type": "object" + }, + "ok": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "error", + "ok" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/websearch`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/aiAudit/robots/outputs.ts b/src/generated/forge-mcp/aiAudit/robots/outputs.ts new file mode 100644 index 00000000..0d207298 --- /dev/null +++ b/src/generated/forge-mcp/aiAudit/robots/outputs.ts @@ -0,0 +1,164 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `ai-audit_api-response-common-failure` in responses. + */ +export const ai_audit_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/ai-audit_api_message" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/ai-audit_api_message" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `ai-audit_api_message` in responses. + */ +export const ai_audit_api_message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `ai-audit_bulk_robots_rules` in responses. + */ +export const ai_audit_bulk_robots_rules_output: JsonSchema = { + "additionalProperties": { + "$ref": "#/$defs/ai-audit_robots_rules" + }, + "type": "object" +}; + +/** + * The schema of `ai-audit_content_signal` in responses. + */ +export const ai_audit_content_signal_output: JsonSchema = { + "properties": { + "ai-input": { + "enum": [ + "yes", + "no" + ], + "type": "string" + }, + "ai-train": { + "enum": [ + "yes", + "no" + ], + "type": "string" + }, + "search": { + "enum": [ + "yes", + "no" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `ai-audit_robots_rules` in responses. + */ +export const ai_audit_robots_rules_output: JsonSchema = { + "properties": { + "sitemaps": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "type": "integer" + }, + "userAgents": { + "additionalProperties": { + "$ref": "#/$defs/ai-audit_user_agent_rules" + }, + "type": "object" + } + }, + "required": [ + "userAgents" + ], + "type": "object" +}; + +/** + * The schema of `ai-audit_user_agent_rules` in responses. + */ +export const ai_audit_user_agent_rules_output: JsonSchema = { + "properties": { + "allow": { + "items": { + "type": "string" + }, + "type": "array" + }, + "contentSignals": { + "$ref": "#/$defs/ai-audit_content_signal" + }, + "crawlDelay": { + "type": "number" + }, + "disallow": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "allow", + "disallow" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/aiAudit/robots/tools.ts b/src/generated/forge-mcp/aiAudit/robots/tools.ts index f3e4ce20..64ac5abb 100644 --- a/src/generated/forge-mcp/aiAudit/robots/tools.ts +++ b/src/generated/forge-mcp/aiAudit/robots/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + ai_audit_api_message_output, + ai_audit_api_response_common_failure_output, + ai_audit_bulk_robots_rules_output, + ai_audit_content_signal_output, + ai_audit_robots_rules_output, + ai_audit_user_agent_rules_output, +} from "./outputs.js"; /** * The tools of `ai_audit.robots`. @@ -46,6 +54,42 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/ai-audit_bulk_robots_rules" + }, + "400": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "408": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "503": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + } + }, + $defs: { + "ai-audit_api-response-common-failure": ai_audit_api_response_common_failure_output, + "ai-audit_api_message": ai_audit_api_message_output, + "ai-audit_bulk_robots_rules": ai_audit_bulk_robots_rules_output, + "ai-audit_content_signal": ai_audit_content_signal_output, + "ai-audit_robots_rules": ai_audit_robots_rules_output, + "ai-audit_user_agent_rules": ai_audit_user_agent_rules_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ai-audit/robots/bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -86,6 +130,38 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/ai-audit_robots_rules" + }, + "400": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + }, + "503": { + "$ref": "#/$defs/ai-audit_api-response-common-failure" + } + }, + $defs: { + "ai-audit_api-response-common-failure": ai_audit_api_response_common_failure_output, + "ai-audit_api_message": ai_audit_api_message_output, + "ai-audit_content_signal": ai_audit_content_signal_output, + "ai-audit_robots_rules": ai_audit_robots_rules_output, + "ai-audit_user_agent_rules": ai_audit_user_agent_rules_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ai-audit/robots`, query: [ diff --git a/src/generated/forge-mcp/aiGateway/customDomains/tools.ts b/src/generated/forge-mcp/aiGateway/customDomains/tools.ts index 2712c29a..c2c14488 100644 --- a/src/generated/forge-mcp/aiGateway/customDomains/tools.ts +++ b/src/generated/forge-mcp/aiGateway/customDomains/tools.ts @@ -83,6 +83,78 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "cname_target": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "gateway_id": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "modified_at": { + "type": "integer" + }, + "status": { + "enum": [ + "initializing", + "pending_dcv", + "active", + "blocked", + "error" + ], + "type": "string" + } + }, + "required": [ + "cname_target", + "created_at", + "gateway_id", + "hostname", + "modified_at", + "status" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/custom-domains`, body: { value: args["body"], mediaType: "application/json" }, @@ -143,6 +215,85 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "type": "integer" + }, + "gateway_id": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "modified_at": { + "type": "integer" + }, + "ssl_hostname_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "initializing", + "pending_dcv", + "active", + "blocked", + "error" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "gateway_id", + "hostname", + "modified_at", + "ssl_hostname_id", + "status" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/custom-domains/${pathParam(args, "hostname")}`, }), @@ -203,6 +354,85 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "type": "integer" + }, + "gateway_id": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "modified_at": { + "type": "integer" + }, + "ssl_hostname_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "initializing", + "pending_dcv", + "active", + "blocked", + "error" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "gateway_id", + "hostname", + "modified_at", + "ssl_hostname_id", + "status" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/custom-domains/${pathParam(args, "hostname")}`, }), @@ -280,6 +510,99 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "type": "integer" + }, + "gateway_id": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "modified_at": { + "type": "integer" + }, + "ssl_hostname_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "initializing", + "pending_dcv", + "active", + "blocked", + "error" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "gateway_id", + "hostname", + "modified_at", + "ssl_hostname_id", + "status" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/custom-domains`, query: [ diff --git a/src/generated/forge-mcp/aiGateway/customProviders/tools.ts b/src/generated/forge-mcp/aiGateway/customProviders/tools.ts index 1362b66c..bd6f2c6c 100644 --- a/src/generated/forge-mcp/aiGateway/customProviders/tools.ts +++ b/src/generated/forge-mcp/aiGateway/customProviders/tools.ts @@ -113,6 +113,108 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "base_url": { + "type": "string" + }, + "beta": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "curl_example": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "headers": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "js_example": { + "type": "string" + }, + "link": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "base_url", + "created_at", + "id", + "modified_at", + "name", + "slug" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/custom-providers`, body: { value: args["body"], mediaType: "application/json" }, @@ -168,6 +270,101 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "base_url": { + "type": "string" + }, + "beta": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "curl_example": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "headers": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "js_example": { + "type": "string" + }, + "link": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "base_url", + "created_at", + "id", + "modified_at", + "name", + "slug" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/custom-providers/${pathParam(args, "id")}`, }), @@ -223,6 +420,101 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "base_url": { + "type": "string" + }, + "beta": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "curl_example": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "headers": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "js_example": { + "type": "string" + }, + "link": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "base_url", + "created_at", + "id", + "modified_at", + "name", + "slug" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/custom-providers/${pathParam(args, "id")}`, }), @@ -291,6 +583,115 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "base_url": { + "type": "string" + }, + "beta": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "curl_example": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "headers": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "js_example": { + "type": "string" + }, + "link": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "base_url", + "created_at", + "id", + "modified_at", + "name", + "slug" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/custom-providers`, query: [ @@ -414,6 +815,138 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "base_url": { + "type": "string" + }, + "beta": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "curl_example": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "headers": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "js_example": { + "type": "string" + }, + "link": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "base_url", + "created_at", + "id", + "modified_at", + "name", + "slug" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/custom-providers/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/aiGateway/datasets/tools.ts b/src/generated/forge-mcp/aiGateway/datasets/tools.ts index 8d5ef137..1f39fe2b 100644 --- a/src/generated/forge-mcp/aiGateway/datasets/tools.ts +++ b/src/generated/forge-mcp/aiGateway/datasets/tools.ts @@ -129,6 +129,137 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "created_at", + "request_content_type", + "response_content_type", + "success", + "cached", + "provider", + "model", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_at", + "enable", + "filters", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/datasets`, body: { value: args["body"], mediaType: "application/json" }, @@ -188,6 +319,130 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "created_at", + "request_content_type", + "response_content_type", + "success", + "cached", + "provider", + "model", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_at", + "enable", + "filters", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/datasets/${pathParam(args, "id")}`, }), @@ -247,6 +502,130 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "created_at", + "request_content_type", + "response_content_type", + "success", + "cached", + "provider", + "model", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_at", + "enable", + "filters", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/datasets/${pathParam(args, "id")}`, }), @@ -320,6 +699,144 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "created_at", + "request_content_type", + "response_content_type", + "success", + "cached", + "provider", + "model", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_at", + "enable", + "filters", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/datasets`, query: [ @@ -457,6 +974,167 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "created_at", + "request_content_type", + "response_content_type", + "success", + "cached", + "provider", + "model", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_at", + "enable", + "filters", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/datasets/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts b/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts index ebf28f25..08b7df54 100644 --- a/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts +++ b/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts @@ -71,6 +71,392 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "elements": { + "items": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "next": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "false": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "true": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "false", + "true" + ], + "type": "object" + }, + "properties": { + "properties": { + "conditions": { + "type": "object" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "conditional" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "percentage" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "key": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "count", + "cost" + ], + "type": "string" + }, + "window": { + "type": "number" + } + }, + "required": [ + "key", + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "type": { + "enum": [ + "rate" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "model": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "retries": { + "type": "number" + }, + "timeout": { + "type": "number" + } + }, + "required": [ + "model", + "provider", + "retries", + "timeout" + ], + "type": "object" + }, + "type": { + "enum": [ + "model" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "end" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_at", + "elements", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes/${pathParam(args, "id")}/deployments`, body: { value: args["body"], mediaType: "application/json" }, @@ -130,6 +516,98 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "deployments": { + "items": { + "properties": { + "created_at": { + "type": "string" + }, + "deployment_id": { + "type": "string" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "created_at", + "deployment_id", + "version_id" + ], + "type": "object" + }, + "type": "array" + }, + "order_by": { + "type": "string" + }, + "order_by_direction": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + } + }, + "required": [ + "deployments", + "order_by", + "order_by_direction", + "page", + "per_page" + ], + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "data", + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes/${pathParam(args, "id")}/deployments`, }), diff --git a/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts b/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts index 0147eab0..72ffd98c 100644 --- a/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts +++ b/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts @@ -390,15 +390,895 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "deployment": { + "properties": { + "created_at": { + "type": "string" + }, + "deployment_id": { + "type": "string" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "created_at", + "deployment_id", + "version_id" + ], + "type": "object" + }, + "elements": { + "items": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "next": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "false": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "true": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "false", + "true" + ], + "type": "object" + }, + "properties": { + "properties": { + "conditions": { + "type": "object" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "conditional" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "percentage" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "key": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "count", + "cost" + ], + "type": "string" + }, + "window": { + "type": "number" + } + }, + "required": [ + "key", + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "type": { + "enum": [ + "rate" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "model": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "retries": { + "type": "number" + }, + "timeout": { + "type": "number" + } + }, + "required": [ + "model", + "provider", + "retries", + "timeout" + ], + "type": "object" + }, + "type": { + "enum": [ + "model" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "end" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "properties": { + "active": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "created_at": { + "type": "string" + }, + "data": { + "type": "string" + }, + "is_valid": { + "type": "boolean" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "active", + "created_at", + "data", + "version_id" + ], + "type": "object" + } + }, + "required": [ + "created_at", + "deployment", + "elements", + "gateway_id", + "id", + "modified_at", + "name", + "version" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "ai_gateway_dynamic_routing_delete", + title: "Delete a dynamic route", + description: "Deletes a dynamic route from an AI Gateway.\n\nThis method is beta.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + required: [ + "account_id", + "gateway_id", + "id" + ], + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete a dynamic route" + }, + method: "DELETE", + path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}", + extensions: { + "x-api-token-group": [ + "AI Gateway Write" + ], + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.aig" + ], + "x-fern-enum": { + "com.cloudflare.api.account.aig": { + "name": "com_cloudflare_api_account_aig" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "elements": { + "items": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "next": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "false": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "true": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "false", + "true" + ], + "type": "object" + }, + "properties": { + "properties": { + "conditions": { + "type": "object" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "conditional" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "percentage" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "key": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "count", + "cost" + ], + "type": "string" + }, + "window": { + "type": "number" + } + }, + "required": [ + "key", + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "type": { + "enum": [ + "rate" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "model": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "retries": { + "type": "number" + }, + "timeout": { + "type": "number" + } + }, + "required": [ + "model", + "provider", + "retries", + "timeout" + ], + "type": "object" + }, + "type": { + "enum": [ + "model" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "end" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_at", + "elements", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes`, - body: { value: args["body"], mediaType: "application/json" }, + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes/${pathParam(args, "id")}`, }), }, { - name: "ai_gateway_dynamic_routing_delete", - title: "Delete a dynamic route", - description: "Deletes a dynamic route from an AI Gateway.\n\nThis method is beta.", + name: "ai_gateway_dynamic_routing_get", + title: "Get a dynamic route", + description: "Retrieves a dynamic route with its routing elements, active version, and current deployment.\n\nThis method is beta.", inputSchema: { type: "object", properties: { @@ -408,54 +1288,492 @@ export const tools: readonly Tool[] = [ "gateway_id": { "type": "string" }, - "id": { - "type": "string" - } - }, - required: [ - "account_id", - "gateway_id", - "id" - ], - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Delete a dynamic route" - }, - method: "DELETE", - path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}", - extensions: { - "x-api-token-group": [ - "AI Gateway Write" - ], - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.aig" - ], - "x-fern-enum": { - "com.cloudflare.api.account.aig": { - "name": "com_cloudflare_api_account_aig" - } + "id": { + "type": "string" + } + }, + required: [ + "account_id", + "gateway_id", + "id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get a dynamic route" + }, + method: "GET", + path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}", + extensions: { + "x-api-token-group": [ + "AI Gateway Write", + "AI Gateway Read" + ], + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.aig" + ], + "x-fern-enum": { + "com.cloudflare.api.account.aig": { + "name": "com_cloudflare_api_account_aig" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "deployment": { + "properties": { + "created_at": { + "type": "string" + }, + "deployment_id": { + "type": "string" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "created_at", + "deployment_id", + "version_id" + ], + "type": "object" + }, + "elements": { + "items": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "next": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "false": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "true": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "false", + "true" + ], + "type": "object" + }, + "properties": { + "properties": { + "conditions": { + "type": "object" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "conditional" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "percentage" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "key": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "count", + "cost" + ], + "type": "string" + }, + "window": { + "type": "number" + } + }, + "required": [ + "key", + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "type": { + "enum": [ + "rate" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "model": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "retries": { + "type": "number" + }, + "timeout": { + "type": "number" + } + }, + "required": [ + "model", + "provider", + "retries", + "timeout" + ], + "type": "object" + }, + "type": { + "enum": [ + "model" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "end" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "properties": { + "active": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "created_at": { + "type": "string" + }, + "data": { + "type": "string" + }, + "is_valid": { + "type": "boolean" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "active", + "created_at", + "data", + "version_id" + ], + "type": "object" + } + }, + "required": [ + "created_at", + "deployment", + "elements", + "gateway_id", + "id", + "modified_at", + "name", + "version" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes/${pathParam(args, "id")}`, }), }, { - name: "ai_gateway_dynamic_routing_get", - title: "Get a dynamic route", - description: "Retrieves a dynamic route with its routing elements, active version, and current deployment.\n\nThis method is beta.", + name: "ai_gateway_dynamic_routing_list", + title: "List dynamic routes", + description: "Lists the dynamic routes configured on an AI Gateway.\n\nThis method is beta.", inputSchema: { type: "object", properties: { @@ -465,14 +1783,18 @@ export const tools: readonly Tool[] = [ "gateway_id": { "type": "string" }, - "id": { - "type": "string" + "page": { + "description": "Page number", + "type": "integer" + }, + "per_page": { + "description": "Number of routes per page", + "type": "integer" } }, required: [ "account_id", - "gateway_id", - "id" + "gateway_id" ], }, annotations: { @@ -480,10 +1802,10 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Get a dynamic route" + "title": "List dynamic routes" }, method: "GET", - path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}", + path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes", extensions: { "x-api-token-group": [ "AI Gateway Write", @@ -506,50 +1828,540 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "order_by": { + "type": "string" + }, + "order_by_direction": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "routes": { + "items": { + "properties": { + "account_tag": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deployment": { + "properties": { + "created_at": { + "type": "string" + }, + "deployment_id": { + "type": "string" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "created_at", + "deployment_id", + "version_id" + ], + "type": "object" + }, + "elements": { + "items": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "next": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "false": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "true": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "false", + "true" + ], + "type": "object" + }, + "properties": { + "properties": { + "conditions": { + "type": "object" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "conditional" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "percentage" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "key": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "count", + "cost" + ], + "type": "string" + }, + "window": { + "type": "number" + } + }, + "required": [ + "key", + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "type": { + "enum": [ + "rate" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "model": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "retries": { + "type": "number" + }, + "timeout": { + "type": "number" + } + }, + "required": [ + "model", + "provider", + "retries", + "timeout" + ], + "type": "object" + }, + "type": { + "enum": [ + "model" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "end" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "properties": { + "active": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "created_at": { + "type": "string" + }, + "data": { + "type": "string" + }, + "is_valid": { + "type": "boolean" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "active", + "created_at", + "data", + "version_id" + ], + "type": "object" + } + }, + "required": [ + "account_tag", + "created_at", + "deployment", + "elements", + "gateway_id", + "id", + "modified_at", + "name", + "version" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "order_by", + "order_by_direction", + "page", + "per_page", + "routes" + ], + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "data", + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes/${pathParam(args, "id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes`, + query: [ + ["page", args["page"], true], + ["per_page", args["per_page"], true], + ], }), }, { - name: "ai_gateway_dynamic_routing_list", - title: "List dynamic routes", - description: "Lists the dynamic routes configured on an AI Gateway.\n\nThis method is beta.", + name: "ai_gateway_dynamic_routing_update", + title: "Rename a dynamic route", + description: "Updates the name of a dynamic route. To change routing behaviour, create and deploy a new version.\n\nThis method is beta.", inputSchema: { type: "object", properties: { "account_id": { "type": "string" }, + "body": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "gateway_id": { "type": "string" }, - "page": { - "description": "Page number", - "type": "integer" - }, - "per_page": { - "description": "Number of routes per page", - "type": "integer" + "id": { + "type": "string" } }, required: [ "account_id", - "gateway_id" + "gateway_id", + "id" ], }, annotations: { "destructiveHint": false, - "idempotentHint": true, + "idempotentHint": false, "openWorldHint": true, - "readOnlyHint": true, - "title": "List dynamic routes" + "readOnlyHint": false, + "title": "Rename a dynamic route" }, - method: "GET", - path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes", + method: "PATCH", + path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}", extensions: { "x-api-token-group": [ - "AI Gateway Write", - "AI Gateway Read" + "AI Gateway Write" ], "x-cfPermissionsRequired": { "enum": [ @@ -568,77 +2380,796 @@ export const tools: readonly Tool[] = [ "pro": true } }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes`, - query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ], - }), - }, - { - name: "ai_gateway_dynamic_routing_update", - title: "Rename a dynamic route", - description: "Updates the name of a dynamic route. To change routing behaviour, create and deploy a new version.\n\nThis method is beta.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" + responses: { + schemas: { + "200": { + "properties": { + "route": { + "properties": { + "account_tag": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "deployment": { + "properties": { + "created_at": { + "type": "string" + }, + "deployment_id": { + "type": "string" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "created_at", + "deployment_id", + "version_id" + ], + "type": "object" + }, + "elements": { + "items": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "next": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "false": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "true": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "false", + "true" + ], + "type": "object" + }, + "properties": { + "properties": { + "conditions": { + "type": "object" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "conditional" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "percentage" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "key": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "count", + "cost" + ], + "type": "string" + }, + "window": { + "type": "number" + } + }, + "required": [ + "key", + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "type": { + "enum": [ + "rate" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "model": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "retries": { + "type": "number" + }, + "timeout": { + "type": "number" + } + }, + "required": [ + "model", + "provider", + "retries", + "timeout" + ], + "type": "object" + }, + "type": { + "enum": [ + "model" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "end" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "properties": { + "active": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "created_at": { + "type": "string" + }, + "data": { + "type": "string" + }, + "is_valid": { + "type": "boolean" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "active", + "created_at", + "data", + "version_id" + ], + "type": "object" + } + }, + "required": [ + "account_tag", + "created_at", + "deployment", + "elements", + "gateway_id", + "id", + "modified_at", + "name", + "version" + ], + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "route", + "success" + ], + "type": "object" }, - "body": { + "400": { "properties": { - "name": { - "type": "string" + "route": { + "properties": { + "account_tag": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "elements": { + "items": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "next": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "false": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "true": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "false", + "true" + ], + "type": "object" + }, + "properties": { + "properties": { + "conditions": { + "type": "object" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "conditional" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "percentage" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "key": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "count", + "cost" + ], + "type": "string" + }, + "window": { + "type": "number" + } + }, + "required": [ + "key", + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "type": { + "enum": [ + "rate" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "model": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "retries": { + "type": "number" + }, + "timeout": { + "type": "number" + } + }, + "required": [ + "model", + "provider", + "retries", + "timeout" + ], + "type": "object" + }, + "type": { + "enum": [ + "model" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "end" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "account_tag", + "created_at", + "elements", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "success": { + "type": "boolean" } }, "required": [ - "name" + "route", + "success" ], "type": "object" - }, - "gateway_id": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - required: [ - "account_id", - "gateway_id", - "id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Rename a dynamic route" - }, - method: "PATCH", - path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}", - extensions: { - "x-api-token-group": [ - "AI Gateway Write" - ], - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.aig" - ], - "x-fern-enum": { - "com.cloudflare.api.account.aig": { - "name": "com_cloudflare_api_account_aig" - } } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes/${pathParam(args, "id")}`, diff --git a/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts b/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts index 66140d65..8107fba4 100644 --- a/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts +++ b/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts @@ -390,6 +390,392 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "elements": { + "items": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "next": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "false": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "true": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "false", + "true" + ], + "type": "object" + }, + "properties": { + "properties": { + "conditions": { + "type": "object" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "conditional" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "percentage" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "key": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "count", + "cost" + ], + "type": "string" + }, + "window": { + "type": "number" + } + }, + "required": [ + "key", + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "type": { + "enum": [ + "rate" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "model": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "retries": { + "type": "number" + }, + "timeout": { + "type": "number" + } + }, + "required": [ + "model", + "provider", + "retries", + "timeout" + ], + "type": "object" + }, + "type": { + "enum": [ + "model" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "end" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_at", + "elements", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes/${pathParam(args, "id")}/versions`, body: { value: args["body"], mediaType: "application/json" }, @@ -411,47 +797,451 @@ export const tools: readonly Tool[] = [ "id": { "type": "string" }, - "version_id": { - "type": "string" - } - }, - required: [ - "account_id", - "gateway_id", - "id", - "version_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Get a dynamic route version" - }, - method: "GET", - path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/versions/{version_id}", - extensions: { - "x-api-token-group": [ - "AI Gateway Write", - "AI Gateway Read" - ], - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.aig" - ], - "x-fern-enum": { - "com.cloudflare.api.account.aig": { - "name": "com_cloudflare_api_account_aig" - } + "version_id": { + "type": "string" + } + }, + required: [ + "account_id", + "gateway_id", + "id", + "version_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get a dynamic route version" + }, + method: "GET", + path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/versions/{version_id}", + extensions: { + "x-api-token-group": [ + "AI Gateway Write", + "AI Gateway Read" + ], + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.aig" + ], + "x-fern-enum": { + "com.cloudflare.api.account.aig": { + "name": "com_cloudflare_api_account_aig" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "properties": { + "active": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "created_at": { + "type": "string" + }, + "data": { + "type": "string" + }, + "elements": { + "items": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "next": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "false": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "true": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "false", + "true" + ], + "type": "object" + }, + "properties": { + "properties": { + "conditions": { + "type": "object" + } + }, + "type": "object" + }, + "type": { + "enum": [ + "conditional" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "percentage" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "key": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "count", + "cost" + ], + "type": "string" + }, + "window": { + "type": "number" + } + }, + "required": [ + "key", + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "type": { + "enum": [ + "rate" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "properties": { + "fallback": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "success": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + } + }, + "required": [ + "fallback", + "success" + ], + "type": "object" + }, + "properties": { + "properties": { + "model": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "retries": { + "type": "number" + }, + "timeout": { + "type": "number" + } + }, + "required": [ + "model", + "provider", + "retries", + "timeout" + ], + "type": "object" + }, + "type": { + "enum": [ + "model" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "properties", + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "outputs": { + "additionalProperties": { + "properties": { + "elementId": { + "type": "string" + } + }, + "required": [ + "elementId" + ], + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "end" + ], + "type": "string" + } + }, + "required": [ + "id", + "outputs", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_valid": { + "type": "boolean" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "active", + "created_at", + "data", + "elements", + "gateway_id", + "id", + "modified_at", + "name", + "version_id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes/${pathParam(args, "id")}/versions/${pathParam(args, "version_id")}`, @@ -511,6 +1301,109 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "order_by": { + "type": "string" + }, + "order_by_direction": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "versions": { + "items": { + "properties": { + "active": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "created_at": { + "type": "string" + }, + "data": { + "type": "string" + }, + "is_valid": { + "type": "boolean" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "active", + "created_at", + "data", + "version_id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "order_by", + "order_by_direction", + "page", + "per_page", + "versions" + ], + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "data", + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes/${pathParam(args, "id")}/versions`, }), diff --git a/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts b/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts index aa59657a..d452d885 100644 --- a/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts +++ b/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts @@ -73,6 +73,115 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "mandatory": { + "type": "boolean" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "created_at", + "description", + "enable", + "id", + "mandatory", + "modified_at", + "name", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/evaluation-types`, query: [ diff --git a/src/generated/forge-mcp/aiGateway/evaluations/tools.ts b/src/generated/forge-mcp/aiGateway/evaluations/tools.ts index cdb2c62b..677bede6 100644 --- a/src/generated/forge-mcp/aiGateway/evaluations/tools.ts +++ b/src/generated/forge-mcp/aiGateway/evaluations/tools.ts @@ -84,6 +84,235 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "datasets": { + "items": { + "properties": { + "account_id": { + "type": "string" + }, + "account_tag": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "created_at", + "request_content_type", + "response_content_type", + "success", + "cached", + "provider", + "model", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "account_id", + "account_tag", + "created_at", + "enable", + "filters", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "processed": { + "type": "boolean" + }, + "results": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "evaluation_id": { + "type": "string" + }, + "evaluation_type_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "result": { + "type": "string" + }, + "status": { + "type": "number" + }, + "status_description": { + "type": "string" + }, + "total_logs": { + "type": "number" + } + }, + "required": [ + "created_at", + "evaluation_id", + "evaluation_type_id", + "id", + "modified_at", + "result", + "status", + "status_description", + "total_logs" + ], + "type": "object" + }, + "type": "array" + }, + "total_logs": { + "type": "number" + } + }, + "required": [ + "created_at", + "datasets", + "gateway_id", + "id", + "modified_at", + "name", + "processed", + "results", + "total_logs" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/evaluations`, body: { value: args["body"], mediaType: "application/json" }, @@ -143,6 +372,228 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "datasets": { + "items": { + "properties": { + "account_id": { + "type": "string" + }, + "account_tag": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "created_at", + "request_content_type", + "response_content_type", + "success", + "cached", + "provider", + "model", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "account_id", + "account_tag", + "created_at", + "enable", + "filters", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "processed": { + "type": "boolean" + }, + "results": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "evaluation_id": { + "type": "string" + }, + "evaluation_type_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "result": { + "type": "string" + }, + "status": { + "type": "number" + }, + "status_description": { + "type": "string" + }, + "total_logs": { + "type": "number" + } + }, + "required": [ + "created_at", + "evaluation_id", + "evaluation_type_id", + "id", + "modified_at", + "result", + "status", + "status_description", + "total_logs" + ], + "type": "object" + }, + "type": "array" + }, + "total_logs": { + "type": "number" + } + }, + "required": [ + "created_at", + "datasets", + "gateway_id", + "id", + "modified_at", + "name", + "processed", + "results", + "total_logs" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/evaluations/${pathParam(args, "id")}`, }), @@ -202,6 +653,228 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "datasets": { + "items": { + "properties": { + "account_id": { + "type": "string" + }, + "account_tag": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "created_at", + "request_content_type", + "response_content_type", + "success", + "cached", + "provider", + "model", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "account_id", + "account_tag", + "created_at", + "enable", + "filters", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "processed": { + "type": "boolean" + }, + "results": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "evaluation_id": { + "type": "string" + }, + "evaluation_type_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "result": { + "type": "string" + }, + "status": { + "type": "number" + }, + "status_description": { + "type": "string" + }, + "total_logs": { + "type": "number" + } + }, + "required": [ + "created_at", + "evaluation_id", + "evaluation_type_id", + "id", + "modified_at", + "result", + "status", + "status_description", + "total_logs" + ], + "type": "object" + }, + "type": "array" + }, + "total_logs": { + "type": "number" + } + }, + "required": [ + "created_at", + "datasets", + "gateway_id", + "id", + "modified_at", + "name", + "processed", + "results", + "total_logs" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/evaluations/${pathParam(args, "id")}`, }), @@ -275,6 +948,242 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "datasets": { + "items": { + "properties": { + "account_id": { + "type": "string" + }, + "account_tag": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "enable": { + "type": "boolean" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "created_at", + "request_content_type", + "response_content_type", + "success", + "cached", + "provider", + "model", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + }, + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "account_id", + "account_tag", + "created_at", + "enable", + "filters", + "gateway_id", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "processed": { + "type": "boolean" + }, + "results": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "evaluation_id": { + "type": "string" + }, + "evaluation_type_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "result": { + "type": "string" + }, + "status": { + "type": "number" + }, + "status_description": { + "type": "string" + }, + "total_logs": { + "type": "number" + } + }, + "required": [ + "created_at", + "evaluation_id", + "evaluation_type_id", + "id", + "modified_at", + "result", + "status", + "status_description", + "total_logs" + ], + "type": "object" + }, + "type": "array" + }, + "total_logs": { + "type": "number" + } + }, + "required": [ + "created_at", + "datasets", + "gateway_id", + "id", + "modified_at", + "name", + "processed", + "results", + "total_logs" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/evaluations`, query: [ diff --git a/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts b/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts index 3d0effd7..4e9b641a 100644 --- a/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts +++ b/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts @@ -90,6 +90,93 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "alias": { + "type": "string" + }, + "default_config": { + "type": "boolean" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "provider_slug": { + "type": "string" + }, + "rate_limit": { + "type": "number" + }, + "rate_limit_period": { + "type": "number" + }, + "secret_id": { + "type": "string" + }, + "secret_preview": { + "type": "string" + } + }, + "required": [ + "alias", + "default_config", + "gateway_id", + "id", + "modified_at", + "provider_slug", + "secret_id", + "secret_preview" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/provider_configs`, body: { value: args["body"], mediaType: "application/json" }, @@ -149,6 +236,86 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "alias": { + "type": "string" + }, + "default_config": { + "type": "boolean" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "provider_slug": { + "type": "string" + }, + "rate_limit": { + "type": "number" + }, + "rate_limit_period": { + "type": "number" + }, + "secret_id": { + "type": "string" + }, + "secret_preview": { + "type": "string" + } + }, + "required": [ + "alias", + "default_config", + "gateway_id", + "id", + "modified_at", + "provider_slug", + "secret_id", + "secret_preview" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/provider_configs/${pathParam(args, "id")}`, }), @@ -204,6 +371,86 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "alias": { + "type": "string" + }, + "default_config": { + "type": "boolean" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "provider_slug": { + "type": "string" + }, + "rate_limit": { + "type": "number" + }, + "rate_limit_period": { + "type": "number" + }, + "secret_id": { + "type": "string" + }, + "secret_preview": { + "type": "string" + } + }, + "required": [ + "alias", + "default_config", + "gateway_id", + "id", + "modified_at", + "provider_slug", + "secret_id", + "secret_preview" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/provider_configs/${pathParam(args, "id")}`, }), @@ -263,6 +510,100 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "default_config": { + "type": "boolean" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "provider_slug": { + "type": "string" + }, + "rate_limit": { + "type": "number" + }, + "rate_limit_period": { + "type": "number" + }, + "secret_id": { + "type": "string" + }, + "secret_preview": { + "type": "string" + } + }, + "required": [ + "alias", + "default_config", + "gateway_id", + "id", + "modified_at", + "provider_slug", + "secret_id", + "secret_preview" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/provider_configs`, query: [ @@ -337,6 +678,123 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "alias": { + "type": "string" + }, + "default_config": { + "type": "boolean" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "provider_slug": { + "type": "string" + }, + "rate_limit": { + "type": "number" + }, + "rate_limit_period": { + "type": "number" + }, + "secret_id": { + "type": "string" + }, + "secret_preview": { + "type": "string" + } + }, + "required": [ + "alias", + "default_config", + "gateway_id", + "id", + "modified_at", + "provider_slug", + "secret_id", + "secret_preview" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/provider_configs/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/aiGateway/gateways/tools.ts b/src/generated/forge-mcp/aiGateway/gateways/tools.ts index c7816810..3e11fe9d 100644 --- a/src/generated/forge-mcp/aiGateway/gateways/tools.ts +++ b/src/generated/forge-mcp/aiGateway/gateways/tools.ts @@ -751,75 +751,3936 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "authentication": { + "type": "boolean" + }, + "byok_only": { + "type": "boolean" + }, + "cache_invalidate_on_update": { + "type": "boolean" + }, + "cache_ttl": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "collect_logs": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "dlp": { + "anyOf": [ + { + "properties": { + "action": { + "enum": [ + "BLOCK", + "FLAG" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "enabled", + "profiles" + ], + "type": "object" + }, + { + "properties": { + "enabled": { + "type": "boolean" + }, + "policies": { + "items": { + "properties": { + "action": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "check": { + "items": { + "enum": [ + "REQUEST", + "RESPONSE" + ], + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "check", + "enabled", + "id", + "profiles" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "enabled", + "policies" + ], + "type": "object" + } + ] + }, + "guardrails": { + "oneOf": [ + { + "properties": { + "prompt": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + }, + "response": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "prompt", + "response" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "log_classification": { + "type": "boolean" + }, + "log_management": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "log_management_strategy": { + "oneOf": [ + { + "enum": [ + "STOP_INSERTING", + "DELETE_OLDEST" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "logpush": { + "type": "boolean" + }, + "logpush_public_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "otel": { + "oneOf": [ + { + "items": { + "properties": { + "authorization": { + "type": "string" + }, + "content_type": { + "enum": [ + "json", + "protobuf" + ], + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "url" + ], + "type": "object" + }, + "maxItems": 5, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_interval": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_limit": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_technique": { + "oneOf": [ + { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_backoff": { + "oneOf": [ + { + "enum": [ + "constant", + "linear", + "exponential" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_delay": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "retry_max_attempts": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "spend_limits": { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "rules": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "cost" + ], + "type": "string" + }, + "metadata": { + "additionalProperties": { + "oneOf": [ + { + "properties": { + "mode": { + "enum": [ + "partition" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + } + ] + }, + "type": "object" + }, + "model": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "provider": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + "window": { + "type": "integer" + } + }, + "required": [ + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "store_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "stripe": { + "oneOf": [ + { + "properties": { + "authorization": { + "type": "string" + }, + "usage_events": { + "items": { + "properties": { + "payload": { + "type": "string" + } + }, + "required": [ + "payload" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "authorization", + "usage_events" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "workers_ai_billing_mode": { + "enum": [ + "postpaid", + "unified" + ], + "type": "string" + }, + "zdr": { + "type": "boolean" + } + }, + "required": [ + "cache_invalidate_on_update", + "cache_ttl", + "collect_logs", + "created_at", + "id", + "modified_at", + "rate_limiting_interval", + "rate_limiting_limit" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "ai_gateway_gateways_delete", + title: "Delete a gateway", + description: "Permanently deletes an AI Gateway, its configuration, and its stored logs.\n\nConfirm with the user before calling this tool. This permanently deletes the gateway, its configuration, and its stored logs. Requests sent to this gateway will fail. This action cannot be undone.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + required: [ + "account_id", + "gateway_id" + ], + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete a gateway" + }, + method: "DELETE", + path: "/accounts/{account_id}/ai-gateway/gateways/{id}", + extensions: { + "x-api-token-group": [ + "AI Gateway Write" + ], + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.aig" + ], + "x-fern-enum": { + "com.cloudflare.api.account.aig": { + "name": "com_cloudflare_api_account_aig" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "properties": { + "authentication": { + "type": "boolean" + }, + "byok_only": { + "type": "boolean" + }, + "cache_invalidate_on_update": { + "type": "boolean" + }, + "cache_ttl": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "collect_logs": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "dlp": { + "anyOf": [ + { + "properties": { + "action": { + "enum": [ + "BLOCK", + "FLAG" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "enabled", + "profiles" + ], + "type": "object" + }, + { + "properties": { + "enabled": { + "type": "boolean" + }, + "policies": { + "items": { + "properties": { + "action": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "check": { + "items": { + "enum": [ + "REQUEST", + "RESPONSE" + ], + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "check", + "enabled", + "id", + "profiles" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "enabled", + "policies" + ], + "type": "object" + } + ] + }, + "guardrails": { + "oneOf": [ + { + "properties": { + "prompt": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + }, + "response": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "prompt", + "response" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "log_classification": { + "type": "boolean" + }, + "log_management": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "log_management_strategy": { + "oneOf": [ + { + "enum": [ + "STOP_INSERTING", + "DELETE_OLDEST" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "logpush": { + "type": "boolean" + }, + "logpush_public_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "otel": { + "oneOf": [ + { + "items": { + "properties": { + "authorization": { + "type": "string" + }, + "content_type": { + "enum": [ + "json", + "protobuf" + ], + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "url" + ], + "type": "object" + }, + "maxItems": 5, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_interval": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_limit": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_technique": { + "oneOf": [ + { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_backoff": { + "oneOf": [ + { + "enum": [ + "constant", + "linear", + "exponential" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_delay": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "retry_max_attempts": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "spend_limits": { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "rules": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "cost" + ], + "type": "string" + }, + "metadata": { + "additionalProperties": { + "oneOf": [ + { + "properties": { + "mode": { + "enum": [ + "partition" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + } + ] + }, + "type": "object" + }, + "model": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "provider": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + "window": { + "type": "integer" + } + }, + "required": [ + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "store_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "stripe": { + "oneOf": [ + { + "properties": { + "authorization": { + "type": "string" + }, + "usage_events": { + "items": { + "properties": { + "payload": { + "type": "string" + } + }, + "required": [ + "payload" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "authorization", + "usage_events" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "workers_ai_billing_mode": { + "enum": [ + "postpaid", + "unified" + ], + "type": "string" + }, + "zdr": { + "type": "boolean" + } + }, + "required": [ + "cache_invalidate_on_update", + "cache_ttl", + "collect_logs", + "created_at", + "id", + "modified_at", + "rate_limiting_interval", + "rate_limiting_limit" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}`, + }), + }, + { + name: "ai_gateway_gateways_get", + title: "Get a gateway", + description: "Retrieves the configuration of an AI Gateway.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + required: [ + "account_id", + "gateway_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get a gateway" + }, + method: "GET", + path: "/accounts/{account_id}/ai-gateway/gateways/{id}", + extensions: { + "x-api-token-group": [ + "AI Gateway Write", + "AI Gateway Read" + ], + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.aig" + ], + "x-fern-enum": { + "com.cloudflare.api.account.aig": { + "name": "com_cloudflare_api_account_aig" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "properties": { + "authentication": { + "type": "boolean" + }, + "byok_only": { + "type": "boolean" + }, + "cache_invalidate_on_update": { + "type": "boolean" + }, + "cache_ttl": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "collect_logs": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "dlp": { + "anyOf": [ + { + "properties": { + "action": { + "enum": [ + "BLOCK", + "FLAG" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "enabled", + "profiles" + ], + "type": "object" + }, + { + "properties": { + "enabled": { + "type": "boolean" + }, + "policies": { + "items": { + "properties": { + "action": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "check": { + "items": { + "enum": [ + "REQUEST", + "RESPONSE" + ], + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "check", + "enabled", + "id", + "profiles" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "enabled", + "policies" + ], + "type": "object" + } + ] + }, + "guardrails": { + "oneOf": [ + { + "properties": { + "prompt": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + }, + "response": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "prompt", + "response" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "log_classification": { + "type": "boolean" + }, + "log_management": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "log_management_strategy": { + "oneOf": [ + { + "enum": [ + "STOP_INSERTING", + "DELETE_OLDEST" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "logpush": { + "type": "boolean" + }, + "logpush_public_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "otel": { + "oneOf": [ + { + "items": { + "properties": { + "authorization": { + "type": "string" + }, + "content_type": { + "enum": [ + "json", + "protobuf" + ], + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "url" + ], + "type": "object" + }, + "maxItems": 5, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_interval": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_limit": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_technique": { + "oneOf": [ + { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_backoff": { + "oneOf": [ + { + "enum": [ + "constant", + "linear", + "exponential" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_delay": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "retry_max_attempts": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "spend_limits": { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "rules": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "cost" + ], + "type": "string" + }, + "metadata": { + "additionalProperties": { + "oneOf": [ + { + "properties": { + "mode": { + "enum": [ + "partition" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + } + ] + }, + "type": "object" + }, + "model": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "provider": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + "window": { + "type": "integer" + } + }, + "required": [ + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "store_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "stripe": { + "oneOf": [ + { + "properties": { + "authorization": { + "type": "string" + }, + "usage_events": { + "items": { + "properties": { + "payload": { + "type": "string" + } + }, + "required": [ + "payload" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "authorization", + "usage_events" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "workers_ai_billing_mode": { + "enum": [ + "postpaid", + "unified" + ], + "type": "string" + }, + "zdr": { + "type": "boolean" + } + }, + "required": [ + "cache_invalidate_on_update", + "cache_ttl", + "collect_logs", + "created_at", + "id", + "modified_at", + "rate_limiting_interval", + "rate_limiting_limit" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways`, - body: { value: args["body"], mediaType: "application/json" }, + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}`, }), }, { - name: "ai_gateway_gateways_delete", - title: "Delete a gateway", - description: "Permanently deletes an AI Gateway, its configuration, and its stored logs.\n\nConfirm with the user before calling this tool. This permanently deletes the gateway, its configuration, and its stored logs. Requests sent to this gateway will fail. This action cannot be undone.", + name: "ai_gateway_gateways_get_url", + title: "Get Gateway URL", + description: "Retrieves the endpoint URL for an AI Gateway.\n\nThis method is beta.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "ai_gateway_provider": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + required: [ + "account_id", + "gateway_id", + "ai_gateway_provider" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get Gateway URL" + }, + method: "GET", + path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/url/{provider}", + extensions: { + "x-api-token-group": [ + "AI Gateway Write", + "AI Gateway Read" + ], + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.aig" + ], + "x-fern-enum": { + "com.cloudflare.api.account.aig": { + "name": "com_cloudflare_api_account_aig" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/url/${pathParam(args, "ai_gateway_provider")}`, + }), + }, + { + name: "ai_gateway_gateways_list", + title: "List gateways", + description: "Lists the AI Gateways in the account. Use `search` to filter by gateway ID.", inputSchema: { type: "object", properties: { "account_id": { "type": "string" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - } - }, - required: [ - "account_id", - "gateway_id" - ], - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Delete a gateway" - }, - method: "DELETE", - path: "/accounts/{account_id}/ai-gateway/gateways/{id}", - extensions: { - "x-api-token-group": [ - "AI Gateway Write" - ], - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.aig" - ], - "x-fern-enum": { - "com.cloudflare.api.account.aig": { - "name": "com_cloudflare_api_account_aig" - } + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "search": { + "description": "Search by id", + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "List gateways" + }, + method: "GET", + path: "/accounts/{account_id}/ai-gateway/gateways", + extensions: { + "x-api-token-group": [ + "AI Gateway Write", + "AI Gateway Read" + ], + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.aig" + ], + "x-fern-enum": { + "com.cloudflare.api.account.aig": { + "name": "com_cloudflare_api_account_aig" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "authentication": { + "type": "boolean" + }, + "byok_only": { + "type": "boolean" + }, + "cache_invalidate_on_update": { + "type": "boolean" + }, + "cache_ttl": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "collect_logs": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "dlp": { + "anyOf": [ + { + "properties": { + "action": { + "enum": [ + "BLOCK", + "FLAG" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "enabled", + "profiles" + ], + "type": "object" + }, + { + "properties": { + "enabled": { + "type": "boolean" + }, + "policies": { + "items": { + "properties": { + "action": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "check": { + "items": { + "enum": [ + "REQUEST", + "RESPONSE" + ], + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "check", + "enabled", + "id", + "profiles" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "enabled", + "policies" + ], + "type": "object" + } + ] + }, + "guardrails": { + "oneOf": [ + { + "properties": { + "prompt": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + }, + "response": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "prompt", + "response" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "log_classification": { + "type": "boolean" + }, + "log_management": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "log_management_strategy": { + "oneOf": [ + { + "enum": [ + "STOP_INSERTING", + "DELETE_OLDEST" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "logpush": { + "type": "boolean" + }, + "logpush_public_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "otel": { + "oneOf": [ + { + "items": { + "properties": { + "authorization": { + "type": "string" + }, + "content_type": { + "enum": [ + "json", + "protobuf" + ], + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "url" + ], + "type": "object" + }, + "maxItems": 5, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_interval": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_limit": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_technique": { + "oneOf": [ + { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_backoff": { + "oneOf": [ + { + "enum": [ + "constant", + "linear", + "exponential" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_delay": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "retry_max_attempts": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "spend_limits": { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "rules": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "cost" + ], + "type": "string" + }, + "metadata": { + "additionalProperties": { + "oneOf": [ + { + "properties": { + "mode": { + "enum": [ + "partition" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + } + ] + }, + "type": "object" + }, + "model": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "provider": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + "window": { + "type": "integer" + } + }, + "required": [ + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "store_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "stripe": { + "oneOf": [ + { + "properties": { + "authorization": { + "type": "string" + }, + "usage_events": { + "items": { + "properties": { + "payload": { + "type": "string" + } + }, + "required": [ + "payload" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "authorization", + "usage_events" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "workers_ai_billing_mode": { + "enum": [ + "postpaid", + "unified" + ], + "type": "string" + }, + "zdr": { + "type": "boolean" + } + }, + "required": [ + "cache_invalidate_on_update", + "cache_ttl", + "collect_logs", + "created_at", + "id", + "modified_at", + "rate_limiting_interval", + "rate_limiting_limit" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways`, + query: [ + ["page", args["page"], true], + ["per_page", args["per_page"], true], + ["search", args["search"], true], + ], }), }, { - name: "ai_gateway_gateways_get", - title: "Get a gateway", - description: "Retrieves the configuration of an AI Gateway.", + name: "ai_gateway_gateways_update", + title: "Update a gateway", + description: "Updates the configuration of an AI Gateway, such as its caching, rate limiting, logging, and authentication settings.", inputSchema: { type: "object", properties: { "account_id": { "type": "string" }, + "body": { + "properties": { + "authentication": { + "type": "boolean" + }, + "byok_only": { + "description": "Requires customer-provided provider credentials and prevents fallback to Unified Billing.", + "type": "boolean" + }, + "cache_invalidate_on_update": { + "type": "boolean" + }, + "cache_ttl": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "collect_logs": { + "type": "boolean" + }, + "dlp": { + "anyOf": [ + { + "properties": { + "action": { + "enum": [ + "BLOCK", + "FLAG" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "enabled", + "profiles" + ], + "type": "object" + }, + { + "properties": { + "enabled": { + "type": "boolean" + }, + "policies": { + "items": { + "properties": { + "action": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "check": { + "items": { + "enum": [ + "REQUEST", + "RESPONSE" + ], + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "profiles": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "action", + "check", + "enabled", + "id", + "profiles" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "enabled", + "policies" + ], + "type": "object" + } + ] + }, + "guardrails": { + "oneOf": [ + { + "properties": { + "prompt": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + }, + "response": { + "properties": { + "P1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S1": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S10": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S11": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S12": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S13": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S2": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S3": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S4": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S5": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S6": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S7": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S8": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + }, + "S9": { + "enum": [ + "FLAG", + "BLOCK" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "prompt", + "response" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "log_classification": { + "type": "boolean" + }, + "log_management": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "log_management_strategy": { + "oneOf": [ + { + "enum": [ + "STOP_INSERTING", + "DELETE_OLDEST" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "logpush": { + "type": "boolean" + }, + "logpush_public_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "otel": { + "oneOf": [ + { + "items": { + "properties": { + "authorization": { + "type": "string" + }, + "content_type": { + "default": "json", + "enum": [ + "json", + "protobuf" + ], + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "url" + ], + "type": "object" + }, + "maxItems": 5, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_interval": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_limit": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "rate_limiting_technique": { + "oneOf": [ + { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_backoff": { + "description": "Backoff strategy for retry delays", + "oneOf": [ + { + "enum": [ + "constant", + "linear", + "exponential" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_delay": { + "description": "Delay between retry attempts in milliseconds (0-60000)", + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "retry_max_attempts": { + "description": "Maximum number of retry attempts for failed requests (1-5)", + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "spend_limits": { + "oneOf": [ + { + "properties": { + "enabled": { + "default": false, + "type": "boolean" + }, + "rules": { + "default": [], + "items": { + "properties": { + "enabled": { + "default": true, + "type": "boolean" + }, + "id": { + "default": "00000000", + "type": "string" + }, + "limit": { + "type": "number" + }, + "limitType": { + "enum": [ + "cost" + ], + "type": "string" + }, + "metadata": { + "additionalProperties": { + "oneOf": [ + { + "properties": { + "mode": { + "enum": [ + "partition" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + } + ] + }, + "type": "object" + }, + "model": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "provider": { + "properties": { + "mode": { + "enum": [ + "filter" + ], + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "mode", + "values" + ], + "type": "object" + }, + "technique": { + "default": "sliding", + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + }, + "window": { + "type": "integer" + } + }, + "required": [ + "limit", + "limitType", + "window" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "store_id": { + "description": "Secrets Store used by this gateway. Omit on update to keep the current store. Cannot be cleared while stored keys or secret references depend on it.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "stripe": { + "oneOf": [ + { + "properties": { + "authorization": { + "type": "string" + }, + "usage_events": { + "items": { + "properties": { + "payload": { + "type": "string" + } + }, + "required": [ + "payload" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "authorization", + "usage_events" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "workers_ai_billing_mode": { + "default": "postpaid", + "description": "Controls how Workers AI inference calls routed through this gateway are billed. 'postpaid' bills the account directly through Workers AI; 'unified' deducts credits via AI Gateway using neuron-based pricing and delegates billing to AI Gateway.", + "enum": [ + "postpaid", + "unified" + ], + "type": "string" + }, + "zdr": { + "type": "boolean" + } + }, + "required": [ + "cache_invalidate_on_update", + "cache_ttl", + "collect_logs", + "rate_limiting_interval", + "rate_limiting_limit" + ], + "type": "object" + }, "gateway_id": { "description": "Unique identifier of the AI Gateway within the account.", "type": "string" @@ -831,139 +4692,17 @@ export const tools: readonly Tool[] = [ ], }, annotations: { - "destructiveHint": false, + "destructiveHint": true, "idempotentHint": true, "openWorldHint": true, - "readOnlyHint": true, - "title": "Get a gateway" + "readOnlyHint": false, + "title": "Update a gateway" }, - method: "GET", + method: "PUT", path: "/accounts/{account_id}/ai-gateway/gateways/{id}", extensions: { "x-api-token-group": [ - "AI Gateway Write", - "AI Gateway Read" - ], - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.aig" - ], - "x-fern-enum": { - "com.cloudflare.api.account.aig": { - "name": "com_cloudflare_api_account_aig" - } - } - }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}`, - }), - }, - { - name: "ai_gateway_gateways_get_url", - title: "Get Gateway URL", - description: "Retrieves the endpoint URL for an AI Gateway.\n\nThis method is beta.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "ai_gateway_provider": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - } - }, - required: [ - "account_id", - "gateway_id", - "ai_gateway_provider" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Get Gateway URL" - }, - method: "GET", - path: "/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/url/{provider}", - extensions: { - "x-api-token-group": [ - "AI Gateway Write", - "AI Gateway Read" - ], - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.aig" - ], - "x-fern-enum": { - "com.cloudflare.api.account.aig": { - "name": "com_cloudflare_api_account_aig" - } - } - }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/url/${pathParam(args, "ai_gateway_provider")}`, - }), - }, - { - name: "ai_gateway_gateways_list", - title: "List gateways", - description: "Lists the AI Gateways in the account. Use `search` to filter by gateway ID.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" - }, - "search": { - "description": "Search by id", - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "List gateways" - }, - method: "GET", - path: "/accounts/{account_id}/ai-gateway/gateways", - extensions: { - "x-api-token-group": [ - "AI Gateway Write", - "AI Gateway Read" + "AI Gateway Write" ], "x-cfPermissionsRequired": { "enum": [ @@ -982,32 +4721,14 @@ export const tools: readonly Tool[] = [ "pro": true } }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways`, - query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ], - }), - }, - { - name: "ai_gateway_gateways_update", - title: "Update a gateway", - description: "Updates the configuration of an AI Gateway, such as its caching, rate limiting, logging, and authentication settings.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "body": { + responses: { + schemas: { + "200": { "properties": { "authentication": { "type": "boolean" }, "byok_only": { - "description": "Requires customer-provided provider credentials and prevents fallback to Unified Billing.", "type": "boolean" }, "cache_invalidate_on_update": { @@ -1026,6 +4747,10 @@ export const tools: readonly Tool[] = [ "collect_logs": { "type": "boolean" }, + "created_at": { + "format": "date-time", + "type": "string" + }, "dlp": { "anyOf": [ { @@ -1334,6 +5059,12 @@ export const tools: readonly Tool[] = [ } ] }, + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, "log_classification": { "type": "boolean" }, @@ -1374,6 +5105,10 @@ export const tools: readonly Tool[] = [ } ] }, + "modified_at": { + "format": "date-time", + "type": "string" + }, "otel": { "oneOf": [ { @@ -1383,7 +5118,6 @@ export const tools: readonly Tool[] = [ "type": "string" }, "content_type": { - "default": "json", "enum": [ "json", "protobuf" @@ -1449,7 +5183,6 @@ export const tools: readonly Tool[] = [ ] }, "retry_backoff": { - "description": "Backoff strategy for retry delays", "oneOf": [ { "enum": [ @@ -1465,7 +5198,6 @@ export const tools: readonly Tool[] = [ ] }, "retry_delay": { - "description": "Delay between retry attempts in milliseconds (0-60000)", "oneOf": [ { "type": "integer" @@ -1476,7 +5208,6 @@ export const tools: readonly Tool[] = [ ] }, "retry_max_attempts": { - "description": "Maximum number of retry attempts for failed requests (1-5)", "oneOf": [ { "type": "integer" @@ -1491,19 +5222,15 @@ export const tools: readonly Tool[] = [ { "properties": { "enabled": { - "default": false, "type": "boolean" }, "rules": { - "default": [], "items": { "properties": { "enabled": { - "default": true, "type": "boolean" }, "id": { - "default": "00000000", "type": "string" }, "limit": { @@ -1600,7 +5327,6 @@ export const tools: readonly Tool[] = [ "type": "object" }, "technique": { - "default": "sliding", "enum": [ "fixed", "sliding" @@ -1630,7 +5356,6 @@ export const tools: readonly Tool[] = [ ] }, "store_id": { - "description": "Secrets Store used by this gateway. Omit on update to keep the current store. Cannot be cleared while stored keys or secret references depend on it.", "oneOf": [ { "type": "string" @@ -1674,8 +5399,6 @@ export const tools: readonly Tool[] = [ ] }, "workers_ai_billing_mode": { - "default": "postpaid", - "description": "Controls how Workers AI inference calls routed through this gateway are billed. 'postpaid' bills the account directly through Workers AI; 'unified' deducts credits via AI Gateway using neuron-based pricing and delegates billing to AI Gateway.", "enum": [ "postpaid", "unified" @@ -1690,50 +5413,82 @@ export const tools: readonly Tool[] = [ "cache_invalidate_on_update", "cache_ttl", "collect_logs", + "created_at", + "id", + "modified_at", "rate_limiting_interval", "rate_limiting_limit" ], "type": "object" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - } - }, - required: [ - "account_id", - "gateway_id" - ], - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update a gateway" - }, - method: "PUT", - path: "/accounts/{account_id}/ai-gateway/gateways/{id}", - extensions: { - "x-api-token-group": [ - "AI Gateway Write" - ], - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.aig" - ], - "x-fern-enum": { - "com.cloudflare.api.account.aig": { - "name": "com_cloudflare_api_account_aig" - } + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}`, diff --git a/src/generated/forge-mcp/aiGateway/logs/tools.ts b/src/generated/forge-mcp/aiGateway/logs/tools.ts index ad45cdcd..13ca29d8 100644 --- a/src/generated/forge-mcp/aiGateway/logs/tools.ts +++ b/src/generated/forge-mcp/aiGateway/logs/tools.ts @@ -158,6 +158,51 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/logs`, query: [ @@ -223,6 +268,161 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "cached": { + "type": "boolean" + }, + "cost": { + "type": "number" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "custom_cost": { + "type": "boolean" + }, + "duration": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "model": { + "type": "string" + }, + "model_type": { + "type": "string" + }, + "path": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "request_content_type": { + "type": "string" + }, + "request_head": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "request_head_complete": { + "type": "boolean" + }, + "request_size": { + "type": "integer" + }, + "request_type": { + "type": "string" + }, + "response_content_type": { + "type": "string" + }, + "response_head": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "response_head_complete": { + "type": "boolean" + }, + "response_size": { + "type": "integer" + }, + "status_code": { + "type": "integer" + }, + "step": { + "type": "integer" + }, + "success": { + "type": "boolean" + }, + "tokens_in": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tokens_out": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "cached", + "created_at", + "duration", + "id", + "model", + "path", + "provider", + "success", + "tokens_in", + "tokens_out" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/logs/${pathParam(args, "id")}`, }), @@ -282,6 +482,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/logs/${pathParam(args, "id")}/request`, }), @@ -341,6 +578,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/logs/${pathParam(args, "id")}/response`, }), @@ -578,6 +852,187 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "cached": { + "type": "boolean" + }, + "cost": { + "type": "number" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "custom_cost": { + "type": "boolean" + }, + "duration": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "model": { + "type": "string" + }, + "model_type": { + "type": "string" + }, + "path": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "request_content_type": { + "type": "string" + }, + "request_type": { + "type": "string" + }, + "response_content_type": { + "type": "string" + }, + "status_code": { + "type": "integer" + }, + "step": { + "type": "integer" + }, + "success": { + "type": "boolean" + }, + "tokens_in": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tokens_out": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "cached", + "created_at", + "duration", + "id", + "model", + "path", + "provider", + "success", + "tokens_in", + "tokens_out" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "max_cost": { + "type": "number" + }, + "max_duration": { + "type": "number" + }, + "max_tokens_in": { + "type": "number" + }, + "max_tokens_out": { + "type": "number" + }, + "max_total_tokens": { + "type": "number" + }, + "min_cost": { + "type": "number" + }, + "min_duration": { + "type": "number" + }, + "min_tokens_in": { + "type": "number" + }, + "min_tokens_out": { + "type": "number" + }, + "min_total_tokens": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/logs`, query: [ @@ -714,6 +1169,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/logs/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/aiSearch/items/tools.ts b/src/generated/forge-mcp/aiSearch/items/tools.ts index 84463819..7a4afe57 100644 --- a/src/generated/forge-mcp/aiSearch/items/tools.ts +++ b/src/generated/forge-mcp/aiSearch/items/tools.ts @@ -82,6 +82,189 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "end_byte": { + "type": "number" + }, + "id": { + "type": "string" + }, + "item": { + "properties": { + "key": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "start_byte": { + "type": "number" + }, + "text": { + "type": "string" + } + }, + "required": [ + "id", + "item", + "text" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "limit": { + "type": "integer" + }, + "offset": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "count", + "limit", + "offset", + "total" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}/chunks`, query: [ @@ -157,6 +340,178 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7053 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7032 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}`, }), @@ -228,6 +583,219 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": null, + "400": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7053 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7059 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7032 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}/download`, }), @@ -299,6 +867,196 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "checksum": { + "type": "string" + }, + "chunks_count": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "error": { + "type": "string" + }, + "file_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "last_seen_at": { + "format": "date-time", + "type": "string" + }, + "metadata": { + "oneOf": [ + { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "type": "string" + }, + "next_action": { + "oneOf": [ + { + "enum": [ + "INDEX", + "DELETE" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "queued", + "running", + "completed", + "error", + "skipped", + "outdated" + ], + "type": "string" + } + }, + "required": [ + "checksum", + "chunks_count", + "created_at", + "file_size", + "id", + "key", + "last_seen_at", + "metadata", + "namespace", + "next_action", + "source_id", + "status" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}`, }), @@ -410,6 +1168,262 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "checksum": { + "type": "string" + }, + "chunks_count": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "error": { + "type": "string" + }, + "file_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "last_seen_at": { + "format": "date-time", + "type": "string" + }, + "metadata": { + "oneOf": [ + { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "type": "string" + }, + "next_action": { + "oneOf": [ + { + "enum": [ + "INDEX", + "DELETE" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "queued", + "running", + "completed", + "error", + "skipped", + "outdated" + ], + "type": "string" + } + }, + "required": [ + "checksum", + "chunks_count", + "created_at", + "file_size", + "id", + "key", + "last_seen_at", + "metadata", + "namespace", + "next_action", + "source_id", + "status" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items`, query: [ @@ -499,6 +1513,221 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "chunkCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "errorType": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fileKey": { + "type": "string" + }, + "message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "processingTimeMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "action", + "chunkCount", + "errorType", + "fileKey", + "message", + "processingTimeMs", + "timestamp" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "per_page": { + "type": "integer" + }, + "truncated": { + "type": "boolean" + } + }, + "required": [ + "count", + "cursor", + "per_page", + "truncated" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}/logs`, query: [ @@ -597,6 +1826,312 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "checksum": { + "type": "string" + }, + "chunks_count": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "error": { + "type": "string" + }, + "file_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "last_seen_at": { + "format": "date-time", + "type": "string" + }, + "metadata": { + "oneOf": [ + { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "type": "string" + }, + "next_action": { + "oneOf": [ + { + "enum": [ + "INDEX", + "DELETE" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "queued", + "running", + "completed", + "error", + "skipped", + "outdated" + ], + "type": "string" + } + }, + "required": [ + "checksum", + "chunks_count", + "created_at", + "file_size", + "id", + "key", + "last_seen_at", + "metadata", + "namespace", + "next_action", + "source_id", + "status" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7116 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7112 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7114 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -662,6 +2197,565 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "checksum": { + "type": "string" + }, + "chunks_count": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "error": { + "type": "string" + }, + "file_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "last_seen_at": { + "format": "date-time", + "type": "string" + }, + "metadata": { + "oneOf": [ + { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "type": "string" + }, + "next_action": { + "oneOf": [ + { + "enum": [ + "INDEX", + "DELETE" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "queued", + "running", + "completed", + "error", + "skipped", + "outdated" + ], + "type": "string" + }, + "warnings": { + "items": { + "oneOf": [ + { + "properties": { + "code": { + "enum": [ + "custom_metadata_value_not_indexed" + ], + "type": "string" + }, + "expected_type": { + "enum": [ + "text", + "number", + "boolean", + "datetime" + ], + "type": "string" + }, + "field": { + "type": "string" + } + }, + "required": [ + "code", + "expected_type", + "field" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + "custom_metadata_field_not_filterable" + ], + "type": "string" + }, + "field": { + "type": "string" + } + }, + "required": [ + "code", + "field" + ], + "type": "object" + } + ] + }, + "maxItems": 10, + "type": "array" + } + }, + "required": [ + "checksum", + "chunks_count", + "created_at", + "file_size", + "id", + "key", + "last_seen_at", + "metadata", + "namespace", + "next_action", + "source_id", + "status" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7053 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7032 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7055 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7072 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7060 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7056 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7042 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7123 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "413": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7095 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7116 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7112 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7114 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "499": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items`, }), @@ -754,6 +2848,338 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "checksum": { + "type": "string" + }, + "chunks_count": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "error": { + "type": "string" + }, + "file_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "last_seen_at": { + "format": "date-time", + "type": "string" + }, + "metadata": { + "oneOf": [ + { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "type": "string" + }, + "next_action": { + "oneOf": [ + { + "enum": [ + "INDEX", + "DELETE" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "queued", + "running", + "completed", + "error", + "skipped", + "outdated" + ], + "type": "string" + } + }, + "required": [ + "checksum", + "chunks_count", + "created_at", + "file_size", + "id", + "key", + "last_seen_at", + "metadata", + "namespace", + "next_action", + "source_id", + "status" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7116 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7112 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7114 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/aiSearch/jobs/tools.ts b/src/generated/forge-mcp/aiSearch/jobs/tools.ts index 61f15e15..49ae703d 100644 --- a/src/generated/forge-mcp/aiSearch/jobs/tools.ts +++ b/src/generated/forge-mcp/aiSearch/jobs/tools.ts @@ -92,6 +92,143 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "description": { + "type": "string" + }, + "end_reason": { + "type": "string" + }, + "ended_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "last_seen_at": { + "type": "string" + }, + "source": { + "enum": [ + "user", + "schedule" + ], + "type": "string" + }, + "started_at": { + "type": "string" + } + }, + "required": [ + "id", + "source" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs/${pathParam(args, "job_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -168,6 +305,208 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "description": { + "type": "string" + }, + "end_reason": { + "type": "string" + }, + "ended_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "last_seen_at": { + "type": "string" + }, + "source": { + "enum": [ + "user", + "schedule" + ], + "type": "string" + }, + "started_at": { + "type": "string" + } + }, + "required": [ + "id", + "source" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7017 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7125 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs`, body: { value: args["body"], mediaType: "application/json" }, @@ -240,6 +579,110 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "description": { + "type": "string" + }, + "end_reason": { + "type": "string" + }, + "ended_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "last_seen_at": { + "type": "string" + }, + "source": { + "enum": [ + "user", + "schedule" + ], + "type": "string" + }, + "started_at": { + "type": "string" + } + }, + "required": [ + "id", + "source" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs/${pathParam(args, "job_id")}`, }), @@ -312,6 +755,184 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "description": { + "type": "string" + }, + "end_reason": { + "type": "string" + }, + "ended_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "last_seen_at": { + "type": "string" + }, + "source": { + "enum": [ + "user", + "schedule" + ], + "type": "string" + }, + "started_at": { + "type": "string" + } + }, + "required": [ + "id", + "source" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs`, query: [ @@ -395,6 +1016,173 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "type": "number" + }, + "id": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "message_type": { + "type": "integer" + } + }, + "required": [ + "created_at", + "id", + "message", + "message_type" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs/${pathParam(args, "job_id")}/logs`, query: [ diff --git a/src/generated/forge-mcp/aiSearch/namespace/tools.ts b/src/generated/forge-mcp/aiSearch/namespace/tools.ts index b067bd6b..47253299 100644 --- a/src/generated/forge-mcp/aiSearch/namespace/tools.ts +++ b/src/generated/forge-mcp/aiSearch/namespace/tools.ts @@ -173,6 +173,242 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "201": { + "properties": { + "created_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "public_endpoint_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "public_endpoint_params": { + "oneOf": [ + { + "properties": { + "authorized_hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chat_completions_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "custom_domains": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "default_domain_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "instances_allowed": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "mcp": { + "properties": { + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "rate_limit": { + "properties": { + "period_ms": { + "type": "integer" + }, + "requests": { + "type": "integer" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + } + }, + "type": "object" + }, + "search_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces`, body: { value: args["body"], mediaType: "application/json" }, @@ -229,6 +465,112 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}`, }), @@ -272,17 +614,187 @@ export const tools: readonly Tool[] = [ } } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - }, - "x-forge-params": { - "name": { - "description": "Namespace to retrieve." - } - } + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + }, + "x-forge-params": { + "name": { + "description": "Namespace to retrieve." + } + } + }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "public_endpoint_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "public_endpoint_params": { + "oneOf": [ + { + "properties": { + "authorized_hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chat_completions_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "custom_domains": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "default_domain_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "instances_allowed": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "mcp": { + "properties": { + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "rate_limit": { + "properties": { + "period_ms": { + "type": "integer" + }, + "requests": { + "type": "integer" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + } + }, + "type": "object" + }, + "search_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "name" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}`, @@ -344,6 +856,217 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "public_endpoint_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "public_endpoint_params": { + "oneOf": [ + { + "properties": { + "authorized_hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chat_completions_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "custom_domains": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "default_domain_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "instances_allowed": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "mcp": { + "properties": { + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "rate_limit": { + "properties": { + "period_ms": { + "type": "integer" + }, + "requests": { + "type": "integer" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + } + }, + "type": "object" + }, + "search_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces`, query: [ @@ -523,6 +1246,242 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "public_endpoint_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "public_endpoint_params": { + "oneOf": [ + { + "properties": { + "authorized_hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chat_completions_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "custom_domains": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "default_domain_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "instances_allowed": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "mcp": { + "properties": { + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "rate_limit": { + "properties": { + "period_ms": { + "type": "integer" + }, + "requests": { + "type": "integer" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + } + }, + "type": "object" + }, + "search_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/aiSearch/tokens/tools.ts b/src/generated/forge-mcp/aiSearch/tokens/tools.ts index ef4d6cc9..624cc078 100644 --- a/src/generated/forge-mcp/aiSearch/tokens/tools.ts +++ b/src/generated/forge-mcp/aiSearch/tokens/tools.ts @@ -87,6 +87,99 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "201": { + "properties": { + "cf_api_id": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "legacy": { + "type": "boolean" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "cf_api_id", + "created_at", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens`, body: { value: args["body"], mediaType: "application/json" }, @@ -144,6 +237,119 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens/${pathParam(args, "token_id")}`, }), @@ -200,6 +406,139 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "cf_api_id": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "legacy": { + "type": "boolean" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "cf_api_id", + "created_at", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens/${pathParam(args, "token_id")}`, }), @@ -260,6 +599,140 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "cf_api_id": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "legacy": { + "type": "boolean" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "cf_api_id", + "created_at", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens`, query: [ @@ -356,6 +829,132 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "cf_api_id": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "legacy": { + "type": "boolean" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "cf_api_id", + "created_at", + "id", + "modified_at", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens/${pathParam(args, "token_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/aiSearch/tools.ts b/src/generated/forge-mcp/aiSearch/tools.ts index 9f5d7b2d..7f45109d 100644 --- a/src/generated/forge-mcp/aiSearch/tools.ts +++ b/src/generated/forge-mcp/aiSearch/tools.ts @@ -342,6 +342,453 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "choices": { + "items": { + "properties": { + "index": { + "type": "integer" + }, + "message": { + "properties": { + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "oneOf": [ + { + "properties": { + "text": { + "type": "string" + }, + "type": { + "enum": [ + "text" + ], + "type": "string" + } + }, + "required": [ + "text", + "type" + ], + "type": "object" + }, + { + "properties": { + "image_url": { + "properties": { + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": { + "enum": [ + "image_url" + ], + "type": "string" + } + }, + "required": [ + "image_url", + "type" + ], + "type": "object" + }, + { + "properties": { + "file": { + "properties": { + "file_data": { + "type": "string" + }, + "file_id": { + "type": "string" + }, + "filename": { + "type": "string" + } + }, + "required": [ + "filename" + ], + "type": "object" + }, + "type": { + "enum": [ + "file" + ], + "type": "string" + } + }, + "required": [ + "file", + "type" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "role": { + "enum": [ + "system", + "developer", + "user", + "assistant", + "tool" + ], + "type": "string" + } + }, + "required": [ + "content", + "role" + ], + "type": "object" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "chunks": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "item": { + "properties": { + "key": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "media_end_ms": { + "type": "integer" + }, + "media_start_ms": { + "type": "integer" + }, + "score": { + "type": "number" + }, + "scoring_details": { + "properties": { + "fusion_method": { + "enum": [ + "rrf", + "max" + ], + "type": "string" + }, + "keyword_rank": { + "type": "number" + }, + "keyword_score": { + "type": "number" + }, + "reranking_score": { + "type": "number" + }, + "vector_rank": { + "type": "number" + }, + "vector_score": { + "type": "number" + } + }, + "type": "object" + }, + "source_media_type": { + "enum": [ + "audio", + "video" + ], + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "id", + "score", + "text", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "model": { + "type": "string" + }, + "object": { + "type": "string" + } + }, + "required": [ + "choices", + "chunks" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "402": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7069 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7119 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "502": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7033 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7120 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/chat/completions`, body: { value: args["body"], mediaType: "application/json" }, @@ -966,43 +1413,3021 @@ export const tools: readonly Tool[] = [ } } }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "ai_search_delete", - title: "Delete an AI Search instance.", - description: "Deletes an AI Search instance and all its indexed data permanently.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the AI Search instance and all its indexed data.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "type": "string" - }, - "namespace": { - "description": "Namespace name.", - "type": "string" - } + responses: { + schemas: { + "201": { + "properties": { + "ai_gateway_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ai_search_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cache": { + "type": "boolean" + }, + "cache_threshold": { + "enum": [ + "super_strict_match", + "close_enough", + "flexible_friend", + "anything_goes" + ], + "type": "string" + }, + "cache_ttl": { + "enum": [ + 600, + 1800, + 3600, + 7200, + 21600, + 43200, + 86400, + 172800, + 259200, + 518400 + ], + "type": "integer" + }, + "chunk_overlap": { + "type": "integer" + }, + "chunk_size": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "custom_metadata": { + "items": { + "properties": { + "data_type": { + "enum": [ + "text", + "number", + "boolean", + "datetime" + ], + "type": "string" + }, + "field_name": { + "type": "string" + } + }, + "required": [ + "data_type", + "field_name" + ], + "type": "object" + }, + "maxItems": 5, + "type": "array" + }, + "embedding_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enable": { + "type": "boolean" + }, + "engine_version": { + "type": "number" + }, + "fusion_method": { + "enum": [ + "max", + "rrf" + ], + "type": "string" + }, + "hybrid_search_enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "index_method": { + "properties": { + "keyword": { + "type": "boolean" + }, + "vector": { + "type": "boolean" + } + }, + "required": [ + "keyword", + "vector" + ], + "type": "object" + }, + "indexing_options": { + "oneOf": [ + { + "properties": { + "keyword_tokenizer": { + "enum": [ + "porter", + "trigram" + ], + "type": "string" + }, + "use_ocr": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "last_activity": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "max_num_results": { + "type": "integer" + }, + "metadata": { + "properties": { + "created_from_aisearch_wizard": { + "type": "boolean" + }, + "created_from_emdash_plugin": { + "properties": { + "type": { + "enum": [ + "native", + "rest" + ], + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "type", + "version" + ], + "type": "object" + }, + "worker_domain": { + "type": "string" + } + }, + "type": "object" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "paused": { + "type": "boolean" + }, + "public_endpoint_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "public_endpoint_params": { + "properties": { + "authorized_hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chat_completions_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "custom_domains": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "default_domain_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "mcp": { + "properties": { + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "rate_limit": { + "properties": { + "period_ms": { + "type": "integer" + }, + "requests": { + "type": "integer" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + } + }, + "type": "object" + }, + "search_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "reranking": { + "type": "boolean" + }, + "reranking_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retrieval_options": { + "oneOf": [ + { + "properties": { + "boost_by": { + "items": { + "properties": { + "direction": { + "enum": [ + "asc", + "desc", + "exists", + "not_exists" + ], + "type": "string" + }, + "field": { + "type": "string" + } + }, + "required": [ + "field" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "keyword_match_mode": { + "enum": [ + "and", + "or" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "rewrite_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "rewrite_query": { + "type": "boolean" + }, + "score_threshold": { + "type": "number" + }, + "source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_params": { + "oneOf": [ + { + "properties": { + "exclude_items": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "include_items": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "prefix": { + "type": "string" + }, + "r2_jurisdiction": { + "type": "string" + }, + "web_crawler": { + "properties": { + "discover_options": { + "properties": { + "depth": { + "type": "number" + }, + "include_external_links": { + "type": "boolean" + }, + "include_subdomains": { + "type": "boolean" + }, + "limit": { + "type": "number" + }, + "max_age": { + "type": "number" + }, + "source": { + "enum": [ + "all", + "sitemaps", + "links" + ], + "type": "string" + } + }, + "type": "object" + }, + "parse_options": { + "properties": { + "content_selector": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "selector": { + "type": "string" + } + }, + "required": [ + "path", + "selector" + ], + "type": "object" + }, + "maxItems": 10, + "minItems": 1, + "type": "array" + }, + "include_headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "include_images": { + "type": "boolean" + }, + "specific_sitemaps": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "use_browser_rendering": { + "type": "boolean" + } + }, + "type": "object" + }, + "parse_type": { + "enum": [ + "sitemap", + "discover" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "status": { + "type": "string" + }, + "sync_interval": { + "enum": [ + 900, + 1800, + 3600, + 7200, + 14400, + 21600, + 43200, + 86400 + ], + "type": "integer" + }, + "token_id": { + "format": "uuid", + "type": "string" + }, + "type": { + "oneOf": [ + { + "enum": [ + "r2", + "web-crawler" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "id", + "modified_at" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7106 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7109 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7124 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "ai_search_delete", + title: "Delete an AI Search instance.", + description: "Deletes an AI Search instance and all its indexed data permanently.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the AI Search instance and all its indexed data.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "instance_id": { + "type": "string" + }, + "namespace": { + "description": "Namespace name.", + "type": "string" + } + }, + required: [ + "account_id", + "namespace", + "instance_id" + ], + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete an AI Search instance." + }, + method: "DELETE", + path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.ai-search" + ], + "x-fern-enum": { + "com.cloudflare.api.account.ai-search": { + "name": "com_cloudflare_api_account_ai_search" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + }, + "x-forge-params": { + "id": { + "description": "AI Search instance ID." + }, + "namespace": { + "description": "Namespace to use for this operation." + } + } + }, + responses: { + schemas: { + "200": { + "properties": { + "ai_gateway_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ai_search_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cache": { + "type": "boolean" + }, + "cache_threshold": { + "enum": [ + "super_strict_match", + "close_enough", + "flexible_friend", + "anything_goes" + ], + "type": "string" + }, + "cache_ttl": { + "enum": [ + 600, + 1800, + 3600, + 7200, + 21600, + 43200, + 86400, + 172800, + 259200, + 518400 + ], + "type": "integer" + }, + "chunk_overlap": { + "type": "integer" + }, + "chunk_size": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "custom_metadata": { + "items": { + "properties": { + "data_type": { + "enum": [ + "text", + "number", + "boolean", + "datetime" + ], + "type": "string" + }, + "field_name": { + "type": "string" + } + }, + "required": [ + "data_type", + "field_name" + ], + "type": "object" + }, + "maxItems": 5, + "type": "array" + }, + "embedding_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enable": { + "type": "boolean" + }, + "engine_version": { + "type": "number" + }, + "fusion_method": { + "enum": [ + "max", + "rrf" + ], + "type": "string" + }, + "hybrid_search_enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "index_method": { + "properties": { + "keyword": { + "type": "boolean" + }, + "vector": { + "type": "boolean" + } + }, + "required": [ + "keyword", + "vector" + ], + "type": "object" + }, + "indexing_options": { + "oneOf": [ + { + "properties": { + "keyword_tokenizer": { + "enum": [ + "porter", + "trigram" + ], + "type": "string" + }, + "use_ocr": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "last_activity": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "max_num_results": { + "type": "integer" + }, + "metadata": { + "properties": { + "created_from_aisearch_wizard": { + "type": "boolean" + }, + "created_from_emdash_plugin": { + "properties": { + "type": { + "enum": [ + "native", + "rest" + ], + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "type", + "version" + ], + "type": "object" + }, + "worker_domain": { + "type": "string" + } + }, + "type": "object" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "paused": { + "type": "boolean" + }, + "public_endpoint_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "public_endpoint_params": { + "properties": { + "authorized_hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chat_completions_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "custom_domains": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "default_domain_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "mcp": { + "properties": { + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "rate_limit": { + "properties": { + "period_ms": { + "type": "integer" + }, + "requests": { + "type": "integer" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + } + }, + "type": "object" + }, + "search_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "reranking": { + "type": "boolean" + }, + "reranking_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retrieval_options": { + "oneOf": [ + { + "properties": { + "boost_by": { + "items": { + "properties": { + "direction": { + "enum": [ + "asc", + "desc", + "exists", + "not_exists" + ], + "type": "string" + }, + "field": { + "type": "string" + } + }, + "required": [ + "field" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "keyword_match_mode": { + "enum": [ + "and", + "or" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "rewrite_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "rewrite_query": { + "type": "boolean" + }, + "score_threshold": { + "type": "number" + }, + "source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_params": { + "oneOf": [ + { + "properties": { + "exclude_items": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "include_items": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "prefix": { + "type": "string" + }, + "r2_jurisdiction": { + "type": "string" + }, + "web_crawler": { + "properties": { + "discover_options": { + "properties": { + "depth": { + "type": "number" + }, + "include_external_links": { + "type": "boolean" + }, + "include_subdomains": { + "type": "boolean" + }, + "limit": { + "type": "number" + }, + "max_age": { + "type": "number" + }, + "source": { + "enum": [ + "all", + "sitemaps", + "links" + ], + "type": "string" + } + }, + "type": "object" + }, + "parse_options": { + "properties": { + "content_selector": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "selector": { + "type": "string" + } + }, + "required": [ + "path", + "selector" + ], + "type": "object" + }, + "maxItems": 10, + "minItems": 1, + "type": "array" + }, + "include_headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "include_images": { + "type": "boolean" + }, + "specific_sitemaps": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "use_browser_rendering": { + "type": "boolean" + } + }, + "type": "object" + }, + "parse_type": { + "enum": [ + "sitemap", + "discover" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "status": { + "type": "string" + }, + "sync_interval": { + "enum": [ + 900, + 1800, + 3600, + 7200, + 14400, + 21600, + 43200, + 86400 + ], + "type": "integer" + }, + "token_id": { + "format": "uuid", + "type": "string" + }, + "type": { + "oneOf": [ + { + "enum": [ + "r2", + "web-crawler" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "id", + "modified_at" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}`, + }), + }, + { + name: "ai_search_get", + title: "Get an AI Search instance.", + description: "Retrieve the configuration and status of an AI Search instance.\n\nThis method is beta.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "instance_id": { + "type": "string" + }, + "namespace": { + "description": "Namespace name.", + "type": "string" + } + }, + required: [ + "account_id", + "namespace", + "instance_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get an AI Search instance." + }, + method: "GET", + path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.ai-search" + ], + "x-fern-enum": { + "com.cloudflare.api.account.ai-search": { + "name": "com_cloudflare_api_account_ai_search" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + }, + "x-forge-params": { + "id": { + "description": "AI Search instance ID." + }, + "namespace": { + "description": "Namespace to use for this operation." + } + } + }, + responses: { + schemas: { + "200": { + "properties": { + "ai_gateway_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ai_search_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cache": { + "type": "boolean" + }, + "cache_threshold": { + "enum": [ + "super_strict_match", + "close_enough", + "flexible_friend", + "anything_goes" + ], + "type": "string" + }, + "cache_ttl": { + "enum": [ + 600, + 1800, + 3600, + 7200, + 21600, + 43200, + 86400, + 172800, + 259200, + 518400 + ], + "type": "integer" + }, + "chunk_overlap": { + "type": "integer" + }, + "chunk_size": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "custom_metadata": { + "items": { + "properties": { + "data_type": { + "enum": [ + "text", + "number", + "boolean", + "datetime" + ], + "type": "string" + }, + "field_name": { + "type": "string" + } + }, + "required": [ + "data_type", + "field_name" + ], + "type": "object" + }, + "maxItems": 5, + "type": "array" + }, + "embedding_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enable": { + "type": "boolean" + }, + "engine_version": { + "type": "number" + }, + "fusion_method": { + "enum": [ + "max", + "rrf" + ], + "type": "string" + }, + "hybrid_search_enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "index_method": { + "properties": { + "keyword": { + "type": "boolean" + }, + "vector": { + "type": "boolean" + } + }, + "required": [ + "keyword", + "vector" + ], + "type": "object" + }, + "indexing_options": { + "oneOf": [ + { + "properties": { + "keyword_tokenizer": { + "enum": [ + "porter", + "trigram" + ], + "type": "string" + }, + "use_ocr": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "last_activity": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "max_num_results": { + "type": "integer" + }, + "metadata": { + "properties": { + "created_from_aisearch_wizard": { + "type": "boolean" + }, + "created_from_emdash_plugin": { + "properties": { + "type": { + "enum": [ + "native", + "rest" + ], + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "type", + "version" + ], + "type": "object" + }, + "worker_domain": { + "type": "string" + } + }, + "type": "object" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "paused": { + "type": "boolean" + }, + "public_endpoint_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "public_endpoint_params": { + "properties": { + "authorized_hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chat_completions_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "custom_domains": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "default_domain_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "mcp": { + "properties": { + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "rate_limit": { + "properties": { + "period_ms": { + "type": "integer" + }, + "requests": { + "type": "integer" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + } + }, + "type": "object" + }, + "search_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "reranking": { + "type": "boolean" + }, + "reranking_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retrieval_options": { + "oneOf": [ + { + "properties": { + "boost_by": { + "items": { + "properties": { + "direction": { + "enum": [ + "asc", + "desc", + "exists", + "not_exists" + ], + "type": "string" + }, + "field": { + "type": "string" + } + }, + "required": [ + "field" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "keyword_match_mode": { + "enum": [ + "and", + "or" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "rewrite_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "rewrite_query": { + "type": "boolean" + }, + "score_threshold": { + "type": "number" + }, + "source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_params": { + "oneOf": [ + { + "properties": { + "exclude_items": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "include_items": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "prefix": { + "type": "string" + }, + "r2_jurisdiction": { + "type": "string" + }, + "web_crawler": { + "properties": { + "discover_options": { + "properties": { + "depth": { + "type": "number" + }, + "include_external_links": { + "type": "boolean" + }, + "include_subdomains": { + "type": "boolean" + }, + "limit": { + "type": "number" + }, + "max_age": { + "type": "number" + }, + "source": { + "enum": [ + "all", + "sitemaps", + "links" + ], + "type": "string" + } + }, + "type": "object" + }, + "parse_options": { + "properties": { + "content_selector": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "selector": { + "type": "string" + } + }, + "required": [ + "path", + "selector" + ], + "type": "object" + }, + "maxItems": 10, + "minItems": 1, + "type": "array" + }, + "include_headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "include_images": { + "type": "boolean" + }, + "specific_sitemaps": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "use_browser_rendering": { + "type": "boolean" + } + }, + "type": "object" + }, + "parse_type": { + "enum": [ + "sitemap", + "discover" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "status": { + "type": "string" + }, + "sync_interval": { + "enum": [ + 900, + 1800, + 3600, + 7200, + 14400, + 21600, + 43200, + 86400 + ], + "type": "integer" + }, + "token_id": { + "format": "uuid", + "type": "string" + }, + "type": { + "oneOf": [ + { + "enum": [ + "r2", + "web-crawler" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "id", + "modified_at" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}`, + }), + }, + { + name: "ai_search_list", + title: "List AI Search instances.", + description: "Lists all AI Search instances in the account.\n\nThis method is beta.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "hostname": { + "description": "Return only instances with this exact Search for Agents hostname (case-insensitive).", + "type": "string" + }, + "namespace": { + "description": "Namespace name.", + "type": "string" + }, + "order_by": { + "default": "created_at", + "description": "Field to order results by.", + "enum": [ + "created_at" + ], + "type": "string" + }, + "order_by_direction": { + "default": "desc", + "description": "Order direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number (1-indexed).", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Filter instances whose id contains this string (case-insensitive).", + "type": "string" + } + }, + required: [ + "account_id", + "namespace" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "List AI Search instances." + }, + method: "GET", + path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.ai-search" + ], + "x-fern-enum": { + "com.cloudflare.api.account.ai-search": { + "name": "com_cloudflare_api_account_ai_search" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + }, + "x-forge-params": { + "namespace": { + "description": "Namespace to use for this operation." + } + } + }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "ai_gateway_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ai_search_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cache": { + "type": "boolean" + }, + "cache_threshold": { + "oneOf": [ + { + "enum": [ + "super_strict_match", + "close_enough", + "flexible_friend", + "anything_goes" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cache_ttl": { + "enum": [ + 600, + 1800, + 3600, + 7200, + 21600, + 43200, + 86400, + 172800, + 259200, + 518400 + ], + "type": "integer" + }, + "chunk": { + "type": "boolean" + }, + "chunk_overlap": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "chunk_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "custom_metadata": { + "oneOf": [ + { + "items": { + "properties": { + "data_type": { + "enum": [ + "text", + "number", + "boolean", + "datetime" + ], + "type": "string" + }, + "field_name": { + "type": "string" + } + }, + "required": [ + "data_type", + "field_name" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "embedding_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enable": { + "type": "boolean" + }, + "engine_version": { + "type": "number" + }, + "fusion_method": { + "enum": [ + "max", + "rrf" + ], + "type": "string" + }, + "hybrid_search_enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "index_method": { + "properties": { + "keyword": { + "type": "boolean" + }, + "vector": { + "type": "boolean" + } + }, + "required": [ + "keyword", + "vector" + ], + "type": "object" + }, + "indexing_options": { + "oneOf": [ + { + "properties": { + "keyword_tokenizer": { + "enum": [ + "porter", + "trigram" + ], + "type": "string" + }, + "use_ocr": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "last_activity": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "max_num_results": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "metadata": { + "oneOf": [ + { + "properties": { + "created_from_aisearch_wizard": { + "type": "boolean" + }, + "created_from_emdash_plugin": { + "properties": { + "type": { + "enum": [ + "native", + "rest" + ], + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "type", + "version" + ], + "type": "object" + }, + "worker_domain": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "type": "string" + }, + "paused": { + "type": "boolean" + }, + "public_endpoint_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "public_endpoint_params": { + "oneOf": [ + { + "properties": { + "authorized_hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chat_completions_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "custom_domains": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "default_domain_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "mcp": { + "properties": { + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "rate_limit": { + "properties": { + "period_ms": { + "type": "integer" + }, + "requests": { + "type": "integer" + }, + "technique": { + "enum": [ + "fixed", + "sliding" + ], + "type": "string" + } + }, + "type": "object" + }, + "search_endpoint": { + "properties": { + "disabled": { + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "reranking": { + "type": "boolean" + }, + "reranking_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retrieval_options": { + "oneOf": [ + { + "properties": { + "boost_by": { + "items": { + "properties": { + "dataType": { + "enum": [ + "number", + "datetime", + "text", + "boolean" + ], + "type": "string" + }, + "direction": { + "enum": [ + "asc", + "desc", + "exists", + "not_exists" + ], + "type": "string" + }, + "field": { + "type": "string" + } + }, + "required": [ + "field" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "keyword_match_mode": { + "enum": [ + "and", + "or" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "rewrite_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "rewrite_query": { + "type": "boolean" + }, + "score_threshold": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_params": { + "oneOf": [ + { + "properties": { + "exclude_items": { + "items": { + "type": "string" + }, + "type": "array" + }, + "include_items": { + "items": { + "type": "string" + }, + "type": "array" + }, + "prefix": { + "type": "string" + }, + "r2_jurisdiction": { + "type": "string" + }, + "web_crawler": { + "properties": { + "discover_options": { + "properties": { + "depth": { + "type": "number" + }, + "include_external_links": { + "type": "boolean" + }, + "include_subdomains": { + "type": "boolean" + }, + "limit": { + "type": "number" + }, + "max_age": { + "type": "number" + }, + "source": { + "enum": [ + "all", + "sitemaps", + "links" + ], + "type": "string" + } + }, + "type": "object" + }, + "parse_options": { + "properties": { + "content_selector": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "selector": { + "type": "string" + } + }, + "required": [ + "path", + "selector" + ], + "type": "object" + }, + "maxItems": 10, + "type": "array" + }, + "include_headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "include_images": { + "type": "boolean" + }, + "specific_sitemaps": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "use_browser_rendering": { + "type": "boolean" + } + }, + "type": "object" + }, + "parse_type": { + "enum": [ + "sitemap", + "discover" + ], + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "status": { + "type": "string" + }, + "summarization": { + "type": "boolean" + }, + "summarization_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sync_interval": { + "enum": [ + 900, + 1800, + 3600, + 7200, + 14400, + 21600, + 43200, + 86400 + ], + "type": "integer" + }, + "system_prompt_ai_search": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "system_prompt_index_summarization": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "system_prompt_rewrite_query": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "token_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": { + "oneOf": [ + { + "enum": [ + "r2", + "web-crawler" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "ai_gateway_id", + "ai_search_model", + "cache", + "cache_threshold", + "cache_ttl", + "chunk", + "chunk_overlap", + "chunk_size", + "created_at", + "created_by", + "custom_metadata", + "embedding_model", + "enable", + "engine_version", + "fusion_method", + "hybrid_search_enabled", + "id", + "index_method", + "indexing_options", + "last_activity", + "max_num_results", + "metadata", + "modified_at", + "modified_by", + "namespace", + "paused", + "public_endpoint_id", + "public_endpoint_params", + "reranking", + "reranking_model", + "retrieval_options", + "rewrite_model", + "rewrite_query", + "score_threshold", + "source", + "source_params", + "status", + "summarization", + "summarization_model", + "sync_interval", + "system_prompt_ai_search", + "system_prompt_index_summarization", + "system_prompt_rewrite_query", + "token_id", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances`, + query: [ + ["page", args["page"], true], + ["per_page", args["per_page"], true], + ["search", args["search"], true], + ["hostname", args["hostname"], true], + ["order_by", args["order_by"], true], + ["order_by_direction", args["order_by_direction"], true], + ], + }), + }, + { + name: "ai_search_move", + title: "Move an instance to a different namespace.", + description: "Moves an instance from its current namespace to the specified target namespace. Use 'default' with --destination-namespace to move the instance back to the default namespace. Fails with 400 if the target namespace already has an instance with the same id (ids must be unique within a namespace — the same id can exist in different namespaces).", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "body": { + "properties": { + "new_namespace": { + "description": "Target namespace to move the instance into.", + "type": "string" + } + }, + "required": [ + "new_namespace" + ], + "type": "object" + }, + "instance_id": { + "description": "Instance id.", + "type": "string" + }, + "source_namespace": { + "description": "Current namespace of the instance.", + "type": "string" + } }, required: [ "account_id", - "namespace", + "source_namespace", "instance_id" ], }, annotations: { - "destructiveHint": true, - "idempotentHint": true, + "destructiveHint": false, + "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Delete an AI Search instance." + "title": "Move an instance to a different namespace." }, - method: "DELETE", + method: "PATCH", path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", extensions: { "x-cfPermissionsRequired": { @@ -1025,27 +4450,445 @@ export const tools: readonly Tool[] = [ "id": { "description": "AI Search instance ID." }, - "namespace": { - "description": "Namespace to use for this operation." + "namespace": { + "description": "Namespace currently containing the instance." + }, + "new_namespace": { + "description": "Namespace to move the instance into." + } + } + }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7108 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7124 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" } - } + }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "source_namespace")}/instances/${pathParam(args, "instance_id")}`, + body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_get", - title: "Get an AI Search instance.", - description: "Retrieve the configuration and status of an AI Search instance.\n\nThis method is beta.", + name: "ai_search_multi_chat_completions", + title: "Multi-Instance Chat Completions", + description: "Performs a chat completion request against multiple AI Search instances in parallel, merging retrieved content as context for generating a response.\n\nThis method is beta.", inputSchema: { type: "object", properties: { "account_id": { "type": "string" }, - "instance_id": { - "type": "string" + "body": { + "properties": { + "ai_search_options": { + "properties": { + "cache": { + "properties": { + "cache_threshold": { + "enum": [ + "super_strict_match", + "close_enough", + "flexible_friend", + "anything_goes" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "custom_metadata": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "description": "Metadata added to AI Gateway logs for requests this operation triggers. Accepts up to 2 string, number, or boolean entries. Reserved keys: 'ai-search', 'task', 'origin', and any key beginning with 'cf.'.", + "type": "object" + }, + "instance_ids": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "query_rewrite": { + "properties": { + "enabled": { + "type": "boolean" + }, + "model": { + "description": "A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.", + "type": "string" + }, + "rewrite_prompt": { + "type": "string" + } + }, + "type": "object" + }, + "reranking": { + "properties": { + "enabled": { + "type": "boolean" + }, + "match_threshold": { + "default": 0.4, + "type": "number" + }, + "model": { + "type": "string" + } + }, + "type": "object" + }, + "retrieval": { + "properties": { + "boost_by": { + "description": "Metadata fields to boost search results by. Overrides the instance-level boost_by config. Direction defaults to 'asc' for numeric/datetime fields, 'exists' for text/boolean fields. Fields must match 'timestamp' or a defined custom_metadata field.", + "items": { + "properties": { + "direction": { + "description": "Boost direction. 'desc' = higher values rank higher (e.g. newer timestamps). 'asc' = lower values rank higher. 'exists' = boost chunks that have the field. 'not_exists' = boost chunks that lack the field. Optional — defaults to 'asc' for numeric/datetime fields, 'exists' for text/boolean fields.", + "enum": [ + "asc", + "desc", + "exists", + "not_exists" + ], + "type": "string" + }, + "field": { + "description": "Metadata field name to boost by. Use 'timestamp' for document freshness, or any custom_metadata field. Numeric and datetime fields support all four directions (asc, desc, exists, not_exists); text/boolean fields only support exists/not_exists.", + "type": "string" + } + }, + "required": [ + "field" + ], + "type": "object" + }, + "maxItems": 3, + "type": "array" + }, + "context_expansion": { + "default": 0, + "type": "integer" + }, + "filters": { + "type": "object" + }, + "fusion_method": { + "enum": [ + "max", + "rrf" + ], + "type": "string" + }, + "keyword_match_mode": { + "description": "Controls which documents become candidates for BM25 scoring. 'and' restricts candidates to documents containing all query terms; 'or' includes any document containing at least one term and ranks results according to BM25 relevance. When omitted, falls back to the instance-level retrieval_options.keyword_match_mode, then to 'and'.", + "enum": [ + "and", + "or" + ], + "type": "string" + }, + "match_threshold": { + "description": "Minimum score a chunk must reach to be returned. When omitted, each instance's chunks are filtered by that instance's score_threshold, capped at the lower of the first instance's score_threshold and 0.4.", + "type": "number" + }, + "max_num_results": { + "description": "Maximum number of merged results to return. When omitted, defaults to the first instance's max_num_results, then 10.", + "type": "integer" + }, + "retrieval_type": { + "enum": [ + "vector", + "keyword", + "hybrid" + ], + "type": "string" + }, + "return_on_failure": { + "default": true, + "type": "boolean" + } + }, + "type": "object" + } + }, + "required": [ + "instance_ids" + ], + "type": "object" + }, + "messages": { + "items": { + "properties": { + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "oneOf": [ + { + "properties": { + "text": { + "type": "string" + }, + "type": { + "enum": [ + "text" + ], + "type": "string" + } + }, + "required": [ + "text", + "type" + ], + "type": "object" + }, + { + "properties": { + "image_url": { + "properties": { + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": { + "enum": [ + "image_url" + ], + "type": "string" + } + }, + "required": [ + "image_url", + "type" + ], + "type": "object" + }, + { + "properties": { + "file": { + "properties": { + "file_data": { + "type": "string" + }, + "file_id": { + "type": "string" + }, + "filename": { + "type": "string" + } + }, + "required": [ + "filename" + ], + "type": "object" + }, + "type": { + "enum": [ + "file" + ], + "type": "string" + } + }, + "required": [ + "file", + "type" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "role": { + "enum": [ + "system", + "developer", + "user", + "assistant", + "tool" + ], + "type": "string" + } + }, + "required": [ + "content", + "role" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "model": { + "description": "A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.", + "type": "string" + }, + "stream": { + "type": "boolean" + } + }, + "required": [ + "ai_search_options", + "messages" + ], + "type": "object" }, "namespace": { "description": "Namespace name.", @@ -1054,19 +4897,18 @@ export const tools: readonly Tool[] = [ }, required: [ "account_id", - "namespace", - "instance_id" + "namespace" ], }, annotations: { "destructiveHint": false, - "idempotentHint": true, + "idempotentHint": false, "openWorldHint": true, - "readOnlyHint": true, - "title": "Get an AI Search instance." + "readOnlyHint": false, + "title": "Multi-Instance Chat Completions" }, - method: "GET", - path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", + method: "POST", + path: "/accounts/{account_id}/ai-search/namespaces/{name}/chat/completions", extensions: { "x-cfPermissionsRequired": { "enum": [ @@ -1085,201 +4927,489 @@ export const tools: readonly Tool[] = [ "pro": true }, "x-forge-params": { - "id": { - "description": "AI Search instance ID." - }, - "namespace": { + "name": { "description": "Namespace to use for this operation." } } }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}`, - }), - }, - { - name: "ai_search_list", - title: "List AI Search instances.", - description: "Lists all AI Search instances in the account.\n\nThis method is beta.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "hostname": { - "description": "Return only instances with this exact Search for Agents hostname (case-insensitive).", - "type": "string" - }, - "namespace": { - "description": "Namespace name.", - "type": "string" - }, - "order_by": { - "default": "created_at", - "description": "Field to order results by.", - "enum": [ - "created_at" + responses: { + schemas: { + "200": { + "properties": { + "choices": { + "items": { + "properties": { + "index": { + "type": "integer" + }, + "message": { + "properties": { + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "oneOf": [ + { + "properties": { + "text": { + "type": "string" + }, + "type": { + "enum": [ + "text" + ], + "type": "string" + } + }, + "required": [ + "text", + "type" + ], + "type": "object" + }, + { + "properties": { + "image_url": { + "properties": { + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": { + "enum": [ + "image_url" + ], + "type": "string" + } + }, + "required": [ + "image_url", + "type" + ], + "type": "object" + }, + { + "properties": { + "file": { + "properties": { + "file_data": { + "type": "string" + }, + "file_id": { + "type": "string" + }, + "filename": { + "type": "string" + } + }, + "required": [ + "filename" + ], + "type": "object" + }, + "type": { + "enum": [ + "file" + ], + "type": "string" + } + }, + "required": [ + "file", + "type" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "role": { + "enum": [ + "system", + "developer", + "user", + "assistant", + "tool" + ], + "type": "string" + } + }, + "required": [ + "content", + "role" + ], + "type": "object" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "chunks": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "instance_id": { + "type": "string" + }, + "item": { + "properties": { + "key": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "media_end_ms": { + "type": "integer" + }, + "media_start_ms": { + "type": "integer" + }, + "score": { + "type": "number" + }, + "scoring_details": { + "properties": { + "fusion_method": { + "enum": [ + "rrf", + "max" + ], + "type": "string" + }, + "keyword_rank": { + "type": "number" + }, + "keyword_score": { + "type": "number" + }, + "reranking_score": { + "type": "number" + }, + "vector_rank": { + "type": "number" + }, + "vector_score": { + "type": "number" + } + }, + "type": "object" + }, + "source_media_type": { + "enum": [ + "audio", + "video" + ], + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "id", + "instance_id", + "score", + "text", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "errors": { + "items": { + "properties": { + "instance_id": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "instance_id", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "model": { + "type": "string" + }, + "object": { + "type": "string" + } + }, + "required": [ + "choices", + "chunks" ], - "type": "string" + "type": "object" }, - "order_by_direction": { - "default": "desc", - "description": "Order direction.", - "enum": [ - "asc", - "desc" + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number (1-indexed).", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" + "type": "object" }, - "search": { - "description": "Filter instances whose id contains this string (case-insensitive).", - "type": "string" - } - }, - required: [ - "account_id", - "namespace" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "List AI Search instances." - }, - method: "GET", - path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances", - extensions: { - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.ai-search" - ], - "x-fern-enum": { - "com.cloudflare.api.account.ai-search": { - "name": "com_cloudflare_api_account_ai_search" - } - } - }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - }, - "x-forge-params": { - "namespace": { - "description": "Namespace to use for this operation." - } - } - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances`, - query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["hostname", args["hostname"], true], - ["order_by", args["order_by"], true], - ["order_by_direction", args["order_by_direction"], true], - ], - }), - }, - { - name: "ai_search_move", - title: "Move an instance to a different namespace.", - description: "Moves an instance from its current namespace to the specified target namespace. Use 'default' with --destination-namespace to move the instance back to the default namespace. Fails with 400 if the target namespace already has an instance with the same id (ids must be unique within a namespace — the same id can exist in different namespaces).", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" + "402": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" }, - "body": { + "404": { "properties": { - "new_namespace": { - "description": "Target namespace to move the instance into.", - "type": "string" + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" } }, "required": [ - "new_namespace" + "errors", + "success" ], "type": "object" }, - "instance_id": { - "description": "Instance id.", - "type": "string" + "429": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7069 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7119 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" }, - "source_namespace": { - "description": "Current namespace of the instance.", - "type": "string" - } - }, - required: [ - "account_id", - "source_namespace", - "instance_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Move an instance to a different namespace." - }, - method: "PATCH", - path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", - extensions: { - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.ai-search" - ], - "x-fern-enum": { - "com.cloudflare.api.account.ai-search": { - "name": "com_cloudflare_api_account_ai_search" - } + "502": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7033 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7120 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - }, - "x-forge-params": { - "id": { - "description": "AI Search instance ID." - }, - "namespace": { - "description": "Namespace currently containing the instance." - }, - "new_namespace": { - "description": "Namespace to move the instance into." - } - } }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "source_namespace")}/instances/${pathParam(args, "instance_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/chat/completions`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_multi_chat_completions", - title: "Multi-Instance Chat Completions", - description: "Performs a chat completion request against multiple AI Search instances in parallel, merging retrieved content as context for generating a response.\n\nThis method is beta.", + name: "ai_search_multi_search", + title: "Multi-Instance Search", + description: "Performs a semantic search query against multiple AI Search instances in parallel, merging the retrieved results into a single ranked response.\n\nThis method is beta.", inputSchema: { type: "object", properties: { @@ -1413,11 +5543,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "match_threshold": { - "description": "Minimum score a chunk must reach to be returned. When omitted, each instance's chunks are filtered by that instance's score_threshold, capped at the lower of the first instance's score_threshold and 0.4.", + "description": "Minimum score a chunk must reach to be returned. When omitted, each instance's chunks are filtered by that instance's score_threshold, capped at 0.4.", "type": "number" }, "max_num_results": { - "description": "Maximum number of merged results to return. When omitted, defaults to the first instance's max_num_results, then 10.", + "description": "Maximum number of merged results to return. When omitted, defaults to the sum of the searched instances' max_num_results (each falling back to 10), up to 50.", "type": "integer" }, "retrieval_type": { @@ -1442,6 +5572,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "messages": { + "description": "OpenAI-compatible message array. For multimodal queries, set the last user message's `content` to an array of typed parts: `[{type:'text', text:'…'}, {type:'image_url', image_url:{url:'…'}}]`. Image inputs require the RAG's embedding_model to declare 'image' in supported_modalities.", "items": { "properties": { "content": { @@ -1558,19 +5689,391 @@ export const tools: readonly Tool[] = [ "minItems": 1, "type": "array" }, - "model": { - "description": "A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.", + "query": { + "description": "A simple text query string. Alternative to 'messages' — provide either this or 'messages', not both.", "type": "string" + } + }, + "required": [ + "ai_search_options" + ], + "type": "object" + }, + "namespace": { + "description": "Namespace name.", + "type": "string" + } + }, + required: [ + "account_id", + "namespace" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Multi-Instance Search" + }, + method: "POST", + path: "/accounts/{account_id}/ai-search/namespaces/{name}/search", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.ai-search" + ], + "x-fern-enum": { + "com.cloudflare.api.account.ai-search": { + "name": "com_cloudflare_api_account_ai_search" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + }, + "x-forge-params": { + "name": { + "description": "Namespace to use for this operation." + }, + "query": { + "description": "Text to search for.", + "positional": true + } + } + }, + responses: { + schemas: { + "200": { + "properties": { + "chunks": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "instance_id": { + "type": "string" + }, + "item": { + "properties": { + "key": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "media_end_ms": { + "type": "integer" + }, + "media_start_ms": { + "type": "integer" + }, + "score": { + "type": "number" + }, + "scoring_details": { + "properties": { + "fusion_method": { + "enum": [ + "rrf", + "max" + ], + "type": "string" + }, + "keyword_rank": { + "type": "number" + }, + "keyword_score": { + "type": "number" + }, + "reranking_score": { + "type": "number" + }, + "vector_rank": { + "type": "number" + }, + "vector_score": { + "type": "number" + } + }, + "type": "object" + }, + "source_media_type": { + "enum": [ + "audio", + "video" + ], + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "id", + "instance_id", + "score", + "text", + "type" + ], + "type": "object" + }, + "type": "array" }, - "stream": { + "errors": { + "items": { + "properties": { + "instance_id": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "instance_id", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "query_kind": { + "enum": [ + "text", + "image", + "multimodal" + ], + "type": "string" + }, + "search_query": { + "type": "string" + } + }, + "required": [ + "chunks", + "query_kind" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], "type": "boolean" } }, "required": [ - "ai_search_options", - "messages" + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7069 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7119 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "502": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7033 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7120 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" ], "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/search`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "ai_search_purge_cache", + title: "Purge search cache.", + description: "Purges all cached search results for an AI Search instance. A new internal cache key is generated, immediately orphaning all prior cached entries.\n\nThis method is beta.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "instance_id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" }, "namespace": { "description": "Namespace name.", @@ -1579,7 +6082,8 @@ export const tools: readonly Tool[] = [ }, required: [ "account_id", - "namespace" + "namespace", + "instance_id" ], }, annotations: { @@ -1587,10 +6091,10 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Multi-Instance Chat Completions" + "title": "Purge search cache." }, method: "POST", - path: "/accounts/{account_id}/ai-search/namespaces/{name}/chat/completions", + path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/purge_cache", extensions: { "x-cfPermissionsRequired": { "enum": [ @@ -1609,20 +6113,103 @@ export const tools: readonly Tool[] = [ "pro": true }, "x-forge-params": { - "name": { + "id": { + "description": "AI Search instance ID." + }, + "namespace": { "description": "Namespace to use for this operation." } } }, + responses: { + schemas: { + "200": { + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/chat/completions`, - body: { value: args["body"], mediaType: "application/json" }, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/purge_cache`, }), }, { - name: "ai_search_multi_search", - title: "Multi-Instance Search", - description: "Performs a semantic search query against multiple AI Search instances in parallel, merging the retrieved results into a single ranked response.\n\nThis method is beta.", + name: "ai_search_search", + title: "Search", + description: "Executes a semantic search query against an AI Search instance to find relevant indexed content.\n\nThis method is beta.", inputSchema: { type: "object", properties: { @@ -1667,13 +6254,6 @@ export const tools: readonly Tool[] = [ "description": "Metadata added to AI Gateway logs for requests this operation triggers. Accepts up to 2 string, number, or boolean entries. Reserved keys: 'ai-search', 'task', 'origin', and any key beginning with 'cf.'.", "type": "object" }, - "instance_ids": { - "items": { - "type": "string" - }, - "minItems": 1, - "type": "array" - }, "query_rewrite": { "properties": { "enabled": { @@ -1756,11 +6336,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "match_threshold": { - "description": "Minimum score a chunk must reach to be returned. When omitted, each instance's chunks are filtered by that instance's score_threshold, capped at 0.4.", + "description": "Minimum similarity score a chunk must reach to be returned. When omitted, falls back to the instance-level score_threshold, then to 0.4.", "type": "number" }, "max_num_results": { - "description": "Maximum number of merged results to return. When omitted, defaults to the sum of the searched instances' max_num_results (each falling back to 10), up to 50.", + "description": "Maximum number of results to return. When omitted, falls back to the instance-level max_num_results, then to 10.", "type": "integer" }, "retrieval_type": { @@ -1779,9 +6359,6 @@ export const tools: readonly Tool[] = [ "type": "object" } }, - "required": [ - "instance_ids" - ], "type": "object" }, "messages": { @@ -1882,91 +6459,385 @@ export const tools: readonly Tool[] = [ } ] }, - "role": { - "enum": [ - "system", - "developer", - "user", - "assistant", - "tool" - ], + "role": { + "enum": [ + "system", + "developer", + "user", + "assistant", + "tool" + ], + "type": "string" + } + }, + "required": [ + "content", + "role" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "query": { + "description": "A simple text query string. Alternative to 'messages' — provide either this or 'messages', not both.", + "type": "string" + } + }, + "type": "object" + }, + "instance_id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "description": "Namespace name.", + "type": "string" + } + }, + required: [ + "account_id", + "namespace", + "instance_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Search" + }, + method: "POST", + path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/search", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.ai-search" + ], + "x-fern-enum": { + "com.cloudflare.api.account.ai-search": { + "name": "com_cloudflare_api_account_ai_search" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + }, + "x-forge-params": { + "id": { + "description": "AI Search instance ID." + }, + "namespace": { + "description": "Namespace to use for this operation." + }, + "query": { + "description": "Text to search for.", + "positional": true + } + } + }, + responses: { + schemas: { + "200": { + "properties": { + "chunks": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "item": { + "properties": { + "key": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "media_end_ms": { + "type": "integer" + }, + "media_start_ms": { + "type": "integer" + }, + "score": { + "type": "number" + }, + "scoring_details": { + "properties": { + "fusion_method": { + "enum": [ + "rrf", + "max" + ], + "type": "string" + }, + "keyword_rank": { + "type": "number" + }, + "keyword_score": { + "type": "number" + }, + "reranking_score": { + "type": "number" + }, + "vector_rank": { + "type": "number" + }, + "vector_score": { + "type": "number" + } + }, + "type": "object" + }, + "source_media_type": { + "enum": [ + "audio", + "video" + ], + "type": "string" + }, + "text": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "id", + "score", + "text", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "query_kind": { + "enum": [ + "text", + "image", + "multimodal" + ], + "type": "string" + }, + "search_query": { + "type": "string" + } + }, + "required": [ + "chunks", + "query_kind" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { "type": "string" } }, "required": [ - "content", - "role" + "code", + "message" ], "type": "object" }, - "minItems": 1, "type": "array" }, - "query": { - "description": "A simple text query string. Alternative to 'messages' — provide either this or 'messages', not both.", - "type": "string" + "success": { + "enum": [ + false + ], + "type": "boolean" } }, "required": [ - "ai_search_options" + "errors", + "success" ], "type": "object" }, - "namespace": { - "description": "Namespace name.", - "type": "string" - } - }, - required: [ - "account_id", - "namespace" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Multi-Instance Search" - }, - method: "POST", - path: "/accounts/{account_id}/ai-search/namespaces/{name}/search", - extensions: { - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.ai-search" - ], - "x-fern-enum": { - "com.cloudflare.api.account.ai-search": { - "name": "com_cloudflare_api_account_ai_search" - } - } - }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - }, - "x-forge-params": { - "name": { - "description": "Namespace to use for this operation." + "429": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7069 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7119 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" }, - "query": { - "description": "Text to search for.", - "positional": true + "502": { + "properties": { + "errors": { + "items": { + "anyOf": [ + { + "properties": { + "code": { + "enum": [ + 7033 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + { + "properties": { + "code": { + "enum": [ + 7120 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" } - } + }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/search`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/search`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_purge_cache", - title: "Purge search cache.", - description: "Purges all cached search results for an AI Search instance. A new internal cache key is generated, immediately orphaning all prior cached entries.\n\nThis method is beta.", + name: "ai_search_stats", + title: "Get instance statistics.", + description: "Retrieve usage and indexing statistics for an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { @@ -1990,13 +6861,13 @@ export const tools: readonly Tool[] = [ }, annotations: { "destructiveHint": false, - "idempotentHint": false, + "idempotentHint": true, "openWorldHint": true, - "readOnlyHint": false, - "title": "Purge search cache." + "readOnlyHint": true, + "title": "Get instance statistics." }, - method: "POST", - path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/purge_cache", + method: "GET", + path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/stats", extensions: { "x-cfPermissionsRequired": { "enum": [ @@ -2023,14 +6894,126 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "completed": { + "type": "integer" + }, + "degraded": { + "type": "boolean" + }, + "engine": { + "properties": { + "r2": { + "properties": { + "metadataSizeBytes": { + "type": "integer" + }, + "objectCount": { + "type": "integer" + }, + "payloadSizeBytes": { + "type": "integer" + } + }, + "required": [ + "metadataSizeBytes", + "objectCount", + "payloadSizeBytes" + ], + "type": "object" + }, + "vectorize": { + "properties": { + "dimensions": { + "type": "integer" + }, + "vectorsCount": { + "type": "integer" + } + }, + "required": [ + "dimensions", + "vectorsCount" + ], + "type": "object" + } + }, + "type": "object" + }, + "error": { + "type": "integer" + }, + "file_embed_errors": { + "type": "object" + }, + "index_source_errors": { + "type": "object" + }, + "last_activity": { + "format": "date-time", + "type": "string" + }, + "outdated": { + "type": "integer" + }, + "queued": { + "type": "integer" + }, + "running": { + "type": "integer" + }, + "skipped": { + "type": "integer" + } + }, + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/purge_cache`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/stats`, }), }, { - name: "ai_search_search", - title: "Search", - description: "Executes a semantic search query against an AI Search instance to find relevant indexed content.\n\nThis method is beta.", + name: "ai_search_update", + title: "Update an AI Search instance.", + description: "Updates the configuration of an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { @@ -2039,76 +7022,300 @@ export const tools: readonly Tool[] = [ }, "body": { "properties": { - "ai_search_options": { + "ai_gateway_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ai_search_model": { + "description": "A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cache": { + "default": true, + "type": "boolean" + }, + "cache_threshold": { + "default": "close_enough", + "enum": [ + "super_strict_match", + "close_enough", + "flexible_friend", + "anything_goes" + ], + "type": "string" + }, + "cache_ttl": { + "default": 172800, + "description": "Cache entry TTL in seconds. Allowed values: 600 (10min), 1800 (30min), 3600 (1h), 7200 (2h), 21600 (6h), 43200 (12h), 86400 (24h), 172800 (48h), 259200 (72h), 518400 (6d).", + "enum": [ + 600, + 1800, + 3600, + 7200, + 21600, + 43200, + 86400, + 172800, + 259200, + 518400 + ], + "type": "integer" + }, + "chunk": { + "default": true, + "type": "boolean" + }, + "chunk_overlap": { + "default": 10, + "type": "integer" + }, + "chunk_size": { + "type": "integer" + }, + "custom_metadata": { + "items": { + "properties": { + "data_type": { + "enum": [ + "text", + "number", + "boolean", + "datetime" + ], + "type": "string" + }, + "field_name": { + "type": "string" + } + }, + "required": [ + "data_type", + "field_name" + ], + "type": "object" + }, + "maxItems": 5, + "type": "array" + }, + "embedding_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fusion_method": { + "default": "rrf", + "enum": [ + "max", + "rrf" + ], + "type": "string" + }, + "index_method": { + "description": "Controls which storage backends indexing uses. Defaults to vector and keyword indexing for new instances. When set, both vector and keyword are required.", "properties": { - "cache": { + "keyword": { + "description": "Enable keyword (BM25) storage backend.", + "type": "boolean" + }, + "vector": { + "description": "Enable vector (embedding) storage backend.", + "type": "boolean" + } + }, + "required": [ + "keyword", + "vector" + ], + "type": "object" + }, + "indexing_options": { + "oneOf": [ + { "properties": { - "cache_threshold": { + "keyword_tokenizer": { + "default": "porter", + "description": "Tokenizer used for keyword search indexing. porter provides word-level tokenization with Porter stemming (good for natural language queries). trigram enables character-level substring matching (good for partial matches, code, identifiers). Changing this triggers a full re-index. Defaults to porter.", "enum": [ - "super_strict_match", - "close_enough", - "flexible_friend", - "anything_goes" + "porter", + "trigram" ], "type": "string" }, - "enabled": { + "use_ocr": { + "default": false, + "description": "Enables OCR ingestion for PDFs and images. Changing this triggers a full re-index. Defaults to false.", "type": "boolean" } }, "type": "object" }, - "custom_metadata": { - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] + { + "type": "null" + } + ] + }, + "max_num_results": { + "default": 10, + "type": "integer" + }, + "metadata": { + "properties": { + "created_from_aisearch_wizard": { + "type": "boolean" + }, + "created_from_emdash_plugin": { + "properties": { + "type": { + "enum": [ + "native", + "rest" + ], + "type": "string" + }, + "version": { + "type": "string" + } }, - "description": "Metadata added to AI Gateway logs for requests this operation triggers. Accepts up to 2 string, number, or boolean entries. Reserved keys: 'ai-search', 'task', 'origin', and any key beginning with 'cf.'.", + "required": [ + "type", + "version" + ], "type": "object" }, - "query_rewrite": { + "worker_domain": { + "type": "string" + } + }, + "type": "object" + }, + "paused": { + "type": "boolean" + }, + "public_endpoint_params": { + "properties": { + "authorized_hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chat_completions_endpoint": { "properties": { - "enabled": { + "disabled": { + "default": false, + "description": "Disable chat completions endpoint for this public endpoint.", "type": "boolean" + } + }, + "type": "object" + }, + "custom_domains": { + "description": "Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).", + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" }, - "model": { - "description": "A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.", + { + "type": "null" + } + ] + }, + "default_domain_enabled": { + "default": true, + "description": "When false, the instance is reachable only via a registered custom domain and the default .search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. public_endpoint_params is replaced wholesale on update, so resend default_domain_enabled on every update to keep the default host off — omitting it resets to true.", + "type": "boolean" + }, + "enabled": { + "default": false, + "type": "boolean" + }, + "mcp": { + "properties": { + "description": { + "default": "Finds exactly what you're looking for", "type": "string" }, - "rewrite_prompt": { - "type": "string" + "disabled": { + "default": false, + "description": "Disable MCP endpoint for this public endpoint.", + "type": "boolean" } }, "type": "object" }, - "reranking": { + "rate_limit": { "properties": { - "enabled": { - "type": "boolean" + "period_ms": { + "type": "integer" }, - "match_threshold": { - "default": 0.4, - "type": "number" + "requests": { + "type": "integer" }, - "model": { + "technique": { + "enum": [ + "fixed", + "sliding" + ], "type": "string" } }, "type": "object" }, - "retrieval": { + "search_endpoint": { + "properties": { + "disabled": { + "default": false, + "description": "Disable search endpoint for this public endpoint.", + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "reranking": { + "default": false, + "type": "boolean" + }, + "reranking_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retrieval_options": { + "oneOf": [ + { "properties": { "boost_by": { - "description": "Metadata fields to boost search results by. Overrides the instance-level boost_by config. Direction defaults to 'asc' for numeric/datetime fields, 'exists' for text/boolean fields. Fields must match 'timestamp' or a defined custom_metadata field.", + "description": "Metadata fields to boost search results by. Each entry specifies a metadata field and an optional direction. Direction defaults to 'asc' for numeric/datetime fields and 'exists' for text/boolean fields. Fields must match 'timestamp' or a defined custom_metadata field.", "items": { "properties": { "direction": { @@ -2134,181 +7341,260 @@ export const tools: readonly Tool[] = [ "maxItems": 3, "type": "array" }, - "context_expansion": { - "default": 0, - "type": "integer" - }, - "filters": { - "type": "object" - }, - "fusion_method": { - "enum": [ - "max", - "rrf" - ], - "type": "string" - }, "keyword_match_mode": { - "description": "Controls which documents become candidates for BM25 scoring. 'and' restricts candidates to documents containing all query terms; 'or' includes any document containing at least one term and ranks results according to BM25 relevance. When omitted, falls back to the instance-level retrieval_options.keyword_match_mode, then to 'and'.", + "description": "Controls which documents become candidates for BM25 scoring. 'and' restricts candidates to documents containing all query terms; 'or' includes any document containing at least one term and ranks results according to BM25 relevance. When omitted on an update, the existing stored value stays unchanged; when never set, search falls back to 'and'.", "enum": [ "and", "or" ], "type": "string" - }, - "match_threshold": { - "description": "Minimum similarity score a chunk must reach to be returned. When omitted, falls back to the instance-level score_threshold, then to 0.4.", - "type": "number" - }, - "max_num_results": { - "description": "Maximum number of results to return. When omitted, falls back to the instance-level max_num_results, then to 10.", - "type": "integer" - }, - "retrieval_type": { - "enum": [ - "vector", - "keyword", - "hybrid" - ], - "type": "string" - }, - "return_on_failure": { - "default": true, - "type": "boolean" } }, "type": "object" + }, + { + "type": "null" } - }, - "type": "object" + ] }, - "messages": { - "description": "OpenAI-compatible message array. For multimodal queries, set the last user message's `content` to an array of typed parts: `[{type:'text', text:'…'}, {type:'image_url', image_url:{url:'…'}}]`. Image inputs require the RAG's embedding_model to declare 'image' in supported_modalities.", - "items": { - "properties": { - "content": { - "anyOf": [ - { + "rewrite_model": { + "description": "A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "rewrite_query": { + "default": false, + "type": "boolean" + }, + "score_threshold": { + "description": "Minimum similarity score a chunk must reach to be returned. Defaults to 0.4.", + "type": "number" + }, + "source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_params": { + "oneOf": [ + { + "properties": { + "exclude_items": { + "description": "List of path patterns to exclude. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /admin/** matches /admin/users and /admin/settings/advanced). Most accounts have a limit of 10 rules; contact support to raise it.", + "items": { "type": "string" }, - { - "items": { - "oneOf": [ - { - "properties": { - "text": { - "type": "string" - }, - "type": { - "enum": [ - "text" - ], - "type": "string" - } - }, - "required": [ - "text", - "type" - ], - "type": "object" + "maxItems": 10, + "type": "array" + }, + "include_items": { + "description": "List of path patterns to include. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /blog/** matches /blog/post and /blog/2024/post). Most accounts have a limit of 10 rules; contact support to raise it.", + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "prefix": { + "type": "string" + }, + "r2_jurisdiction": { + "type": "string" + }, + "web_crawler": { + "default": { + "parse_type": "sitemap" + }, + "properties": { + "discover_options": { + "description": "Options for parse_type 'discover', where Browser Run discovers URLs through link following and sitemaps. Ignored for 'sitemap'.", + "properties": { + "depth": { + "default": 5, + "description": "Maximum link-follow depth from the seed URL.", + "type": "number" }, - { - "properties": { - "image_url": { - "properties": { - "url": { - "type": "string" - } + "include_external_links": { + "default": false, + "description": "Follow links that point outside the source domain. Must stay `false` because discover crawls only cover the zone you own.", + "type": "boolean" + }, + "include_subdomains": { + "default": false, + "description": "Follow links to subdomains of the source host.", + "type": "boolean" + }, + "limit": { + "default": 100000, + "description": "Maximum number of pages to crawl (1-100000).", + "type": "number" + }, + "max_age": { + "default": 86400, + "description": "Maximum content age in seconds to accept (0–604800).", + "type": "number" + }, + "source": { + "default": "all", + "description": "Where the crawler looks for URLs: 'sitemaps' reads sitemap XML only, 'links' follows page links only, 'all' does both.", + "enum": [ + "all", + "sitemaps", + "links" + ], + "type": "string" + } + }, + "type": "object" + }, + "parse_options": { + "properties": { + "content_selector": { + "description": "List of path-to-selector mappings for extracting specific content from crawled pages. Each entry pairs a URL glob pattern with a CSS selector. The first matching path wins. The crawler stores and indexes only the matched HTML fragment. Omit the field to disable content selection; the API rejects empty arrays.", + "items": { + "properties": { + "path": { + "description": "Glob pattern to match against the page URL path. Uses standard glob syntax: * matches within a segment, ** crosses directories.", + "type": "string" }, - "required": [ - "url" - ], - "type": "object" + "selector": { + "description": "CSS selector to extract content from pages matching the path pattern. Disallowed characters: ;, `, $, {, }, \\. Must target a single element; if multiple elements match, the crawler ignores the selector and uses the full page.", + "type": "string" + } }, - "type": { - "enum": [ - "image_url" - ], - "type": "string" - } + "required": [ + "path", + "selector" + ], + "type": "object" }, - "required": [ - "image_url", - "type" - ], - "type": "object" + "maxItems": 10, + "minItems": 1, + "type": "array" }, - { - "properties": { - "file": { - "properties": { - "file_data": { - "type": "string" - }, - "file_id": { - "type": "string" - }, - "filename": { - "type": "string" - } - }, - "required": [ - "filename" - ], - "type": "object" - }, - "type": { - "enum": [ - "file" - ], - "type": "string" - } + "include_headers": { + "additionalProperties": { + "type": "string" }, - "required": [ - "file", - "type" - ], + "description": "Up to 5 custom HTTP headers sent with each crawl request. Names must use RFC-7230 token characters, excluding spaces, colons, and control characters. Values must use HTAB and printable ASCII only, excluding CR and LF.", "type": "object" + }, + "include_images": { + "default": false, + "type": "boolean" + }, + "specific_sitemaps": { + "description": "List of specific sitemap URLs to use for crawling. Only valid when parse_type is 'sitemap'.", + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + }, + "use_browser_rendering": { + "default": true, + "type": "boolean" } - ] + }, + "type": "object" }, - "minItems": 1, - "type": "array" + "parse_type": { + "default": "sitemap", + "description": "How the crawler finds URLs. 'sitemap' reads XML sitemaps; 'discover' follows links recursively and requires the source to belong to a Verified zone on this account.", + "enum": [ + "sitemap", + "discover" + ], + "type": "string" + } }, - { - "type": "null" - } - ] + "type": "object" + } }, - "role": { - "enum": [ - "system", - "developer", - "user", - "assistant", - "tool" - ], - "type": "string" - } + "type": "object" }, - "required": [ - "content", - "role" - ], - "type": "object" - }, - "minItems": 1, - "type": "array" + { + "type": "null" + } + ] }, - "query": { - "description": "A simple text query string. Alternative to 'messages' — provide either this or 'messages', not both.", + "summarization": { + "default": false, + "type": "boolean" + }, + "summarization_model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sync_interval": { + "description": "Interval between automatic syncs, in seconds. Allowed values: 900 (15min), 1800 (30min), 3600 (1h), 7200 (2h), 14400 (4h), 21600 (6h), 43200 (12h), 86400 (24h). Defaults to 21600 (6h); instances crawling a domain outside the account may be set to 86400.", + "enum": [ + 900, + 1800, + 3600, + 7200, + 14400, + 21600, + 43200, + 86400 + ], + "type": "integer" + }, + "system_prompt_ai_search": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "system_prompt_index_summarization": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "system_prompt_rewrite_query": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "token_id": { + "format": "uuid", "type": "string" } }, "type": "object" }, "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", "type": "string" }, "namespace": { @@ -2323,14 +7609,14 @@ export const tools: readonly Tool[] = [ ], }, annotations: { - "destructiveHint": false, - "idempotentHint": false, + "destructiveHint": true, + "idempotentHint": true, "openWorldHint": true, "readOnlyHint": false, - "title": "Search" + "title": "Update an AI Search instance." }, - method: "POST", - path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/search", + method: "PUT", + path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", extensions: { "x-cfPermissionsRequired": { "enum": [ @@ -2355,92 +7641,17 @@ export const tools: readonly Tool[] = [ "namespace": { "description": "Namespace to use for this operation." }, - "query": { - "description": "Text to search for.", - "positional": true - } - } - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/search`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "ai_search_stats", - title: "Get instance statistics.", - description: "Retrieve usage and indexing statistics for an AI Search instance.\n\nThis method is beta.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "namespace": { - "description": "Namespace name.", - "type": "string" - } - }, - required: [ - "account_id", - "namespace", - "instance_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Get instance statistics." - }, - method: "GET", - path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/stats", - extensions: { - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.ai-search" - ], - "x-fern-enum": { - "com.cloudflare.api.account.ai-search": { - "name": "com_cloudflare_api_account_ai_search" - } - } - }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - }, - "x-forge-params": { - "id": { - "description": "AI Search instance ID." + "source": { + "description": "R2 bucket name or HTTP(S) root website URL to index." }, - "namespace": { - "description": "Namespace to use for this operation." + "source_params": { + "description": "Optional data source settings as a JSON object." } } }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/stats`, - }), - }, - { - name: "ai_search_update", - title: "Update an AI Search instance.", - description: "Updates the configuration of an AI Search instance.\n\nThis method is beta.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "body": { + responses: { + schemas: { + "200": { "properties": { "ai_gateway_id": { "oneOf": [ @@ -2453,7 +7664,6 @@ export const tools: readonly Tool[] = [ ] }, "ai_search_model": { - "description": "A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.", "oneOf": [ { "type": "string" @@ -2464,11 +7674,9 @@ export const tools: readonly Tool[] = [ ] }, "cache": { - "default": true, "type": "boolean" }, "cache_threshold": { - "default": "close_enough", "enum": [ "super_strict_match", "close_enough", @@ -2478,8 +7686,6 @@ export const tools: readonly Tool[] = [ "type": "string" }, "cache_ttl": { - "default": 172800, - "description": "Cache entry TTL in seconds. Allowed values: 600 (10min), 1800 (30min), 3600 (1h), 7200 (2h), 21600 (6h), 43200 (12h), 86400 (24h), 172800 (48h), 259200 (72h), 518400 (6d).", "enum": [ 600, 1800, @@ -2494,17 +7700,26 @@ export const tools: readonly Tool[] = [ ], "type": "integer" }, - "chunk": { - "default": true, - "type": "boolean" - }, "chunk_overlap": { - "default": 10, "type": "integer" }, "chunk_size": { "type": "integer" }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, "custom_metadata": { "items": { "properties": { @@ -2540,23 +7755,31 @@ export const tools: readonly Tool[] = [ } ] }, + "enable": { + "type": "boolean" + }, + "engine_version": { + "type": "number" + }, "fusion_method": { - "default": "rrf", "enum": [ "max", "rrf" ], "type": "string" }, + "hybrid_search_enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, "index_method": { - "description": "Controls which storage backends indexing uses. Defaults to vector and keyword indexing for new instances. When set, both vector and keyword are required.", "properties": { "keyword": { - "description": "Enable keyword (BM25) storage backend.", "type": "boolean" }, "vector": { - "description": "Enable vector (embedding) storage backend.", "type": "boolean" } }, @@ -2571,8 +7794,6 @@ export const tools: readonly Tool[] = [ { "properties": { "keyword_tokenizer": { - "default": "porter", - "description": "Tokenizer used for keyword search indexing. porter provides word-level tokenization with Porter stemming (good for natural language queries). trigram enables character-level substring matching (good for partial matches, code, identifiers). Changing this triggers a full re-index. Defaults to porter.", "enum": [ "porter", "trigram" @@ -2580,8 +7801,6 @@ export const tools: readonly Tool[] = [ "type": "string" }, "use_ocr": { - "default": false, - "description": "Enables OCR ingestion for PDFs and images. Changing this triggers a full re-index. Defaults to false.", "type": "boolean" } }, @@ -2592,8 +7811,18 @@ export const tools: readonly Tool[] = [ } ] }, + "last_activity": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, "max_num_results": { - "default": 10, "type": "integer" }, "metadata": { @@ -2626,9 +7855,43 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, "paused": { "type": "boolean" }, + "public_endpoint_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, "public_endpoint_params": { "properties": { "authorized_hosts": { @@ -2640,15 +7903,12 @@ export const tools: readonly Tool[] = [ "chat_completions_endpoint": { "properties": { "disabled": { - "default": false, - "description": "Disable chat completions endpoint for this public endpoint.", "type": "boolean" } }, "type": "object" }, "custom_domains": { - "description": "Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).", "oneOf": [ { "items": { @@ -2663,23 +7923,17 @@ export const tools: readonly Tool[] = [ ] }, "default_domain_enabled": { - "default": true, - "description": "When false, the instance is reachable only via a registered custom domain and the default .search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. public_endpoint_params is replaced wholesale on update, so resend default_domain_enabled on every update to keep the default host off — omitting it resets to true.", "type": "boolean" }, "enabled": { - "default": false, "type": "boolean" }, "mcp": { "properties": { "description": { - "default": "Finds exactly what you're looking for", "type": "string" }, "disabled": { - "default": false, - "description": "Disable MCP endpoint for this public endpoint.", "type": "boolean" } }, @@ -2706,8 +7960,6 @@ export const tools: readonly Tool[] = [ "search_endpoint": { "properties": { "disabled": { - "default": false, - "description": "Disable search endpoint for this public endpoint.", "type": "boolean" } }, @@ -2717,7 +7969,6 @@ export const tools: readonly Tool[] = [ "type": "object" }, "reranking": { - "default": false, "type": "boolean" }, "reranking_model": { @@ -2735,11 +7986,9 @@ export const tools: readonly Tool[] = [ { "properties": { "boost_by": { - "description": "Metadata fields to boost search results by. Each entry specifies a metadata field and an optional direction. Direction defaults to 'asc' for numeric/datetime fields and 'exists' for text/boolean fields. Fields must match 'timestamp' or a defined custom_metadata field.", "items": { "properties": { "direction": { - "description": "Boost direction. 'desc' = higher values rank higher (e.g. newer timestamps). 'asc' = lower values rank higher. 'exists' = boost chunks that have the field. 'not_exists' = boost chunks that lack the field. Optional — defaults to 'asc' for numeric/datetime fields, 'exists' for text/boolean fields.", "enum": [ "asc", "desc", @@ -2749,7 +7998,6 @@ export const tools: readonly Tool[] = [ "type": "string" }, "field": { - "description": "Metadata field name to boost by. Use 'timestamp' for document freshness, or any custom_metadata field. Numeric and datetime fields support all four directions (asc, desc, exists, not_exists); text/boolean fields only support exists/not_exists.", "type": "string" } }, @@ -2762,7 +8010,6 @@ export const tools: readonly Tool[] = [ "type": "array" }, "keyword_match_mode": { - "description": "Controls which documents become candidates for BM25 scoring. 'and' restricts candidates to documents containing all query terms; 'or' includes any document containing at least one term and ranks results according to BM25 relevance. When omitted on an update, the existing stored value stays unchanged; when never set, search falls back to 'and'.", "enum": [ "and", "or" @@ -2778,7 +8025,6 @@ export const tools: readonly Tool[] = [ ] }, "rewrite_model": { - "description": "A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.", "oneOf": [ { "type": "string" @@ -2789,11 +8035,9 @@ export const tools: readonly Tool[] = [ ] }, "rewrite_query": { - "default": false, "type": "boolean" }, "score_threshold": { - "description": "Minimum similarity score a chunk must reach to be returned. Defaults to 0.4.", "type": "number" }, "source": { @@ -2811,7 +8055,6 @@ export const tools: readonly Tool[] = [ { "properties": { "exclude_items": { - "description": "List of path patterns to exclude. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /admin/** matches /admin/users and /admin/settings/advanced). Most accounts have a limit of 10 rules; contact support to raise it.", "items": { "type": "string" }, @@ -2819,7 +8062,6 @@ export const tools: readonly Tool[] = [ "type": "array" }, "include_items": { - "description": "List of path patterns to include. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /blog/** matches /blog/post and /blog/2024/post). Most accounts have a limit of 10 rules; contact support to raise it.", "items": { "type": "string" }, @@ -2833,41 +8075,25 @@ export const tools: readonly Tool[] = [ "type": "string" }, "web_crawler": { - "default": { - "parse_type": "sitemap" - }, "properties": { "discover_options": { - "description": "Options for parse_type 'discover', where Browser Run discovers URLs through link following and sitemaps. Ignored for 'sitemap'.", "properties": { "depth": { - "default": 5, - "description": "Maximum link-follow depth from the seed URL.", "type": "number" }, "include_external_links": { - "default": false, - "description": "Follow links that point outside the source domain. Must stay `false` because discover crawls only cover the zone you own.", "type": "boolean" }, "include_subdomains": { - "default": false, - "description": "Follow links to subdomains of the source host.", "type": "boolean" }, "limit": { - "default": 100000, - "description": "Maximum number of pages to crawl (1-100000).", "type": "number" }, "max_age": { - "default": 86400, - "description": "Maximum content age in seconds to accept (0–604800).", "type": "number" }, "source": { - "default": "all", - "description": "Where the crawler looks for URLs: 'sitemaps' reads sitemap XML only, 'links' follows page links only, 'all' does both.", "enum": [ "all", "sitemaps", @@ -2881,15 +8107,12 @@ export const tools: readonly Tool[] = [ "parse_options": { "properties": { "content_selector": { - "description": "List of path-to-selector mappings for extracting specific content from crawled pages. Each entry pairs a URL glob pattern with a CSS selector. The first matching path wins. The crawler stores and indexes only the matched HTML fragment. Omit the field to disable content selection; the API rejects empty arrays.", "items": { "properties": { "path": { - "description": "Glob pattern to match against the page URL path. Uses standard glob syntax: * matches within a segment, ** crosses directories.", "type": "string" }, "selector": { - "description": "CSS selector to extract content from pages matching the path pattern. Disallowed characters: ;, `, $, {, }, \\. Must target a single element; if multiple elements match, the crawler ignores the selector and uses the full page.", "type": "string" } }, @@ -2907,15 +8130,12 @@ export const tools: readonly Tool[] = [ "additionalProperties": { "type": "string" }, - "description": "Up to 5 custom HTTP headers sent with each crawl request. Names must use RFC-7230 token characters, excluding spaces, colons, and control characters. Values must use HTAB and printable ASCII only, excluding CR and LF.", "type": "object" }, "include_images": { - "default": false, "type": "boolean" }, "specific_sitemaps": { - "description": "List of specific sitemap URLs to use for crawling. Only valid when parse_type is 'sitemap'.", "items": { "type": "string" }, @@ -2923,15 +8143,12 @@ export const tools: readonly Tool[] = [ "type": "array" }, "use_browser_rendering": { - "default": true, "type": "boolean" } }, "type": "object" }, "parse_type": { - "default": "sitemap", - "description": "How the crawler finds URLs. 'sitemap' reads XML sitemaps; 'discover' follows links recursively and requires the source to belong to a Verified zone on this account.", "enum": [ "sitemap", "discover" @@ -2949,22 +8166,10 @@ export const tools: readonly Tool[] = [ } ] }, - "summarization": { - "default": false, - "type": "boolean" - }, - "summarization_model": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "status": { + "type": "string" }, "sync_interval": { - "description": "Interval between automatic syncs, in seconds. Allowed values: 900 (15min), 1800 (30min), 3600 (1h), 7200 (2h), 14400 (4h), 21600 (6h), 43200 (12h), 86400 (24h). Defaults to 21600 (6h); instances crawling a domain outside the account may be set to 86400.", "enum": [ 900, 1800, @@ -2977,97 +8182,165 @@ export const tools: readonly Tool[] = [ ], "type": "integer" }, - "system_prompt_ai_search": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "token_id": { + "format": "uuid", + "type": "string" }, - "system_prompt_index_summarization": { + "type": { "oneOf": [ { + "enum": [ + "r2", + "web-crawler" + ], "type": "string" }, { "type": "null" } ] + } + }, + "required": [ + "created_at", + "id", + "modified_at" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" }, - "system_prompt_rewrite_query": { - "oneOf": [ - { - "type": "string" + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } }, - { - "type": "null" - } - ] + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" }, - "token_id": { - "format": "uuid", - "type": "string" + "success": { + "enum": [ + false + ], + "type": "boolean" } }, + "required": [ + "errors", + "success" + ], "type": "object" }, - "instance_id": { - "type": "string" + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" }, - "namespace": { - "description": "Namespace name.", - "type": "string" - } - }, - required: [ - "account_id", - "namespace", - "instance_id" - ], - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update an AI Search instance." - }, - method: "PUT", - path: "/accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", - extensions: { - "x-cfPermissionsRequired": { - "enum": [ - "com.cloudflare.api.account.ai-search" - ], - "x-fern-enum": { - "com.cloudflare.api.account.ai-search": { - "name": "com_cloudflare_api_account_ai_search" - } + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - }, - "x-forge-params": { - "id": { - "description": "AI Search instance ID." - }, - "namespace": { - "description": "Namespace to use for this operation." - }, - "source": { - "description": "R2 bucket name or HTTP(S) root website URL to index." - }, - "source_params": { - "description": "Optional data source settings as a JSON object." - } - } }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}`, diff --git a/src/generated/forge-mcp/aiSecurity/customTopics/outputs.ts b/src/generated/forge-mcp/aiSecurity/customTopics/outputs.ts new file mode 100644 index 00000000..e505d7d8 --- /dev/null +++ b/src/generated/forge-mcp/aiSecurity/customTopics/outputs.ts @@ -0,0 +1,69 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `waf-product-api-bundle_custom-topic` in responses. + */ +export const waf_product_api_bundle_custom_topic_output: JsonSchema = { + "properties": { + "label": { + "type": "string" + }, + "topic": { + "type": "string" + } + }, + "required": [ + "label", + "topic" + ], + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_custom-topics` in responses. + */ +export const waf_product_api_bundle_custom_topics_output: JsonSchema = { + "properties": { + "topics": { + "items": { + "$ref": "#/$defs/waf-product-api-bundle_custom-topic" + }, + "maxItems": 20, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_response-custom-topics` in responses. + */ +export const waf_product_api_bundle_response_custom_topics_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "messages": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "result": { + "$ref": "#/$defs/waf-product-api-bundle_custom-topics" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts b/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts index ebb34de3..eb022500 100644 --- a/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts +++ b/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { waf_product_api_bundle_messages_output } from "../../outputs.js"; +import { waf_product_api_bundle_api_response_common_failure_3_output } from "../outputs.js"; +import { + waf_product_api_bundle_custom_topic_output, + waf_product_api_bundle_custom_topics_output, + waf_product_api_bundle_response_custom_topics_output, +} from "./outputs.js"; import { waf_product_api_bundle_custom_topic, waf_product_api_bundle_custom_topics, @@ -36,6 +43,30 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/zones/{zone_id}/ai-security/custom-topics", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_custom-topics" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-topics" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-3": waf_product_api_bundle_api_response_common_failure_3_output, + "waf-product-api-bundle_custom-topic": waf_product_api_bundle_custom_topic_output, + "waf-product-api-bundle_custom-topics": waf_product_api_bundle_custom_topics_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-topics": waf_product_api_bundle_response_custom_topics_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ai-security/custom-topics`, }), @@ -73,6 +104,30 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/zones/{zone_id}/ai-security/custom-topics", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_custom-topics" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-topics" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-3": waf_product_api_bundle_api_response_common_failure_3_output, + "waf-product-api-bundle_custom-topic": waf_product_api_bundle_custom_topic_output, + "waf-product-api-bundle_custom-topics": waf_product_api_bundle_custom_topics_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-topics": waf_product_api_bundle_response_custom_topics_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ai-security/custom-topics`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/aiSecurity/outputs.ts b/src/generated/forge-mcp/aiSecurity/outputs.ts new file mode 100644 index 00000000..e1e95d43 --- /dev/null +++ b/src/generated/forge-mcp/aiSecurity/outputs.ts @@ -0,0 +1,77 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `waf-product-api-bundle_api-response-common-failure-3` in + * responses. + */ +export const waf_product_api_bundle_api_response_common_failure_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "messages": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_response-settings` in responses. + */ +export const waf_product_api_bundle_response_settings_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "messages": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "result": { + "$ref": "#/$defs/waf-product-api-bundle_settings" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_settings` in responses. + */ +export const waf_product_api_bundle_settings_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/aiSecurity/tools.ts b/src/generated/forge-mcp/aiSecurity/tools.ts index 45760574..80b6c221 100644 --- a/src/generated/forge-mcp/aiSecurity/tools.ts +++ b/src/generated/forge-mcp/aiSecurity/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { waf_product_api_bundle_messages_output } from "../outputs.js"; +import { + waf_product_api_bundle_api_response_common_failure_3_output, + waf_product_api_bundle_response_settings_output, + waf_product_api_bundle_settings_output, +} from "./outputs.js"; import { waf_product_api_bundle_settings } from "./schemas.js"; /** @@ -33,6 +39,29 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/zones/{zone_id}/ai-security/settings", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-settings" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-3": waf_product_api_bundle_api_response_common_failure_3_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-settings": waf_product_api_bundle_response_settings_output, + "waf-product-api-bundle_settings": waf_product_api_bundle_settings_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ai-security/settings`, }), @@ -69,6 +98,29 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/zones/{zone_id}/ai-security/settings", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-settings" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-3": waf_product_api_bundle_api_response_common_failure_3_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-settings": waf_product_api_bundle_response_settings_output, + "waf-product-api-bundle_settings": waf_product_api_bundle_settings_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ai-security/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts b/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts new file mode 100644 index 00000000..ebf87b21 --- /dev/null +++ b/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts @@ -0,0 +1,54 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `aaa_alert-types` in responses. + */ +export const aaa_alert_types_output: JsonSchema = { + "properties": { + "description": { + "$ref": "#/$defs/aaa_description" + }, + "display_name": { + "$ref": "#/$defs/aaa_display_name" + }, + "filter_options": { + "$ref": "#/$defs/aaa_filter_options" + }, + "type": { + "$ref": "#/$defs/aaa_type" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_description` in responses. + */ +export const aaa_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_display_name` in responses. + */ +export const aaa_display_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_filter_options` in responses. + */ +export const aaa_filter_options_output: JsonSchema = { + "items": {}, + "type": "array" +}; + +/** + * The schema of `aaa_type` in responses. + */ +export const aaa_type_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/alerting/availableAlerts/tools.ts b/src/generated/forge-mcp/alerting/availableAlerts/tools.ts index 27276edb..faa89776 100644 --- a/src/generated/forge-mcp/alerting/availableAlerts/tools.ts +++ b/src/generated/forge-mcp/alerting/availableAlerts/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + aaa_api_response_common_failure_3_output, + aaa_messages_3_output, +} from "../outputs.js"; +import { + aaa_alert_types_output, + aaa_description_output, + aaa_display_name_output, + aaa_filter_options_output, + aaa_type_output, +} from "./outputs.js"; /** * The tools of `alerting.available_alerts`. @@ -41,6 +52,31 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "items": { + "$ref": "#/$defs/aaa_alert-types" + }, + "type": "array" + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + }, + $defs: { + "aaa_alert-types": aaa_alert_types_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_description": aaa_description_output, + "aaa_display_name": aaa_display_name_output, + "aaa_filter_options": aaa_filter_options_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_type": aaa_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/available_alerts`, }), diff --git a/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts b/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts new file mode 100644 index 00000000..1d819459 --- /dev/null +++ b/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts @@ -0,0 +1,48 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `aaa_eligibility` in responses. + */ +export const aaa_eligibility_output: JsonSchema = { + "properties": { + "eligible": { + "$ref": "#/$defs/aaa_eligible" + }, + "ready": { + "$ref": "#/$defs/aaa_ready" + }, + "type": { + "$ref": "#/$defs/aaa_schemas-type" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_eligible` in responses. + */ +export const aaa_eligible_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `aaa_ready` in responses. + */ +export const aaa_ready_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `aaa_schemas-type` in responses. + */ +export const aaa_schemas_type_output: JsonSchema = { + "enum": [ + "email", + "pagerduty", + "webhook" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts b/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts index 8cf66616..e8b9104d 100644 --- a/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts +++ b/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + aaa_api_response_common_failure_3_output, + aaa_messages_3_output, +} from "../../outputs.js"; +import { + aaa_eligibility_output, + aaa_eligible_output, + aaa_ready_output, + aaa_schemas_type_output, +} from "./outputs.js"; /** * The tools of `alerting.destinations.eligible`. @@ -32,6 +42,30 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/alerting/v3/destinations/eligible", + responses: { + schemas: { + "200": { + "additionalProperties": { + "items": { + "$ref": "#/$defs/aaa_eligibility" + }, + "type": "array" + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_eligibility": aaa_eligibility_output, + "aaa_eligible": aaa_eligible_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_ready": aaa_ready_output, + "aaa_schemas-type": aaa_schemas_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/eligible`, }), diff --git a/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts b/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts new file mode 100644 index 00000000..cf80fa53 --- /dev/null +++ b/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts @@ -0,0 +1,33 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `aaa_name` in responses. + */ +export const aaa_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_pagerduty` in responses. + */ +export const aaa_pagerduty_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/aaa_uuid" + }, + "name": { + "$ref": "#/$defs/aaa_name" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_token` in responses. + */ +export const aaa_token_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts b/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts index 123d6863..3b66af77 100644 --- a/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts +++ b/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + aaa_api_response_common_2_output, + aaa_api_response_common_failure_3_output, + aaa_id_response_output, + aaa_id_response_result_output, + aaa_messages_3_output, + aaa_uuid_output, +} from "../../outputs.js"; +import { + aaa_name_output, + aaa_pagerduty_output, + aaa_token_output, +} from "./outputs.js"; /** * The tools of `alerting.destinations.pagerduty`. @@ -38,6 +51,36 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "201": { + "properties": { + "id": { + "$ref": "#/$defs/aaa_token" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_id_response" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_id_response": aaa_id_response_output, + "aaa_id_response_result": aaa_id_response_result_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_token": aaa_token_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/pagerduty/connect`, }), @@ -73,6 +116,21 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_api-response-common-2" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + }, + $defs: { + "aaa_api-response-common-2": aaa_api_response_common_2_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/pagerduty`, }), @@ -117,6 +175,37 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_pagerduty" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_name": aaa_name_output, + "aaa_pagerduty": aaa_pagerduty_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/pagerduty`, }), @@ -157,6 +246,35 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/aaa_uuid" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_id_response" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_id_response": aaa_id_response_output, + "aaa_id_response_result": aaa_id_response_result_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/pagerduty/connect/${pathParam(args, "token_id")}`, }), diff --git a/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts b/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts new file mode 100644 index 00000000..2d48e92f --- /dev/null +++ b/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts @@ -0,0 +1,168 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `aaa_components-schemas-name` in responses. + */ +export const aaa_components_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_components-schemas-type` in responses. + */ +export const aaa_components_schemas_type_output: JsonSchema = { + "enum": [ + "datadog", + "discord", + "feishu", + "gchat", + "generic", + "opsgenie", + "slack", + "splunk" + ], + "type": "string" +}; + +/** + * The schema of `aaa_created_at` in responses. + */ +export const aaa_created_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `aaa_last_failure` in responses. + */ +export const aaa_last_failure_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `aaa_last_success` in responses. + */ +export const aaa_last_success_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `aaa_schemas-single_response` in responses. + */ +export const aaa_schemas_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "result": { + "$ref": "#/$defs/aaa_webhooks" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_secret` in responses. + */ +export const aaa_secret_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_url` in responses. + */ +export const aaa_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_webhook-id` in responses. + */ +export const aaa_webhook_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_webhooks` in responses. + */ +export const aaa_webhooks_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/aaa_created_at" + }, + "id": { + "$ref": "#/$defs/aaa_webhook-id" + }, + "last_failure": { + "$ref": "#/$defs/aaa_last_failure" + }, + "last_success": { + "$ref": "#/$defs/aaa_last_success" + }, + "name": { + "$ref": "#/$defs/aaa_components-schemas-name" + }, + "secret": { + "$ref": "#/$defs/aaa_secret" + }, + "type": { + "$ref": "#/$defs/aaa_components-schemas-type" + }, + "url": { + "$ref": "#/$defs/aaa_url" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_webhooks_components-schemas-response_collection` in + * responses. + */ +export const aaa_webhooks_components_schemas_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "result": { + "items": { + "$ref": "#/$defs/aaa_webhooks" + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts b/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts index 7e579d6f..9202ebac 100644 --- a/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts +++ b/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + aaa_api_response_common_2_output, + aaa_api_response_common_failure_3_output, + aaa_id_response_output, + aaa_id_response_result_output, + aaa_messages_3_output, + aaa_uuid_output, +} from "../../outputs.js"; +import { + aaa_components_schemas_name_output, + aaa_components_schemas_type_output, + aaa_created_at_output, + aaa_last_failure_output, + aaa_last_success_output, + aaa_schemas_single_response_output, + aaa_secret_output, + aaa_url_output, + aaa_webhook_id_output, + aaa_webhooks_components_schemas_response_collection_output, + aaa_webhooks_output, +} from "./outputs.js"; import { aaa_components_schemas_name, aaa_secret, aaa_url } from "./schemas.js"; /** @@ -72,6 +93,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "201": { + "properties": { + "id": { + "$ref": "#/$defs/aaa_uuid" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_id_response" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_id_response": aaa_id_response_output, + "aaa_id_response_result": aaa_id_response_result_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/webhooks`, body: { value: args["body"], mediaType: "application/json" }, @@ -119,6 +169,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_api-response-common-2" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + }, + $defs: { + "aaa_api-response-common-2": aaa_api_response_common_2_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/webhooks/${pathParam(args, "webhook_id")}`, }), @@ -168,6 +233,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_webhooks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_schemas-single_response" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_components-schemas-name": aaa_components_schemas_name_output, + "aaa_components-schemas-type": aaa_components_schemas_type_output, + "aaa_created_at": aaa_created_at_output, + "aaa_last_failure": aaa_last_failure_output, + "aaa_last_success": aaa_last_success_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_schemas-single_response": aaa_schemas_single_response_output, + "aaa_secret": aaa_secret_output, + "aaa_url": aaa_url_output, + "aaa_webhook-id": aaa_webhook_id_output, + "aaa_webhooks": aaa_webhooks_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/webhooks/${pathParam(args, "webhook_id")}`, }), @@ -212,6 +308,51 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_webhooks" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_webhooks_components-schemas-response_collection" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_components-schemas-name": aaa_components_schemas_name_output, + "aaa_components-schemas-type": aaa_components_schemas_type_output, + "aaa_created_at": aaa_created_at_output, + "aaa_last_failure": aaa_last_failure_output, + "aaa_last_success": aaa_last_success_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_secret": aaa_secret_output, + "aaa_url": aaa_url_output, + "aaa_webhook-id": aaa_webhook_id_output, + "aaa_webhooks": aaa_webhooks_output, + "aaa_webhooks_components-schemas-response_collection": aaa_webhooks_components_schemas_response_collection_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/webhooks`, }), @@ -285,6 +426,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/aaa_uuid" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_id_response" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_id_response": aaa_id_response_output, + "aaa_id_response_result": aaa_id_response_result_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/destinations/webhooks/${pathParam(args, "webhook_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/alerting/history/outputs.ts b/src/generated/forge-mcp/alerting/history/outputs.ts new file mode 100644 index 00000000..e1c07168 --- /dev/null +++ b/src/generated/forge-mcp/alerting/history/outputs.ts @@ -0,0 +1,124 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `aaa_alert_body` in responses. + */ +export const aaa_alert_body_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_components-schemas-description` in responses. + */ +export const aaa_components_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_history` in responses. + */ +export const aaa_history_output: JsonSchema = { + "properties": { + "alert_body": { + "$ref": "#/$defs/aaa_alert_body" + }, + "alert_type": { + "$ref": "#/$defs/aaa_schemas-alert_type" + }, + "description": { + "$ref": "#/$defs/aaa_components-schemas-description" + }, + "id": { + "$ref": "#/$defs/aaa_uuid" + }, + "mechanism": { + "$ref": "#/$defs/aaa_mechanism" + }, + "mechanism_type": { + "$ref": "#/$defs/aaa_mechanism_type" + }, + "name": { + "$ref": "#/$defs/aaa_schemas-name" + }, + "policy_id": { + "$ref": "#/$defs/aaa_policy-id" + }, + "sent": { + "$ref": "#/$defs/aaa_sent" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_history_components-schemas-response_collection` in + * responses. + */ +export const aaa_history_components_schemas_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "result": { + "items": { + "$ref": "#/$defs/aaa_history" + }, + "type": "array" + }, + "result_info": { + "type": "object" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_mechanism` in responses. + */ +export const aaa_mechanism_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_mechanism_type` in responses. + */ +export const aaa_mechanism_type_output: JsonSchema = { + "enum": [ + "email", + "pagerduty", + "webhook" + ], + "type": "string" +}; + +/** + * The schema of `aaa_schemas-alert_type` in responses. + */ +export const aaa_schemas_alert_type_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_sent` in responses. + */ +export const aaa_sent_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/alerting/history/tools.ts b/src/generated/forge-mcp/alerting/history/tools.ts index 8af02a14..e1b9f9ba 100644 --- a/src/generated/forge-mcp/alerting/history/tools.ts +++ b/src/generated/forge-mcp/alerting/history/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + aaa_api_response_common_failure_3_output, + aaa_messages_3_output, + aaa_policy_id_output, + aaa_schemas_name_output, + aaa_uuid_output, +} from "../outputs.js"; +import { + aaa_alert_body_output, + aaa_components_schemas_description_output, + aaa_history_components_schemas_response_collection_output, + aaa_history_output, + aaa_mechanism_output, + aaa_mechanism_type_output, + aaa_schemas_alert_type_output, + aaa_sent_output, +} from "./outputs.js"; import { aaa_before, aaa_per_page } from "./schemas.js"; /** @@ -65,6 +82,52 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_history" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_history_components-schemas-response_collection" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_alert_body": aaa_alert_body_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_components-schemas-description": aaa_components_schemas_description_output, + "aaa_history": aaa_history_output, + "aaa_history_components-schemas-response_collection": aaa_history_components_schemas_response_collection_output, + "aaa_mechanism": aaa_mechanism_output, + "aaa_mechanism_type": aaa_mechanism_type_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_schemas-alert_type": aaa_schemas_alert_type_output, + "aaa_schemas-name": aaa_schemas_name_output, + "aaa_sent": aaa_sent_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/history`, query: [ diff --git a/src/generated/forge-mcp/alerting/outputs.ts b/src/generated/forge-mcp/alerting/outputs.ts new file mode 100644 index 00000000..4f1bf654 --- /dev/null +++ b/src/generated/forge-mcp/alerting/outputs.ts @@ -0,0 +1,139 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `aaa_api-response-common-2` in responses. + */ +export const aaa_api_response_common_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_api-response-common-failure-3` in responses. + */ +export const aaa_api_response_common_failure_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_id_response` in responses. + */ +export const aaa_id_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "result": { + "$ref": "#/$defs/aaa_id_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_id_response_result` in responses. + */ +export const aaa_id_response_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/aaa_uuid" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_messages-3` in responses. + */ +export const aaa_messages_3_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `aaa_policy-id` in responses. + */ +export const aaa_policy_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_schemas-name` in responses. + */ +export const aaa_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_uuid` in responses. + */ +export const aaa_uuid_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/alerting/policies/email/outputs.ts b/src/generated/forge-mcp/alerting/policies/email/outputs.ts new file mode 100644 index 00000000..872a9a78 --- /dev/null +++ b/src/generated/forge-mcp/alerting/policies/email/outputs.ts @@ -0,0 +1,53 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `aaa_account-id` in responses. + */ +export const aaa_account_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_unsubscribe_email` in responses. + */ +export const aaa_unsubscribe_email_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id" + }, + "email": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/aaa_policy-id" + }, + "name": { + "$ref": "#/$defs/aaa_schemas-name" + }, + "token": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_unsubscribe_email_post` in responses. + */ +export const aaa_unsubscribe_email_post_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id" + }, + "email": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/aaa_policy-id" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/alerting/policies/email/tools.ts b/src/generated/forge-mcp/alerting/policies/email/tools.ts index 6c407434..6db6054d 100644 --- a/src/generated/forge-mcp/alerting/policies/email/tools.ts +++ b/src/generated/forge-mcp/alerting/policies/email/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + aaa_api_response_common_failure_3_output, + aaa_messages_3_output, + aaa_policy_id_output, + aaa_schemas_name_output, +} from "../../outputs.js"; +import { + aaa_account_id_output, + aaa_unsubscribe_email_output, + aaa_unsubscribe_email_post_output, +} from "./outputs.js"; /** * The tools of `alerting.policies.email`. @@ -54,6 +65,24 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_unsubscribe_email" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + }, + $defs: { + "aaa_account-id": aaa_account_id_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_schemas-name": aaa_schemas_name_output, + "aaa_unsubscribe_email": aaa_unsubscribe_email_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies/${pathParam(args, "policy_id")}/email/unsubscribe`, query: [ @@ -100,6 +129,23 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/alerting/v3/policies/{policy_id}/email/unsubscribe", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_unsubscribe_email_post" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + }, + $defs: { + "aaa_account-id": aaa_account_id_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_unsubscribe_email_post": aaa_unsubscribe_email_post_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies/${pathParam(args, "policy_id")}/email/unsubscribe`, query: [ diff --git a/src/generated/forge-mcp/alerting/policies/outputs.ts b/src/generated/forge-mcp/alerting/policies/outputs.ts new file mode 100644 index 00000000..183b5613 --- /dev/null +++ b/src/generated/forge-mcp/alerting/policies/outputs.ts @@ -0,0 +1,575 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `aaa_alert_interval` in responses. + */ +export const aaa_alert_interval_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_alert_type` in responses. + */ +export const aaa_alert_type_output: JsonSchema = { + "enum": [ + "abuse_report_alert", + "access_custom_certificate_expiration_type", + "advanced_ddos_attack_l4_alert", + "advanced_ddos_attack_l7_alert", + "advanced_http_alert_error", + "bgp_hijack_notification", + "billing_usage_alert", + "block_notification_block_removed", + "block_notification_new_block", + "block_notification_review_rejected", + "bot_traffic_basic_alert", + "brand_protection_alert", + "brand_protection_digest", + "clickhouse_alert_fw_anomaly", + "clickhouse_alert_fw_ent_anomaly", + "cloudforce_one_request_notification", + "cni_maintenance_notification", + "custom_analytics", + "custom_bot_detection_alert", + "custom_ssl_certificate_event_type", + "dedicated_ssl_certificate_event_type", + "device_connectivity_anomaly_alert", + "dos_attack_l4", + "dos_attack_l7", + "expiring_service_token_alert", + "failing_logpush_job_disabled_alert", + "fbm_auto_advertisement", + "fbm_dosd_attack", + "fbm_volumetric_attack", + "health_check_status_notification", + "hostname_aop_custom_certificate_expiration_type", + "http_alert_edge_error", + "http_alert_origin_error", + "image_notification", + "image_resizing_notification", + "incident_alert", + "load_balancing_health_alert", + "load_balancing_pool_enablement_alert", + "logo_match_alert", + "magic_tunnel_health_check_event", + "magic_wan_tunnel_health", + "maintenance_event_notification", + "mtls_certificate_store_certificate_expiration_type", + "pages_event_alert", + "radar_notification", + "real_origin_monitoring", + "scriptmonitor_alert_new_code_change_detections", + "scriptmonitor_alert_new_hosts", + "scriptmonitor_alert_new_malicious_hosts", + "scriptmonitor_alert_new_malicious_scripts", + "scriptmonitor_alert_new_malicious_url", + "scriptmonitor_alert_new_max_length_resource_url", + "scriptmonitor_alert_new_resources", + "secondary_dns_all_primaries_failing", + "secondary_dns_primaries_failing", + "secondary_dns_warning", + "secondary_dns_zone_successfully_updated", + "secondary_dns_zone_validation_warning", + "security_insights_alert", + "sentinel_alert", + "stream_live_notifications", + "synthetic_test_latency_alert", + "synthetic_test_low_availability_alert", + "traffic_anomalies_alert", + "tunnel_health_event", + "tunnel_update_event", + "universal_ssl_event_type", + "web_analytics_metrics_update", + "zone_aop_custom_certificate_expiration_type" + ], + "type": "string" +}; + +/** + * The schema of `aaa_api-response-collection` in responses. + */ +export const aaa_api_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "result_info": { + "$ref": "#/$defs/aaa_result_info-2" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_enabled` in responses. + */ +export const aaa_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `aaa_filters` in responses. + */ +export const aaa_filters_output: JsonSchema = { + "properties": { + "actions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "affected_asns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "affected_components": { + "items": { + "type": "string" + }, + "type": "array" + }, + "affected_locations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "airport_code": { + "items": { + "type": "string" + }, + "type": "array" + }, + "alert_trigger_preferences": { + "items": { + "type": "string" + }, + "type": "array" + }, + "alert_trigger_preferences_value": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "items": { + "type": "string" + }, + "type": "array" + }, + "environment": { + "items": { + "type": "string" + }, + "type": "array" + }, + "event": { + "items": { + "type": "string" + }, + "type": "array" + }, + "event_source": { + "items": { + "type": "string" + }, + "type": "array" + }, + "event_type": { + "items": { + "type": "string" + }, + "type": "array" + }, + "group_by": { + "items": { + "type": "string" + }, + "type": "array" + }, + "health_check_id": { + "items": { + "type": "string" + }, + "type": "array" + }, + "incident_impact": { + "items": { + "enum": [ + "INCIDENT_IMPACT_NONE", + "INCIDENT_IMPACT_MINOR", + "INCIDENT_IMPACT_MAJOR", + "INCIDENT_IMPACT_CRITICAL" + ], + "type": "string" + }, + "type": "array" + }, + "input_id": { + "items": { + "type": "string" + }, + "type": "array" + }, + "insight_class": { + "items": { + "type": "string" + }, + "type": "array" + }, + "limit": { + "items": { + "type": "string" + }, + "type": "array" + }, + "logo_tag": { + "items": { + "type": "string" + }, + "type": "array" + }, + "megabits_per_second": { + "items": { + "type": "string" + }, + "type": "array" + }, + "new_health": { + "items": { + "type": "string" + }, + "type": "array" + }, + "new_status": { + "items": { + "type": "string" + }, + "type": "array" + }, + "packets_per_second": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pool_id": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pop_names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "product": { + "items": { + "type": "string" + }, + "type": "array" + }, + "project_id": { + "items": { + "type": "string" + }, + "type": "array" + }, + "protocol": { + "items": { + "type": "string" + }, + "type": "array" + }, + "query_tag": { + "items": { + "type": "string" + }, + "type": "array" + }, + "requests_per_second": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selectors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "services": { + "items": { + "type": "string" + }, + "type": "array" + }, + "slo": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "items": { + "type": "string" + }, + "type": "array" + }, + "target_hostname": { + "items": { + "type": "string" + }, + "type": "array" + }, + "target_ip": { + "items": { + "type": "string" + }, + "type": "array" + }, + "target_zone_name": { + "items": { + "type": "string" + }, + "type": "array" + }, + "token_id": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "traffic_exclusions": { + "items": { + "enum": [ + "security_events" + ], + "type": "string" + }, + "type": "array" + }, + "tunnel_id": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tunnel_name": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "items": { + "type": "string" + }, + "type": "array" + }, + "where": { + "items": { + "type": "string" + }, + "type": "array" + }, + "zones": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_mechanisms` in responses. + */ +export const aaa_mechanisms_output: JsonSchema = { + "properties": { + "email": { + "items": { + "$ref": "#/$defs/aaa_mechanisms_emailItem" + }, + "type": "array" + }, + "pagerduty": { + "items": { + "$ref": "#/$defs/aaa_mechanisms_pagerdutyItem" + }, + "type": "array" + }, + "webhooks": { + "items": { + "$ref": "#/$defs/aaa_mechanisms_webhooksItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_mechanisms_emailItem` in responses. + */ +export const aaa_mechanisms_emailItem_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_mechanisms_pagerdutyItem` in responses. + */ +export const aaa_mechanisms_pagerdutyItem_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/aaa_uuid" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_mechanisms_webhooksItem` in responses. + */ +export const aaa_mechanisms_webhooksItem_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/aaa_uuid" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_policies` in responses. + */ +export const aaa_policies_output: JsonSchema = { + "properties": { + "alert_interval": { + "$ref": "#/$defs/aaa_alert_interval" + }, + "alert_type": { + "$ref": "#/$defs/aaa_alert_type" + }, + "created": { + "$ref": "#/$defs/aaa_timestamp" + }, + "description": { + "$ref": "#/$defs/aaa_schemas-description" + }, + "enabled": { + "$ref": "#/$defs/aaa_enabled" + }, + "filters": { + "$ref": "#/$defs/aaa_filters" + }, + "id": { + "$ref": "#/$defs/aaa_policy-id" + }, + "mechanisms": { + "$ref": "#/$defs/aaa_mechanisms" + }, + "modified": { + "$ref": "#/$defs/aaa_timestamp" + }, + "name": { + "$ref": "#/$defs/aaa_schemas-name" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_result_info-2` in responses. + */ +export const aaa_result_info_2_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_schemas-description` in responses. + */ +export const aaa_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_single_response` in responses. + */ +export const aaa_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "result": { + "$ref": "#/$defs/aaa_policies" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_timestamp` in responses. + */ +export const aaa_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/alerting/policies/tools.ts b/src/generated/forge-mcp/alerting/policies/tools.ts index 586add9d..785ed2a6 100644 --- a/src/generated/forge-mcp/alerting/policies/tools.ts +++ b/src/generated/forge-mcp/alerting/policies/tools.ts @@ -2,7 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + aaa_api_response_common_2_output, + aaa_api_response_common_failure_3_output, + aaa_id_response_output, + aaa_id_response_result_output, + aaa_messages_3_output, + aaa_policy_id_output, + aaa_schemas_name_output, + aaa_uuid_output, +} from "../outputs.js"; import { aaa_schemas_name, aaa_uuid } from "../schemas.js"; +import { + aaa_alert_interval_output, + aaa_alert_type_output, + aaa_api_response_collection_output, + aaa_enabled_output, + aaa_filters_output, + aaa_mechanisms_emailItem_output, + aaa_mechanisms_output, + aaa_mechanisms_pagerdutyItem_output, + aaa_mechanisms_webhooksItem_output, + aaa_policies_output, + aaa_result_info_2_output, + aaa_schemas_description_output, + aaa_single_response_output, + aaa_timestamp_output, +} from "./outputs.js"; import { aaa_alert_interval, aaa_alert_type, @@ -104,6 +130,35 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/aaa_uuid" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_id_response" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_id_response": aaa_id_response_output, + "aaa_id_response_result": aaa_id_response_result_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies`, body: { value: args["body"], mediaType: "application/json" }, @@ -145,6 +200,29 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_api-response-collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_api-response-collection" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-collection": aaa_api_response_collection_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_result_info-2": aaa_result_info_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies/${pathParam(args, "policy_id")}`, }), @@ -188,6 +266,42 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_policies" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_single_response" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_alert_interval": aaa_alert_interval_output, + "aaa_alert_type": aaa_alert_type_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_enabled": aaa_enabled_output, + "aaa_filters": aaa_filters_output, + "aaa_mechanisms": aaa_mechanisms_output, + "aaa_mechanisms_emailItem": aaa_mechanisms_emailItem_output, + "aaa_mechanisms_pagerdutyItem": aaa_mechanisms_pagerdutyItem_output, + "aaa_mechanisms_webhooksItem": aaa_mechanisms_webhooksItem_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policies": aaa_policies_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_schemas-description": aaa_schemas_description_output, + "aaa_schemas-name": aaa_schemas_name_output, + "aaa_single_response": aaa_single_response_output, + "aaa_timestamp": aaa_timestamp_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies/${pathParam(args, "policy_id")}`, }), @@ -226,6 +340,48 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_policies" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + }, + $defs: { + "aaa_alert_interval": aaa_alert_interval_output, + "aaa_alert_type": aaa_alert_type_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_enabled": aaa_enabled_output, + "aaa_filters": aaa_filters_output, + "aaa_mechanisms": aaa_mechanisms_output, + "aaa_mechanisms_emailItem": aaa_mechanisms_emailItem_output, + "aaa_mechanisms_pagerdutyItem": aaa_mechanisms_pagerdutyItem_output, + "aaa_mechanisms_webhooksItem": aaa_mechanisms_webhooksItem_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policies": aaa_policies_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_schemas-description": aaa_schemas_description_output, + "aaa_schemas-name": aaa_schemas_name_output, + "aaa_timestamp": aaa_timestamp_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies`, }), @@ -300,6 +456,21 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_api-response-common-2" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + }, + $defs: { + "aaa_api-response-common-2": aaa_api_response_common_2_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies/${pathParam(args, "policy_id")}/test`, body: { value: args["body"], mediaType: "application/json" }, @@ -389,6 +560,35 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/aaa_uuid" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_id_response" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_id_response": aaa_id_response_output, + "aaa_id_response_result": aaa_id_response_result_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_uuid": aaa_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies/${pathParam(args, "policy_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/alerting/silences/outputs.ts b/src/generated/forge-mcp/alerting/silences/outputs.ts new file mode 100644 index 00000000..c30fe697 --- /dev/null +++ b/src/generated/forge-mcp/alerting/silences/outputs.ts @@ -0,0 +1,101 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `aaa_silence` in responses. + */ +export const aaa_silence_output: JsonSchema = { + "properties": { + "created_at": { + "type": "string" + }, + "end_time": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/aaa_silence-id" + }, + "policy_id": { + "$ref": "#/$defs/aaa_policy-id" + }, + "start_time": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_silence-id` in responses. + */ +export const aaa_silence_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_silence_components-schemas-response_collection` in + * responses. + */ +export const aaa_silence_components_schemas_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "result": { + "$ref": "#/$defs/aaa_silence" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_silences_components-schemas-response_collection` in + * responses. + */ +export const aaa_silences_components_schemas_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-3" + }, + "messages": { + "$ref": "#/$defs/aaa_messages-3" + }, + "result": { + "items": { + "$ref": "#/$defs/aaa_silence" + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/alerting/silences/tools.ts b/src/generated/forge-mcp/alerting/silences/tools.ts index 9b548a2a..ce165e27 100644 --- a/src/generated/forge-mcp/alerting/silences/tools.ts +++ b/src/generated/forge-mcp/alerting/silences/tools.ts @@ -2,7 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + aaa_api_response_common_2_output, + aaa_api_response_common_failure_3_output, + aaa_messages_3_output, + aaa_policy_id_output, +} from "../outputs.js"; import { aaa_policy_id } from "../schemas.js"; +import { + aaa_silence_components_schemas_response_collection_output, + aaa_silence_id_output, + aaa_silence_output, + aaa_silences_components_schemas_response_collection_output, +} from "./outputs.js"; import { aaa_silence_create_request, aaa_silence_id, @@ -55,6 +67,32 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_api-response-common-2" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_silences_components-schemas-response_collection" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-2": aaa_api_response_common_2_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_silence": aaa_silence_output, + "aaa_silence-id": aaa_silence_id_output, + "aaa_silences_components-schemas-response_collection": aaa_silences_components_schemas_response_collection_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/silences`, body: { value: args["body"], mediaType: "application/json" }, @@ -96,6 +134,32 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_api-response-common-2" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_silence_components-schemas-response_collection" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-2": aaa_api_response_common_2_output, + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_silence": aaa_silence_output, + "aaa_silence-id": aaa_silence_id_output, + "aaa_silence_components-schemas-response_collection": aaa_silence_components_schemas_response_collection_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/silences/${pathParam(args, "silence_id")}`, }), @@ -139,6 +203,31 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_silence" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_silence_components-schemas-response_collection" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_silence": aaa_silence_output, + "aaa_silence-id": aaa_silence_id_output, + "aaa_silence_components-schemas-response_collection": aaa_silence_components_schemas_response_collection_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/silences/${pathParam(args, "silence_id")}`, }), @@ -177,6 +266,45 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_silence" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_silences_components-schemas-response_collection" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_silence": aaa_silence_output, + "aaa_silence-id": aaa_silence_id_output, + "aaa_silences_components-schemas-response_collection": aaa_silences_components_schemas_response_collection_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/silences`, }), @@ -223,6 +351,45 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_silence" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_silences_components-schemas-response_collection" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure-3" + } + ] + } + }, + $defs: { + "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, + "aaa_messages-3": aaa_messages_3_output, + "aaa_policy-id": aaa_policy_id_output, + "aaa_silence": aaa_silence_output, + "aaa_silence-id": aaa_silence_id_output, + "aaa_silences_components-schemas-response_collection": aaa_silences_components_schemas_response_collection_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/silences`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/alerts/clear/tools.ts b/src/generated/forge-mcp/alerts/clear/tools.ts index 2bb2ed08..b49d56a5 100644 --- a/src/generated/forge-mcp/alerts/clear/tools.ts +++ b/src/generated/forge-mcp/alerts/clear/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { brand_protection_api_Error_output } from "../../outputs.js"; /** * The tools of `alerts.clear`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts/clear`, }), diff --git a/src/generated/forge-mcp/alerts/refute/tools.ts b/src/generated/forge-mcp/alerts/refute/tools.ts index a15f5c64..00cc3184 100644 --- a/src/generated/forge-mcp/alerts/refute/tools.ts +++ b/src/generated/forge-mcp/alerts/refute/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { brand_protection_api_Error_output } from "../../outputs.js"; /** * The tools of `alerts.refute`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts/refute`, }), diff --git a/src/generated/forge-mcp/alerts/tools.ts b/src/generated/forge-mcp/alerts/tools.ts index 9f73c780..5f112874 100644 --- a/src/generated/forge-mcp/alerts/tools.ts +++ b/src/generated/forge-mcp/alerts/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `alerts`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts`, }), @@ -70,6 +81,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts`, }), diff --git a/src/generated/forge-mcp/alerts/verify/tools.ts b/src/generated/forge-mcp/alerts/verify/tools.ts index 528cd21a..8bdb8de5 100644 --- a/src/generated/forge-mcp/alerts/verify/tools.ts +++ b/src/generated/forge-mcp/alerts/verify/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { brand_protection_api_Error_output } from "../../outputs.js"; /** * The tools of `alerts.verify`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts/verify`, }), diff --git a/src/generated/forge-mcp/analytics/latency/colos/tools.ts b/src/generated/forge-mcp/analytics/latency/colos/tools.ts index 8bf69a5e..94bdc53e 100644 --- a/src/generated/forge-mcp/analytics/latency/colos/tools.ts +++ b/src/generated/forge-mcp/analytics/latency/colos/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + argo_analytics_api_response_common_failure_output, + argo_analytics_messages_output, + argo_analytics_response_single_output, +} from "../outputs.js"; /** * The tools of `analytics.latency.colos`. @@ -43,6 +48,28 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/argo-analytics_response_single" + }, + { + "$ref": "#/$defs/argo-analytics_api-response-common-failure" + } + ] + } + }, + $defs: { + "argo-analytics_api-response-common-failure": argo_analytics_api_response_common_failure_output, + "argo-analytics_messages": argo_analytics_messages_output, + "argo-analytics_response_single": argo_analytics_response_single_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/analytics/latency/colos`, }), diff --git a/src/generated/forge-mcp/analytics/latency/outputs.ts b/src/generated/forge-mcp/analytics/latency/outputs.ts new file mode 100644 index 00000000..ecd00055 --- /dev/null +++ b/src/generated/forge-mcp/analytics/latency/outputs.ts @@ -0,0 +1,86 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `argo-analytics_api-response-common-failure` in responses. + */ +export const argo_analytics_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/argo-analytics_messages" + }, + "messages": { + "$ref": "#/$defs/argo-analytics_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `argo-analytics_messages` in responses. + */ +export const argo_analytics_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `argo-analytics_response_single` in responses. + */ +export const argo_analytics_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/argo-analytics_messages" + }, + "messages": { + "$ref": "#/$defs/argo-analytics_messages" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/analytics/latency/tools.ts b/src/generated/forge-mcp/analytics/latency/tools.ts index 87e065ed..bf5d5603 100644 --- a/src/generated/forge-mcp/analytics/latency/tools.ts +++ b/src/generated/forge-mcp/analytics/latency/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + argo_analytics_api_response_common_failure_output, + argo_analytics_messages_output, + argo_analytics_response_single_output, +} from "./outputs.js"; /** * The tools of `analytics.latency`. @@ -56,6 +61,28 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/argo-analytics_response_single" + }, + { + "$ref": "#/$defs/argo-analytics_api-response-common-failure" + } + ] + } + }, + $defs: { + "argo-analytics_api-response-common-failure": argo_analytics_api_response_common_failure_output, + "argo-analytics_messages": argo_analytics_messages_output, + "argo-analytics_response_single": argo_analytics_response_single_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/analytics/latency`, query: [ diff --git a/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts b/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts index 01ed0ca0..6c0813f9 100644 --- a/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts +++ b/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + art_APIError_output, + art_APIMessage_output, + art_ErrorResponse_output, + art_ResultValues_output, +} from "../../outputs.js"; import { art_Filter } from "../../schemas.js"; import { art_DataSecurityContentFindingsTopNQuery } from "./schemas.js"; @@ -48,6 +54,42 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/art_ResultValues" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/art_ErrorResponse" + } + }, + $defs: { + "art_APIError": art_APIError_output, + "art_APIMessage": art_APIMessage_output, + "art_ErrorResponse": art_ErrorResponse_output, + "art_ResultValues": art_ResultValues_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/analytics/query/data-security/content-findings/top-n`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/analytics/query/dataSecurity/findings/outputs.ts b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/outputs.ts new file mode 100644 index 00000000..1dc1fc12 --- /dev/null +++ b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/outputs.ts @@ -0,0 +1,32 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `art_DataSecurityFindingsTimeseriesResult` in responses. + */ +export const art_DataSecurityFindingsTimeseriesResult_output: JsonSchema = { + "properties": { + "resolution": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "slots": { + "items": { + "$ref": "#/$defs/art_ResultValues" + }, + "type": "array" + } + }, + "required": [ + "slots" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts index 5b206e19..2444a0da 100644 --- a/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts +++ b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts @@ -2,7 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + art_APIError_output, + art_APIMessage_output, + art_ErrorResponse_output, + art_ResultValues_output, + art_SummaryResult_output, +} from "../../outputs.js"; import { art_Filter } from "../../schemas.js"; +import { art_DataSecurityFindingsTimeseriesResult_output } from "./outputs.js"; import { art_DataSecurityFindingsSummaryQuery, art_DataSecurityFindingsTimeseriesQuery, @@ -51,6 +59,29 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/art_SummaryResult" + }, + "400": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/art_ErrorResponse" + } + }, + $defs: { + "art_APIError": art_APIError_output, + "art_APIMessage": art_APIMessage_output, + "art_ErrorResponse": art_ErrorResponse_output, + "art_ResultValues": art_ResultValues_output, + "art_SummaryResult": art_SummaryResult_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/analytics/query/data-security/findings/summary`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +126,29 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/art_DataSecurityFindingsTimeseriesResult" + }, + "400": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/art_ErrorResponse" + } + }, + $defs: { + "art_APIError": art_APIError_output, + "art_APIMessage": art_APIMessage_output, + "art_DataSecurityFindingsTimeseriesResult": art_DataSecurityFindingsTimeseriesResult_output, + "art_ErrorResponse": art_ErrorResponse_output, + "art_ResultValues": art_ResultValues_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/analytics/query/data-security/findings/timeseries`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/analytics/query/outputs.ts b/src/generated/forge-mcp/analytics/query/outputs.ts new file mode 100644 index 00000000..8b68de12 --- /dev/null +++ b/src/generated/forge-mcp/analytics/query/outputs.ts @@ -0,0 +1,127 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `art_APIError` in responses. + */ +export const art_APIError_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `art_APIMessage` in responses. + */ +export const art_APIMessage_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `art_ErrorResponse` in responses. + */ +export const art_ErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/art_APIError" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/art_APIMessage" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `art_ResultValues` in responses. + */ +export const art_ResultValues_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `art_SummaryResult` in responses. + */ +export const art_SummaryResult_output: JsonSchema = { + "properties": { + "currentTotal": { + "items": { + "$ref": "#/$defs/art_ResultValues" + }, + "type": "array" + }, + "previousTotal": { + "items": { + "$ref": "#/$defs/art_ResultValues" + }, + "type": "array" + } + }, + "required": [ + "currentTotal", + "previousTotal" + ], + "type": "object" +}; + +/** + * The schema of `art_TimeseriesResult` in responses. + */ +export const art_TimeseriesResult_output: JsonSchema = { + "properties": { + "resolution": { + "type": "string" + }, + "slots": { + "items": { + "$ref": "#/$defs/art_ResultValues" + }, + "type": "array" + } + }, + "required": [ + "resolution", + "slots" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/analytics/query/tools.ts b/src/generated/forge-mcp/analytics/query/tools.ts index a076b122..5f3fef0d 100644 --- a/src/generated/forge-mcp/analytics/query/tools.ts +++ b/src/generated/forge-mcp/analytics/query/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + art_APIError_output, + art_APIMessage_output, + art_ErrorResponse_output, + art_ResultValues_output, + art_SummaryResult_output, + art_TimeseriesResult_output, +} from "./outputs.js"; import { art_CommonQuery, art_Filter, @@ -57,6 +65,29 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/art_SummaryResult" + }, + "400": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/art_ErrorResponse" + } + }, + $defs: { + "art_APIError": art_APIError_output, + "art_APIMessage": art_APIMessage_output, + "art_ErrorResponse": art_ErrorResponse_output, + "art_ResultValues": art_ResultValues_output, + "art_SummaryResult": art_SummaryResult_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/analytics/query/${pathParam(args, "dataset")}/summary`, body: { value: args["body"], mediaType: "application/json" }, @@ -106,6 +137,29 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/art_TimeseriesResult" + }, + "400": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/art_ErrorResponse" + } + }, + $defs: { + "art_APIError": art_APIError_output, + "art_APIMessage": art_APIMessage_output, + "art_ErrorResponse": art_ErrorResponse_output, + "art_ResultValues": art_ResultValues_output, + "art_TimeseriesResult": art_TimeseriesResult_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/analytics/query/${pathParam(args, "dataset")}/timeseries`, body: { value: args["body"], mediaType: "application/json" }, @@ -155,6 +209,42 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/art_ResultValues" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/art_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/art_ErrorResponse" + } + }, + $defs: { + "art_APIError": art_APIError_output, + "art_APIMessage": art_APIMessage_output, + "art_ErrorResponse": art_ErrorResponse_output, + "art_ResultValues": art_ResultValues_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/analytics/query/${pathParam(args, "dataset")}/top-n`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts b/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts index 0591a75a..8f2462b4 100644 --- a/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts +++ b/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + analytics_sql_ApiErrorResponse_output, + analytics_sql_Attribute_output, + analytics_sql_CustomAttribute_output, + analytics_sql_DatasetAvailability_output, + analytics_sql_GatewayApiErrorResponse_output, + analytics_sql_IntrospectionColumn_output, + analytics_sql_IntrospectionDatasetKind_events_output, + analytics_sql_IntrospectionDatasetKind_logs_output, + analytics_sql_IntrospectionDatasetKind_output, + analytics_sql_IntrospectionDatasetKind_states_output, + analytics_sql_IntrospectionDataset_output, + analytics_sql_IntrospectionResponse_output, + analytics_sql_IntrospectionSampling_output, +} from "../../../../outputs.js"; /** * The tools of `analytics.sql.accounts.introspection`. @@ -69,6 +84,42 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/analytics-sql_IntrospectionResponse" + }, + "400": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_ApiErrorResponse" + }, + { + "$ref": "#/$defs/analytics-sql_GatewayApiErrorResponse" + } + ] + }, + "403": null, + "422": null, + "500": null, + "503": null + }, + $defs: { + "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, + "analytics-sql_Attribute": analytics_sql_Attribute_output, + "analytics-sql_CustomAttribute": analytics_sql_CustomAttribute_output, + "analytics-sql_DatasetAvailability": analytics_sql_DatasetAvailability_output, + "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, + "analytics-sql_IntrospectionColumn": analytics_sql_IntrospectionColumn_output, + "analytics-sql_IntrospectionDataset": analytics_sql_IntrospectionDataset_output, + "analytics-sql_IntrospectionDatasetKind": analytics_sql_IntrospectionDatasetKind_output, + "analytics-sql_IntrospectionDatasetKind_events": analytics_sql_IntrospectionDatasetKind_events_output, + "analytics-sql_IntrospectionDatasetKind_logs": analytics_sql_IntrospectionDatasetKind_logs_output, + "analytics-sql_IntrospectionDatasetKind_states": analytics_sql_IntrospectionDatasetKind_states_output, + "analytics-sql_IntrospectionResponse": analytics_sql_IntrospectionResponse_output, + "analytics-sql_IntrospectionSampling": analytics_sql_IntrospectionSampling_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_tag")}/analytics/sql/introspection`, query: [ diff --git a/src/generated/forge-mcp/analytics/sql/accounts/tools.ts b/src/generated/forge-mcp/analytics/sql/accounts/tools.ts index 2ecb84a9..52992983 100644 --- a/src/generated/forge-mcp/analytics/sql/accounts/tools.ts +++ b/src/generated/forge-mcp/analytics/sql/accounts/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + analytics_sql_ApiErrorResponse_output, + analytics_sql_ClickHouseJsonQueryResponse_metaItem_output, + analytics_sql_ClickHouseJsonQueryResponse_output, + analytics_sql_GatewayApiErrorResponse_output, + analytics_sql_LogExplorerQueryResponse_output, + analytics_sql_SqlQueryResponse_output, + analytics_sql_SqlQueryStatistics_output, +} from "../../../outputs.js"; import { analytics_sql_SqlQueryAccountScope, analytics_sql_SqlQueryRequest, @@ -53,6 +62,49 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_SqlQueryResponse" + }, + { + "$ref": "#/$defs/analytics-sql_ClickHouseJsonQueryResponse" + }, + { + "$ref": "#/$defs/analytics-sql_LogExplorerQueryResponse" + } + ] + }, + "400": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_ApiErrorResponse" + }, + { + "$ref": "#/$defs/analytics-sql_GatewayApiErrorResponse" + } + ] + }, + "403": null, + "422": null, + "429": null, + "500": null, + "501": null, + "503": null, + "507": null + }, + $defs: { + "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, + "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, + "analytics-sql_ClickHouseJsonQueryResponse_metaItem": analytics_sql_ClickHouseJsonQueryResponse_metaItem_output, + "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, + "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, + "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, + "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_tag")}/analytics/sql`, query: [ @@ -105,6 +157,49 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_SqlQueryResponse" + }, + { + "$ref": "#/$defs/analytics-sql_ClickHouseJsonQueryResponse" + }, + { + "$ref": "#/$defs/analytics-sql_LogExplorerQueryResponse" + } + ] + }, + "400": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_ApiErrorResponse" + }, + { + "$ref": "#/$defs/analytics-sql_GatewayApiErrorResponse" + } + ] + }, + "403": null, + "422": null, + "429": null, + "500": null, + "501": null, + "503": null, + "507": null + }, + $defs: { + "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, + "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, + "analytics-sql_ClickHouseJsonQueryResponse_metaItem": analytics_sql_ClickHouseJsonQueryResponse_metaItem_output, + "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, + "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, + "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, + "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_tag")}/analytics/sql`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/analytics/sql/tools.ts b/src/generated/forge-mcp/analytics/sql/tools.ts index 3cf02260..1f3823ab 100644 --- a/src/generated/forge-mcp/analytics/sql/tools.ts +++ b/src/generated/forge-mcp/analytics/sql/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import type { Tool } from "../../_/tool.js"; +import { + analytics_sql_ApiErrorResponse_output, + analytics_sql_ClickHouseJsonQueryResponse_metaItem_output, + analytics_sql_ClickHouseJsonQueryResponse_output, + analytics_sql_GatewayApiErrorResponse_output, + analytics_sql_LogExplorerQueryResponse_output, + analytics_sql_SqlQueryResponse_output, + analytics_sql_SqlQueryStatistics_output, +} from "../../outputs.js"; /** * The tools of `analytics.sql`. @@ -40,6 +49,49 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_SqlQueryResponse" + }, + { + "$ref": "#/$defs/analytics-sql_ClickHouseJsonQueryResponse" + }, + { + "$ref": "#/$defs/analytics-sql_LogExplorerQueryResponse" + } + ] + }, + "400": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_ApiErrorResponse" + }, + { + "$ref": "#/$defs/analytics-sql_GatewayApiErrorResponse" + } + ] + }, + "403": null, + "422": null, + "429": null, + "500": null, + "501": null, + "503": null, + "507": null + }, + $defs: { + "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, + "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, + "analytics-sql_ClickHouseJsonQueryResponse_metaItem": analytics_sql_ClickHouseJsonQueryResponse_metaItem_output, + "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, + "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, + "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, + "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + }, + }, request: (args) => ({ path: `/analytics/sql`, query: [ diff --git a/src/generated/forge-mcp/apiSecurity/outputs.ts b/src/generated/forge-mcp/apiSecurity/outputs.ts new file mode 100644 index 00000000..db281a6e --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/outputs.ts @@ -0,0 +1,57 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `api-shield_api-response-collection` in responses. + */ +export const api_shield_api_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/api-shield_messages" + }, + "messages": { + "$ref": "#/$defs/api-shield_messages" + }, + "result_info": { + "$ref": "#/$defs/api-shield_api-response-collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_api-response-collection_result_info` in responses. + */ +export const api_shield_api_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts new file mode 100644 index 00000000..e195cd89 --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts @@ -0,0 +1,42 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `api-shield_schema_hosts` in responses. + */ +export const api_shield_schema_hosts_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "schema_id": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_uuid-2" + }, + { + "format": "uuid", + "type": "string" + } + ] + } + }, + "required": [ + "created_at", + "hosts", + "name", + "schema_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts index 36e93ed9..c52b0095 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts @@ -2,10 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, + api_shield_uuid_2_output, + api_shield_uuid_output, +} from "../../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, } from "../../../../schemas.js"; +import { + api_shield_api_response_collection_output, + api_shield_api_response_collection_result_info_output, +} from "../../../outputs.js"; +import { api_shield_schema_hosts_output } from "./outputs.js"; /** * The tools of `api_security.schema_validation.schemas.hosts`. @@ -57,6 +70,45 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_schema_hosts" + }, + "type": "array" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-collection": api_shield_api_response_collection_output, + "api-shield_api-response-collection_result_info": api_shield_api_response_collection_result_info_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_schema_hosts": api_shield_schema_hosts_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas/hosts`, query: [ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts index eb114737..8ef4313b 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts @@ -2,12 +2,53 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_auth_id_tokens_output, + api_shield_basic_operation_output, + api_shield_confidence_intervals_bounds_output, + api_shield_data_points_output, + api_shield_endpoint_output, + api_shield_host_output, + api_shield_messages_output, + api_shield_method_output, + api_shield_operation_feature_api_routing_api_routing_output, + api_shield_operation_feature_api_routing_output, + api_shield_operation_feature_confidence_intervals_confidence_intervals_output, + api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals_output, + api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_output, + api_shield_operation_feature_confidence_intervals_output, + api_shield_operation_feature_parameter_schemas_output, + api_shield_operation_feature_parameter_schemas_parameter_schemas_output, + api_shield_operation_feature_schema_info_output, + api_shield_operation_feature_schema_info_schema_info_active_schema_output, + api_shield_operation_feature_schema_info_schema_info_output, + api_shield_operation_feature_thresholds_output, + api_shield_operation_feature_thresholds_thresholds_output, + api_shield_operation_features_output, + api_shield_operation_output, + api_shield_p50_output, + api_shield_p90_output, + api_shield_p99_output, + api_shield_parameter_schemas_definition_output, + api_shield_period_seconds_output, + api_shield_requests_output, + api_shield_suggested_threshold_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, + api_shield_uuid_2_output, + api_shield_uuid_output, +} from "../../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, api_shield_uuid, api_shield_uuid_2, } from "../../../../schemas.js"; +import { + api_shield_api_response_collection_output, + api_shield_api_response_collection_result_info_output, +} from "../../../outputs.js"; /** * The tools of `api_security.schema_validation.schemas.operations`. @@ -113,6 +154,80 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/api-shield_operation" + }, + { + "$ref": "#/$defs/api-shield_basic_operation" + } + ] + }, + "type": "array" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-collection": api_shield_api_response_collection_output, + "api-shield_api-response-collection_result_info": api_shield_api_response_collection_result_info_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, + "api-shield_basic_operation": api_shield_basic_operation_output, + "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, + "api-shield_data_points": api_shield_data_points_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation": api_shield_operation_output, + "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, + "api-shield_operation_feature_api_routing_api_routing": api_shield_operation_feature_api_routing_api_routing_output, + "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals_output, + "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, + "api-shield_operation_feature_parameter_schemas_parameter_schemas": api_shield_operation_feature_parameter_schemas_parameter_schemas_output, + "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info": api_shield_operation_feature_schema_info_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info_active_schema": api_shield_operation_feature_schema_info_schema_info_active_schema_output, + "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, + "api-shield_operation_feature_thresholds_thresholds": api_shield_operation_feature_thresholds_thresholds_output, + "api-shield_operation_features": api_shield_operation_features_output, + "api-shield_p50": api_shield_p50_output, + "api-shield_p90": api_shield_p90_output, + "api-shield_p99": api_shield_p99_output, + "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, + "api-shield_period_seconds": api_shield_period_seconds_output, + "api-shield_requests": api_shield_requests_output, + "api-shield_suggested_threshold": api_shield_suggested_threshold_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas/${pathParam(args, "schema_id")}/operations`, query: [ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts new file mode 100644 index 00000000..42f5afe6 --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts @@ -0,0 +1,123 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `api-shield_public_schema` in responses. + */ +export const api_shield_public_schema_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "kind": { + "enum": [ + "openapi_v3" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "schema_id": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_uuid-2" + }, + { + "format": "uuid", + "type": "string" + } + ] + }, + "source": { + "type": "string" + }, + "validation_enabled": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "kind", + "name", + "schema_id", + "source" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_public_schema_success_result` in responses. + */ +export const api_shield_public_schema_success_result_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/api-shield_messages" + }, + "messages": { + "$ref": "#/$defs/api-shield_messages" + }, + "result": { + "$ref": "#/$defs/api-shield_public_schema" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success", + "result" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_schema_issue_notification` in responses. + */ +export const api_shield_schema_issue_notification_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/api-shield_schema_issue_notification_source" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_schema_issue_notification_source` in responses. + */ +export const api_shield_schema_issue_notification_source_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "locations": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts index d7740811..d2eb23d7 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts @@ -2,12 +2,31 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_api_response_common_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, + api_shield_uuid_2_output, + api_shield_uuid_output, +} from "../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, api_shield_uuid, api_shield_uuid_2, } from "../../../schemas.js"; +import { + api_shield_api_response_collection_output, + api_shield_api_response_collection_result_info_output, +} from "../../outputs.js"; +import { + api_shield_public_schema_output, + api_shield_public_schema_success_result_output, + api_shield_schema_issue_notification_output, + api_shield_schema_issue_notification_source_output, +} from "./outputs.js"; /** * The tools of `api_security.schema_validation.schemas`. @@ -78,6 +97,76 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_public_schema_success_result" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/api-shield_schema_issue_notification" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/api-shield_schema_issue_notification" + }, + "type": "array" + } + }, + "required": [ + "messages" + ], + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/api-shield_schema_issue_notification" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/api-shield_schema_issue_notification" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_public_schema": api_shield_public_schema_output, + "api-shield_public_schema_success_result": api_shield_public_schema_success_result_output, + "api-shield_schema_issue_notification": api_shield_schema_issue_notification_output, + "api-shield_schema_issue_notification_source": api_shield_schema_issue_notification_source_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas`, body: { value: args["body"], mediaType: "application/json" }, @@ -132,6 +221,43 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas/${pathParam(args, "schema_id")}`, }), @@ -192,6 +318,26 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_public_schema_success_result" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_public_schema": api_shield_public_schema_output, + "api-shield_public_schema_success_result": api_shield_public_schema_success_result_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas/${pathParam(args, "schema_id")}`, query: [ @@ -254,6 +400,45 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_public_schema" + }, + "type": "array" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-collection": api_shield_api_response_collection_output, + "api-shield_api-response-collection_result_info": api_shield_api_response_collection_result_info_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_public_schema": api_shield_public_schema_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas`, query: [ @@ -323,6 +508,26 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_public_schema_success_result" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_public_schema": api_shield_public_schema_output, + "api-shield_public_schema_success_result": api_shield_public_schema_success_result_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas/${pathParam(args, "schema_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts new file mode 100644 index 00000000..4dfe45c6 --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `api-shield_per_operation_setting` in responses. + */ +export const api_shield_per_operation_setting_output: JsonSchema = { + "properties": { + "mitigation_action": { + "enum": [ + "log", + "block", + "none" + ], + "type": "string" + }, + "operation_id": { + "$ref": "#/$defs/api-shield_uuid-2" + } + }, + "required": [ + "mitigation_action", + "operation_id" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_per_operation_setting_change_base` in responses. + */ +export const api_shield_per_operation_setting_change_base_output: JsonSchema = { + "properties": { + "mitigation_action": { + "oneOf": [ + { + "enum": [ + "log", + "block", + "none" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts index 46cf0d80..abf54663 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts @@ -2,11 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_api_response_common_output, + api_shield_messages_output, + api_shield_uuid_2_output, + api_shield_uuid_output, +} from "../../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, api_shield_uuid, } from "../../../../schemas.js"; +import { + api_shield_api_response_collection_output, + api_shield_api_response_collection_result_info_output, +} from "../../../outputs.js"; +import { + api_shield_per_operation_setting_change_base_output, + api_shield_per_operation_setting_output, +} from "./outputs.js"; import { api_shield_per_operation_settings_bulk_edit_value } from "./schemas.js"; /** @@ -55,6 +70,40 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "additionalProperties": { + "$ref": "#/$defs/api-shield_per_operation_setting_change_base" + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_per_operation_setting_change_base": api_shield_per_operation_setting_change_base_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/settings/operations`, body: { value: args["body"], mediaType: "application/json" }, @@ -100,6 +149,43 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "properties": { + "operation_id": { + "$ref": "#/$defs/api-shield_uuid-2" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/settings/operations/${pathParam(args, "operation_id")}`, }), @@ -146,6 +232,39 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_per_operation_setting" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_per_operation_setting": api_shield_per_operation_setting_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/settings/operations/${pathParam(args, "operation_id")}`, }), @@ -196,6 +315,43 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_per_operation_setting" + }, + "type": "array" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-collection": api_shield_api_response_collection_output, + "api-shield_api-response-collection_result_info": api_shield_api_response_collection_result_info_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_per_operation_setting": api_shield_per_operation_setting_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/settings/operations`, query: [ @@ -269,6 +425,39 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_per_operation_setting" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_per_operation_setting": api_shield_per_operation_setting_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/settings/operations/${pathParam(args, "operation_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/outputs.ts new file mode 100644 index 00000000..eb92061c --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/outputs.ts @@ -0,0 +1,37 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `api-shield_global_settings` in responses. + */ +export const api_shield_global_settings_output: JsonSchema = { + "properties": { + "validation_default_mitigation_action": { + "enum": [ + "none", + "log", + "block" + ], + "type": "string" + }, + "validation_override_mitigation_action": { + "oneOf": [ + { + "enum": [ + "none" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "validation_default_mitigation_action" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts index 5b083df5..fdb2e474 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts @@ -2,10 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_api_response_common_output, + api_shield_messages_output, +} from "../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, } from "../../../schemas.js"; +import { api_shield_global_settings_output } from "./outputs.js"; import { api_shield_global_setting_change_base } from "./schemas.js"; /** @@ -51,6 +57,37 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_global_settings" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_global_settings": api_shield_global_settings_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/settings`, body: { value: args["body"], mediaType: "application/json" }, @@ -92,6 +129,37 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_global_settings" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_global_settings": api_shield_global_settings_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/settings`, }), @@ -162,6 +230,37 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_global_settings" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_global_settings": api_shield_global_settings_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/outputs.ts b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/outputs.ts new file mode 100644 index 00000000..2b1db62e --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/outputs.ts @@ -0,0 +1,112 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `api-shield_auth_id_characteristic` in responses. + */ +export const api_shield_auth_id_characteristic_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "header", + "cookie" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_auth_id_characteristic_jwt_claim` in responses. + */ +export const api_shield_auth_id_characteristic_jwt_claim_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "jwt" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_auth_id_characteristics` in responses. + */ +export const api_shield_auth_id_characteristics_output: JsonSchema = { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/api-shield_auth_id_characteristic" + }, + { + "$ref": "#/$defs/api-shield_auth_id_characteristic_jwt_claim" + } + ] + }, + "maxItems": 10, + "type": "array" +}; + +/** + * The schema of `api-shield_configuration` in responses. + */ +export const api_shield_configuration_output: JsonSchema = { + "properties": { + "auth_id_characteristics": { + "$ref": "#/$defs/api-shield_auth_id_characteristics" + } + }, + "required": [ + "auth_id_characteristics" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_configuration-single-response` in responses. + */ +export const api_shield_configuration_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/api-shield_messages" + }, + "messages": { + "$ref": "#/$defs/api-shield_messages" + }, + "result": { + "$ref": "#/$defs/api-shield_configuration" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success", + "result" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts index 1e638718..1e76b497 100644 --- a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts @@ -2,10 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_messages_output, +} from "../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, } from "../../schemas.js"; +import { + api_shield_auth_id_characteristic_jwt_claim_output, + api_shield_auth_id_characteristic_output, + api_shield_auth_id_characteristics_output, + api_shield_configuration_output, + api_shield_configuration_single_response_output, +} from "./outputs.js"; import { api_shield_auth_id_characteristic, api_shield_auth_id_characteristic_jwt_claim, @@ -57,6 +68,25 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_configuration-single-response" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_auth_id_characteristic": api_shield_auth_id_characteristic_output, + "api-shield_auth_id_characteristic_jwt_claim": api_shield_auth_id_characteristic_jwt_claim_output, + "api-shield_auth_id_characteristics": api_shield_auth_id_characteristics_output, + "api-shield_configuration": api_shield_configuration_output, + "api-shield_configuration-single-response": api_shield_configuration_single_response_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/configuration`, query: [ @@ -110,6 +140,25 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_configuration-single-response" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_auth_id_characteristic": api_shield_auth_id_characteristic_output, + "api-shield_auth_id_characteristic_jwt_claim": api_shield_auth_id_characteristic_jwt_claim_output, + "api-shield_auth_id_characteristics": api_shield_auth_id_characteristics_output, + "api-shield_configuration": api_shield_configuration_output, + "api-shield_configuration-single-response": api_shield_configuration_single_response_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/configuration`, query: [ diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts index e5f9a1b3..2cf4f564 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts @@ -2,12 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_api_response_common_output, + api_shield_messages_output, +} from "../../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, api_shield_uuid, api_shield_uuid_2, } from "../../../../schemas.js"; +import { + api_shield_credentials_JWT_Key_EC_ES256_output, + api_shield_credentials_JWT_Key_EC_ES384_output, + api_shield_credentials_JWT_Key_EC_common_output, + api_shield_credentials_JWT_Key_RSA_output, + api_shield_credentials_JWT_Key_common_output, + api_shield_credentials_JWT_Key_oct_response_output, + api_shield_credentials_JWT_Key_response_output, + api_shield_credentials_output, +} from "../outputs.js"; import { api_shield_credentials_JWT_Key_EC_ES256, api_shield_credentials_JWT_Key_EC_ES384, @@ -81,6 +96,44 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_credentials" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_credentials": api_shield_credentials_output, + "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, + "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, + "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, + "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, + "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, + "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, + "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/config/${pathParam(args, "config_id")}/credentials`, body: { value: args["body"], mediaType: "application/json" }, @@ -139,6 +192,44 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_credentials" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_credentials": api_shield_credentials_output, + "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, + "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, + "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, + "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, + "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, + "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, + "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/config/${pathParam(args, "config_id")}/credentials`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts new file mode 100644 index 00000000..25f303ad --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts @@ -0,0 +1,328 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `api-shield_TokenConfiguration` in responses. + */ +export const api_shield_TokenConfiguration_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "credentials": { + "$ref": "#/$defs/api-shield_credentials" + }, + "description": { + "$ref": "#/$defs/api-shield_description" + }, + "id": { + "$ref": "#/$defs/api-shield_uuid-2" + }, + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "title": { + "$ref": "#/$defs/api-shield_title" + }, + "token_sources": { + "$ref": "#/$defs/api-shield_token_sources" + }, + "token_type": { + "$ref": "#/$defs/api-shield_token_type" + } + }, + "required": [ + "created_at", + "credentials", + "description", + "id", + "last_updated", + "title", + "token_sources", + "token_type" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_cookie` in responses. + */ +export const api_shield_cookie_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_credentials` in responses. + */ +export const api_shield_credentials_output: JsonSchema = { + "properties": { + "keys": { + "items": { + "$ref": "#/$defs/api-shield_credentials-JWT-Key-response" + }, + "maxItems": 64, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "keys" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_credentials-JWT-Key-EC-ES256` in responses. + */ +export const api_shield_credentials_JWT_Key_EC_ES256_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" + }, + { + "$ref": "#/$defs/api-shield_credentials-JWT-Key-EC-common" + }, + { + "properties": { + "alg": { + "enum": [ + "ES256" + ], + "type": "string" + }, + "crv": { + "enum": [ + "P-256" + ], + "type": "string" + } + }, + "required": [ + "alg", + "crv" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `api-shield_credentials-JWT-Key-EC-ES384` in responses. + */ +export const api_shield_credentials_JWT_Key_EC_ES384_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" + }, + { + "$ref": "#/$defs/api-shield_credentials-JWT-Key-EC-common" + }, + { + "properties": { + "alg": { + "enum": [ + "ES384" + ], + "type": "string" + }, + "crv": { + "enum": [ + "P-384" + ], + "type": "string" + } + }, + "required": [ + "alg", + "crv" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `api-shield_credentials-JWT-Key-EC-common` in responses. + */ +export const api_shield_credentials_JWT_Key_EC_common_output: JsonSchema = { + "properties": { + "kty": { + "enum": [ + "EC" + ], + "type": "string" + }, + "x": { + "type": "string" + }, + "y": { + "type": "string" + } + }, + "required": [ + "kty", + "x", + "y" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_credentials-JWT-Key-RSA` in responses. + */ +export const api_shield_credentials_JWT_Key_RSA_output: JsonSchema = { + "properties": { + "alg": { + "enum": [ + "RS256", + "RS384", + "RS512", + "PS256", + "PS384", + "PS512" + ], + "type": "string" + }, + "e": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "kty": { + "enum": [ + "RSA" + ], + "type": "string" + }, + "n": { + "type": "string" + } + }, + "required": [ + "kid", + "alg", + "e", + "kty", + "n" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_credentials-JWT-Key-common` in responses. + */ +export const api_shield_credentials_JWT_Key_common_output: JsonSchema = { + "properties": { + "kid": { + "type": "string" + } + }, + "required": [ + "kid" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_credentials-JWT-Key-oct-response` in responses. + */ +export const api_shield_credentials_JWT_Key_oct_response_output: JsonSchema = { + "properties": { + "alg": { + "enum": [ + "HS256", + "HS384", + "HS512" + ], + "type": "string" + }, + "kid": { + "type": "string" + }, + "kty": { + "enum": [ + "oct" + ], + "type": "string" + } + }, + "required": [ + "kid", + "alg", + "kty" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_credentials-JWT-Key-response` in responses. + */ +export const api_shield_credentials_JWT_Key_response_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/api-shield_credentials-JWT-Key-RSA" + }, + { + "$ref": "#/$defs/api-shield_credentials-JWT-Key-EC-ES256" + }, + { + "$ref": "#/$defs/api-shield_credentials-JWT-Key-EC-ES384" + }, + { + "$ref": "#/$defs/api-shield_credentials-JWT-Key-oct-response" + } + ] +}; + +/** + * The schema of `api-shield_description` in responses. + */ +export const api_shield_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_header` in responses. + */ +export const api_shield_header_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_title` in responses. + */ +export const api_shield_title_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_token_sources` in responses. + */ +export const api_shield_token_sources_output: JsonSchema = { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/api-shield_header" + }, + { + "$ref": "#/$defs/api-shield_cookie" + } + ] + }, + "maxItems": 4, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `api-shield_token_type` in responses. + */ +export const api_shield_token_type_output: JsonSchema = { + "enum": [ + "JWT" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts index 9246ee8c..eba0649c 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts @@ -2,12 +2,42 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_api_response_common_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, + api_shield_uuid_2_output, + api_shield_uuid_output, +} from "../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, api_shield_uuid, api_shield_uuid_2, } from "../../../schemas.js"; +import { + api_shield_api_response_collection_output, + api_shield_api_response_collection_result_info_output, +} from "../../outputs.js"; +import { + api_shield_TokenConfiguration_output, + api_shield_cookie_output, + api_shield_credentials_JWT_Key_EC_ES256_output, + api_shield_credentials_JWT_Key_EC_ES384_output, + api_shield_credentials_JWT_Key_EC_common_output, + api_shield_credentials_JWT_Key_RSA_output, + api_shield_credentials_JWT_Key_common_output, + api_shield_credentials_JWT_Key_oct_response_output, + api_shield_credentials_JWT_Key_response_output, + api_shield_credentials_output, + api_shield_description_output, + api_shield_header_output, + api_shield_title_output, + api_shield_token_sources_output, + api_shield_token_type_output, +} from "./outputs.js"; import { api_shield_cookie, api_shield_credentials_JWT_Key_EC_ES256, @@ -106,6 +136,55 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_TokenConfiguration" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_TokenConfiguration": api_shield_TokenConfiguration_output, + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_cookie": api_shield_cookie_output, + "api-shield_credentials": api_shield_credentials_output, + "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, + "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, + "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, + "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, + "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, + "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, + "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, + "api-shield_description": api_shield_description_output, + "api-shield_header": api_shield_header_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_title": api_shield_title_output, + "api-shield_token_sources": api_shield_token_sources_output, + "api-shield_token_type": api_shield_token_type_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/config`, body: { value: args["body"], mediaType: "application/json" }, @@ -152,6 +231,43 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "properties": { + "id": { + "$ref": "#/$defs/api-shield_uuid-2" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/config/${pathParam(args, "config_id")}`, }), @@ -217,6 +333,57 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "properties": { + "description": { + "$ref": "#/$defs/api-shield_description" + }, + "id": { + "$ref": "#/$defs/api-shield_uuid-2" + }, + "title": { + "$ref": "#/$defs/api-shield_title" + }, + "token_sources": { + "$ref": "#/$defs/api-shield_token_sources" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_cookie": api_shield_cookie_output, + "api-shield_description": api_shield_description_output, + "api-shield_header": api_shield_header_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_title": api_shield_title_output, + "api-shield_token_sources": api_shield_token_sources_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/config/${pathParam(args, "config_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -265,6 +432,55 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_TokenConfiguration" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_TokenConfiguration": api_shield_TokenConfiguration_output, + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_cookie": api_shield_cookie_output, + "api-shield_credentials": api_shield_credentials_output, + "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, + "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, + "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, + "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, + "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, + "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, + "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, + "api-shield_description": api_shield_description_output, + "api-shield_header": api_shield_header_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_title": api_shield_title_output, + "api-shield_token_sources": api_shield_token_sources_output, + "api-shield_token_type": api_shield_token_type_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/config/${pathParam(args, "config_id")}`, }), @@ -315,6 +531,59 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_TokenConfiguration" + }, + "type": "array" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_TokenConfiguration": api_shield_TokenConfiguration_output, + "api-shield_api-response-collection": api_shield_api_response_collection_output, + "api-shield_api-response-collection_result_info": api_shield_api_response_collection_result_info_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_cookie": api_shield_cookie_output, + "api-shield_credentials": api_shield_credentials_output, + "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, + "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, + "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, + "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, + "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, + "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, + "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, + "api-shield_description": api_shield_description_output, + "api-shield_header": api_shield_header_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_title": api_shield_title_output, + "api-shield_token_sources": api_shield_token_sources_output, + "api-shield_token_type": api_shield_token_type_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/config`, query: [ diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts new file mode 100644 index 00000000..607138c2 --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts @@ -0,0 +1,181 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `api-shield_Rule` in responses. + */ +export const api_shield_Rule_output: JsonSchema = { + "properties": { + "action": { + "$ref": "#/$defs/api-shield_action" + }, + "created_at": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "description": { + "$ref": "#/$defs/api-shield_description-2" + }, + "enabled": { + "$ref": "#/$defs/api-shield_enabled" + }, + "expression": { + "$ref": "#/$defs/api-shield_expression" + }, + "id": { + "$ref": "#/$defs/api-shield_uuid-2" + }, + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "selector": { + "$ref": "#/$defs/api-shield_selector" + }, + "title": { + "$ref": "#/$defs/api-shield_title-2" + } + }, + "required": [ + "action", + "description", + "enabled", + "expression", + "selector", + "title" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_action` in responses. + */ +export const api_shield_action_output: JsonSchema = { + "enum": [ + "log", + "block" + ], + "type": "string" +}; + +/** + * The schema of `api-shield_api-response-single-obj` in responses. + */ +export const api_shield_api_response_single_obj_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/api-shield_messages" + }, + "messages": { + "$ref": "#/$defs/api-shield_messages" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_description-2` in responses. + */ +export const api_shield_description_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_enabled` in responses. + */ +export const api_shield_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `api-shield_expression` in responses. + */ +export const api_shield_expression_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_selector` in responses. + */ +export const api_shield_selector_output: JsonSchema = { + "properties": { + "exclude": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/api-shield_selector-exclude" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "include": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/api-shield_selector-include" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_selector-exclude` in responses. + */ +export const api_shield_selector_exclude_output: JsonSchema = { + "properties": { + "operation_ids": { + "items": { + "$ref": "#/$defs/api-shield_uuid-2" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_selector-include` in responses. + */ +export const api_shield_selector_include_output: JsonSchema = { + "properties": { + "host": { + "items": { + "$ref": "#/$defs/api-shield_host" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_title-2` in responses. + */ +export const api_shield_title_2_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts index 7b7514c0..e91e56c3 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_api_response_common_output, + api_shield_host_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, + api_shield_uuid_2_output, + api_shield_uuid_output, +} from "../../../outputs.js"; import { api_shield_host, api_shield_identifier, @@ -9,6 +19,22 @@ import { api_shield_uuid, api_shield_uuid_2, } from "../../../schemas.js"; +import { + api_shield_api_response_collection_output, + api_shield_api_response_collection_result_info_output, +} from "../../outputs.js"; +import { + api_shield_Rule_output, + api_shield_action_output, + api_shield_api_response_single_obj_output, + api_shield_description_2_output, + api_shield_enabled_output, + api_shield_expression_output, + api_shield_selector_exclude_output, + api_shield_selector_include_output, + api_shield_selector_output, + api_shield_title_2_output, +} from "./outputs.js"; import { api_shield_action, api_shield_after, @@ -83,6 +109,54 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_Rule" + }, + "type": "array" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_Rule": api_shield_Rule_output, + "api-shield_action": api_shield_action_output, + "api-shield_api-response-collection": api_shield_api_response_collection_output, + "api-shield_api-response-collection_result_info": api_shield_api_response_collection_result_info_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_description-2": api_shield_description_2_output, + "api-shield_enabled": api_shield_enabled_output, + "api-shield_expression": api_shield_expression_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_selector": api_shield_selector_output, + "api-shield_selector-exclude": api_shield_selector_exclude_output, + "api-shield_selector-include": api_shield_selector_include_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_title-2": api_shield_title_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/rules/bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -162,6 +236,54 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_Rule" + }, + "type": "array" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_Rule": api_shield_Rule_output, + "api-shield_action": api_shield_action_output, + "api-shield_api-response-collection": api_shield_api_response_collection_output, + "api-shield_api-response-collection_result_info": api_shield_api_response_collection_result_info_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_description-2": api_shield_description_2_output, + "api-shield_enabled": api_shield_enabled_output, + "api-shield_expression": api_shield_expression_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_selector": api_shield_selector_output, + "api-shield_selector-exclude": api_shield_selector_exclude_output, + "api-shield_selector-include": api_shield_selector_include_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_title-2": api_shield_title_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/rules/bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -217,6 +339,50 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_Rule" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_Rule": api_shield_Rule_output, + "api-shield_action": api_shield_action_output, + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_description-2": api_shield_description_2_output, + "api-shield_enabled": api_shield_enabled_output, + "api-shield_expression": api_shield_expression_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_selector": api_shield_selector_output, + "api-shield_selector-exclude": api_shield_selector_exclude_output, + "api-shield_selector-include": api_shield_selector_include_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_title-2": api_shield_title_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -263,6 +429,21 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_api-response-single-obj" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_api-response-single-obj": api_shield_api_response_single_obj_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/rules/${pathParam(args, "rule_id")}`, }), @@ -326,6 +507,50 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_Rule" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_Rule": api_shield_Rule_output, + "api-shield_action": api_shield_action_output, + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_description-2": api_shield_description_2_output, + "api-shield_enabled": api_shield_enabled_output, + "api-shield_expression": api_shield_expression_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_selector": api_shield_selector_output, + "api-shield_selector-exclude": api_shield_selector_exclude_output, + "api-shield_selector-include": api_shield_selector_include_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_title-2": api_shield_title_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -374,6 +599,50 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/api-shield_Rule" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_Rule": api_shield_Rule_output, + "api-shield_action": api_shield_action_output, + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_description-2": api_shield_description_2_output, + "api-shield_enabled": api_shield_enabled_output, + "api-shield_expression": api_shield_expression_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_selector": api_shield_selector_output, + "api-shield_selector-exclude": api_shield_selector_exclude_output, + "api-shield_selector-include": api_shield_selector_include_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_title-2": api_shield_title_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/rules/${pathParam(args, "rule_id")}`, }), @@ -460,6 +729,54 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_Rule" + }, + "type": "array" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_Rule": api_shield_Rule_output, + "api-shield_action": api_shield_action_output, + "api-shield_api-response-collection": api_shield_api_response_collection_output, + "api-shield_api-response-collection_result_info": api_shield_api_response_collection_result_info_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_description-2": api_shield_description_2_output, + "api-shield_enabled": api_shield_enabled_output, + "api-shield_expression": api_shield_expression_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_selector": api_shield_selector_output, + "api-shield_selector-exclude": api_shield_selector_exclude_output, + "api-shield_selector-include": api_shield_selector_include_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_title-2": api_shield_title_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/rules`, query: [ diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts new file mode 100644 index 00000000..cab69944 --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts @@ -0,0 +1,48 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `vuln_scanner_credential` in responses. + */ +export const vuln_scanner_credential_output: JsonSchema = { + "properties": { + "credential_set_id": { + "format": "uuid", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "location": { + "$ref": "#/$defs/vuln_scanner_credential-location" + }, + "location_name": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "credential_set_id", + "id", + "location", + "location_name", + "name" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_credential-location` in responses. + */ +export const vuln_scanner_credential_location_output: JsonSchema = { + "enum": [ + "header", + "cookie" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts index 4f718c66..d860b3fc 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts @@ -2,7 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + vuln_scanner_api_response_common_failure_output, + vuln_scanner_messages_output, +} from "../../outputs.js"; import { vuln_scanner_identifier } from "../../schemas.js"; +import { + vuln_scanner_credential_location_output, + vuln_scanner_credential_output, +} from "./outputs.js"; import { vuln_scanner_create_credential_request, vuln_scanner_credential_location, @@ -55,6 +63,22 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_credential" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential": vuln_scanner_credential_output, + "vuln_scanner_credential-location": vuln_scanner_credential_location_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}/credentials`, body: { value: args["body"], mediaType: "application/json" }, @@ -100,6 +124,27 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials/{credential_id}", + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}/credentials/${pathParam(args, "credential_id")}`, }), @@ -150,6 +195,22 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials/{credential_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_credential" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential": vuln_scanner_credential_output, + "vuln_scanner_credential-location": vuln_scanner_credential_location_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}/credentials/${pathParam(args, "credential_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -195,6 +256,22 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials/{credential_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_credential" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential": vuln_scanner_credential_output, + "vuln_scanner_credential-location": vuln_scanner_credential_location_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}/credentials/${pathParam(args, "credential_id")}`, }), @@ -243,6 +320,53 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/vuln_scanner_credential" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential": vuln_scanner_credential_output, + "vuln_scanner_credential-location": vuln_scanner_credential_location_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}/credentials`, query: [ @@ -297,6 +421,22 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials/{credential_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_credential" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential": vuln_scanner_credential_output, + "vuln_scanner_credential-location": vuln_scanner_credential_location_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}/credentials/${pathParam(args, "credential_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/outputs.ts new file mode 100644 index 00000000..966d38ca --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/outputs.ts @@ -0,0 +1,24 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `vuln_scanner_credential-set` in responses. + */ +export const vuln_scanner_credential_set_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts index 3f638813..2ef5132d 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts @@ -2,7 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + vuln_scanner_api_response_common_failure_output, + vuln_scanner_messages_output, +} from "../outputs.js"; import { vuln_scanner_identifier } from "../schemas.js"; +import { vuln_scanner_credential_set_output } from "./outputs.js"; import { vuln_scanner_create_credential_set_request, vuln_scanner_patch_credential_set_request, @@ -46,6 +51,21 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/vuln_scanner/credential_sets", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_credential-set" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential-set": vuln_scanner_credential_set_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets`, body: { value: args["body"], mediaType: "application/json" }, @@ -85,6 +105,27 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}", + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}`, }), @@ -128,6 +169,21 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_credential-set" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential-set": vuln_scanner_credential_set_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -167,6 +223,21 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_credential-set" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential-set": vuln_scanner_credential_set_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}`, }), @@ -209,6 +280,52 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/vuln_scanner/credential_sets", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/vuln_scanner_credential-set" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential-set": vuln_scanner_credential_set_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets`, query: [ @@ -256,6 +373,21 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_credential-set" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_credential-set": vuln_scanner_credential_set_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/outputs.ts new file mode 100644 index 00000000..084d81a4 --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `vuln_scanner_api-response-common-failure` in responses. + */ +export const vuln_scanner_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/vuln_scanner_messages" + }, + "messages": { + "$ref": "#/$defs/vuln_scanner_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_messages` in responses. + */ +export const vuln_scanner_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts new file mode 100644 index 00000000..a80b0239 --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts @@ -0,0 +1,588 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `vuln_scanner_bola-assertion-kind` in responses. + */ +export const vuln_scanner_bola_assertion_kind_output: JsonSchema = { + "properties": { + "parameters": { + "$ref": "#/$defs/vuln_scanner_bola-http-status-range" + }, + "type": { + "enum": [ + "http_status_within_range" + ], + "type": "string" + } + }, + "required": [ + "parameters", + "type" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-body-response` in responses. + */ +export const vuln_scanner_bola_body_response_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/vuln_scanner_bola-body-response-not-found" + }, + { + "$ref": "#/$defs/vuln_scanner_bola-body-response-bytes" + }, + { + "$ref": "#/$defs/vuln_scanner_bola-body-response-text" + }, + { + "$ref": "#/$defs/vuln_scanner_bola-body-response-json" + } + ] +}; + +/** + * The schema of `vuln_scanner_bola-body-response-bytes` in responses. + */ +export const vuln_scanner_bola_body_response_bytes_output: JsonSchema = { + "properties": { + "contents": { + "type": "string" + }, + "kind": { + "enum": [ + "bytes" + ], + "type": "string" + }, + "truncated": { + "type": "boolean" + } + }, + "required": [ + "contents", + "kind", + "truncated" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-body-response-json` in responses. + */ +export const vuln_scanner_bola_body_response_json_output: JsonSchema = { + "properties": { + "contents": { + "type": "string" + }, + "kind": { + "enum": [ + "json" + ], + "type": "string" + }, + "truncated": { + "type": "boolean" + } + }, + "required": [ + "contents", + "kind", + "truncated" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-body-response-not-found` in responses. + */ +export const vuln_scanner_bola_body_response_not_found_output: JsonSchema = { + "properties": { + "kind": { + "enum": [ + "not_found" + ], + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-body-response-text` in responses. + */ +export const vuln_scanner_bola_body_response_text_output: JsonSchema = { + "properties": { + "contents": { + "type": "string" + }, + "kind": { + "enum": [ + "text" + ], + "type": "string" + }, + "truncated": { + "type": "boolean" + } + }, + "required": [ + "contents", + "kind", + "truncated" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-credential-role` in responses. + */ +export const vuln_scanner_bola_credential_role_output: JsonSchema = { + "enum": [ + "owner", + "attacker" + ], + "type": "string" +}; + +/** + * The schema of `vuln_scanner_bola-http-status-range` in responses. + */ +export const vuln_scanner_bola_http_status_range_output: JsonSchema = { + "properties": { + "max": { + "type": "integer" + }, + "min": { + "type": "integer" + } + }, + "required": [ + "max", + "min" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-method` in responses. + */ +export const vuln_scanner_bola_method_output: JsonSchema = { + "enum": [ + "GET", + "DELETE", + "PATCH", + "POST", + "PUT" + ], + "type": "string" +}; + +/** + * The schema of `vuln_scanner_bola-outcome` in responses. + */ +export const vuln_scanner_bola_outcome_output: JsonSchema = { + "enum": [ + "ok", + "fail", + "inconclusive" + ], + "type": "string" +}; + +/** + * The schema of `vuln_scanner_bola-report` in responses. + */ +export const vuln_scanner_bola_report_output: JsonSchema = { + "properties": { + "report": { + "$ref": "#/$defs/vuln_scanner_bola-report-v1" + }, + "report_schema_version": { + "enum": [ + "v1" + ], + "type": "string" + } + }, + "required": [ + "report", + "report_schema_version" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-report-summary` in responses. + */ +export const vuln_scanner_bola_report_summary_output: JsonSchema = { + "properties": { + "verdict": { + "$ref": "#/$defs/vuln_scanner_bola-verdict" + } + }, + "required": [ + "verdict" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-report-v1` in responses. + */ +export const vuln_scanner_bola_report_v1_output: JsonSchema = { + "properties": { + "summary": { + "$ref": "#/$defs/vuln_scanner_bola-report-summary" + }, + "tests": { + "items": { + "$ref": "#/$defs/vuln_scanner_bola-test" + }, + "type": "array" + } + }, + "required": [ + "summary", + "tests" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-test` in responses. + */ +export const vuln_scanner_bola_test_output: JsonSchema = { + "properties": { + "preflight_errors": { + "items": { + "$ref": "#/$defs/vuln_scanner_bola-test-error" + }, + "type": "array" + }, + "steps": { + "items": { + "$ref": "#/$defs/vuln_scanner_bola-test-step" + }, + "type": "array" + }, + "verdict": { + "$ref": "#/$defs/vuln_scanner_bola-verdict" + } + }, + "required": [ + "steps", + "verdict" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-test-assertion` in responses. + */ +export const vuln_scanner_bola_test_assertion_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "kind": { + "$ref": "#/$defs/vuln_scanner_bola-assertion-kind" + }, + "observed": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "outcome": { + "$ref": "#/$defs/vuln_scanner_bola-outcome" + } + }, + "required": [ + "description", + "kind", + "observed", + "outcome" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-test-credential-set` in responses. + */ +export const vuln_scanner_bola_test_credential_set_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "role": { + "$ref": "#/$defs/vuln_scanner_bola-credential-role" + } + }, + "required": [ + "id", + "role" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-test-error` in responses. + */ +export const vuln_scanner_bola_test_error_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "error_code": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "description" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-test-request` in responses. + */ +export const vuln_scanner_bola_test_request_output: JsonSchema = { + "properties": { + "body": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "credential_set": { + "$ref": "#/$defs/vuln_scanner_bola-test-credential-set" + }, + "header_names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "method": { + "$ref": "#/$defs/vuln_scanner_bola-method" + }, + "url": { + "type": "string" + }, + "variable_captures": { + "items": { + "$ref": "#/$defs/vuln_scanner_bola-variable-capture" + }, + "type": "array" + } + }, + "required": [ + "credential_set", + "header_names", + "method", + "url", + "variable_captures" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-test-response` in responses. + */ +export const vuln_scanner_bola_test_response_output: JsonSchema = { + "properties": { + "body": { + "$ref": "#/$defs/vuln_scanner_bola-body-response" + }, + "header_names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "type": "integer" + }, + "status_text": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "body", + "header_names", + "status" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-test-step` in responses. + */ +export const vuln_scanner_bola_test_step_output: JsonSchema = { + "properties": { + "assertions": { + "items": { + "$ref": "#/$defs/vuln_scanner_bola-test-assertion" + }, + "type": "array" + }, + "errors": { + "items": { + "$ref": "#/$defs/vuln_scanner_bola-test-error" + }, + "type": "array" + }, + "request": { + "oneOf": [ + { + "$ref": "#/$defs/vuln_scanner_bola-test-request" + }, + { + "type": "null" + } + ] + }, + "response": { + "oneOf": [ + { + "$ref": "#/$defs/vuln_scanner_bola-test-response" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "assertions" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-variable-capture` in responses. + */ +export const vuln_scanner_bola_variable_capture_output: JsonSchema = { + "properties": { + "json_path": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "json_path", + "name" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_bola-verdict` in responses. + */ +export const vuln_scanner_bola_verdict_output: JsonSchema = { + "enum": [ + "ok", + "warning", + "inconclusive" + ], + "type": "string" +}; + +/** + * The schema of `vuln_scanner_delete-scan-response` in responses. + */ +export const vuln_scanner_delete_scan_response_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_scan` in responses. + */ +export const vuln_scanner_scan_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "report": { + "oneOf": [ + { + "$ref": "#/$defs/vuln_scanner_bola-report" + }, + { + "type": "null" + } + ] + }, + "scan_type": { + "enum": [ + "bola" + ], + "type": "string" + }, + "status": { + "enum": [ + "created", + "scheduled", + "planning", + "running", + "finished", + "failed" + ], + "type": "string" + }, + "target_environment_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "id", + "scan_type", + "status", + "target_environment_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts index f3b25e2c..d5d5d891 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts @@ -2,7 +2,37 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + vuln_scanner_api_response_common_failure_output, + vuln_scanner_messages_output, +} from "../outputs.js"; import { vuln_scanner_identifier } from "../schemas.js"; +import { + vuln_scanner_bola_assertion_kind_output, + vuln_scanner_bola_body_response_bytes_output, + vuln_scanner_bola_body_response_json_output, + vuln_scanner_bola_body_response_not_found_output, + vuln_scanner_bola_body_response_output, + vuln_scanner_bola_body_response_text_output, + vuln_scanner_bola_credential_role_output, + vuln_scanner_bola_http_status_range_output, + vuln_scanner_bola_method_output, + vuln_scanner_bola_outcome_output, + vuln_scanner_bola_report_output, + vuln_scanner_bola_report_summary_output, + vuln_scanner_bola_report_v1_output, + vuln_scanner_bola_test_assertion_output, + vuln_scanner_bola_test_credential_set_output, + vuln_scanner_bola_test_error_output, + vuln_scanner_bola_test_output, + vuln_scanner_bola_test_request_output, + vuln_scanner_bola_test_response_output, + vuln_scanner_bola_test_step_output, + vuln_scanner_bola_variable_capture_output, + vuln_scanner_bola_verdict_output, + vuln_scanner_delete_scan_response_output, + vuln_scanner_scan_output, +} from "./outputs.js"; import { vuln_scanner_bola_credential_sets, vuln_scanner_create_bola_scan_request, @@ -48,6 +78,43 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/vuln_scanner/scans", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_scan" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_bola-assertion-kind": vuln_scanner_bola_assertion_kind_output, + "vuln_scanner_bola-body-response": vuln_scanner_bola_body_response_output, + "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola_body_response_bytes_output, + "vuln_scanner_bola-body-response-json": vuln_scanner_bola_body_response_json_output, + "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola_body_response_not_found_output, + "vuln_scanner_bola-body-response-text": vuln_scanner_bola_body_response_text_output, + "vuln_scanner_bola-credential-role": vuln_scanner_bola_credential_role_output, + "vuln_scanner_bola-http-status-range": vuln_scanner_bola_http_status_range_output, + "vuln_scanner_bola-method": vuln_scanner_bola_method_output, + "vuln_scanner_bola-outcome": vuln_scanner_bola_outcome_output, + "vuln_scanner_bola-report": vuln_scanner_bola_report_output, + "vuln_scanner_bola-report-summary": vuln_scanner_bola_report_summary_output, + "vuln_scanner_bola-report-v1": vuln_scanner_bola_report_v1_output, + "vuln_scanner_bola-test": vuln_scanner_bola_test_output, + "vuln_scanner_bola-test-assertion": vuln_scanner_bola_test_assertion_output, + "vuln_scanner_bola-test-credential-set": vuln_scanner_bola_test_credential_set_output, + "vuln_scanner_bola-test-error": vuln_scanner_bola_test_error_output, + "vuln_scanner_bola-test-request": vuln_scanner_bola_test_request_output, + "vuln_scanner_bola-test-response": vuln_scanner_bola_test_response_output, + "vuln_scanner_bola-test-step": vuln_scanner_bola_test_step_output, + "vuln_scanner_bola-variable-capture": vuln_scanner_bola_variable_capture_output, + "vuln_scanner_bola-verdict": vuln_scanner_bola_verdict_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_scan": vuln_scanner_scan_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/scans`, body: { value: args["body"], mediaType: "application/json" }, @@ -87,6 +154,21 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/vuln_scanner/scans/{scan_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_delete-scan-response" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_delete-scan-response": vuln_scanner_delete_scan_response_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/scans/${pathParam(args, "scan_id")}`, }), @@ -125,6 +207,43 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/vuln_scanner/scans/{scan_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_scan" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_bola-assertion-kind": vuln_scanner_bola_assertion_kind_output, + "vuln_scanner_bola-body-response": vuln_scanner_bola_body_response_output, + "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola_body_response_bytes_output, + "vuln_scanner_bola-body-response-json": vuln_scanner_bola_body_response_json_output, + "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola_body_response_not_found_output, + "vuln_scanner_bola-body-response-text": vuln_scanner_bola_body_response_text_output, + "vuln_scanner_bola-credential-role": vuln_scanner_bola_credential_role_output, + "vuln_scanner_bola-http-status-range": vuln_scanner_bola_http_status_range_output, + "vuln_scanner_bola-method": vuln_scanner_bola_method_output, + "vuln_scanner_bola-outcome": vuln_scanner_bola_outcome_output, + "vuln_scanner_bola-report": vuln_scanner_bola_report_output, + "vuln_scanner_bola-report-summary": vuln_scanner_bola_report_summary_output, + "vuln_scanner_bola-report-v1": vuln_scanner_bola_report_v1_output, + "vuln_scanner_bola-test": vuln_scanner_bola_test_output, + "vuln_scanner_bola-test-assertion": vuln_scanner_bola_test_assertion_output, + "vuln_scanner_bola-test-credential-set": vuln_scanner_bola_test_credential_set_output, + "vuln_scanner_bola-test-error": vuln_scanner_bola_test_error_output, + "vuln_scanner_bola-test-request": vuln_scanner_bola_test_request_output, + "vuln_scanner_bola-test-response": vuln_scanner_bola_test_response_output, + "vuln_scanner_bola-test-step": vuln_scanner_bola_test_step_output, + "vuln_scanner_bola-variable-capture": vuln_scanner_bola_variable_capture_output, + "vuln_scanner_bola-verdict": vuln_scanner_bola_verdict_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_scan": vuln_scanner_scan_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/scans/${pathParam(args, "scan_id")}`, }), @@ -167,6 +286,74 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/vuln_scanner/scans", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/vuln_scanner_scan" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_bola-assertion-kind": vuln_scanner_bola_assertion_kind_output, + "vuln_scanner_bola-body-response": vuln_scanner_bola_body_response_output, + "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola_body_response_bytes_output, + "vuln_scanner_bola-body-response-json": vuln_scanner_bola_body_response_json_output, + "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola_body_response_not_found_output, + "vuln_scanner_bola-body-response-text": vuln_scanner_bola_body_response_text_output, + "vuln_scanner_bola-credential-role": vuln_scanner_bola_credential_role_output, + "vuln_scanner_bola-http-status-range": vuln_scanner_bola_http_status_range_output, + "vuln_scanner_bola-method": vuln_scanner_bola_method_output, + "vuln_scanner_bola-outcome": vuln_scanner_bola_outcome_output, + "vuln_scanner_bola-report": vuln_scanner_bola_report_output, + "vuln_scanner_bola-report-summary": vuln_scanner_bola_report_summary_output, + "vuln_scanner_bola-report-v1": vuln_scanner_bola_report_v1_output, + "vuln_scanner_bola-test": vuln_scanner_bola_test_output, + "vuln_scanner_bola-test-assertion": vuln_scanner_bola_test_assertion_output, + "vuln_scanner_bola-test-credential-set": vuln_scanner_bola_test_credential_set_output, + "vuln_scanner_bola-test-error": vuln_scanner_bola_test_error_output, + "vuln_scanner_bola-test-request": vuln_scanner_bola_test_request_output, + "vuln_scanner_bola-test-response": vuln_scanner_bola_test_response_output, + "vuln_scanner_bola-test-step": vuln_scanner_bola_test_step_output, + "vuln_scanner_bola-variable-capture": vuln_scanner_bola_variable_capture_output, + "vuln_scanner_bola-verdict": vuln_scanner_bola_verdict_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_scan": vuln_scanner_scan_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/scans`, query: [ diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/outputs.ts new file mode 100644 index 00000000..5e167b8f --- /dev/null +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `vuln_scanner_target-environment` in responses. + */ +export const vuln_scanner_target_environment_output: JsonSchema = { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/vuln_scanner_target-type" + } + }, + "required": [ + "id", + "name", + "target" + ], + "type": "object" +}; + +/** + * The schema of `vuln_scanner_target-type` in responses. + */ +export const vuln_scanner_target_type_output: JsonSchema = { + "$ref": "#/$defs/vuln_scanner_zone-target" +}; + +/** + * The schema of `vuln_scanner_zone-target` in responses. + */ +export const vuln_scanner_zone_target_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "zone" + ], + "type": "string" + }, + "zone_tag": { + "type": "string" + } + }, + "required": [ + "type", + "zone_tag" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts index 386ea784..626d3f3f 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts @@ -2,7 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + vuln_scanner_api_response_common_failure_output, + vuln_scanner_messages_output, +} from "../outputs.js"; import { vuln_scanner_identifier } from "../schemas.js"; +import { + vuln_scanner_target_environment_output, + vuln_scanner_target_type_output, + vuln_scanner_zone_target_output, +} from "./outputs.js"; import { vuln_scanner_create_target_environment_request, vuln_scanner_patch_target_environment_request, @@ -50,6 +59,23 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/vuln_scanner/target_environments", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_target-environment" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_target-environment": vuln_scanner_target_environment_output, + "vuln_scanner_target-type": vuln_scanner_target_type_output, + "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/target_environments`, body: { value: args["body"], mediaType: "application/json" }, @@ -89,6 +115,27 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/vuln_scanner/target_environments/{target_environment_id}", + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/target_environments/${pathParam(args, "target_environment_id")}`, }), @@ -134,6 +181,23 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/vuln_scanner/target_environments/{target_environment_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_target-environment" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_target-environment": vuln_scanner_target_environment_output, + "vuln_scanner_target-type": vuln_scanner_target_type_output, + "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/target_environments/${pathParam(args, "target_environment_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -173,6 +237,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/vuln_scanner/target_environments/{target_environment_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_target-environment" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_target-environment": vuln_scanner_target_environment_output, + "vuln_scanner_target-type": vuln_scanner_target_type_output, + "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/target_environments/${pathParam(args, "target_environment_id")}`, }), @@ -215,6 +296,54 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/vuln_scanner/target_environments", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/vuln_scanner_target-environment" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_target-environment": vuln_scanner_target_environment_output, + "vuln_scanner_target-type": vuln_scanner_target_type_output, + "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/target_environments`, query: [ @@ -264,6 +393,23 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/vuln_scanner/target_environments/{target_environment_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vuln_scanner_target-environment" + }, + "4XX": { + "$ref": "#/$defs/vuln_scanner_api-response-common-failure" + } + }, + $defs: { + "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, + "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_target-environment": vuln_scanner_target_environment_output, + "vuln_scanner_target-type": vuln_scanner_target_type_output, + "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/target_environments/${pathParam(args, "target_environment_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/argo/smartRouting/outputs.ts b/src/generated/forge-mcp/argo/smartRouting/outputs.ts new file mode 100644 index 00000000..d28b4cce --- /dev/null +++ b/src/generated/forge-mcp/argo/smartRouting/outputs.ts @@ -0,0 +1,115 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `argo-config_api_response_common_failure` in responses. + */ +export const argo_config_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/argo-config_messages" + }, + "messages": { + "$ref": "#/$defs/argo-config_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `argo-config_editable` in responses. + */ +export const argo_config_editable_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `argo-config_messages` in responses. + */ +export const argo_config_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `argo-config_modified_on` in responses. + */ +export const argo_config_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `argo-config_result_object` in responses. + */ +export const argo_config_result_object_output: JsonSchema = { + "properties": { + "editable": { + "$ref": "#/$defs/argo-config_editable" + }, + "id": { + "$ref": "#/$defs/argo-config_setting_id" + }, + "modified_on": { + "$ref": "#/$defs/argo-config_modified_on" + }, + "value": { + "$ref": "#/$defs/argo-config_setting_value" + } + }, + "required": [ + "editable", + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `argo-config_setting_id` in responses. + */ +export const argo_config_setting_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `argo-config_setting_value` in responses. + */ +export const argo_config_setting_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/argo/smartRouting/tools.ts b/src/generated/forge-mcp/argo/smartRouting/tools.ts index 72010f63..4318656a 100644 --- a/src/generated/forge-mcp/argo/smartRouting/tools.ts +++ b/src/generated/forge-mcp/argo/smartRouting/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + argo_config_api_response_common_failure_output, + argo_config_editable_output, + argo_config_messages_output, + argo_config_modified_on_output, + argo_config_result_object_output, + argo_config_setting_id_output, + argo_config_setting_value_output, +} from "./outputs.js"; import { argo_config_patch, argo_config_setting_value } from "./schemas.js"; /** @@ -57,6 +66,20 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "integer" + }, + "4XX": { + "$ref": "#/$defs/argo-config_api_response_common_failure" + } + }, + $defs: { + "argo-config_api_response_common_failure": argo_config_api_response_common_failure_output, + "argo-config_messages": argo_config_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/argo/count_zones_enabled`, }), @@ -102,6 +125,20 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "integer" + }, + "4XX": { + "$ref": "#/$defs/argo-config_api_response_common_failure" + } + }, + $defs: { + "argo-config_api_response_common_failure": argo_config_api_response_common_failure_output, + "argo-config_messages": argo_config_messages_output, + }, + }, request: (_args) => ({ path: `/user/argo/count_zones_enabled`, }), @@ -164,6 +201,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/argo-config_result_object" + }, + "4XX": { + "$ref": "#/$defs/argo-config_api_response_common_failure" + } + }, + $defs: { + "argo-config_api_response_common_failure": argo_config_api_response_common_failure_output, + "argo-config_editable": argo_config_editable_output, + "argo-config_messages": argo_config_messages_output, + "argo-config_modified_on": argo_config_modified_on_output, + "argo-config_result_object": argo_config_result_object_output, + "argo-config_setting_id": argo_config_setting_id_output, + "argo-config_setting_value": argo_config_setting_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/argo/smart_routing`, body: { value: args["body"], mediaType: "application/json" }, @@ -216,6 +272,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/argo-config_result_object" + }, + "4XX": { + "$ref": "#/$defs/argo-config_api_response_common_failure" + } + }, + $defs: { + "argo-config_api_response_common_failure": argo_config_api_response_common_failure_output, + "argo-config_editable": argo_config_editable_output, + "argo-config_messages": argo_config_messages_output, + "argo-config_modified_on": argo_config_modified_on_output, + "argo-config_result_object": argo_config_result_object_output, + "argo-config_setting_id": argo_config_setting_id_output, + "argo-config_setting_value": argo_config_setting_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/argo/smart_routing`, }), diff --git a/src/generated/forge-mcp/argo/tieredCaching/outputs.ts b/src/generated/forge-mcp/argo/tieredCaching/outputs.ts new file mode 100644 index 00000000..aff7aca5 --- /dev/null +++ b/src/generated/forge-mcp/argo/tieredCaching/outputs.ts @@ -0,0 +1,44 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cache-settings_tiered_cache` in responses. + */ +export const cache_settings_tiered_cache_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "tiered_caching" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_tiered_cache_value` in responses. + */ +export const cache_settings_tiered_cache_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/argo/tieredCaching/tools.ts b/src/generated/forge-mcp/argo/tieredCaching/tools.ts index 929738ba..938b3903 100644 --- a/src/generated/forge-mcp/argo/tieredCaching/tools.ts +++ b/src/generated/forge-mcp/argo/tieredCaching/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../outputs.js"; +import { + cache_settings_tiered_cache_output, + cache_settings_tiered_cache_value_output, +} from "./outputs.js"; import { cache_settings_patch, cache_settings_value } from "./schemas.js"; /** @@ -49,6 +57,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_tiered_cache" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_tiered_cache_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_tiered_cache": cache_settings_tiered_cache_output, + "cache-settings_tiered_cache_value": cache_settings_tiered_cache_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/argo/tiered_caching`, body: { value: args["body"], mediaType: "application/json" }, @@ -87,6 +126,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_tiered_cache" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_tiered_cache_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_tiered_cache": cache_settings_tiered_cache_output, + "cache-settings_tiered_cache_value": cache_settings_tiered_cache_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/argo/tiered_caching`, }), diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts index 82f98e58..b53272da 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts @@ -53,6 +53,527 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "413": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/blob/${pathParam(args, "hash")}`, }), diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts index 981d740c..fa05dbd8 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts @@ -53,6 +53,506 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "author": { + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "type": "object" + }, + "authoredAt": { + "type": "integer" + }, + "committedAt": { + "type": "integer" + }, + "committer": { + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "type": "object" + }, + "hash": { + "type": "string" + }, + "message": { + "type": "string" + }, + "parents": { + "items": { + "type": "string" + }, + "type": "array" + }, + "treeHash": { + "type": "string" + } + }, + "required": [ + "author", + "authoredAt", + "committedAt", + "committer", + "hash", + "message", + "parents", + "treeHash" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/commit/${pathParam(args, "hash")}`, }), diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts index 53cae4d3..9a8814aa 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts @@ -58,6 +58,527 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "413": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/file`, query: [ diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts index b877aabf..2d7036bf 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts @@ -58,6 +58,567 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "author": { + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "type": "object" + }, + "authoredAt": { + "type": "integer" + }, + "committedAt": { + "type": "integer" + }, + "committer": { + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "email", + "name" + ], + "type": "object" + }, + "hash": { + "type": "string" + }, + "message": { + "type": "string" + }, + "parents": { + "items": { + "type": "string" + }, + "type": "array" + }, + "treeHash": { + "type": "string" + } + }, + "required": [ + "author", + "authoredAt", + "committedAt", + "committer", + "hash", + "message", + "parents", + "treeHash" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "anyOf": [ + { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" + }, + { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" + } + ] + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/log`, query: [ diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts index ea2aac50..e6dfa6f8 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts @@ -58,6 +58,529 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "413": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/raw/${pathParam(args, "ref")}/${pathParam(args, "path")}`, }), diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts index 0f35d68a..231d4077 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts @@ -66,6 +66,625 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "expires_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "scope": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "state": { + "enum": [ + "active", + "expired", + "revoked" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "expires_at", + "id", + "scope", + "state" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "anyOf": [ + { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" + }, + { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" + } + ] + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/tokens`, query: [ diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts index ad0322b6..f7a1a3e2 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts @@ -65,6 +65,478 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "properties": { + "default_branch": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "remote": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "default_branch", + "description", + "id", + "name", + "remote", + "token" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos`, body: { value: args["body"], mediaType: "application/json" }, @@ -111,6 +583,451 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "202": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}`, }), @@ -171,6 +1088,654 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "properties": { + "default_branch": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "objects": { + "type": "integer" + }, + "remote": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "default_branch", + "description", + "id", + "name", + "objects", + "remote", + "token" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/fork`, body: { value: args["body"], mediaType: "application/json" }, @@ -217,19 +1782,610 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}`, - }), - }, - { - name: "artifacts_namespaces_repos_import", - title: "Import a repository", - description: "Imports an HTTPS Git repository into an Artifacts repository.\n\nThis method is beta.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Cloudflare account ID.", + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "last_push_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "read_only": { + "type": "boolean" + }, + "remote": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "default_branch", + "description", + "id", + "last_push_at", + "name", + "read_only", + "remote", + "source", + "updated_at" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}`, + }), + }, + { + name: "artifacts_namespaces_repos_import", + title: "Import a repository", + description: "Imports an HTTPS Git repository into an Artifacts repository.\n\nThis method is beta.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Cloudflare account ID.", "type": "string" }, "body": { @@ -284,6 +2440,994 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "properties": { + "default_branch": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "remote": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "default_branch", + "description", + "id", + "name", + "remote", + "token" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "413": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "502": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "504": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/import`, body: { value: args["body"], mediaType: "application/json" }, @@ -353,6 +3497,486 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "default_branch": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "last_push_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "read_only": { + "type": "boolean" + }, + "remote": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "default_branch", + "description", + "id", + "last_push_at", + "name", + "read_only", + "remote", + "source", + "updated_at" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "anyOf": [ + { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" + }, + { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" + } + ] + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos`, query: [ diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts index 0272d9d2..47c5ef79 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts @@ -53,6 +53,531 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "hash": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "enum": [ + "tree", + "blob", + "symlink", + "gitlink", + "exec" + ], + "type": "string" + } + }, + "required": [ + "hash", + "mode", + "name", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "anyOf": [ + { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" + }, + { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" + } + ] + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/tree/${pathParam(args, "hash")}`, }), diff --git a/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts index fedd0a6d..2d1d91bc 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts @@ -65,6 +65,554 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "properties": { + "expires_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "plaintext": { + "type": "string" + }, + "scope": { + "enum": [ + "read", + "write" + ], + "type": "string" + } + }, + "required": [ + "expires_at", + "id", + "plaintext", + "scope" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/tokens`, body: { value: args["body"], mediaType: "application/json" }, @@ -111,6 +659,365 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/tokens/${pathParam(args, "id")}`, }), diff --git a/src/generated/forge-mcp/artifacts/namespaces/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/tools.ts index a6e1ed7b..121bf328 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/tools.ts @@ -60,6 +60,475 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "jurisdiction": { + "enum": [ + "unrestricted", + "us", + "eu", + "fedramp" + ], + "type": "string" + }, + "namespace": { + "type": "string" + }, + "repo_count": { + "type": "integer" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "jurisdiction", + "namespace", + "repo_count", + "updated_at" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces`, body: { value: args["body"], mediaType: "application/json" }, @@ -101,6 +570,527 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "204": null, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}`, }), @@ -141,6 +1131,475 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "jurisdiction": { + "enum": [ + "unrestricted", + "us", + "eu", + "fedramp" + ], + "type": "string" + }, + "namespace": { + "type": "string" + }, + "repo_count": { + "type": "integer" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "jurisdiction", + "namespace", + "repo_count", + "updated_at" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}`, }), @@ -183,6 +1642,450 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "jurisdiction": { + "enum": [ + "unrestricted", + "us", + "eu", + "fedramp" + ], + "type": "string" + }, + "namespace": { + "type": "string" + }, + "repo_count": { + "type": "integer" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "jurisdiction", + "namespace", + "repo_count", + "updated_at" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "anyOf": [ + { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" + }, + { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" + } + ] + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces`, query: [ diff --git a/src/generated/forge-mcp/auditLogs/tools.ts b/src/generated/forge-mcp/auditLogs/tools.ts index 9d3dd2b0..b2b7d7e5 100644 --- a/src/generated/forge-mcp/auditLogs/tools.ts +++ b/src/generated/forge-mcp/auditLogs/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + aaa_api_response_common_failure_output, + aaa_api_response_common_output, + aaa_audit_logs_action_output, + aaa_audit_logs_actor_output, + aaa_audit_logs_output, + aaa_audit_logs_owner_output, + aaa_audit_logs_resource_output, + aaa_audit_logs_response_collection_alt_output, + aaa_identifier_output, + aaa_messages_output, +} from "../outputs.js"; /** * The tools of `audit_logs`. @@ -116,6 +128,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_audit_logs_response_collection_alt" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_audit_logs_response_collection_alt" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure" + } + ] + } + }, + $defs: { + "aaa_api-response-common": aaa_api_response_common_output, + "aaa_api-response-common-failure": aaa_api_response_common_failure_output, + "aaa_audit-logs": aaa_audit_logs_output, + "aaa_audit-logs_action": aaa_audit_logs_action_output, + "aaa_audit-logs_actor": aaa_audit_logs_actor_output, + "aaa_audit-logs_owner": aaa_audit_logs_owner_output, + "aaa_audit-logs_resource": aaa_audit_logs_resource_output, + "aaa_audit_logs_response_collection_alt": aaa_audit_logs_response_collection_alt_output, + "aaa_identifier": aaa_identifier_output, + "aaa_messages": aaa_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/audit_logs`, query: [ diff --git a/src/generated/forge-mcp/basinCatalog/credentials/tools.ts b/src/generated/forge-mcp/basinCatalog/credentials/tools.ts index 39717811..1662e261 100644 --- a/src/generated/forge-mcp/basinCatalog/credentials/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/credentials/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + r2_data_catalog_api_response_common_failure_errorsItem_output, + r2_data_catalog_api_response_common_failure_output, + r2_data_catalog_credential_probe_status_output, +} from "../../outputs.js"; import { r2_data_catalog_catalog_credential_request } from "../../schemas.js"; /** @@ -50,6 +55,39 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/credential`, body: { value: args["body"], mediaType: "application/json" }, @@ -91,6 +129,41 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "status": { + "$ref": "#/$defs/r2-data-catalog_credential-probe-status" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_credential-probe-status": r2_data_catalog_credential_probe_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/credential/status`, }), diff --git a/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts b/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts index 601a594a..66dfb507 100644 --- a/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + r2_data_catalog_api_response_common_failure_errorsItem_output, + r2_data_catalog_api_response_common_failure_output, + r2_data_catalog_catalog_compaction_config_output, + r2_data_catalog_catalog_maintenance_config_output, + r2_data_catalog_catalog_maintenance_config_response_output, + r2_data_catalog_catalog_maintenance_state_output, + r2_data_catalog_catalog_target_file_size_output, + r2_data_catalog_credential_status_output, + r2_data_catalog_maintenance_interval_output, + r2_data_catalog_snapshot_expiration_config_output, +} from "../../outputs.js"; import { r2_data_catalog_catalog_maintenance_state, r2_data_catalog_catalog_maintenance_update_request, @@ -50,6 +62,40 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-config-response" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, + "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, + "r2-data-catalog_catalog-maintenance-config-response": r2_data_catalog_catalog_maintenance_config_response_output, + "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, + "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, + "r2-data-catalog_credential-status": r2_data_catalog_credential_status_output, + "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, + "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/maintenance-configs`, }), @@ -100,6 +146,38 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-config" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, + "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, + "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, + "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, + "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, + "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/maintenance-configs`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts index 310a6c5f..d9c271ae 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + r2_data_catalog_api_response_common_failure_errorsItem_output, + r2_data_catalog_api_response_common_failure_output, + r2_data_catalog_catalog_maintenance_state_output, + r2_data_catalog_catalog_target_file_size_output, + r2_data_catalog_maintenance_interval_output, + r2_data_catalog_queue_maintenance_response_output, + r2_data_catalog_table_compaction_config_output, + r2_data_catalog_table_maintenance_config_output, + r2_data_catalog_table_maintenance_config_response_output, + r2_data_catalog_table_snapshot_expiration_config_output, +} from "../../../../outputs.js"; import { r2_data_catalog_catalog_maintenance_state, r2_data_catalog_catalog_target_file_size, @@ -61,6 +73,39 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_table-maintenance-config-response" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, + "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, + "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, + "r2-data-catalog_table-compaction-config": r2_data_catalog_table_compaction_config_output, + "r2-data-catalog_table-maintenance-config": r2_data_catalog_table_maintenance_config_output, + "r2-data-catalog_table-maintenance-config-response": r2_data_catalog_table_maintenance_config_response_output, + "r2-data-catalog_table-snapshot-expiration-config": r2_data_catalog_table_snapshot_expiration_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces/${pathParam(args, "namespace")}/tables/${pathParam(args, "table_name")}/maintenance-configs`, }), @@ -118,6 +163,33 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs/{configuration_type}/queue", + responses: { + schemas: { + "202": { + "$ref": "#/$defs/r2-data-catalog_queue-maintenance-response" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "409": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "429": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_queue-maintenance-response": r2_data_catalog_queue_maintenance_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces/${pathParam(args, "namespace")}/tables/${pathParam(args, "table_name")}/maintenance-configs/${pathParam(args, "configuration_type")}/queue`, body: { value: args["body"], mediaType: "application/json" }, @@ -179,6 +251,38 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_table-maintenance-config" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, + "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, + "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, + "r2-data-catalog_table-compaction-config": r2_data_catalog_table_compaction_config_output, + "r2-data-catalog_table-maintenance-config": r2_data_catalog_table_maintenance_config_output, + "r2-data-catalog_table-snapshot-expiration-config": r2_data_catalog_table_snapshot_expiration_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces/${pathParam(args, "namespace")}/tables/${pathParam(args, "table_name")}/maintenance-configs`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts index b5f4f6aa..cbd8735d 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + r2_data_catalog_api_response_common_failure_errorsItem_output, + r2_data_catalog_api_response_common_failure_output, + r2_data_catalog_maintenance_run_operation_output, + r2_data_catalog_maintenance_run_record_output, + r2_data_catalog_maintenance_runs_response_output, +} from "../../../../outputs.js"; /** * The tools of `basin_catalog.namespaces.tables.maintenance_runs`. @@ -51,6 +58,32 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-runs", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_maintenance-runs-response" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_maintenance-run-operation": r2_data_catalog_maintenance_run_operation_output, + "r2-data-catalog_maintenance-run-record": r2_data_catalog_maintenance_run_record_output, + "r2-data-catalog_maintenance-runs-response": r2_data_catalog_maintenance_runs_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces/${pathParam(args, "namespace")}/tables/${pathParam(args, "table_name")}/maintenance-runs`, query: [ diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts index c4399c03..8ae222e3 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_data_catalog_api_response_common_failure_errorsItem_output, + r2_data_catalog_api_response_common_failure_output, + r2_data_catalog_get_table_response_output, + r2_data_catalog_namespace_identifier_output, + r2_data_catalog_table_details_output, + r2_data_catalog_table_identifier_output, + r2_data_catalog_table_list_response_output, + r2_data_catalog_table_metadata_output, +} from "../../../outputs.js"; /** * The tools of `basin_catalog.namespaces.tables`. @@ -53,6 +63,36 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_get-table-response" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_get-table-response": r2_data_catalog_get_table_response_output, + "r2-data-catalog_namespace-identifier": r2_data_catalog_namespace_identifier_output, + "r2-data-catalog_table-identifier": r2_data_catalog_table_identifier_output, + "r2-data-catalog_table-metadata": r2_data_catalog_table_metadata_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces/${pathParam(args, "namespace")}/tables/${pathParam(args, "table_name")}`, }), @@ -117,6 +157,36 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_table-list-response" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_namespace-identifier": r2_data_catalog_namespace_identifier_output, + "r2-data-catalog_table-details": r2_data_catalog_table_details_output, + "r2-data-catalog_table-identifier": r2_data_catalog_table_identifier_output, + "r2-data-catalog_table-list-response": r2_data_catalog_table_list_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces/${pathParam(args, "namespace")}/tables`, query: [ diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts index 96231063..390e0119 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + r2_data_catalog_api_response_common_failure_errorsItem_output, + r2_data_catalog_api_response_common_failure_output, + r2_data_catalog_namespace_details_output, + r2_data_catalog_namespace_identifier_output, + r2_data_catalog_namespace_list_response_output, +} from "../../outputs.js"; /** * The tools of `basin_catalog.namespaces`. @@ -66,6 +73,35 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_namespace-list-response" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_namespace-details": r2_data_catalog_namespace_details_output, + "r2-data-catalog_namespace-identifier": r2_data_catalog_namespace_identifier_output, + "r2-data-catalog_namespace-list-response": r2_data_catalog_namespace_list_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces`, query: [ diff --git a/src/generated/forge-mcp/basinCatalog/tools.ts b/src/generated/forge-mcp/basinCatalog/tools.ts index 46b8a1cd..6c554004 100644 --- a/src/generated/forge-mcp/basinCatalog/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + r2_data_catalog_api_response_common_failure_errorsItem_output, + r2_data_catalog_api_response_common_failure_output, + r2_data_catalog_catalog_activation_response_output, + r2_data_catalog_catalog_compaction_config_output, + r2_data_catalog_catalog_list_output, + r2_data_catalog_catalog_maintenance_config_output, + r2_data_catalog_catalog_maintenance_state_output, + r2_data_catalog_catalog_output, + r2_data_catalog_catalog_status_output, + r2_data_catalog_catalog_target_file_size_output, + r2_data_catalog_credential_status_output, + r2_data_catalog_maintenance_interval_output, + r2_data_catalog_snapshot_expiration_config_output, +} from "../outputs.js"; /** * The tools of `basin_catalog`. @@ -47,6 +62,24 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Write" ] }, + responses: { + schemas: { + "204": null, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": null, + "404": null, + "409": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": null + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/delete`, query: [ @@ -89,6 +122,30 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Write" ] }, + responses: { + schemas: { + "204": null, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/disable`, }), @@ -128,6 +185,36 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_catalog-activation-response" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "409": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_catalog-activation-response": r2_data_catalog_catalog_activation_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/enable`, }), @@ -168,6 +255,41 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_catalog" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_catalog": r2_data_catalog_catalog_output, + "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, + "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, + "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, + "r2-data-catalog_catalog-status": r2_data_catalog_catalog_status_output, + "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, + "r2-data-catalog_credential-status": r2_data_catalog_credential_status_output, + "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, + "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}`, }), @@ -203,6 +325,39 @@ export const tools: readonly Tool[] = [ "Workers R2 Data Catalog Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-data-catalog_catalog-list" + }, + "400": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "401": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "403": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure" + } + }, + $defs: { + "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure_errorsItem": r2_data_catalog_api_response_common_failure_errorsItem_output, + "r2-data-catalog_catalog": r2_data_catalog_catalog_output, + "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, + "r2-data-catalog_catalog-list": r2_data_catalog_catalog_list_output, + "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, + "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, + "r2-data-catalog_catalog-status": r2_data_catalog_catalog_status_output, + "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, + "r2-data-catalog_credential-status": r2_data_catalog_credential_status_output, + "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, + "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog`, }), diff --git a/src/generated/forge-mcp/billing/addresses/outputs.ts b/src/generated/forge-mcp/billing/addresses/outputs.ts new file mode 100644 index 00000000..6966ab8a --- /dev/null +++ b/src/generated/forge-mcp/billing/addresses/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `bill-subs-api_validated_address` in responses. + */ +export const bill_subs_api_validated_address_output: JsonSchema = { + "properties": { + "address": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "state": { + "type": "string" + }, + "validation_code": { + "type": "string" + }, + "zipcode": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/billing/addresses/tools.ts b/src/generated/forge-mcp/billing/addresses/tools.ts index d0ff95b0..a59a60e8 100644 --- a/src/generated/forge-mcp/billing/addresses/tools.ts +++ b/src/generated/forge-mcp/billing/addresses/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import type { Tool } from "../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_messages_output, +} from "../../outputs.js"; +import { bill_subs_api_validated_address_output } from "./outputs.js"; import { bill_subs_api_address_validation_request } from "./schemas.js"; /** @@ -43,6 +48,29 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "validated_addresses": { + "items": { + "$ref": "#/$defs/bill-subs-api_validated_address" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_validated_address": bill_subs_api_validated_address_output, + }, + }, request: (args) => ({ path: `/billing/address-validation`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/billing/profiles/tools.ts b/src/generated/forge-mcp/billing/profiles/tools.ts index 571b8492..6f309971 100644 --- a/src/generated/forge-mcp/billing/profiles/tools.ts +++ b/src/generated/forge-mcp/billing/profiles/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_components_schemas_identifier_output, + bill_subs_api_messages_output, +} from "../../outputs.js"; import { bill_subs_api_billing_profile_request } from "./schemas.js"; /** @@ -65,6 +70,140 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "account_type": { + "type": "string" + }, + "address": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "balance": { + "type": "string" + }, + "card_expiry_month": { + "type": "integer" + }, + "card_expiry_year": { + "type": "integer" + }, + "card_number": { + "type": "string" + }, + "city": { + "type": "string" + }, + "company": { + "type": "string" + }, + "country": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "device_data": { + "type": "string" + }, + "edited_on": { + "format": "date-time", + "type": "string" + }, + "enterprise_billing_email": { + "type": "string" + }, + "enterprise_primary_email": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/bill-subs-api_components-schemas-identifier" + }, + "is_partner": { + "type": "boolean" + }, + "last_name": { + "type": "string" + }, + "next_bill_date": { + "format": "date-time", + "type": "string" + }, + "payment_address": { + "type": "string" + }, + "payment_address2": { + "type": "string" + }, + "payment_city": { + "type": "string" + }, + "payment_country": { + "type": "string" + }, + "payment_email": { + "type": "string" + }, + "payment_first_name": { + "type": "string" + }, + "payment_gateway": { + "type": "string" + }, + "payment_last_name": { + "type": "string" + }, + "payment_nonce": { + "type": "string" + }, + "payment_state": { + "type": "string" + }, + "payment_zipcode": { + "type": "string" + }, + "primary_email": { + "type": "string" + }, + "state": { + "type": "string" + }, + "tax_id_type": { + "type": "string" + }, + "telephone": { + "type": "string" + }, + "validation_code": { + "type": "string" + }, + "vat": { + "type": "string" + }, + "zipcode": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/profile`, body: { value: args["body"], mediaType: "application/json" }, @@ -106,6 +245,28 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "client_secret": { + "type": "string" + }, + "intent_type": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/profile/payment-method`, }), @@ -156,6 +317,18 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/profile`, }), @@ -207,6 +380,140 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "account_type": { + "type": "string" + }, + "address": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "balance": { + "type": "string" + }, + "card_expiry_month": { + "type": "integer" + }, + "card_expiry_year": { + "type": "integer" + }, + "card_number": { + "type": "string" + }, + "city": { + "type": "string" + }, + "company": { + "type": "string" + }, + "country": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "device_data": { + "type": "string" + }, + "edited_on": { + "format": "date-time", + "type": "string" + }, + "enterprise_billing_email": { + "type": "string" + }, + "enterprise_primary_email": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/bill-subs-api_components-schemas-identifier" + }, + "is_partner": { + "type": "boolean" + }, + "last_name": { + "type": "string" + }, + "next_bill_date": { + "format": "date-time", + "type": "string" + }, + "payment_address": { + "type": "string" + }, + "payment_address2": { + "type": "string" + }, + "payment_city": { + "type": "string" + }, + "payment_country": { + "type": "string" + }, + "payment_email": { + "type": "string" + }, + "payment_first_name": { + "type": "string" + }, + "payment_gateway": { + "type": "string" + }, + "payment_last_name": { + "type": "string" + }, + "payment_nonce": { + "type": "string" + }, + "payment_state": { + "type": "string" + }, + "payment_zipcode": { + "type": "string" + }, + "primary_email": { + "type": "string" + }, + "state": { + "type": "string" + }, + "tax_id_type": { + "type": "string" + }, + "telephone": { + "type": "string" + }, + "validation_code": { + "type": "string" + }, + "vat": { + "type": "string" + }, + "zipcode": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/profile`, }), @@ -268,6 +575,140 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "account_type": { + "type": "string" + }, + "address": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "balance": { + "type": "string" + }, + "card_expiry_month": { + "type": "integer" + }, + "card_expiry_year": { + "type": "integer" + }, + "card_number": { + "type": "string" + }, + "city": { + "type": "string" + }, + "company": { + "type": "string" + }, + "country": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "device_data": { + "type": "string" + }, + "edited_on": { + "format": "date-time", + "type": "string" + }, + "enterprise_billing_email": { + "type": "string" + }, + "enterprise_primary_email": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/bill-subs-api_components-schemas-identifier" + }, + "is_partner": { + "type": "boolean" + }, + "last_name": { + "type": "string" + }, + "next_bill_date": { + "format": "date-time", + "type": "string" + }, + "payment_address": { + "type": "string" + }, + "payment_address2": { + "type": "string" + }, + "payment_city": { + "type": "string" + }, + "payment_country": { + "type": "string" + }, + "payment_email": { + "type": "string" + }, + "payment_first_name": { + "type": "string" + }, + "payment_gateway": { + "type": "string" + }, + "payment_last_name": { + "type": "string" + }, + "payment_nonce": { + "type": "string" + }, + "payment_state": { + "type": "string" + }, + "payment_zipcode": { + "type": "string" + }, + "primary_email": { + "type": "string" + }, + "state": { + "type": "string" + }, + "tax_id_type": { + "type": "string" + }, + "telephone": { + "type": "string" + }, + "validation_code": { + "type": "string" + }, + "vat": { + "type": "string" + }, + "zipcode": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/profile`, body: { value: args["body"], mediaType: "application/json" }, @@ -338,6 +779,140 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "account_type": { + "type": "string" + }, + "address": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "balance": { + "type": "string" + }, + "card_expiry_month": { + "type": "integer" + }, + "card_expiry_year": { + "type": "integer" + }, + "card_number": { + "type": "string" + }, + "city": { + "type": "string" + }, + "company": { + "type": "string" + }, + "country": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "device_data": { + "type": "string" + }, + "edited_on": { + "format": "date-time", + "type": "string" + }, + "enterprise_billing_email": { + "type": "string" + }, + "enterprise_primary_email": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/bill-subs-api_components-schemas-identifier" + }, + "is_partner": { + "type": "boolean" + }, + "last_name": { + "type": "string" + }, + "next_bill_date": { + "format": "date-time", + "type": "string" + }, + "payment_address": { + "type": "string" + }, + "payment_address2": { + "type": "string" + }, + "payment_city": { + "type": "string" + }, + "payment_country": { + "type": "string" + }, + "payment_email": { + "type": "string" + }, + "payment_first_name": { + "type": "string" + }, + "payment_gateway": { + "type": "string" + }, + "payment_last_name": { + "type": "string" + }, + "payment_nonce": { + "type": "string" + }, + "payment_state": { + "type": "string" + }, + "payment_zipcode": { + "type": "string" + }, + "primary_email": { + "type": "string" + }, + "state": { + "type": "string" + }, + "tax_id_type": { + "type": "string" + }, + "telephone": { + "type": "string" + }, + "validation_code": { + "type": "string" + }, + "vat": { + "type": "string" + }, + "zipcode": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/profile`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/billing/ratePlans/tools.ts b/src/generated/forge-mcp/billing/ratePlans/tools.ts index 9365a1e2..2dd90d65 100644 --- a/src/generated/forge-mcp/billing/ratePlans/tools.ts +++ b/src/generated/forge-mcp/billing/ratePlans/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_messages_output, +} from "../../outputs.js"; /** * The tools of `billing.rate_plans`. @@ -40,6 +44,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "components": { + "items": { + "type": "object" + }, + "type": "array" + }, + "currency": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_name": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/billing/rate_plans/${pathParam(args, "public_key")}`, }), diff --git a/src/generated/forge-mcp/billing/usage/outputs.ts b/src/generated/forge-mcp/billing/usage/outputs.ts new file mode 100644 index 00000000..a2ea635a --- /dev/null +++ b/src/generated/forge-mcp/billing/usage/outputs.ts @@ -0,0 +1,337 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `billable-usage-api_usage_info_response_result` in responses. + */ +export const billable_usage_api_usage_info_response_result_output: JsonSchema = { + "properties": { + "covered": { + "type": "boolean" + }, + "subscriptions": { + "items": { + "$ref": "#/$defs/billable-usage-api_usage_info_response_result_subscriptionsItem" + }, + "type": "array" + } + }, + "required": [ + "covered", + "subscriptions" + ], + "type": "object" +}; + +/** + * The schema of + * `billable-usage-api_usage_info_response_result_subscriptionsItem` in + * responses. + */ +export const billable_usage_api_usage_info_response_result_subscriptionsItem_output: JsonSchema = { + "properties": { + "billing_cycle_anchor_timestamp": { + "format": "date-time", + "type": "string" + }, + "end_timestamp": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "start_timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "billing_cycle_anchor_timestamp", + "id", + "start_timestamp" + ], + "type": "object" +}; + +/** + * The schema of `billable-usage-api_usage_record` in responses. + */ +export const billable_usage_api_usage_record_output: JsonSchema = { + "properties": { + "BilledCost": { + "type": "number" + }, + "BillingAccountId": { + "type": "string" + }, + "BillingAccountName": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "BillingCurrency": { + "type": "string" + }, + "BillingPeriodStart": { + "format": "date-time", + "type": "string" + }, + "ChargeCategory": { + "enum": [ + "Usage" + ], + "type": "string" + }, + "ChargeClass": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ChargeDescription": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ChargePeriodEnd": { + "format": "date-time", + "type": "string" + }, + "ChargePeriodStart": { + "format": "date-time", + "type": "string" + }, + "ConsumedQuantity": { + "type": "number" + }, + "ConsumedUnit": { + "type": "string" + }, + "ContractedCost": { + "type": "number" + }, + "CumulatedContractedCost": { + "type": "number" + }, + "CumulatedPricingQuantity": { + "type": "integer" + }, + "EffectiveCost": { + "type": "number" + }, + "HostProviderName": { + "type": "string" + }, + "InvoiceIssuerName": { + "type": "string" + }, + "ListCost": { + "type": "number" + }, + "PricingQuantity": { + "type": "integer" + }, + "PricingUnit": { + "type": "string" + }, + "ServiceFamilyName": { + "type": "string" + }, + "ServiceName": { + "type": "string" + }, + "ServiceProviderName": { + "type": "string" + }, + "SubscriptionId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ZoneId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ZoneName": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "BilledCost", + "BillingAccountId", + "BillingAccountName", + "BillingCurrency", + "BillingPeriodStart", + "ChargeCategory", + "ChargeClass", + "ChargeDescription", + "ChargePeriodEnd", + "ChargePeriodStart", + "ConsumedQuantity", + "ConsumedUnit", + "ContractedCost", + "CumulatedContractedCost", + "CumulatedPricingQuantity", + "EffectiveCost", + "HostProviderName", + "InvoiceIssuerName", + "ListCost", + "PricingQuantity", + "PricingUnit", + "ServiceName", + "ServiceProviderName" + ], + "type": "object" +}; + +/** + * The schema of `billable-usage-api_v2_account_billable_metric` in responses. + */ +export const billable_usage_api_v2_account_billable_metric_output: JsonSchema = { + "properties": { + "DimensionKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Id": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "ProductCategory": { + "items": { + "$ref": "#/$defs/billable-usage-api_v2_product_category" + }, + "type": "array" + }, + "ProductFamily": { + "items": { + "$ref": "#/$defs/billable-usage-api_v2_product_family" + }, + "type": "array" + } + }, + "required": [ + "DimensionKeys", + "Id", + "Name", + "ProductCategory", + "ProductFamily" + ], + "type": "object" +}; + +/** + * The schema of `billable-usage-api_v2_product_category` in responses. + */ +export const billable_usage_api_v2_product_category_output: JsonSchema = { + "properties": { + "Id": { + "type": "string" + }, + "Name": { + "type": "string" + } + }, + "required": [ + "Id", + "Name" + ], + "type": "object" +}; + +/** + * The schema of `billable-usage-api_v2_product_family` in responses. + */ +export const billable_usage_api_v2_product_family_output: JsonSchema = { + "properties": { + "Id": { + "type": "string" + }, + "Name": { + "type": "string" + } + }, + "required": [ + "Id", + "Name" + ], + "type": "object" +}; + +/** + * The schema of `usage-analytics_billing_usage_data_point` in responses. + */ +export const usage_analytics_billing_usage_data_point_output: JsonSchema = { + "properties": { + "argoAcceleratedBytes": { + "type": "integer" + }, + "imageResizingRequests": { + "type": "integer" + }, + "loadBalancingQueries": { + "type": "integer" + }, + "mediaUniqueTransformations": { + "type": "integer" + }, + "rateLimitingRequestsAllowed": { + "type": "integer" + }, + "spectrumBytesTransferred": { + "type": "integer" + }, + "streamMinutesViewed": { + "type": "integer" + }, + "ts": { + "type": "integer" + }, + "workersKVReads": { + "type": "integer" + }, + "workersRequests": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/billing/usage/tools.ts b/src/generated/forge-mcp/billing/usage/tools.ts index 9af3e2e0..9784203f 100644 --- a/src/generated/forge-mcp/billing/usage/tools.ts +++ b/src/generated/forge-mcp/billing/usage/tools.ts @@ -2,7 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + billable_usage_api_api_response_common_failure_output, + billable_usage_api_cost_and_usage_data_output, + billable_usage_api_message_output, + usage_analytics_api_error_output, + usage_analytics_api_message_output, + usage_analytics_error_response_output, +} from "../../outputs.js"; import { billable_usage_api_identifier } from "../../schemas.js"; +import { + billable_usage_api_usage_info_response_result_output, + billable_usage_api_usage_info_response_result_subscriptionsItem_output, + billable_usage_api_usage_record_output, + billable_usage_api_v2_account_billable_metric_output, + billable_usage_api_v2_product_category_output, + billable_usage_api_v2_product_family_output, + usage_analytics_billing_usage_data_point_output, +} from "./outputs.js"; import { billable_usage_api_v2_filter_by, billable_usage_api_v2_group_by, @@ -85,6 +102,42 @@ export const tools: readonly Tool[] = [ "Billing Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/usage-analytics_billing_usage_data_point" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/usage-analytics_error_response" + }, + "401": { + "$ref": "#/$defs/usage-analytics_error_response" + }, + "403": { + "$ref": "#/$defs/usage-analytics_error_response" + } + }, + $defs: { + "usage-analytics_api_error": usage_analytics_api_error_output, + "usage-analytics_api_message": usage_analytics_api_message_output, + "usage-analytics_billing_usage_data_point": usage_analytics_billing_usage_data_point_output, + "usage-analytics_error_response": usage_analytics_error_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/usage`, query: [ @@ -143,6 +196,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/billable-usage-api_v2_account_billable_metric" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/billable-usage-api_api-response-common-failure" + } + }, + $defs: { + "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, + "billable-usage-api_message": billable_usage_api_message_output, + "billable-usage-api_v2_account_billable_metric": billable_usage_api_v2_account_billable_metric_output, + "billable-usage-api_v2_product_category": billable_usage_api_v2_product_category_output, + "billable-usage-api_v2_product_family": billable_usage_api_v2_product_family_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billable/usage/billable-metrics`, query: [ @@ -197,6 +281,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/billable-usage-api_cost_and_usage_data" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/billable-usage-api_api-response-common-failure" + } + }, + $defs: { + "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, + "billable-usage-api_cost_and_usage_data": billable_usage_api_cost_and_usage_data_output, + "billable-usage-api_message": billable_usage_api_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billable/usage`, query: [ @@ -241,6 +354,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/billable-usage-api_usage_info_response_result" + }, + "4XX": { + "$ref": "#/$defs/billable-usage-api_api-response-common-failure" + } + }, + $defs: { + "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, + "billable-usage-api_message": billable_usage_api_message_output, + "billable-usage-api_usage_info_response_result": billable_usage_api_usage_info_response_result_output, + "billable-usage-api_usage_info_response_result_subscriptionsItem": billable_usage_api_usage_info_response_result_subscriptionsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billable-usage/info`, }), @@ -291,6 +420,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/billable-usage-api_usage_record" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/billable-usage-api_api-response-common-failure" + } + }, + $defs: { + "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, + "billable-usage-api_message": billable_usage_api_message_output, + "billable-usage-api_usage_record": billable_usage_api_usage_record_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billable-usage`, query: [ @@ -343,6 +501,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/billable-usage-api_cost_and_usage_data" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/billable-usage-api_api-response-common-failure" + } + }, + $defs: { + "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, + "billable-usage-api_cost_and_usage_data": billable_usage_api_cost_and_usage_data_output, + "billable-usage-api_message": billable_usage_api_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billable/usage`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/botManagement/feedback/outputs.ts b/src/generated/forge-mcp/botManagement/feedback/outputs.ts new file mode 100644 index 00000000..ebe6a0ca --- /dev/null +++ b/src/generated/forge-mcp/botManagement/feedback/outputs.ts @@ -0,0 +1,123 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `bot-management_feedback_report` in responses. + */ +export const bot_management_feedback_report_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "expression": { + "type": "string" + }, + "first_request_seen_at": { + "format": "date-time", + "type": "string" + }, + "last_request_seen_at": { + "format": "date-time", + "type": "string" + }, + "requests": { + "type": "integer" + }, + "requests_by_attribute": { + "$ref": "#/$defs/bot-management_requests_by_attribute" + }, + "requests_by_score": { + "$ref": "#/$defs/bot-management_requests_by_score" + }, + "requests_by_score_src": { + "$ref": "#/$defs/bot-management_requests_by_score_src" + }, + "subtype": { + "type": "string" + }, + "type": { + "$ref": "#/$defs/bot-management_feedback_type" + } + }, + "required": [ + "description", + "expression", + "first_request_seen_at", + "last_request_seen_at", + "requests", + "requests_by_attribute", + "requests_by_score", + "requests_by_score_src", + "type" + ], + "type": "object" +}; + +/** + * The schema of `bot-management_feedback_type` in responses. + */ +export const bot_management_feedback_type_output: JsonSchema = { + "enum": [ + "false_positive", + "false_negative" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_metric_requests` in responses. + */ +export const bot_management_metric_requests_output: JsonSchema = { + "properties": { + "metric": { + "type": "string" + }, + "requests": { + "type": "integer" + } + }, + "required": [ + "metric", + "requests" + ], + "type": "object" +}; + +/** + * The schema of `bot-management_requests_by_attribute` in responses. + */ +export const bot_management_requests_by_attribute_output: JsonSchema = { + "additionalProperties": { + "items": { + "$ref": "#/$defs/bot-management_metric_requests" + }, + "type": "array" + }, + "type": "object" +}; + +/** + * The schema of `bot-management_requests_by_score` in responses. + */ +export const bot_management_requests_by_score_output: JsonSchema = { + "additionalProperties": { + "type": "integer" + }, + "type": "object" +}; + +/** + * The schema of `bot-management_requests_by_score_src` in responses. + */ +export const bot_management_requests_by_score_src_output: JsonSchema = { + "additionalProperties": { + "type": "integer" + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/botManagement/feedback/tools.ts b/src/generated/forge-mcp/botManagement/feedback/tools.ts index 7cd46443..cf8c54d6 100644 --- a/src/generated/forge-mcp/botManagement/feedback/tools.ts +++ b/src/generated/forge-mcp/botManagement/feedback/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + bot_management_api_response_common_failure_output, + bot_management_messages_output, +} from "../outputs.js"; +import { + bot_management_feedback_report_output, + bot_management_feedback_type_output, + bot_management_metric_requests_output, + bot_management_requests_by_attribute_output, + bot_management_requests_by_score_output, + bot_management_requests_by_score_src_output, +} from "./outputs.js"; import { bot_management_feedback_report, bot_management_feedback_type, @@ -66,6 +78,18 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": null, + "4XX": { + "$ref": "#/$defs/bot-management_api-response-common-failure" + } + }, + $defs: { + "bot-management_api-response-common-failure": bot_management_api_response_common_failure_output, + "bot-management_messages": bot_management_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/bot_management/feedback`, body: { value: args["body"], mediaType: "application/json" }, @@ -110,6 +134,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "items": { + "$ref": "#/$defs/bot-management_feedback_report" + }, + "type": "array" + }, + "4XX": { + "$ref": "#/$defs/bot-management_api-response-common-failure" + } + }, + $defs: { + "bot-management_api-response-common-failure": bot_management_api_response_common_failure_output, + "bot-management_feedback_report": bot_management_feedback_report_output, + "bot-management_feedback_type": bot_management_feedback_type_output, + "bot-management_messages": bot_management_messages_output, + "bot-management_metric_requests": bot_management_metric_requests_output, + "bot-management_requests_by_attribute": bot_management_requests_by_attribute_output, + "bot-management_requests_by_score": bot_management_requests_by_score_output, + "bot-management_requests_by_score_src": bot_management_requests_by_score_src_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/bot_management/feedback`, }), diff --git a/src/generated/forge-mcp/botManagement/outputs.ts b/src/generated/forge-mcp/botManagement/outputs.ts new file mode 100644 index 00000000..03446fdd --- /dev/null +++ b/src/generated/forge-mcp/botManagement/outputs.ts @@ -0,0 +1,586 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `bot-management_ai_bots_migration_opt_out` in responses. + */ +export const bot_management_ai_bots_migration_opt_out_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_ai_bots_protection` in responses. + */ +export const bot_management_ai_bots_protection_output: JsonSchema = { + "enum": [ + "block", + "disabled", + "only_on_ad_pages" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_ai_search` in responses. + */ +export const bot_management_ai_search_output: JsonSchema = { + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_ai_training` in responses. + */ +export const bot_management_ai_training_output: JsonSchema = { + "enum": [ + "disabled", + "disallow", + "block", + "only_on_ad_pages" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_ai_user` in responses. + */ +export const bot_management_ai_user_output: JsonSchema = { + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_api-response-common-failure` in responses. + */ +export const bot_management_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/bot-management_messages" + }, + "messages": { + "$ref": "#/$defs/bot-management_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `bot-management_auto_update_model` in responses. + */ +export const bot_management_auto_update_model_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_base_config` in responses. + */ +export const bot_management_base_config_output: JsonSchema = { + "properties": { + "ai_bots_migration_opt_out": { + "$ref": "#/$defs/bot-management_ai_bots_migration_opt_out" + }, + "ai_bots_protection": { + "$ref": "#/$defs/bot-management_ai_bots_protection" + }, + "ai_search": { + "$ref": "#/$defs/bot-management_ai_search" + }, + "ai_training": { + "$ref": "#/$defs/bot-management_ai_training" + }, + "ai_user": { + "$ref": "#/$defs/bot-management_ai_user" + }, + "bot_preference_sync_enabled": { + "$ref": "#/$defs/bot-management_bot_preference_sync_enabled" + }, + "cf_robots_variant": { + "$ref": "#/$defs/bot-management_cf_robots_variant" + }, + "content_bots_protection": { + "$ref": "#/$defs/bot-management_content_bots_protection" + }, + "crawler_protection": { + "$ref": "#/$defs/bot-management_crawler_protection" + }, + "enable_js": { + "$ref": "#/$defs/bot-management_enable_js" + }, + "is_robots_txt_managed": { + "$ref": "#/$defs/bot-management_is_robots_txt_managed" + }, + "jsd_api_results_enabled": { + "$ref": "#/$defs/bot-management_jsd_api_results_enabled" + }, + "using_latest_model": { + "$ref": "#/$defs/bot-management_using_latest_model" + } + }, + "type": "object" +}; + +/** + * The schema of `bot-management_bm_cookie_enabled` in responses. + */ +export const bot_management_bm_cookie_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_bm_subscription_config` in responses. + */ +export const bot_management_bm_subscription_config_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/bot-management_base_config" + }, + { + "properties": { + "auto_update_model": { + "$ref": "#/$defs/bot-management_auto_update_model" + }, + "bm_cookie_enabled": { + "$ref": "#/$defs/bot-management_bm_cookie_enabled" + }, + "stale_zone_configuration": { + "properties": { + "fight_mode": { + "$ref": "#/$defs/bot-management_fight_mode_turned_on" + }, + "optimize_wordpress": { + "$ref": "#/$defs/bot-management_optimize_wordpress_turned_on" + }, + "sbfm_definitely_automated": { + "$ref": "#/$defs/bot-management_sbfm_definitely_automated_turned_on" + }, + "sbfm_likely_automated": { + "$ref": "#/$defs/bot-management_sbfm_likely_automated_turned_on" + }, + "sbfm_static_resource_protection": { + "$ref": "#/$defs/bot-management_sbfm_static_resource_protection_turned_on" + }, + "sbfm_verified_bots": { + "$ref": "#/$defs/bot-management_sbfm_verified_bots_turned_on" + } + }, + "type": "object" + }, + "suppress_session_score": { + "$ref": "#/$defs/bot-management_suppress_session_score" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `bot-management_bot_fight_mode_config` in responses. + */ +export const bot_management_bot_fight_mode_config_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/bot-management_base_config" + }, + { + "properties": { + "fight_mode": { + "$ref": "#/$defs/bot-management_fight_mode" + }, + "stale_zone_configuration": { + "properties": { + "optimize_wordpress": { + "$ref": "#/$defs/bot-management_optimize_wordpress_turned_on" + }, + "sbfm_definitely_automated": { + "$ref": "#/$defs/bot-management_sbfm_definitely_automated_turned_on" + }, + "sbfm_likely_automated": { + "$ref": "#/$defs/bot-management_sbfm_likely_automated_turned_on" + }, + "sbfm_static_resource_protection": { + "$ref": "#/$defs/bot-management_sbfm_static_resource_protection_turned_on" + }, + "sbfm_verified_bots": { + "$ref": "#/$defs/bot-management_sbfm_verified_bots_turned_on" + }, + "suppress_session_score": { + "$ref": "#/$defs/bot-management_suppress_session_score_turned_off" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `bot-management_bot_management_response_body` in responses. + */ +export const bot_management_bot_management_response_body_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/bot-management_messages" + }, + "messages": { + "$ref": "#/$defs/bot-management_messages" + }, + "result": { + "$ref": "#/$defs/bot-management_bot_management_response_body_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `bot-management_bot_management_response_body_result` in + * responses. + */ +export const bot_management_bot_management_response_body_result_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/bot-management_bot_fight_mode_config" + }, + { + "$ref": "#/$defs/bot-management_sbfm_definitely_config" + }, + { + "$ref": "#/$defs/bot-management_sbfm_likely_config" + }, + { + "$ref": "#/$defs/bot-management_bm_subscription_config" + } + ] +}; + +/** + * The schema of `bot-management_bot_preference_sync_enabled` in responses. + */ +export const bot_management_bot_preference_sync_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_cf_robots_variant` in responses. + */ +export const bot_management_cf_robots_variant_output: JsonSchema = { + "enum": [ + "off", + "policy_only" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_content_bots_protection` in responses. + */ +export const bot_management_content_bots_protection_output: JsonSchema = { + "enum": [ + "block", + "disabled" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_crawler_protection` in responses. + */ +export const bot_management_crawler_protection_output: JsonSchema = { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_enable_js` in responses. + */ +export const bot_management_enable_js_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_fight_mode` in responses. + */ +export const bot_management_fight_mode_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_fight_mode_turned_on` in responses. + */ +export const bot_management_fight_mode_turned_on_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_is_robots_txt_managed` in responses. + */ +export const bot_management_is_robots_txt_managed_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_jsd_api_results_enabled` in responses. + */ +export const bot_management_jsd_api_results_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_messages` in responses. + */ +export const bot_management_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `bot-management_optimize_wordpress` in responses. + */ +export const bot_management_optimize_wordpress_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_optimize_wordpress_turned_on` in responses. + */ +export const bot_management_optimize_wordpress_turned_on_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_sbfm_definitely_automated` in responses. + */ +export const bot_management_sbfm_definitely_automated_output: JsonSchema = { + "enum": [ + "allow", + "block", + "managed_challenge" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_sbfm_definitely_automated_turned_on` in + * responses. + */ +export const bot_management_sbfm_definitely_automated_turned_on_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bot-management_sbfm_definitely_config` in responses. + */ +export const bot_management_sbfm_definitely_config_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/bot-management_base_config" + }, + { + "properties": { + "optimize_wordpress": { + "$ref": "#/$defs/bot-management_optimize_wordpress" + }, + "sbfm_definitely_automated": { + "$ref": "#/$defs/bot-management_sbfm_definitely_automated" + }, + "sbfm_static_resource_protection": { + "$ref": "#/$defs/bot-management_sbfm_static_resource_protection" + }, + "sbfm_verified_bots": { + "$ref": "#/$defs/bot-management_sbfm_verified_bots" + }, + "stale_zone_configuration": { + "properties": { + "fight_mode": { + "$ref": "#/$defs/bot-management_fight_mode_turned_on" + }, + "sbfm_likely_automated": { + "$ref": "#/$defs/bot-management_sbfm_likely_automated_turned_on" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `bot-management_sbfm_likely_automated` in responses. + */ +export const bot_management_sbfm_likely_automated_output: JsonSchema = { + "enum": [ + "allow", + "block", + "managed_challenge" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_sbfm_likely_automated_turned_on` in responses. + */ +export const bot_management_sbfm_likely_automated_turned_on_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bot-management_sbfm_likely_config` in responses. + */ +export const bot_management_sbfm_likely_config_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/bot-management_base_config" + }, + { + "properties": { + "optimize_wordpress": { + "$ref": "#/$defs/bot-management_optimize_wordpress" + }, + "sbfm_definitely_automated": { + "$ref": "#/$defs/bot-management_sbfm_definitely_automated" + }, + "sbfm_likely_automated": { + "$ref": "#/$defs/bot-management_sbfm_likely_automated" + }, + "sbfm_static_resource_protection": { + "$ref": "#/$defs/bot-management_sbfm_static_resource_protection" + }, + "sbfm_verified_bots": { + "$ref": "#/$defs/bot-management_sbfm_verified_bots" + }, + "stale_zone_configuration": { + "properties": { + "fight_mode": { + "$ref": "#/$defs/bot-management_fight_mode_turned_on" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `bot-management_sbfm_static_resource_protection` in responses. + */ +export const bot_management_sbfm_static_resource_protection_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_sbfm_static_resource_protection_turned_on` in + * responses. + */ +export const bot_management_sbfm_static_resource_protection_turned_on_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bot-management_sbfm_verified_bots` in responses. + */ +export const bot_management_sbfm_verified_bots_output: JsonSchema = { + "enum": [ + "allow", + "block" + ], + "type": "string" +}; + +/** + * The schema of `bot-management_sbfm_verified_bots_turned_on` in responses. + */ +export const bot_management_sbfm_verified_bots_turned_on_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bot-management_suppress_session_score` in responses. + */ +export const bot_management_suppress_session_score_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_suppress_session_score_turned_off` in + * responses. + */ +export const bot_management_suppress_session_score_turned_off_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bot-management_using_latest_model` in responses. + */ +export const bot_management_using_latest_model_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/botManagement/tools.ts b/src/generated/forge-mcp/botManagement/tools.ts index d0ad2940..1c2ef92f 100644 --- a/src/generated/forge-mcp/botManagement/tools.ts +++ b/src/generated/forge-mcp/botManagement/tools.ts @@ -2,6 +2,46 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + bot_management_ai_bots_migration_opt_out_output, + bot_management_ai_bots_protection_output, + bot_management_ai_search_output, + bot_management_ai_training_output, + bot_management_ai_user_output, + bot_management_api_response_common_failure_output, + bot_management_auto_update_model_output, + bot_management_base_config_output, + bot_management_bm_cookie_enabled_output, + bot_management_bm_subscription_config_output, + bot_management_bot_fight_mode_config_output, + bot_management_bot_management_response_body_output, + bot_management_bot_management_response_body_result_output, + bot_management_bot_preference_sync_enabled_output, + bot_management_cf_robots_variant_output, + bot_management_content_bots_protection_output, + bot_management_crawler_protection_output, + bot_management_enable_js_output, + bot_management_fight_mode_output, + bot_management_fight_mode_turned_on_output, + bot_management_is_robots_txt_managed_output, + bot_management_jsd_api_results_enabled_output, + bot_management_messages_output, + bot_management_optimize_wordpress_output, + bot_management_optimize_wordpress_turned_on_output, + bot_management_sbfm_definitely_automated_output, + bot_management_sbfm_definitely_automated_turned_on_output, + bot_management_sbfm_definitely_config_output, + bot_management_sbfm_likely_automated_output, + bot_management_sbfm_likely_automated_turned_on_output, + bot_management_sbfm_likely_config_output, + bot_management_sbfm_static_resource_protection_output, + bot_management_sbfm_static_resource_protection_turned_on_output, + bot_management_sbfm_verified_bots_output, + bot_management_sbfm_verified_bots_turned_on_output, + bot_management_suppress_session_score_output, + bot_management_suppress_session_score_turned_off_output, + bot_management_using_latest_model_output, +} from "./outputs.js"; import { bot_management_ai_bots_migration_opt_out, bot_management_ai_bots_protection, @@ -73,6 +113,76 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/bot-management_bot_fight_mode_config" + }, + { + "$ref": "#/$defs/bot-management_sbfm_definitely_config" + }, + { + "$ref": "#/$defs/bot-management_sbfm_likely_config" + }, + { + "$ref": "#/$defs/bot-management_bm_subscription_config" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/bot-management_bot_management_response_body" + }, + { + "$ref": "#/$defs/bot-management_api-response-common-failure" + } + ] + } + }, + $defs: { + "bot-management_ai_bots_migration_opt_out": bot_management_ai_bots_migration_opt_out_output, + "bot-management_ai_bots_protection": bot_management_ai_bots_protection_output, + "bot-management_ai_search": bot_management_ai_search_output, + "bot-management_ai_training": bot_management_ai_training_output, + "bot-management_ai_user": bot_management_ai_user_output, + "bot-management_api-response-common-failure": bot_management_api_response_common_failure_output, + "bot-management_auto_update_model": bot_management_auto_update_model_output, + "bot-management_base_config": bot_management_base_config_output, + "bot-management_bm_cookie_enabled": bot_management_bm_cookie_enabled_output, + "bot-management_bm_subscription_config": bot_management_bm_subscription_config_output, + "bot-management_bot_fight_mode_config": bot_management_bot_fight_mode_config_output, + "bot-management_bot_management_response_body": bot_management_bot_management_response_body_output, + "bot-management_bot_management_response_body_result": bot_management_bot_management_response_body_result_output, + "bot-management_bot_preference_sync_enabled": bot_management_bot_preference_sync_enabled_output, + "bot-management_cf_robots_variant": bot_management_cf_robots_variant_output, + "bot-management_content_bots_protection": bot_management_content_bots_protection_output, + "bot-management_crawler_protection": bot_management_crawler_protection_output, + "bot-management_enable_js": bot_management_enable_js_output, + "bot-management_fight_mode": bot_management_fight_mode_output, + "bot-management_fight_mode_turned_on": bot_management_fight_mode_turned_on_output, + "bot-management_is_robots_txt_managed": bot_management_is_robots_txt_managed_output, + "bot-management_jsd_api_results_enabled": bot_management_jsd_api_results_enabled_output, + "bot-management_messages": bot_management_messages_output, + "bot-management_optimize_wordpress": bot_management_optimize_wordpress_output, + "bot-management_optimize_wordpress_turned_on": bot_management_optimize_wordpress_turned_on_output, + "bot-management_sbfm_definitely_automated": bot_management_sbfm_definitely_automated_output, + "bot-management_sbfm_definitely_automated_turned_on": bot_management_sbfm_definitely_automated_turned_on_output, + "bot-management_sbfm_definitely_config": bot_management_sbfm_definitely_config_output, + "bot-management_sbfm_likely_automated": bot_management_sbfm_likely_automated_output, + "bot-management_sbfm_likely_automated_turned_on": bot_management_sbfm_likely_automated_turned_on_output, + "bot-management_sbfm_likely_config": bot_management_sbfm_likely_config_output, + "bot-management_sbfm_static_resource_protection": bot_management_sbfm_static_resource_protection_output, + "bot-management_sbfm_static_resource_protection_turned_on": bot_management_sbfm_static_resource_protection_turned_on_output, + "bot-management_sbfm_verified_bots": bot_management_sbfm_verified_bots_output, + "bot-management_sbfm_verified_bots_turned_on": bot_management_sbfm_verified_bots_turned_on_output, + "bot-management_suppress_session_score": bot_management_suppress_session_score_output, + "bot-management_suppress_session_score_turned_off": bot_management_suppress_session_score_turned_off_output, + "bot-management_using_latest_model": bot_management_using_latest_model_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/bot_management`, }), @@ -146,6 +256,76 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/bot-management_bot_fight_mode_config" + }, + { + "$ref": "#/$defs/bot-management_sbfm_definitely_config" + }, + { + "$ref": "#/$defs/bot-management_sbfm_likely_config" + }, + { + "$ref": "#/$defs/bot-management_bm_subscription_config" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/bot-management_bot_management_response_body" + }, + { + "$ref": "#/$defs/bot-management_api-response-common-failure" + } + ] + } + }, + $defs: { + "bot-management_ai_bots_migration_opt_out": bot_management_ai_bots_migration_opt_out_output, + "bot-management_ai_bots_protection": bot_management_ai_bots_protection_output, + "bot-management_ai_search": bot_management_ai_search_output, + "bot-management_ai_training": bot_management_ai_training_output, + "bot-management_ai_user": bot_management_ai_user_output, + "bot-management_api-response-common-failure": bot_management_api_response_common_failure_output, + "bot-management_auto_update_model": bot_management_auto_update_model_output, + "bot-management_base_config": bot_management_base_config_output, + "bot-management_bm_cookie_enabled": bot_management_bm_cookie_enabled_output, + "bot-management_bm_subscription_config": bot_management_bm_subscription_config_output, + "bot-management_bot_fight_mode_config": bot_management_bot_fight_mode_config_output, + "bot-management_bot_management_response_body": bot_management_bot_management_response_body_output, + "bot-management_bot_management_response_body_result": bot_management_bot_management_response_body_result_output, + "bot-management_bot_preference_sync_enabled": bot_management_bot_preference_sync_enabled_output, + "bot-management_cf_robots_variant": bot_management_cf_robots_variant_output, + "bot-management_content_bots_protection": bot_management_content_bots_protection_output, + "bot-management_crawler_protection": bot_management_crawler_protection_output, + "bot-management_enable_js": bot_management_enable_js_output, + "bot-management_fight_mode": bot_management_fight_mode_output, + "bot-management_fight_mode_turned_on": bot_management_fight_mode_turned_on_output, + "bot-management_is_robots_txt_managed": bot_management_is_robots_txt_managed_output, + "bot-management_jsd_api_results_enabled": bot_management_jsd_api_results_enabled_output, + "bot-management_messages": bot_management_messages_output, + "bot-management_optimize_wordpress": bot_management_optimize_wordpress_output, + "bot-management_optimize_wordpress_turned_on": bot_management_optimize_wordpress_turned_on_output, + "bot-management_sbfm_definitely_automated": bot_management_sbfm_definitely_automated_output, + "bot-management_sbfm_definitely_automated_turned_on": bot_management_sbfm_definitely_automated_turned_on_output, + "bot-management_sbfm_definitely_config": bot_management_sbfm_definitely_config_output, + "bot-management_sbfm_likely_automated": bot_management_sbfm_likely_automated_output, + "bot-management_sbfm_likely_automated_turned_on": bot_management_sbfm_likely_automated_turned_on_output, + "bot-management_sbfm_likely_config": bot_management_sbfm_likely_config_output, + "bot-management_sbfm_static_resource_protection": bot_management_sbfm_static_resource_protection_output, + "bot-management_sbfm_static_resource_protection_turned_on": bot_management_sbfm_static_resource_protection_turned_on_output, + "bot-management_sbfm_verified_bots": bot_management_sbfm_verified_bots_output, + "bot-management_sbfm_verified_bots_turned_on": bot_management_sbfm_verified_bots_turned_on_output, + "bot-management_suppress_session_score": bot_management_suppress_session_score_output, + "bot-management_suppress_session_score_turned_off": bot_management_suppress_session_score_turned_off_output, + "bot-management_using_latest_model": bot_management_using_latest_model_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/bot_management`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/botnetFeed/asn/tools.ts b/src/generated/forge-mcp/botnetFeed/asn/tools.ts index 6e1950a2..97b65764 100644 --- a/src/generated/forge-mcp/botnetFeed/asn/tools.ts +++ b/src/generated/forge-mcp/botnetFeed/asn/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../outputs.js"; import { dos_timestamp } from "./schemas.js"; /** @@ -49,6 +53,32 @@ export const tools: readonly Tool[] = [ "DDoS Botnet Feed Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "cidr": { + "type": "string" + }, + "date": { + "format": "date-time", + "type": "string" + }, + "offense_count": { + "type": "integer" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/botnet_feed/asn/${pathParam(args, "asn_id")}/day_report`, query: [ @@ -91,6 +121,32 @@ export const tools: readonly Tool[] = [ "DDoS Botnet Feed Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "cidr": { + "type": "string" + }, + "date": { + "format": "date-time", + "type": "string" + }, + "offense_count": { + "type": "integer" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/botnet_feed/asn/${pathParam(args, "asn_id")}/full_report`, }), diff --git a/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts b/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts index f8d5740b..b173bbeb 100644 --- a/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts +++ b/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../outputs.js"; /** * The tools of `botnet_feed.configs.asn`. @@ -41,6 +45,25 @@ export const tools: readonly Tool[] = [ "DDoS Botnet Feed Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "asn": { + "type": "integer" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/botnet_feed/configs/asn/${pathParam(args, "asn_id")}`, }), @@ -76,6 +99,25 @@ export const tools: readonly Tool[] = [ "DDoS Botnet Feed Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "asn": { + "type": "integer" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/botnet_feed/configs/asn`, }), diff --git a/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts b/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts index 57658c7f..be178420 100644 --- a/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts +++ b/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts @@ -70,6 +70,95 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "matches": { + "items": { + "properties": { + "content_type": { + "type": "string" + }, + "domain": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "integer" + }, + "image_data": { + "type": "string" + }, + "matched_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "query_id": { + "type": "integer" + }, + "registrar": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "similarity_score": { + "type": "number" + }, + "url_scan_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "domain", + "id", + "matched_at", + "query_id", + "registrar", + "similarity_score", + "url_scan_id" + ], + "type": "object" + }, + "type": "array" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "matches", + "total" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/logo/matches`, query: [ diff --git a/src/generated/forge-mcp/brandProtection/logos/tools.ts b/src/generated/forge-mcp/brandProtection/logos/tools.ts index 6e014302..265b06ec 100644 --- a/src/generated/forge-mcp/brandProtection/logos/tools.ts +++ b/src/generated/forge-mcp/brandProtection/logos/tools.ts @@ -63,6 +63,29 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + }, + "query_id": { + "type": "integer" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "message", + "success" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/logo/queries`, body: { value: args["body"], mediaType: "application/json" }, @@ -101,6 +124,26 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "message", + "success" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/logo/queries/${pathParam(args, "query_id")}`, }), @@ -143,6 +186,54 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "content_type": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "image_data": { + "type": "string" + }, + "r2_path": { + "type": "string" + }, + "similarity_threshold": { + "type": "number" + }, + "tag": { + "type": "string" + }, + "uploaded_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "r2_path", + "similarity_threshold", + "tag", + "uploaded_at" + ], + "type": "object" + }, + "type": "array" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/logo/queries`, query: [ diff --git a/src/generated/forge-mcp/brandProtection/matches/tools.ts b/src/generated/forge-mcp/brandProtection/matches/tools.ts index 73132da6..57b7921a 100644 --- a/src/generated/forge-mcp/brandProtection/matches/tools.ts +++ b/src/generated/forge-mcp/brandProtection/matches/tools.ts @@ -79,6 +79,101 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "properties": { + "result": { + "properties": { + "results": { + "items": { + "properties": { + "domain_id": { + "type": "integer" + }, + "error": { + "type": "string" + }, + "query_id": { + "type": "integer" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "domain_id", + "query_id", + "success" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "results" + ], + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "result", + "success" + ], + "type": "object" + }, + { + "properties": { + "result": { + "properties": { + "results": { + "items": { + "properties": { + "error": { + "type": "string" + }, + "match_id": { + "type": "integer" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "match_id", + "success" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "results" + ], + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "result", + "success" + ], + "type": "object" + } + ] + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/domain/matches/bulk-dismiss`, body: { value: args["body"], mediaType: "application/json" }, @@ -157,6 +252,133 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "matches": { + "items": { + "properties": { + "dismissed": { + "type": "boolean" + }, + "domain": { + "type": "string" + }, + "first_seen": { + "type": "string" + }, + "match_details": { + "items": { + "properties": { + "dismissed": { + "type": "boolean" + }, + "match_id": { + "type": "integer" + }, + "query_id": { + "type": "integer" + }, + "query_tag": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "dismissed", + "match_id", + "query_id", + "query_tag" + ], + "type": "object" + }, + "type": "array" + }, + "public_scans": { + "oneOf": [ + { + "properties": { + "submission_id": { + "type": "string" + } + }, + "required": [ + "submission_id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "registrar": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "scan_status": { + "type": "string" + }, + "scan_submission_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "domain", + "first_seen", + "public_scans", + "registrar", + "scan_status", + "scan_submission_id", + "source" + ], + "type": "object" + }, + "type": "array" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "matches", + "total" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/domain/matches`, query: [ diff --git a/src/generated/forge-mcp/brandProtection/queries/tools.ts b/src/generated/forge-mcp/brandProtection/queries/tools.ts index cbc1df5c..a1e6c690 100644 --- a/src/generated/forge-mcp/brandProtection/queries/tools.ts +++ b/src/generated/forge-mcp/brandProtection/queries/tools.ts @@ -44,6 +44,30 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "dismissed": { + "type": "boolean" + }, + "domain_id": { + "type": "integer" + }, + "query_id": { + "type": "integer" + } + }, + "required": [ + "dismissed", + "domain_id", + "query_id" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/queries/${pathParam(args, "query_id")}/matches/${pathParam(args, "domain_id")}/dismiss`, }), @@ -89,6 +113,175 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "anyOf": [ + { + "items": { + "properties": { + "created": { + "type": "string" + }, + "parameters": { + "oneOf": [ + { + "properties": { + "max_time": { + "type": "string" + }, + "min_time": { + "type": "string" + }, + "string_matches": { + "items": { + "properties": { + "pattern": { + "type": "string" + } + }, + "required": [ + "pattern" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "string_matches" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "query_id": { + "type": "integer" + }, + "query_tag": { + "type": "string" + }, + "scan": { + "type": "boolean" + }, + "updated": { + "type": "string" + } + }, + "required": [ + "created", + "parameters", + "query_id", + "query_tag", + "scan", + "updated" + ], + "type": "object" + }, + "type": "array" + }, + { + "properties": { + "created": { + "type": "string" + }, + "parameters": { + "oneOf": [ + { + "properties": { + "max_time": { + "type": "string" + }, + "min_time": { + "type": "string" + }, + "string_matches": { + "items": { + "properties": { + "pattern": { + "type": "string" + } + }, + "required": [ + "pattern" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "string_matches" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "query_id": { + "type": "integer" + }, + "query_tag": { + "type": "string" + }, + "scan": { + "type": "boolean" + }, + "updated": { + "type": "string" + } + }, + "required": [ + "created", + "parameters", + "query_id", + "query_tag", + "scan", + "updated" + ], + "type": "object" + } + ] + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/domain/queries`, query: [ @@ -135,6 +328,30 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "dismissed": { + "type": "boolean" + }, + "domain_id": { + "type": "integer" + }, + "query_id": { + "type": "integer" + } + }, + "required": [ + "dismissed", + "domain_id", + "query_id" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/queries/${pathParam(args, "query_id")}/matches/${pathParam(args, "domain_id")}/undismiss`, }), diff --git a/src/generated/forge-mcp/brandProtection/tools.ts b/src/generated/forge-mcp/brandProtection/tools.ts index 5ffe9280..a872e7c1 100644 --- a/src/generated/forge-mcp/brandProtection/tools.ts +++ b/src/generated/forge-mcp/brandProtection/tools.ts @@ -66,6 +66,66 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "matches": { + "items": { + "properties": { + "account_id": { + "type": "string" + }, + "content_type": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "image_data": { + "type": "string" + }, + "query_id": { + "type": "integer" + }, + "r2_path": { + "type": "string" + }, + "similarity_score": { + "type": "number" + }, + "similarity_threshold": { + "type": "number" + }, + "tag": { + "type": "string" + }, + "timestamp": { + "type": "number" + }, + "url_scan_id": { + "type": "string" + }, + "vector_id": { + "type": "string" + } + }, + "required": [ + "similarity_score" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "matches" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/logo/search`, query: [ @@ -105,6 +165,25 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "total_queries": { + "type": "integer" + } + }, + "required": [ + "total_queries" + ], + "type": "object" + }, + "type": "array" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/total-queries`, }), diff --git a/src/generated/forge-mcp/brandProtection/trial/tools.ts b/src/generated/forge-mcp/brandProtection/trial/tools.ts index 967291a3..ded84635 100644 --- a/src/generated/forge-mcp/brandProtection/trial/tools.ts +++ b/src/generated/forge-mcp/brandProtection/trial/tools.ts @@ -47,6 +47,64 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "matches": { + "items": { + "properties": { + "confidence": { + "type": "number" + }, + "domain": { + "type": "string" + }, + "domain_id": { + "type": "integer" + }, + "first_seen": { + "format": "date-time", + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "confidence", + "domain", + "domain_id", + "first_seen", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "total_analyzed": { + "type": "number" + }, + "total_matches": { + "type": "number" + }, + "truncated": { + "type": "boolean" + } + }, + "required": [ + "matches", + "total_analyzed", + "total_matches", + "truncated" + ], + "type": "object" + }, + "403": null, + "502": null, + "503": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/domain/trial`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/brands/patterns/tools.ts b/src/generated/forge-mcp/brands/patterns/tools.ts index 956cf4f2..34f276a2 100644 --- a/src/generated/forge-mcp/brands/patterns/tools.ts +++ b/src/generated/forge-mcp/brands/patterns/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { brand_protection_api_Error_output } from "../../outputs.js"; /** * The tools of `brands.patterns`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands/patterns`, }), @@ -69,6 +80,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands/patterns`, }), @@ -103,6 +124,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands/patterns`, }), diff --git a/src/generated/forge-mcp/brands/tools.ts b/src/generated/forge-mcp/brands/tools.ts index 43648861..42296593 100644 --- a/src/generated/forge-mcp/brands/tools.ts +++ b/src/generated/forge-mcp/brands/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `brands`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands`, }), @@ -69,6 +80,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands`, }), @@ -103,6 +124,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands`, }), diff --git a/src/generated/forge-mcp/browserRun/crawl/tools.ts b/src/generated/forge-mcp/browserRun/crawl/tools.ts index 5cfcd17f..e7a1e529 100644 --- a/src/generated/forge-mcp/browserRun/crawl/tools.ts +++ b/src/generated/forge-mcp/browserRun/crawl/tools.ts @@ -746,6 +746,100 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/crawl`, query: [ @@ -803,6 +897,112 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "job_id": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "job_id", + "message" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/crawl/${pathParam(args, "job_id")}`, }), @@ -887,6 +1087,229 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "browserSecondsUsed": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "finished": { + "type": "number" + }, + "id": { + "type": "string" + }, + "records": { + "items": { + "properties": { + "html": { + "type": "string" + }, + "json": { + "additionalProperties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "markdown": { + "type": "string" + }, + "metadata": { + "properties": { + "lastModified": { + "type": "string" + }, + "og:description": { + "type": "string" + }, + "og:image": { + "type": "string" + }, + "og:site_name": { + "type": "string" + }, + "og:title": { + "type": "string" + }, + "og:type": { + "type": "string" + }, + "status": { + "type": "number" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "status", + "url" + ], + "type": "object" + }, + "outcome": { + "enum": [ + "success", + "robots_disallowed", + "crawl_purpose_disallowed", + "content_use_disallowed", + "connection_error", + "timeout", + "browser_unavailable", + "format_generation_error", + "unsupported_content_type", + "unclassified_error", + "page_error", + "too_large" + ], + "type": "string" + }, + "status": { + "enum": [ + "queued", + "errored", + "completed", + "disallowed", + "skipped", + "cancelled" + ], + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "status", + "url" + ], + "type": "object" + }, + "type": "array" + }, + "robots": { + "items": { + "properties": { + "origin": { + "type": "string" + }, + "state": { + "enum": [ + "available", + "absent", + "fetch_failed" + ], + "type": "string" + }, + "status": { + "type": "number" + } + }, + "required": [ + "origin", + "state" + ], + "type": "object" + }, + "maxItems": 50, + "type": "array" + }, + "skipped": { + "type": "number" + }, + "status": { + "type": "string" + }, + "total": { + "type": "number" + } + }, + "required": [ + "browserSecondsUsed", + "finished", + "id", + "records", + "robots", + "skipped", + "status", + "total" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/crawl/${pathParam(args, "job_id")}`, query: [ diff --git a/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts b/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts index 6a097eed..77599a4d 100644 --- a/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts @@ -99,6 +99,147 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "devtoolsFrontendUrl": { + "type": "string" + }, + "id": { + "type": "string" + }, + "options": { + "properties": { + "guardrails": { + "properties": { + "mode": { + "enum": [ + "readonly" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + "mode": { + "enum": [ + "devtools", + "tab", + "full" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + "webSocketDebuggerUrl": { + "type": "string" + } + }, + "required": [ + "devtoolsFrontendUrl", + "id", + "options", + "webSocketDebuggerUrl" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/live_view`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts b/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts index e2afb5c8..743d136c 100644 --- a/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts @@ -66,6 +66,108 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json/activate/${pathParam(args, "target_id")}`, }), @@ -129,6 +231,108 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json/close/${pathParam(args, "target_id")}`, }), @@ -191,6 +395,99 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "description": { + "type": "string" + }, + "devtoolsFrontendUrl": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "webSocketDebuggerUrl": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "url" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json/new`, query: [ @@ -258,6 +555,128 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "description": { + "type": "string" + }, + "devtoolsFrontendUrl": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "webSocketDebuggerUrl": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "url" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json/list/${pathParam(args, "target_id")}`, }), @@ -321,6 +740,102 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "description": { + "type": "string" + }, + "devtoolsFrontendUrl": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "webSocketDebuggerUrl": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "url" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json/list`, query: [ diff --git a/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts b/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts index fc87d373..97de67f0 100644 --- a/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts @@ -104,6 +104,53 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "sessionId": { + "type": "string" + }, + "webSocketDebuggerUrl": { + "type": "string" + } + }, + "required": [ + "sessionId" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "status": { + "type": "boolean" + } + }, + "required": [ + "status" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser`, query: [ @@ -166,6 +213,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "status": { + "enum": [ + "closing", + "closed" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}`, }), @@ -224,6 +291,162 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "domains": { + "items": { + "properties": { + "commands": { + "items": { + "additionalProperties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "type": "array" + }, + "dependencies": { + "items": { + "type": "string" + }, + "type": "array" + }, + "domain": { + "type": "string" + }, + "events": { + "items": { + "additionalProperties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "type": "array" + }, + "experimental": { + "type": "boolean" + }, + "types": { + "items": { + "additionalProperties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "domain" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "properties": { + "major": { + "type": "string" + }, + "minor": { + "type": "string" + } + }, + "required": [ + "major", + "minor" + ], + "type": "object" + } + }, + "required": [ + "domains" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json/protocol`, }), @@ -282,6 +505,99 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "Browser": { + "type": "string" + }, + "Protocol-Version": { + "type": "string" + }, + "User-Agent": { + "type": "string" + }, + "V8-Version": { + "type": "string" + }, + "WebKit-Version": { + "type": "string" + }, + "webSocketDebuggerUrl": { + "type": "string" + } + }, + "required": [ + "Browser", + "Protocol-Version", + "User-Agent", + "V8-Version", + "WebKit-Version", + "webSocketDebuggerUrl" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json/version`, }), diff --git a/src/generated/forge-mcp/browserRun/devtools/json/tools.ts b/src/generated/forge-mcp/browserRun/devtools/json/tools.ts index 805feba8..3e11e765 100644 --- a/src/generated/forge-mcp/browserRun/devtools/json/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/json/tools.ts @@ -66,6 +66,102 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "description": { + "type": "string" + }, + "devtoolsFrontendUrl": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "webSocketDebuggerUrl": { + "type": "string" + } + }, + "required": [ + "id", + "type", + "url" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json`, query: [ diff --git a/src/generated/forge-mcp/browserRun/devtools/session/tools.ts b/src/generated/forge-mcp/browserRun/devtools/session/tools.ts index 89dcd898..6273599a 100644 --- a/src/generated/forge-mcp/browserRun/devtools/session/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/session/tools.ts @@ -61,6 +61,60 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "closeReason": { + "type": "number" + }, + "closeReasonText": { + "type": "string" + }, + "connectionEndTime": { + "type": "number" + }, + "connectionId": { + "type": "string" + }, + "connectionStartTime": { + "type": "number" + }, + "devtoolsFrontendUrl": { + "type": "string" + }, + "endTime": { + "type": "number" + }, + "lastUpdated": { + "type": "number" + }, + "sessionId": { + "format": "uuid", + "type": "string" + }, + "startTime": { + "type": "number" + }, + "webSocketDebuggerUrl": { + "type": "string" + } + }, + "required": [ + "sessionId" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/session/${pathParam(args, "session_id")}`, }), @@ -121,6 +175,57 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "closeReason": { + "type": "number" + }, + "closeReasonText": { + "type": "string" + }, + "connectionEndTime": { + "type": "number" + }, + "connectionId": { + "type": "string" + }, + "connectionStartTime": { + "type": "number" + }, + "devtoolsFrontendUrl": { + "type": "string" + }, + "endTime": { + "type": "number" + }, + "lastUpdated": { + "type": "number" + }, + "sessionId": { + "format": "uuid", + "type": "string" + }, + "startTime": { + "type": "number" + }, + "webSocketDebuggerUrl": { + "type": "string" + } + }, + "required": [ + "sessionId" + ], + "type": "object" + }, + "type": "array" + }, + "400": null, + "500": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/session`, query: [ diff --git a/src/generated/forge-mcp/browserRun/quickAction/outputs.ts b/src/generated/forge-mcp/browserRun/quickAction/outputs.ts new file mode 100644 index 00000000..08a2e544 --- /dev/null +++ b/src/generated/forge-mcp/browserRun/quickAction/outputs.ts @@ -0,0 +1,145 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `brapi_SerializedAXNode` in responses. + */ +export const brapi_SerializedAXNode_output: JsonSchema = { + "properties": { + "autocomplete": { + "type": "string" + }, + "checked": { + "$ref": "#/$defs/brapi_SerializedAXNode_checked" + }, + "children": { + "items": { + "type": "object" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "expanded": { + "type": "boolean" + }, + "focused": { + "type": "boolean" + }, + "haspopup": { + "type": "string" + }, + "invalid": { + "type": "string" + }, + "keyshortcuts": { + "type": "string" + }, + "level": { + "type": "number" + }, + "modal": { + "type": "boolean" + }, + "multiline": { + "type": "boolean" + }, + "multiselectable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "pressed": { + "$ref": "#/$defs/brapi_SerializedAXNode_pressed" + }, + "readonly": { + "type": "boolean" + }, + "required": { + "type": "boolean" + }, + "role": { + "type": "string" + }, + "roledescription": { + "type": "string" + }, + "selected": { + "type": "boolean" + }, + "value": { + "$ref": "#/$defs/brapi_SerializedAXNode_value" + }, + "valuemax": { + "type": "number" + }, + "valuemin": { + "type": "number" + }, + "valuetext": { + "type": "string" + } + }, + "required": [ + "role" + ], + "type": "object" +}; + +/** + * The schema of `brapi_SerializedAXNode_checked` in responses. + */ +export const brapi_SerializedAXNode_checked_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "enum": [ + "mixed" + ], + "type": "string" + } + ] +}; + +/** + * The schema of `brapi_SerializedAXNode_pressed` in responses. + */ +export const brapi_SerializedAXNode_pressed_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "enum": [ + "mixed" + ], + "type": "string" + } + ] +}; + +/** + * The schema of `brapi_SerializedAXNode_value` in responses. + */ +export const brapi_SerializedAXNode_value_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] +}; diff --git a/src/generated/forge-mcp/browserRun/quickAction/tools.ts b/src/generated/forge-mcp/browserRun/quickAction/tools.ts index 4566ade3..0fe6c723 100644 --- a/src/generated/forge-mcp/browserRun/quickAction/tools.ts +++ b/src/generated/forge-mcp/browserRun/quickAction/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + brapi_SerializedAXNode_checked_output, + brapi_SerializedAXNode_output, + brapi_SerializedAXNode_pressed_output, + brapi_SerializedAXNode_value_output, +} from "./outputs.js"; /** * The tools of `browser_run.quick_action`. @@ -443,6 +449,143 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "accessibilityTree": { + "$ref": "#/$defs/brapi_SerializedAXNode" + } + }, + "required": [ + "accessibilityTree" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + $defs: { + "brapi_SerializedAXNode": brapi_SerializedAXNode_output, + "brapi_SerializedAXNode_checked": brapi_SerializedAXNode_checked_output, + "brapi_SerializedAXNode_pressed": brapi_SerializedAXNode_pressed_output, + "brapi_SerializedAXNode_value": brapi_SerializedAXNode_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/accessibilityTree`, query: [ @@ -882,6 +1025,129 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/content`, query: [ @@ -1366,6 +1632,142 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "rawAiResponse": { + "type": "string" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/json`, query: [ @@ -1813,6 +2215,143 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/links`, query: [ @@ -2252,6 +2791,129 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/markdown`, query: [ @@ -2841,6 +3503,127 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": null, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/pdf`, query: [ @@ -3298,6 +4081,202 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "results": { + "properties": { + "attributes": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "height": { + "type": "number" + }, + "html": { + "type": "string" + }, + "left": { + "type": "number" + }, + "text": { + "type": "string" + }, + "top": { + "type": "number" + }, + "width": { + "type": "number" + } + }, + "required": [ + "attributes", + "height", + "html", + "left", + "text", + "top", + "width" + ], + "type": "object" + }, + "selector": { + "type": "string" + } + }, + "required": [ + "results", + "selector" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/scrape`, query: [ @@ -3811,6 +4790,155 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/screenshot`, query: [ @@ -4325,6 +5453,149 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "accessibilityTree": { + "$ref": "#/$defs/brapi_SerializedAXNode" + }, + "content": { + "type": "string" + }, + "markdown": { + "type": "string" + }, + "screenshot": { + "type": "string" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "422": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + $defs: { + "brapi_SerializedAXNode": brapi_SerializedAXNode_output, + "brapi_SerializedAXNode_checked": brapi_SerializedAXNode_checked_output, + "brapi_SerializedAXNode_pressed": brapi_SerializedAXNode_pressed_output, + "brapi_SerializedAXNode_value": brapi_SerializedAXNode_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/snapshot`, query: [ diff --git a/src/generated/forge-mcp/browserRun/recording/network/tools.ts b/src/generated/forge-mcp/browserRun/recording/network/tools.ts index 67933d28..5eb6f2b8 100644 --- a/src/generated/forge-mcp/browserRun/recording/network/tools.ts +++ b/src/generated/forge-mcp/browserRun/recording/network/tools.ts @@ -69,6 +69,81 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/recording/${pathParam(args, "session_id")}/network`, query: [ diff --git a/src/generated/forge-mcp/browserRun/recording/tools.ts b/src/generated/forge-mcp/browserRun/recording/tools.ts index 7ea3745f..ddf1ce6c 100644 --- a/src/generated/forge-mcp/browserRun/recording/tools.ts +++ b/src/generated/forge-mcp/browserRun/recording/tools.ts @@ -60,6 +60,132 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "duration": { + "type": "number" + }, + "events": { + "additionalProperties": { + "items": { + "additionalProperties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "type": "array" + }, + "type": "object" + }, + "sessionId": { + "type": "string" + } + }, + "required": [ + "duration", + "events", + "sessionId" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/recording/${pathParam(args, "session_id")}`, }), diff --git a/src/generated/forge-mcp/builds/deployHooks/outputs.ts b/src/generated/forge-mcp/builds/deployHooks/outputs.ts new file mode 100644 index 00000000..7439575d --- /dev/null +++ b/src/generated/forge-mcp/builds/deployHooks/outputs.ts @@ -0,0 +1,109 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `builds_DeployHookResponse` in responses. + */ +export const builds_DeployHookResponse_output: JsonSchema = { + "properties": { + "branch": { + "$ref": "#/$defs/builds_branch" + }, + "created_on": { + "$ref": "#/$defs/builds_created_on" + }, + "deploy_hook_name": { + "$ref": "#/$defs/builds_deploy_hook_name" + }, + "deploy_hook_uuid": { + "$ref": "#/$defs/builds_deploy_hook_uuid" + }, + "external_script_id": { + "$ref": "#/$defs/builds_external_script_id" + }, + "modified_on": { + "$ref": "#/$defs/builds_modified_on" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_DetailedDeployHookResponse` in responses. + */ +export const builds_DetailedDeployHookResponse_output: JsonSchema = { + "properties": { + "branch": { + "$ref": "#/$defs/builds_branch" + }, + "created_on": { + "$ref": "#/$defs/builds_created_on" + }, + "deploy_hook_name": { + "$ref": "#/$defs/builds_deploy_hook_name" + }, + "deploy_hook_uuid": { + "$ref": "#/$defs/builds_deploy_hook_uuid" + }, + "external_script_id": { + "$ref": "#/$defs/builds_external_script_id" + }, + "latest_build": { + "$ref": "#/$defs/builds_DetailedDeployHookResponse_latest_build" + }, + "modified_on": { + "$ref": "#/$defs/builds_modified_on" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_DetailedDeployHookResponse_latest_build` in responses. + */ +export const builds_DetailedDeployHookResponse_latest_build_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "created_on": { + "$ref": "#/$defs/builds_created_on" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `builds_TriggerDeployHookResponse` in responses. + */ +export const builds_TriggerDeployHookResponse_output: JsonSchema = { + "properties": { + "already_exists": { + "type": "boolean" + }, + "build_uuid": { + "$ref": "#/$defs/builds_build_uuid" + }, + "created_on": { + "$ref": "#/$defs/builds_created_on" + }, + "status": { + "$ref": "#/$defs/builds_BuildStatus" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_deploy_hook_uuid` in responses. + */ +export const builds_deploy_hook_uuid_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; diff --git a/src/generated/forge-mcp/builds/deployHooks/tools.ts b/src/generated/forge-mcp/builds/deployHooks/tools.ts index 8df1cee3..4117e657 100644 --- a/src/generated/forge-mcp/builds/deployHooks/tools.ts +++ b/src/generated/forge-mcp/builds/deployHooks/tools.ts @@ -2,11 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + builds_ApiError_output, + builds_BuildStatus_output, + builds_ErrorResponse_output, + builds_PaginationInfo_output, + builds_branch_output, + builds_build_uuid_output, + builds_created_on_output, + builds_deploy_hook_name_output, + builds_external_script_id_output, + builds_modified_on_output, +} from "../../outputs.js"; import { builds_account_id, builds_branch, builds_deploy_hook_name, } from "../../schemas.js"; +import { + builds_DeployHookResponse_output, + builds_DetailedDeployHookResponse_latest_build_output, + builds_DetailedDeployHookResponse_output, + builds_TriggerDeployHookResponse_output, + builds_deploy_hook_uuid_output, +} from "./outputs.js"; import { builds_CreateDeployHookRequest, builds_deploy_hook_uuid, @@ -63,6 +82,36 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_DeployHookResponse" + }, + "400": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_DeployHookResponse": builds_DeployHookResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_branch": builds_branch_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_name")}/deploy_hooks`, body: { value: args["body"], mediaType: "application/json" }, @@ -113,6 +162,30 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_DeployHookResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_DeployHookResponse": builds_DeployHookResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_branch": builds_branch_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_name")}/deploy_hooks/${pathParam(args, "deploy_hook_uuid")}`, }), @@ -163,6 +236,30 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_DeployHookResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_DeployHookResponse": builds_DeployHookResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_branch": builds_branch_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_name")}/deploy_hooks/${pathParam(args, "deploy_hook_uuid")}`, }), @@ -207,6 +304,43 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/builds_DetailedDeployHookResponse" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/builds_PaginationInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_DetailedDeployHookResponse": builds_DetailedDeployHookResponse_output, + "builds_DetailedDeployHookResponse_latest_build": builds_DetailedDeployHookResponse_latest_build_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_branch": builds_branch_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_name")}/deploy_hooks`, }), @@ -239,6 +373,27 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/workers/builds/deploy_hooks/{deploy_hook_uuid}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_TriggerDeployHookResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "429": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_BuildStatus": builds_BuildStatus_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_TriggerDeployHookResponse": builds_TriggerDeployHookResponse_output, + "builds_build_uuid": builds_build_uuid_output, + "builds_created_on": builds_created_on_output, + }, + }, request: (args) => ({ path: `/workers/builds/deploy_hooks/${pathParam(args, "deploy_hook_uuid")}`, }), @@ -295,6 +450,36 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_DeployHookResponse" + }, + "400": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_DeployHookResponse": builds_DeployHookResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_branch": builds_branch_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_name")}/deploy_hooks/${pathParam(args, "deploy_hook_uuid")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/builds/limits/outputs.ts b/src/generated/forge-mcp/builds/limits/outputs.ts new file mode 100644 index 00000000..531b8a4f --- /dev/null +++ b/src/generated/forge-mcp/builds/limits/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `builds_GetAccountLimitResponse` in responses. + */ +export const builds_GetAccountLimitResponse_output: JsonSchema = { + "properties": { + "build_minutes_refresh_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "has_reached_build_minutes_limit": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/builds/limits/tools.ts b/src/generated/forge-mcp/builds/limits/tools.ts index 4b590a03..a09ba7e1 100644 --- a/src/generated/forge-mcp/builds/limits/tools.ts +++ b/src/generated/forge-mcp/builds/limits/tools.ts @@ -2,7 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + builds_ApiError_output, + builds_ErrorResponse_output, +} from "../../outputs.js"; import { builds_account_id } from "../../schemas.js"; +import { builds_GetAccountLimitResponse_output } from "./outputs.js"; /** * The tools of `builds.limits`. @@ -42,6 +47,21 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_GetAccountLimitResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_GetAccountLimitResponse": builds_GetAccountLimitResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/account/limits`, }), diff --git a/src/generated/forge-mcp/builds/logs/outputs.ts b/src/generated/forge-mcp/builds/logs/outputs.ts new file mode 100644 index 00000000..4a926444 --- /dev/null +++ b/src/generated/forge-mcp/builds/logs/outputs.ts @@ -0,0 +1,44 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `builds_BuildLogsResponse` in responses. + */ +export const builds_BuildLogsResponse_output: JsonSchema = { + "properties": { + "cursor": { + "$ref": "#/$defs/builds_cursor" + }, + "lines": { + "items": { + "items": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array" + }, + "type": "array" + }, + "truncated": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_cursor` in responses. + */ +export const builds_cursor_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/builds/logs/tools.ts b/src/generated/forge-mcp/builds/logs/tools.ts index b76531bc..c4583490 100644 --- a/src/generated/forge-mcp/builds/logs/tools.ts +++ b/src/generated/forge-mcp/builds/logs/tools.ts @@ -2,7 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + builds_ApiError_output, + builds_ErrorResponse_output, +} from "../../outputs.js"; import { builds_account_id, builds_build_uuid } from "../../schemas.js"; +import { + builds_BuildLogsResponse_output, + builds_cursor_output, +} from "./outputs.js"; import { builds_cursor } from "./schemas.js"; /** @@ -54,6 +62,25 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_BuildLogsResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_BuildLogsResponse": builds_BuildLogsResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_cursor": builds_cursor_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/builds/${pathParam(args, "build_uuid")}/logs`, query: [ diff --git a/src/generated/forge-mcp/builds/outputs.ts b/src/generated/forge-mcp/builds/outputs.ts new file mode 100644 index 00000000..76a65d6c --- /dev/null +++ b/src/generated/forge-mcp/builds/outputs.ts @@ -0,0 +1,65 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `builds_APIResponse` in responses. + */ +export const builds_APIResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/builds_ApiError" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/builds_PaginationInfo" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `builds_CanceledBuildResponse` in responses. + */ +export const builds_CanceledBuildResponse_output: JsonSchema = { + "properties": { + "build_outcome": { + "$ref": "#/$defs/builds_BuildOutcome" + }, + "build_uuid": { + "$ref": "#/$defs/builds_build_uuid" + }, + "stopped_on": { + "$ref": "#/$defs/builds_stopped_on" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts b/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts new file mode 100644 index 00000000..7cf3a1f1 --- /dev/null +++ b/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts @@ -0,0 +1,76 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `builds_ConfigAutofillResponse` in responses. + */ +export const builds_ConfigAutofillResponse_output: JsonSchema = { + "properties": { + "config_file": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "default_worker_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "env_worker_names": { + "oneOf": [ + { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "package_manager": { + "$ref": "#/$defs/builds_PackageManager" + }, + "scripts": { + "oneOf": [ + { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `builds_PackageManager` in responses. + */ +export const builds_PackageManager_output: JsonSchema = { + "enum": [ + "npm", + "yarn", + "pnpm", + "bun", + "uv" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts b/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts index 61ca1cad..39462f94 100644 --- a/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts +++ b/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts @@ -2,11 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + builds_ApiError_output, + builds_ErrorResponse_output, +} from "../../../outputs.js"; import { builds_account_id, builds_branch, builds_root_directory, } from "../../../schemas.js"; +import { + builds_ConfigAutofillResponse_output, + builds_PackageManager_output, +} from "./outputs.js"; /** * The tools of `builds.repos.config_autofill`. @@ -72,6 +80,22 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_ConfigAutofillResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_ConfigAutofillResponse": builds_ConfigAutofillResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PackageManager": builds_PackageManager_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/repos/${pathParam(args, "provider_type")}/${pathParam(args, "provider_account_id")}/${pathParam(args, "repo_id")}/config_autofill`, query: [ diff --git a/src/generated/forge-mcp/builds/repos/connections/tools.ts b/src/generated/forge-mcp/builds/repos/connections/tools.ts index 031d5373..d0e42209 100644 --- a/src/generated/forge-mcp/builds/repos/connections/tools.ts +++ b/src/generated/forge-mcp/builds/repos/connections/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + builds_ApiError_output, + builds_ErrorResponse_output, + builds_PaginationInfo_output, + builds_SCMProviderType_output, + builds_UpsertRepoConnectionResponse_output, + builds_created_on_output, + builds_deleted_on_output, + builds_modified_on_output, + builds_provider_account_id_output, + builds_provider_account_name_output, + builds_repo_connection_uuid_output, + builds_repo_id_output, + builds_repo_name_output, +} from "../../../outputs.js"; import { builds_SCMProviderType, builds_account_id, @@ -11,6 +26,7 @@ import { builds_repo_id, builds_repo_name, } from "../../../schemas.js"; +import { builds_APIResponse_output } from "../../outputs.js"; import { builds_UpsertRepoConnectionRequest } from "./schemas.js"; /** @@ -56,6 +72,25 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_APIResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_APIResponse": builds_APIResponse_output, + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/repos/connections/${pathParam(args, "repo_connection_uuid")}`, }), @@ -103,6 +138,30 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_UpsertRepoConnectionResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_modified_on": builds_modified_on_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/repos/connections`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/builds/tokens/outputs.ts b/src/generated/forge-mcp/builds/tokens/outputs.ts new file mode 100644 index 00000000..22588719 --- /dev/null +++ b/src/generated/forge-mcp/builds/tokens/outputs.ts @@ -0,0 +1,60 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `builds_CreateBuildTokenResponse` in responses. + */ +export const builds_CreateBuildTokenResponse_output: JsonSchema = { + "properties": { + "build_token_name": { + "$ref": "#/$defs/builds_build_token_name" + }, + "build_token_uuid": { + "$ref": "#/$defs/builds_build_token_uuid" + }, + "cloudflare_token_id": { + "$ref": "#/$defs/builds_cloudflare_token_id" + }, + "owner_type": { + "$ref": "#/$defs/builds_owner_type" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_ListTokensResponse` in responses. + */ +export const builds_ListTokensResponse_output: JsonSchema = { + "properties": { + "build_token_name": { + "$ref": "#/$defs/builds_build_token_name" + }, + "build_token_uuid": { + "$ref": "#/$defs/builds_build_token_uuid" + }, + "cloudflare_token_id": { + "$ref": "#/$defs/builds_cloudflare_token_id" + }, + "owner_type": { + "$ref": "#/$defs/builds_owner_type" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_cloudflare_token_id` in responses. + */ +export const builds_cloudflare_token_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_owner_type` in responses. + */ +export const builds_owner_type_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/builds/tokens/tools.ts b/src/generated/forge-mcp/builds/tokens/tools.ts index 3e3f1ecf..58550672 100644 --- a/src/generated/forge-mcp/builds/tokens/tools.ts +++ b/src/generated/forge-mcp/builds/tokens/tools.ts @@ -2,7 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + builds_ApiError_output, + builds_ErrorResponse_output, + builds_PaginationInfo_output, + builds_build_token_name_output, + builds_build_token_uuid_output, +} from "../../outputs.js"; import { builds_account_id, builds_build_token_name } from "../../schemas.js"; +import { builds_APIResponse_output } from "../outputs.js"; +import { + builds_CreateBuildTokenResponse_output, + builds_ListTokensResponse_output, + builds_cloudflare_token_id_output, + builds_owner_type_output, +} from "./outputs.js"; import { builds_CreateBuildTokenRequest, builds_cloudflare_token_id, @@ -52,6 +66,25 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_CreateBuildTokenResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_CreateBuildTokenResponse": builds_CreateBuildTokenResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_cloudflare_token_id": builds_cloudflare_token_id_output, + "builds_owner_type": builds_owner_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/tokens`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +128,25 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_APIResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_APIResponse": builds_APIResponse_output, + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/tokens/${pathParam(args, "build_token_uuid")}`, }), @@ -143,6 +195,40 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/builds_ListTokensResponse" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/builds_PaginationInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_ListTokensResponse": builds_ListTokensResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_cloudflare_token_id": builds_cloudflare_token_id_output, + "builds_owner_type": builds_owner_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/tokens`, query: [ diff --git a/src/generated/forge-mcp/builds/tools.ts b/src/generated/forge-mcp/builds/tools.ts index 5c042833..c682c003 100644 --- a/src/generated/forge-mcp/builds/tools.ts +++ b/src/generated/forge-mcp/builds/tools.ts @@ -2,6 +2,47 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + builds_ApiError_output, + builds_BuildOutcome_output, + builds_BuildResponse_deploy_hook_output, + builds_BuildResponse_output, + builds_BuildResponse_pull_request_output, + builds_BuildResponse_trigger_output, + builds_BuildStatus_output, + builds_BuildTriggerMetadataResponse_output, + builds_BuildTriggerSource_output, + builds_ErrorResponse_output, + builds_PaginationInfo_output, + builds_SCMProviderType_output, + builds_UpsertRepoConnectionResponse_output, + builds_branch_excludes_output, + builds_branch_includes_output, + builds_branch_output, + builds_build_caching_enabled_output, + builds_build_command_output, + builds_build_token_name_output, + builds_build_token_uuid_output, + builds_build_uuid_output, + builds_commit_hash_output, + builds_created_on_output, + builds_deleted_on_output, + builds_deploy_command_output, + builds_deploy_hook_name_output, + builds_external_script_id_output, + builds_modified_on_output, + builds_path_excludes_output, + builds_path_includes_output, + builds_provider_account_id_output, + builds_provider_account_name_output, + builds_repo_connection_uuid_output, + builds_repo_id_output, + builds_repo_name_output, + builds_root_directory_output, + builds_stopped_on_output, + builds_trigger_name_output, + builds_trigger_uuid_output, +} from "../outputs.js"; import { builds_BuildSeedRepoInput, builds_BuildSeedRepoInputFile, @@ -12,6 +53,7 @@ import { builds_commit_hash, builds_trigger_uuid, } from "../schemas.js"; +import { builds_CanceledBuildResponse_output } from "./outputs.js"; /** * The tools of `builds`. @@ -56,6 +98,27 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_CanceledBuildResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_BuildOutcome": builds_BuildOutcome_output, + "builds_CanceledBuildResponse": builds_CanceledBuildResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_build_uuid": builds_build_uuid_output, + "builds_stopped_on": builds_stopped_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/builds/${pathParam(args, "build_uuid")}/cancel`, }), @@ -108,6 +171,56 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_BuildResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_BuildOutcome": builds_BuildOutcome_output, + "builds_BuildResponse": builds_BuildResponse_output, + "builds_BuildResponse_deploy_hook": builds_BuildResponse_deploy_hook_output, + "builds_BuildResponse_pull_request": builds_BuildResponse_pull_request_output, + "builds_BuildResponse_trigger": builds_BuildResponse_trigger_output, + "builds_BuildStatus": builds_BuildStatus_output, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, + "builds_BuildTriggerSource": builds_BuildTriggerSource_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_branch": builds_branch_output, + "builds_branch_excludes": builds_branch_excludes_output, + "builds_branch_includes": builds_branch_includes_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_build_uuid": builds_build_uuid_output, + "builds_commit_hash": builds_commit_hash_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + "builds_stopped_on": builds_stopped_on_output, + "builds_trigger_name": builds_trigger_name_output, + "builds_trigger_uuid": builds_trigger_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/triggers/${pathParam(args, "trigger_uuid")}/builds`, body: { value: args["body"], mediaType: "application/json" }, @@ -153,6 +266,59 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_BuildResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_BuildOutcome": builds_BuildOutcome_output, + "builds_BuildResponse": builds_BuildResponse_output, + "builds_BuildResponse_deploy_hook": builds_BuildResponse_deploy_hook_output, + "builds_BuildResponse_pull_request": builds_BuildResponse_pull_request_output, + "builds_BuildResponse_trigger": builds_BuildResponse_trigger_output, + "builds_BuildStatus": builds_BuildStatus_output, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, + "builds_BuildTriggerSource": builds_BuildTriggerSource_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_branch": builds_branch_output, + "builds_branch_excludes": builds_branch_excludes_output, + "builds_branch_includes": builds_branch_includes_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_build_uuid": builds_build_uuid_output, + "builds_commit_hash": builds_commit_hash_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + "builds_stopped_on": builds_stopped_on_output, + "builds_trigger_name": builds_trigger_name_output, + "builds_trigger_uuid": builds_trigger_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/builds/${pathParam(args, "build_uuid")}`, }), @@ -206,6 +372,71 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/builds_BuildResponse" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/builds_PaginationInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_BuildOutcome": builds_BuildOutcome_output, + "builds_BuildResponse": builds_BuildResponse_output, + "builds_BuildResponse_deploy_hook": builds_BuildResponse_deploy_hook_output, + "builds_BuildResponse_pull_request": builds_BuildResponse_pull_request_output, + "builds_BuildResponse_trigger": builds_BuildResponse_trigger_output, + "builds_BuildStatus": builds_BuildStatus_output, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, + "builds_BuildTriggerSource": builds_BuildTriggerSource_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_branch": builds_branch_output, + "builds_branch_excludes": builds_branch_excludes_output, + "builds_branch_includes": builds_branch_includes_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_build_uuid": builds_build_uuid_output, + "builds_commit_hash": builds_commit_hash_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + "builds_stopped_on": builds_stopped_on_output, + "builds_trigger_name": builds_trigger_name_output, + "builds_trigger_uuid": builds_trigger_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "external_script_id")}/builds`, query: [ diff --git a/src/generated/forge-mcp/builds/triggers/cache/tools.ts b/src/generated/forge-mcp/builds/triggers/cache/tools.ts index afe9d13b..3027b79a 100644 --- a/src/generated/forge-mcp/builds/triggers/cache/tools.ts +++ b/src/generated/forge-mcp/builds/triggers/cache/tools.ts @@ -2,7 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + builds_ApiError_output, + builds_ErrorResponse_output, + builds_PaginationInfo_output, +} from "../../../outputs.js"; import { builds_account_id, builds_trigger_uuid } from "../../../schemas.js"; +import { builds_APIResponse_output } from "../../outputs.js"; /** * The tools of `builds.triggers.cache`. @@ -47,6 +53,25 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_APIResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_APIResponse": builds_APIResponse_output, + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/triggers/${pathParam(args, "trigger_uuid")}/purge_build_cache`, }), diff --git a/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts b/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts index cd531b89..0c84864b 100644 --- a/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts +++ b/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts @@ -2,11 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + builds_ApiError_output, + builds_EnvironmentVariablesResponse_output, + builds_ErrorResponse_output, + builds_PaginationInfo_output, + builds_created_on_output, + builds_is_secret_output, +} from "../../../outputs.js"; import { builds_account_id, builds_is_secret, builds_trigger_uuid, } from "../../../schemas.js"; +import { builds_APIResponse_output } from "../../outputs.js"; import { builds_EnvironmentVariablesRequest } from "../../schemas.js"; /** @@ -57,6 +66,25 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_APIResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_APIResponse": builds_APIResponse_output, + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/triggers/${pathParam(args, "trigger_uuid")}/environment_variables/${pathParam(args, "environment_variable_key")}`, }), @@ -101,6 +129,23 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_EnvironmentVariablesResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_created_on": builds_created_on_output, + "builds_is_secret": builds_is_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/triggers/${pathParam(args, "trigger_uuid")}/environment_variables`, }), @@ -150,6 +195,26 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_EnvironmentVariablesResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_created_on": builds_created_on_output, + "builds_is_secret": builds_is_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/triggers/${pathParam(args, "trigger_uuid")}/environment_variables`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/builds/triggers/outputs.ts b/src/generated/forge-mcp/builds/triggers/outputs.ts new file mode 100644 index 00000000..04bc747f --- /dev/null +++ b/src/generated/forge-mcp/builds/triggers/outputs.ts @@ -0,0 +1,64 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `builds_TriggerResponse` in responses. + */ +export const builds_TriggerResponse_output: JsonSchema = { + "properties": { + "branch_excludes": { + "$ref": "#/$defs/builds_branch_excludes" + }, + "branch_includes": { + "$ref": "#/$defs/builds_branch_includes" + }, + "build_caching_enabled": { + "$ref": "#/$defs/builds_build_caching_enabled" + }, + "build_command": { + "$ref": "#/$defs/builds_build_command" + }, + "build_token_name": { + "$ref": "#/$defs/builds_build_token_name" + }, + "build_token_uuid": { + "$ref": "#/$defs/builds_build_token_uuid" + }, + "created_on": { + "$ref": "#/$defs/builds_created_on" + }, + "deleted_on": { + "$ref": "#/$defs/builds_deleted_on" + }, + "deploy_command": { + "$ref": "#/$defs/builds_deploy_command" + }, + "external_script_id": { + "$ref": "#/$defs/builds_external_script_id" + }, + "modified_on": { + "$ref": "#/$defs/builds_modified_on" + }, + "path_excludes": { + "$ref": "#/$defs/builds_path_excludes" + }, + "path_includes": { + "$ref": "#/$defs/builds_path_includes" + }, + "repo_connection": { + "$ref": "#/$defs/builds_UpsertRepoConnectionResponse" + }, + "root_directory": { + "$ref": "#/$defs/builds_root_directory" + }, + "trigger_name": { + "$ref": "#/$defs/builds_trigger_name" + }, + "trigger_uuid": { + "$ref": "#/$defs/builds_trigger_uuid" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/builds/triggers/tools.ts b/src/generated/forge-mcp/builds/triggers/tools.ts index 3165434a..b4c5ab17 100644 --- a/src/generated/forge-mcp/builds/triggers/tools.ts +++ b/src/generated/forge-mcp/builds/triggers/tools.ts @@ -2,6 +2,34 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + builds_ApiError_output, + builds_ErrorResponse_output, + builds_PaginationInfo_output, + builds_SCMProviderType_output, + builds_UpsertRepoConnectionResponse_output, + builds_branch_excludes_output, + builds_branch_includes_output, + builds_build_caching_enabled_output, + builds_build_command_output, + builds_build_token_name_output, + builds_build_token_uuid_output, + builds_created_on_output, + builds_deleted_on_output, + builds_deploy_command_output, + builds_external_script_id_output, + builds_modified_on_output, + builds_path_excludes_output, + builds_path_includes_output, + builds_provider_account_id_output, + builds_provider_account_name_output, + builds_repo_connection_uuid_output, + builds_repo_id_output, + builds_repo_name_output, + builds_root_directory_output, + builds_trigger_name_output, + builds_trigger_uuid_output, +} from "../../outputs.js"; import { builds_account_id, builds_branch_excludes, @@ -18,6 +46,8 @@ import { builds_trigger_name, builds_trigger_uuid, } from "../../schemas.js"; +import { builds_APIResponse_output } from "../outputs.js"; +import { builds_TriggerResponse_output } from "./outputs.js"; import { builds_CreateTriggerRequest, builds_UpdateTriggerRequest, @@ -77,6 +107,44 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_TriggerResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_TriggerResponse": builds_TriggerResponse_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_branch_excludes": builds_branch_excludes_output, + "builds_branch_includes": builds_branch_includes_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + "builds_trigger_name": builds_trigger_name_output, + "builds_trigger_uuid": builds_trigger_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/triggers`, body: { value: args["body"], mediaType: "application/json" }, @@ -121,6 +189,25 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_APIResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_APIResponse": builds_APIResponse_output, + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/triggers/${pathParam(args, "trigger_uuid")}`, }), @@ -164,6 +251,59 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/builds_TriggerResponse" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/builds_PaginationInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_TriggerResponse": builds_TriggerResponse_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_branch_excludes": builds_branch_excludes_output, + "builds_branch_includes": builds_branch_includes_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + "builds_trigger_name": builds_trigger_name_output, + "builds_trigger_uuid": builds_trigger_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "external_script_id")}/triggers`, }), @@ -222,6 +362,47 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_TriggerResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_TriggerResponse": builds_TriggerResponse_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_branch_excludes": builds_branch_excludes_output, + "builds_branch_includes": builds_branch_includes_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + "builds_trigger_name": builds_trigger_name_output, + "builds_trigger_uuid": builds_trigger_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/triggers/${pathParam(args, "trigger_uuid")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/builds/versions/outputs.ts b/src/generated/forge-mcp/builds/versions/outputs.ts new file mode 100644 index 00000000..247bd9e7 --- /dev/null +++ b/src/generated/forge-mcp/builds/versions/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `builds_BuildsByVersionResponse` in responses. + */ +export const builds_BuildsByVersionResponse_output: JsonSchema = { + "properties": { + "builds": { + "additionalProperties": { + "$ref": "#/$defs/builds_BuildResponse" + }, + "type": "object" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/builds/versions/tools.ts b/src/generated/forge-mcp/builds/versions/tools.ts index cf33134d..7b52409b 100644 --- a/src/generated/forge-mcp/builds/versions/tools.ts +++ b/src/generated/forge-mcp/builds/versions/tools.ts @@ -2,7 +2,48 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + builds_ApiError_output, + builds_BuildOutcome_output, + builds_BuildResponse_deploy_hook_output, + builds_BuildResponse_output, + builds_BuildResponse_pull_request_output, + builds_BuildResponse_trigger_output, + builds_BuildStatus_output, + builds_BuildTriggerMetadataResponse_output, + builds_BuildTriggerSource_output, + builds_ErrorResponse_output, + builds_SCMProviderType_output, + builds_UpsertRepoConnectionResponse_output, + builds_branch_excludes_output, + builds_branch_includes_output, + builds_branch_output, + builds_build_caching_enabled_output, + builds_build_command_output, + builds_build_token_name_output, + builds_build_token_uuid_output, + builds_build_uuid_output, + builds_commit_hash_output, + builds_created_on_output, + builds_deleted_on_output, + builds_deploy_command_output, + builds_deploy_hook_name_output, + builds_external_script_id_output, + builds_modified_on_output, + builds_path_excludes_output, + builds_path_includes_output, + builds_provider_account_id_output, + builds_provider_account_name_output, + builds_repo_connection_uuid_output, + builds_repo_id_output, + builds_repo_name_output, + builds_root_directory_output, + builds_stopped_on_output, + builds_trigger_name_output, + builds_trigger_uuid_output, +} from "../../outputs.js"; import { builds_account_id } from "../../schemas.js"; +import { builds_BuildsByVersionResponse_output } from "./outputs.js"; import { builds_version_ids } from "./schemas.js"; /** @@ -49,6 +90,57 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_BuildsByVersionResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_BuildOutcome": builds_BuildOutcome_output, + "builds_BuildResponse": builds_BuildResponse_output, + "builds_BuildResponse_deploy_hook": builds_BuildResponse_deploy_hook_output, + "builds_BuildResponse_pull_request": builds_BuildResponse_pull_request_output, + "builds_BuildResponse_trigger": builds_BuildResponse_trigger_output, + "builds_BuildStatus": builds_BuildStatus_output, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, + "builds_BuildTriggerSource": builds_BuildTriggerSource_output, + "builds_BuildsByVersionResponse": builds_BuildsByVersionResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_branch": builds_branch_output, + "builds_branch_excludes": builds_branch_excludes_output, + "builds_branch_includes": builds_branch_includes_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_build_uuid": builds_build_uuid_output, + "builds_commit_hash": builds_commit_hash_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + "builds_stopped_on": builds_stopped_on_output, + "builds_trigger_name": builds_trigger_name_output, + "builds_trigger_uuid": builds_trigger_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/builds`, query: [ diff --git a/src/generated/forge-mcp/builds/workers/tools.ts b/src/generated/forge-mcp/builds/workers/tools.ts index cfaba252..5230e5c8 100644 --- a/src/generated/forge-mcp/builds/workers/tools.ts +++ b/src/generated/forge-mcp/builds/workers/tools.ts @@ -2,6 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + builds_ApiError_output, + builds_EnvironmentVariablesResponse_output, + builds_ErrorResponse_output, + builds_SCMProviderType_output, + builds_WorkerBuildSettings_output, + builds_WorkerGitRepository_output, + builds_WorkerResponse_output, + builds_build_caching_enabled_output, + builds_build_command_output, + builds_build_token_uuid_output, + builds_created_on_output, + builds_deploy_command_output, + builds_external_script_id_output, + builds_is_secret_output, + builds_path_excludes_output, + builds_path_includes_output, + builds_provider_account_id_output, + builds_provider_account_name_output, + builds_repo_id_output, + builds_repo_name_output, + builds_root_directory_output, +} from "../../outputs.js"; import { builds_UpdateWorkerBuildSettingsInput, builds_account_id, @@ -90,6 +113,48 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/builds_WorkerResponse" + }, + "400": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, + "builds_WorkerGitRepository": builds_WorkerGitRepository_output, + "builds_WorkerResponse": builds_WorkerResponse_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_is_secret": builds_is_secret_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers`, body: { value: args["body"], mediaType: "application/json" }, @@ -134,6 +199,23 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}`, }), @@ -178,6 +260,42 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_WorkerResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, + "builds_WorkerGitRepository": builds_WorkerGitRepository_output, + "builds_WorkerResponse": builds_WorkerResponse_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_is_secret": builds_is_secret_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}`, }), @@ -244,6 +362,45 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_WorkerResponse" + }, + "400": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, + "builds_WorkerGitRepository": builds_WorkerGitRepository_output, + "builds_WorkerResponse": builds_WorkerResponse_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_is_secret": builds_is_secret_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}`, query: [ diff --git a/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts b/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts new file mode 100644 index 00000000..8ff9e22d --- /dev/null +++ b/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts @@ -0,0 +1,183 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cache-settings_origin_cloud_region_v2_batch_item_result` in + * responses. + */ +export const cache_settings_origin_cloud_region_v2_batch_item_result_output: JsonSchema = { + "properties": { + "error": { + "type": "string" + }, + "origin_ip": { + "type": "string" + }, + "region": { + "type": "string" + }, + "vendor": { + "type": "string" + } + }, + "required": [ + "origin_ip" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_origin_cloud_region_v2_batch_result` in + * responses. + */ +export const cache_settings_origin_cloud_region_v2_batch_result_output: JsonSchema = { + "properties": { + "failed": { + "items": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_item_result" + }, + "type": "array" + }, + "succeeded": { + "items": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_item_result" + }, + "type": "array" + } + }, + "required": [ + "failed", + "succeeded" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_origin_cloud_region_v2_delete_result` in + * responses. + */ +export const cache_settings_origin_cloud_region_v2_delete_result_output: JsonSchema = { + "properties": { + "origin_ip": { + "type": "string" + } + }, + "required": [ + "origin_ip" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_origin_cloud_region_v2_entry` in responses. + */ +export const cache_settings_origin_cloud_region_v2_entry_output: JsonSchema = { + "properties": { + "modified_on": { + "format": "date-time", + "type": "string" + }, + "origin_ip": { + "type": "string" + }, + "region": { + "type": "string" + }, + "vendor": { + "enum": [ + "aws", + "azure", + "gcp", + "oci" + ], + "type": "string" + } + }, + "required": [ + "origin_ip", + "region", + "vendor" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_origin_cloud_region_v2_result_info` in + * responses. + */ +export const cache_settings_origin_cloud_region_v2_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_supported_cloud_region` in responses. + */ +export const cache_settings_supported_cloud_region_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "upper_tier_colos": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "name", + "upper_tier_colos" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_supported_cloud_regions_result` in responses. + */ +export const cache_settings_supported_cloud_regions_result_output: JsonSchema = { + "properties": { + "obtained_codes": { + "type": "boolean" + }, + "vendors": { + "additionalProperties": { + "items": { + "$ref": "#/$defs/cache-settings_supported_cloud_region" + }, + "type": "array" + }, + "type": "object" + } + }, + "required": [ + "obtained_codes", + "vendors" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cache/originCloudRegions/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/tools.ts index 38064529..db28ce10 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/tools.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../outputs.js"; +import { + cache_settings_origin_cloud_region_v2_batch_item_result_output, + cache_settings_origin_cloud_region_v2_batch_result_output, + cache_settings_origin_cloud_region_v2_delete_result_output, + cache_settings_origin_cloud_region_v2_entry_output, + cache_settings_origin_cloud_region_v2_result_info_output, + cache_settings_supported_cloud_region_output, + cache_settings_supported_cloud_regions_result_output, +} from "./outputs.js"; import { cache_settings_origin_cloud_region_v2_request } from "./schemas.js"; /** @@ -49,6 +62,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, + "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -98,6 +127,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, + "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -141,6 +186,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_delete_result" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_cloud_region_v2_delete_result": cache_settings_origin_cloud_region_v2_delete_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/${pathParam(args, "origin_ip")}`, }), @@ -183,6 +243,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_entry" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_cloud_region_v2_entry": cache_settings_origin_cloud_region_v2_entry_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/${pathParam(args, "origin_ip")}`, }), @@ -230,6 +305,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_entry" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_cloud_region_v2_entry": cache_settings_origin_cloud_region_v2_entry_output, + "cache-settings_origin_cloud_region_v2_result_info": cache_settings_origin_cloud_region_v2_result_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions`, query: [ @@ -271,6 +376,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_supported_cloud_regions_result" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_supported_cloud_region": cache_settings_supported_cloud_region_output, + "cache-settings_supported_cloud_regions_result": cache_settings_supported_cloud_regions_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/supported_regions`, }), @@ -320,6 +441,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_entry" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_cloud_region_v2_entry": cache_settings_origin_cloud_region_v2_entry_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/${pathParam(args, "origin_ip")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cache/outputs.ts b/src/generated/forge-mcp/cache/outputs.ts new file mode 100644 index 00000000..e65256b3 --- /dev/null +++ b/src/generated/forge-mcp/cache/outputs.ts @@ -0,0 +1,115 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `cache-purge_api-response-common-failure` in responses. + */ +export const cache_purge_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cache-purge_messages" + }, + "messages": { + "$ref": "#/$defs/cache-purge_messages" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cache-purge_api-response-single-id` in responses. + */ +export const cache_purge_api_response_single_id_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cache-purge_messages" + }, + "messages": { + "$ref": "#/$defs/cache-purge_messages" + }, + "result": { + "$ref": "#/$defs/cache-purge_api-response-single-id_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cache-purge_api-response-single-id_result` in responses. + */ +export const cache_purge_api_response_single_id_result_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/cache-purge_identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `cache-purge_identifier` in responses. + */ +export const cache_purge_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cache-purge_messages` in responses. + */ +export const cache_purge_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts b/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts new file mode 100644 index 00000000..8e1c923b --- /dev/null +++ b/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts @@ -0,0 +1,44 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cache-settings_regional_tiered_cache` in responses. + */ +export const cache_settings_regional_tiered_cache_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "tc_regional" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_regional_tiered_cache_value` in responses. + */ +export const cache_settings_regional_tiered_cache_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts b/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts index df016f14..fd405433 100644 --- a/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts +++ b/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../../outputs.js"; +import { + cache_settings_regional_tiered_cache_output, + cache_settings_regional_tiered_cache_value_output, +} from "./outputs.js"; import { cache_settings_regional_tiered_cache_value } from "./schemas.js"; /** @@ -72,6 +80,37 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_regional_tiered_cache" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_regional_tiered_cache_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_regional_tiered_cache": cache_settings_regional_tiered_cache_output, + "cache-settings_regional_tiered_cache_value": cache_settings_regional_tiered_cache_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/regional_tiered_cache`, body: { value: args["body"], mediaType: "application/json" }, @@ -126,6 +165,37 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_regional_tiered_cache" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_regional_tiered_cache_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_regional_tiered_cache": cache_settings_regional_tiered_cache_output, + "cache-settings_regional_tiered_cache_value": cache_settings_regional_tiered_cache_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/regional_tiered_cache`, }), diff --git a/src/generated/forge-mcp/cache/settings/reserve/outputs.ts b/src/generated/forge-mcp/cache/settings/reserve/outputs.ts new file mode 100644 index 00000000..3b7efdb1 --- /dev/null +++ b/src/generated/forge-mcp/cache/settings/reserve/outputs.ts @@ -0,0 +1,100 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cache-settings_cache_reserve` in responses. + */ +export const cache_settings_cache_reserve_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "cache_reserve" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_cache_reserve_clear` in responses. + */ +export const cache_settings_cache_reserve_clear_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "cache_reserve_clear" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_cache_reserve_clear_end_ts` in responses. + */ +export const cache_settings_cache_reserve_clear_end_ts_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `cache-settings_cache_reserve_clear_start_ts` in responses. + */ +export const cache_settings_cache_reserve_clear_start_ts_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `cache-settings_cache_reserve_clear_state` in responses. + */ +export const cache_settings_cache_reserve_clear_state_output: JsonSchema = { + "enum": [ + "In-progress", + "Completed" + ], + "type": "string" +}; + +/** + * The schema of `cache-settings_cache_reserve_value` in responses. + */ +export const cache_settings_cache_reserve_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/cache/settings/reserve/tools.ts b/src/generated/forge-mcp/cache/settings/reserve/tools.ts index 853c1246..3974f92c 100644 --- a/src/generated/forge-mcp/cache/settings/reserve/tools.ts +++ b/src/generated/forge-mcp/cache/settings/reserve/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../../outputs.js"; +import { + cache_settings_cache_reserve_clear_end_ts_output, + cache_settings_cache_reserve_clear_output, + cache_settings_cache_reserve_clear_start_ts_output, + cache_settings_cache_reserve_clear_state_output, + cache_settings_cache_reserve_output, + cache_settings_cache_reserve_value_output, +} from "./outputs.js"; import { cache_settings_cache_reserve_value } from "./schemas.js"; /** @@ -55,6 +67,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_cache_reserve_clear" + }, + { + "properties": { + "end_ts": { + "$ref": "#/$defs/cache-settings_cache_reserve_clear_end_ts" + }, + "start_ts": { + "$ref": "#/$defs/cache-settings_cache_reserve_clear_start_ts" + }, + "state": { + "$ref": "#/$defs/cache-settings_cache_reserve_clear_state" + } + }, + "required": [ + "start_ts", + "state" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_cache_reserve_clear": cache_settings_cache_reserve_clear_output, + "cache-settings_cache_reserve_clear_end_ts": cache_settings_cache_reserve_clear_end_ts_output, + "cache-settings_cache_reserve_clear_start_ts": cache_settings_cache_reserve_clear_start_ts_output, + "cache-settings_cache_reserve_clear_state": cache_settings_cache_reserve_clear_state_output, + "cache-settings_messages": cache_settings_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/cache_reserve_clear`, }), @@ -123,6 +175,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_cache_reserve" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_cache_reserve_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_cache_reserve": cache_settings_cache_reserve_output, + "cache-settings_cache_reserve_value": cache_settings_cache_reserve_value_output, + "cache-settings_messages": cache_settings_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/cache_reserve`, body: { value: args["body"], mediaType: "application/json" }, @@ -177,6 +260,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_cache_reserve" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_cache_reserve_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_cache_reserve": cache_settings_cache_reserve_output, + "cache-settings_cache_reserve_value": cache_settings_cache_reserve_value_output, + "cache-settings_messages": cache_settings_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/cache_reserve`, }), @@ -230,6 +344,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_cache_reserve_clear" + }, + { + "properties": { + "end_ts": { + "$ref": "#/$defs/cache-settings_cache_reserve_clear_end_ts" + }, + "start_ts": { + "$ref": "#/$defs/cache-settings_cache_reserve_clear_start_ts" + }, + "state": { + "$ref": "#/$defs/cache-settings_cache_reserve_clear_state" + } + }, + "required": [ + "start_ts", + "state" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_cache_reserve_clear": cache_settings_cache_reserve_clear_output, + "cache-settings_cache_reserve_clear_end_ts": cache_settings_cache_reserve_clear_end_ts_output, + "cache-settings_cache_reserve_clear_start_ts": cache_settings_cache_reserve_clear_start_ts_output, + "cache-settings_cache_reserve_clear_state": cache_settings_cache_reserve_clear_state_output, + "cache-settings_messages": cache_settings_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/cache_reserve_clear`, }), diff --git a/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts b/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts new file mode 100644 index 00000000..a1f5d2a4 --- /dev/null +++ b/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts @@ -0,0 +1,44 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cache-settings_smart_tiered_cache` in responses. + */ +export const cache_settings_smart_tiered_cache_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "tiered_cache_smart_topology_enable" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_smart_tiered_cache_value` in responses. + */ +export const cache_settings_smart_tiered_cache_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts b/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts index eb891eb1..1dde8fa6 100644 --- a/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts +++ b/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../../outputs.js"; +import { + cache_settings_smart_tiered_cache_output, + cache_settings_smart_tiered_cache_value_output, +} from "./outputs.js"; import { cache_settings_smart_tiered_cache_patch } from "./schemas.js"; /** @@ -66,6 +74,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_smart_tiered_cache" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_smart_tiered_cache_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, + "cache-settings_smart_tiered_cache_value": cache_settings_smart_tiered_cache_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/tiered_cache_smart_topology_enable`, body: { value: args["body"], mediaType: "application/json" }, @@ -118,6 +157,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_smart_tiered_cache" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/tiered_cache_smart_topology_enable`, }), @@ -180,6 +234,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_smart_tiered_cache" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_smart_tiered_cache_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, + "cache-settings_smart_tiered_cache_value": cache_settings_smart_tiered_cache_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/tiered_cache_smart_topology_enable`, body: { value: args["body"], mediaType: "application/json" }, @@ -234,6 +319,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_smart_tiered_cache" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_smart_tiered_cache_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, + "cache-settings_smart_tiered_cache_value": cache_settings_smart_tiered_cache_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/tiered_cache_smart_topology_enable`, }), diff --git a/src/generated/forge-mcp/cache/settings/variants/outputs.ts b/src/generated/forge-mcp/cache/settings/variants/outputs.ts new file mode 100644 index 00000000..81e1104b --- /dev/null +++ b/src/generated/forge-mcp/cache/settings/variants/outputs.ts @@ -0,0 +1,108 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cache-settings_variants` in responses. + */ +export const cache_settings_variants_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "variants" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_variants_value` in responses. + */ +export const cache_settings_variants_value_output: JsonSchema = { + "properties": { + "avif": { + "items": { + "type": "string" + }, + "type": "array" + }, + "bmp": { + "items": { + "type": "string" + }, + "type": "array" + }, + "gif": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jp2": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jpeg": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jpg": { + "items": { + "type": "string" + }, + "type": "array" + }, + "jpg2": { + "items": { + "type": "string" + }, + "type": "array" + }, + "png": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tif": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tiff": { + "items": { + "type": "string" + }, + "type": "array" + }, + "webp": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/cache/settings/variants/tools.ts b/src/generated/forge-mcp/cache/settings/variants/tools.ts index ce373a7c..c967cdcf 100644 --- a/src/generated/forge-mcp/cache/settings/variants/tools.ts +++ b/src/generated/forge-mcp/cache/settings/variants/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../../outputs.js"; +import { + cache_settings_variants_output, + cache_settings_variants_value_output, +} from "./outputs.js"; import { cache_settings_variants_value } from "./schemas.js"; /** @@ -55,6 +63,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_variants" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_variants": cache_settings_variants_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/variants`, }), @@ -122,6 +145,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_variants" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_variants_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_variants": cache_settings_variants_output, + "cache-settings_variants_value": cache_settings_variants_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/variants`, body: { value: args["body"], mediaType: "application/json" }, @@ -176,6 +230,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_variants" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_variants_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_variants": cache_settings_variants_output, + "cache-settings_variants_value": cache_settings_variants_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cache/variants`, }), diff --git a/src/generated/forge-mcp/cache/tools.ts b/src/generated/forge-mcp/cache/tools.ts index 31e50091..2ea00fff 100644 --- a/src/generated/forge-mcp/cache/tools.ts +++ b/src/generated/forge-mcp/cache/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + cache_purge_api_response_common_failure_output, + cache_purge_api_response_single_id_output, + cache_purge_api_response_single_id_result_output, + cache_purge_identifier_output, + cache_purge_messages_output, +} from "./outputs.js"; import { cache_purge_Everything, cache_purge_FlexPurgeByHostnames, @@ -73,6 +80,30 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/zones/{zone_id}/invalidate_cache", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-purge_api-response-single-id_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/cache-purge_api-response-single-id" + }, + { + "$ref": "#/$defs/cache-purge_api-response-common-failure" + } + ] + } + }, + $defs: { + "cache-purge_api-response-common-failure": cache_purge_api_response_common_failure_output, + "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, + "cache-purge_api-response-single-id_result": cache_purge_api_response_single_id_result_output, + "cache-purge_identifier": cache_purge_identifier_output, + "cache-purge_messages": cache_purge_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/invalidate_cache`, body: { value: args["body"], mediaType: "application/json" }, @@ -145,6 +176,30 @@ export const tools: readonly Tool[] = [ "Zone Versioning Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-purge_api-response-single-id_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/cache-purge_api-response-single-id" + }, + { + "$ref": "#/$defs/cache-purge_api-response-common-failure" + } + ] + } + }, + $defs: { + "cache-purge_api-response-common-failure": cache_purge_api_response_common_failure_output, + "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, + "cache-purge_api-response-single-id_result": cache_purge_api_response_single_id_result_output, + "cache-purge_identifier": cache_purge_identifier_output, + "cache-purge_messages": cache_purge_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/environments/${pathParam(args, "environment_id")}/invalidate_cache`, body: { value: args["body"], mediaType: "application/json" }, @@ -222,6 +277,30 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-purge_api-response-single-id_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/cache-purge_api-response-single-id" + }, + { + "$ref": "#/$defs/cache-purge_api-response-common-failure" + } + ] + } + }, + $defs: { + "cache-purge_api-response-common-failure": cache_purge_api_response_common_failure_output, + "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, + "cache-purge_api-response-single-id_result": cache_purge_api_response_single_id_result_output, + "cache-purge_identifier": cache_purge_identifier_output, + "cache-purge_messages": cache_purge_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/purge_cache`, body: { value: args["body"], mediaType: "application/json" }, @@ -304,6 +383,30 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-purge_api-response-single-id_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/cache-purge_api-response-single-id" + }, + { + "$ref": "#/$defs/cache-purge_api-response-common-failure" + } + ] + } + }, + $defs: { + "cache-purge_api-response-common-failure": cache_purge_api_response_common_failure_output, + "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, + "cache-purge_api-response-single-id_result": cache_purge_api_response_single_id_result_output, + "cache-purge_identifier": cache_purge_identifier_output, + "cache-purge_messages": cache_purge_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/environments/${pathParam(args, "environment_id")}/purge_cache`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/clear/tools.ts b/src/generated/forge-mcp/clear/tools.ts index 4f890ebe..b744c39c 100644 --- a/src/generated/forge-mcp/clear/tools.ts +++ b/src/generated/forge-mcp/clear/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `clear`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/clear`, }), diff --git a/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts new file mode 100644 index 00000000..6b156adb --- /dev/null +++ b/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts @@ -0,0 +1,73 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `client-side-security_connection` in responses. + */ +export const client_side_security_connection_output: JsonSchema = { + "properties": { + "added_at": { + "format": "date-time", + "type": "string" + }, + "domain_reported_malicious": { + "type": "boolean" + }, + "first_page_url": { + "type": "string" + }, + "first_seen_at": { + "format": "date-time", + "type": "string" + }, + "host": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/client-side-security_id" + }, + "last_seen_at": { + "format": "date-time", + "type": "string" + }, + "malicious_domain_categories": { + "items": { + "type": "string" + }, + "type": "array" + }, + "malicious_url_categories": { + "items": { + "type": "string" + }, + "type": "array" + }, + "page_urls": { + "items": { + "type": "string" + }, + "type": "array" + }, + "url": { + "type": "string" + }, + "url_contains_cdn_cgi_path": { + "type": "boolean" + }, + "url_reported_malicious": { + "type": "boolean" + } + }, + "required": [ + "added_at", + "first_seen_at", + "host", + "id", + "last_seen_at", + "url", + "url_contains_cdn_cgi_path" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts b/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts index 3aca5b54..bdc10e5b 100644 --- a/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + client_side_security_api_response_common_failure_output, + client_side_security_id_output, + client_side_security_messages_output, + client_side_security_result_info_output, +} from "../outputs.js"; +import { client_side_security_connection_output } from "./outputs.js"; /** * The tools of `client_side_security.connections`. @@ -53,6 +60,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/client-side-security_connection" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_connection": client_side_security_connection_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_messages": client_side_security_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/connections/${pathParam(args, "connection_id")}`, }), @@ -157,6 +180,37 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/client-side-security_connection" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/client-side-security_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_connection": client_side_security_connection_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_result_info": client_side_security_result_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/connections`, query: [ diff --git a/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts new file mode 100644 index 00000000..9f5bb384 --- /dev/null +++ b/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts @@ -0,0 +1,78 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `client-side-security_cookie` in responses. + */ +export const client_side_security_cookie_output: JsonSchema = { + "properties": { + "domain_attribute": { + "type": "string" + }, + "expires_attribute": { + "format": "date-time", + "type": "string" + }, + "first_seen_at": { + "format": "date-time", + "type": "string" + }, + "host": { + "type": "string" + }, + "http_only_attribute": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/client-side-security_id" + }, + "last_seen_at": { + "format": "date-time", + "type": "string" + }, + "max_age_attribute": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "page_urls": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path_attribute": { + "type": "string" + }, + "same_site_attribute": { + "enum": [ + "lax", + "strict", + "none" + ], + "type": "string" + }, + "secure_attribute": { + "type": "boolean" + }, + "type": { + "enum": [ + "first_party", + "unknown" + ], + "type": "string" + } + }, + "required": [ + "first_seen_at", + "host", + "id", + "last_seen_at", + "name", + "type" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts b/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts index ef5a8fab..87d1d203 100644 --- a/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + client_side_security_api_response_common_failure_output, + client_side_security_id_output, + client_side_security_messages_output, + client_side_security_result_info_output, +} from "../outputs.js"; +import { client_side_security_cookie_output } from "./outputs.js"; /** * The tools of `client_side_security.cookies`. @@ -53,6 +60,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/client-side-security_cookie" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_cookie": client_side_security_cookie_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_messages": client_side_security_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/cookies/${pathParam(args, "cookie_id")}`, }), @@ -174,6 +197,37 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/client-side-security_cookie" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/client-side-security_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_cookie": client_side_security_cookie_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_result_info": client_side_security_result_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/cookies`, query: [ diff --git a/src/generated/forge-mcp/clientSideSecurity/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/outputs.ts new file mode 100644 index 00000000..e989591b --- /dev/null +++ b/src/generated/forge-mcp/clientSideSecurity/outputs.ts @@ -0,0 +1,93 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `client-side-security_api-response-common-failure` in + * responses. + */ +export const client_side_security_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/client-side-security_messages" + }, + "messages": { + "$ref": "#/$defs/client-side-security_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" +}; + +/** + * The schema of `client-side-security_id` in responses. + */ +export const client_side_security_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `client-side-security_messages` in responses. + */ +export const client_side_security_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `client-side-security_result_info` in responses. + */ +export const client_side_security_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts new file mode 100644 index 00000000..0a677592 --- /dev/null +++ b/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts @@ -0,0 +1,79 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `client-side-security_policy-action` in responses. + */ +export const client_side_security_policy_action_output: JsonSchema = { + "enum": [ + "allow", + "log", + "add_reporting_directives" + ], + "type": "string" +}; + +/** + * The schema of `client-side-security_policy-description` in responses. + */ +export const client_side_security_policy_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `client-side-security_policy-enabled` in responses. + */ +export const client_side_security_policy_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `client-side-security_policy-expression` in responses. + */ +export const client_side_security_policy_expression_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `client-side-security_policy-value` in responses. + */ +export const client_side_security_policy_value_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `client-side-security_policy-with-id` in responses. + */ +export const client_side_security_policy_with_id_output: JsonSchema = { + "properties": { + "action": { + "$ref": "#/$defs/client-side-security_policy-action" + }, + "description": { + "$ref": "#/$defs/client-side-security_policy-description" + }, + "enabled": { + "$ref": "#/$defs/client-side-security_policy-enabled" + }, + "expression": { + "$ref": "#/$defs/client-side-security_policy-expression" + }, + "id": { + "$ref": "#/$defs/client-side-security_id" + }, + "value": { + "$ref": "#/$defs/client-side-security_policy-value" + } + }, + "required": [ + "action", + "description", + "enabled", + "expression", + "value", + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts b/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts index f26c61b4..4823a636 100644 --- a/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + client_side_security_api_response_common_failure_output, + client_side_security_id_output, + client_side_security_messages_output, + client_side_security_result_info_output, +} from "../outputs.js"; +import { + client_side_security_policy_action_output, + client_side_security_policy_description_output, + client_side_security_policy_enabled_output, + client_side_security_policy_expression_output, + client_side_security_policy_value_output, + client_side_security_policy_with_id_output, +} from "./outputs.js"; import { client_side_security_policy, client_side_security_policy_action, @@ -65,6 +79,27 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/client-side-security_policy-with-id" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_policy-action": client_side_security_policy_action_output, + "client-side-security_policy-description": client_side_security_policy_description_output, + "client-side-security_policy-enabled": client_side_security_policy_enabled_output, + "client-side-security_policy-expression": client_side_security_policy_expression_output, + "client-side-security_policy-value": client_side_security_policy_value_output, + "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/policies`, body: { value: args["body"], mediaType: "application/json" }, @@ -113,6 +148,18 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_messages": client_side_security_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/policies/${pathParam(args, "policy_id")}`, }), @@ -163,6 +210,27 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/client-side-security_policy-with-id" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_policy-action": client_side_security_policy_action_output, + "client-side-security_policy-description": client_side_security_policy_description_output, + "client-side-security_policy-enabled": client_side_security_policy_enabled_output, + "client-side-security_policy-expression": client_side_security_policy_expression_output, + "client-side-security_policy-value": client_side_security_policy_value_output, + "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/policies/${pathParam(args, "policy_id")}`, }), @@ -208,6 +276,42 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/client-side-security_policy-with-id" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/client-side-security_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_policy-action": client_side_security_policy_action_output, + "client-side-security_policy-description": client_side_security_policy_description_output, + "client-side-security_policy-enabled": client_side_security_policy_enabled_output, + "client-side-security_policy-expression": client_side_security_policy_expression_output, + "client-side-security_policy-value": client_side_security_policy_value_output, + "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + "client-side-security_result_info": client_side_security_result_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/policies`, }), @@ -288,6 +392,27 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/client-side-security_policy-with-id" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_policy-action": client_side_security_policy_action_output, + "client-side-security_policy-description": client_side_security_policy_description_output, + "client-side-security_policy-enabled": client_side_security_policy_enabled_output, + "client-side-security_policy-expression": client_side_security_policy_expression_output, + "client-side-security_policy-value": client_side_security_policy_value_output, + "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/policies/${pathParam(args, "policy_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts new file mode 100644 index 00000000..849db210 --- /dev/null +++ b/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts @@ -0,0 +1,242 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `client-side-security_cryptomining_score` in responses. + */ +export const client_side_security_cryptomining_score_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `client-side-security_dataflow_score` in responses. + */ +export const client_side_security_dataflow_score_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `client-side-security_fetched_at` in responses. + */ +export const client_side_security_fetched_at_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `client-side-security_hash` in responses. + */ +export const client_side_security_hash_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `client-side-security_js_integrity_score` in responses. + */ +export const client_side_security_js_integrity_score_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `client-side-security_magecart_score` in responses. + */ +export const client_side_security_magecart_score_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `client-side-security_malware_score` in responses. + */ +export const client_side_security_malware_score_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `client-side-security_obfuscation_score` in responses. + */ +export const client_side_security_obfuscation_score_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `client-side-security_script` in responses. + */ +export const client_side_security_script_output: JsonSchema = { + "properties": { + "added_at": { + "format": "date-time", + "type": "string" + }, + "cryptomining_score": { + "$ref": "#/$defs/client-side-security_cryptomining_score" + }, + "dataflow_score": { + "$ref": "#/$defs/client-side-security_dataflow_score" + }, + "domain_reported_malicious": { + "type": "boolean" + }, + "fetched_at": { + "$ref": "#/$defs/client-side-security_fetched_at" + }, + "first_page_url": { + "type": "string" + }, + "first_seen_at": { + "format": "date-time", + "type": "string" + }, + "hash": { + "$ref": "#/$defs/client-side-security_hash" + }, + "host": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/client-side-security_id" + }, + "js_integrity_score": { + "$ref": "#/$defs/client-side-security_js_integrity_score" + }, + "last_seen_at": { + "format": "date-time", + "type": "string" + }, + "magecart_score": { + "$ref": "#/$defs/client-side-security_magecart_score" + }, + "malicious_domain_categories": { + "items": { + "type": "string" + }, + "type": "array" + }, + "malicious_url_categories": { + "items": { + "type": "string" + }, + "type": "array" + }, + "malware_score": { + "$ref": "#/$defs/client-side-security_malware_score" + }, + "obfuscation_score": { + "$ref": "#/$defs/client-side-security_obfuscation_score" + }, + "page_urls": { + "items": { + "type": "string" + }, + "type": "array" + }, + "url": { + "type": "string" + }, + "url_contains_cdn_cgi_path": { + "type": "boolean" + }, + "url_reported_malicious": { + "type": "boolean" + } + }, + "required": [ + "added_at", + "first_seen_at", + "host", + "id", + "last_seen_at", + "url", + "url_contains_cdn_cgi_path" + ], + "type": "object" +}; + +/** + * The schema of `client-side-security_version` in responses. + */ +export const client_side_security_version_output: JsonSchema = { + "properties": { + "cryptomining_score": { + "$ref": "#/$defs/client-side-security_cryptomining_score" + }, + "dataflow_score": { + "$ref": "#/$defs/client-side-security_dataflow_score" + }, + "fetched_at": { + "$ref": "#/$defs/client-side-security_fetched_at" + }, + "hash": { + "$ref": "#/$defs/client-side-security_hash" + }, + "js_integrity_score": { + "$ref": "#/$defs/client-side-security_js_integrity_score" + }, + "magecart_score": { + "$ref": "#/$defs/client-side-security_magecart_score" + }, + "malware_score": { + "$ref": "#/$defs/client-side-security_malware_score" + }, + "obfuscation_score": { + "$ref": "#/$defs/client-side-security_obfuscation_score" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts b/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts index 0d81feb6..45b908ac 100644 --- a/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts @@ -2,6 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + client_side_security_api_response_common_failure_output, + client_side_security_id_output, + client_side_security_messages_output, + client_side_security_result_info_output, +} from "../outputs.js"; +import { + client_side_security_cryptomining_score_output, + client_side_security_dataflow_score_output, + client_side_security_fetched_at_output, + client_side_security_hash_output, + client_side_security_js_integrity_score_output, + client_side_security_magecart_score_output, + client_side_security_malware_score_output, + client_side_security_obfuscation_score_output, + client_side_security_script_output, + client_side_security_version_output, +} from "./outputs.js"; /** * The tools of `client_side_security.scripts`. @@ -53,6 +71,53 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/client-side-security_script" + }, + { + "properties": { + "versions": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/client-side-security_version" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_cryptomining_score": client_side_security_cryptomining_score_output, + "client-side-security_dataflow_score": client_side_security_dataflow_score_output, + "client-side-security_fetched_at": client_side_security_fetched_at_output, + "client-side-security_hash": client_side_security_hash_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_js_integrity_score": client_side_security_js_integrity_score_output, + "client-side-security_magecart_score": client_side_security_magecart_score_output, + "client-side-security_malware_score": client_side_security_malware_score_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_obfuscation_score": client_side_security_obfuscation_score_output, + "client-side-security_script": client_side_security_script_output, + "client-side-security_version": client_side_security_version_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/scripts/${pathParam(args, "script_id")}`, }), @@ -163,6 +228,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/client-side-security_script" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/client-side-security_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_cryptomining_score": client_side_security_cryptomining_score_output, + "client-side-security_dataflow_score": client_side_security_dataflow_score_output, + "client-side-security_fetched_at": client_side_security_fetched_at_output, + "client-side-security_hash": client_side_security_hash_output, + "client-side-security_id": client_side_security_id_output, + "client-side-security_js_integrity_score": client_side_security_js_integrity_score_output, + "client-side-security_magecart_score": client_side_security_magecart_score_output, + "client-side-security_malware_score": client_side_security_malware_score_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_obfuscation_score": client_side_security_obfuscation_score_output, + "client-side-security_result_info": client_side_security_result_info_output, + "client-side-security_script": client_side_security_script_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/scripts`, query: [ diff --git a/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts new file mode 100644 index 00000000..25cb58ff --- /dev/null +++ b/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts @@ -0,0 +1,88 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `client-side-security_enabled` in responses. + */ +export const client_side_security_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `client-side-security_get-zone-settings-response` in responses. + */ +export const client_side_security_get_zone_settings_response_output: JsonSchema = { + "properties": { + "enabled": { + "$ref": "#/$defs/client-side-security_enabled" + }, + "updated_at": { + "$ref": "#/$defs/client-side-security_updated_at" + }, + "use_cloudflare_reporting_endpoint": { + "$ref": "#/$defs/client-side-security_use_cloudflare_reporting_endpoint" + }, + "use_connection_url_path": { + "$ref": "#/$defs/client-side-security_use_connection_url_path" + } + }, + "required": [ + "enabled", + "updated_at", + "use_cloudflare_reporting_endpoint", + "use_connection_url_path" + ], + "type": "object" +}; + +/** + * The schema of `client-side-security_update-zone-settings-response` in + * responses. + */ +export const client_side_security_update_zone_settings_response_output: JsonSchema = { + "properties": { + "enabled": { + "$ref": "#/$defs/client-side-security_enabled" + }, + "updated_at": { + "$ref": "#/$defs/client-side-security_updated_at" + }, + "use_cloudflare_reporting_endpoint": { + "$ref": "#/$defs/client-side-security_use_cloudflare_reporting_endpoint" + }, + "use_connection_url_path": { + "$ref": "#/$defs/client-side-security_use_connection_url_path" + } + }, + "required": [ + "enabled", + "updated_at", + "use_cloudflare_reporting_endpoint", + "use_connection_url_path" + ], + "type": "object" +}; + +/** + * The schema of `client-side-security_updated_at` in responses. + */ +export const client_side_security_updated_at_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `client-side-security_use_cloudflare_reporting_endpoint` in + * responses. + */ +export const client_side_security_use_cloudflare_reporting_endpoint_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `client-side-security_use_connection_url_path` in responses. + */ +export const client_side_security_use_connection_url_path_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts b/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts index f7ff1d11..7251a581 100644 --- a/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + client_side_security_api_response_common_failure_output, + client_side_security_messages_output, +} from "../outputs.js"; +import { + client_side_security_enabled_output, + client_side_security_get_zone_settings_response_output, + client_side_security_update_zone_settings_response_output, + client_side_security_updated_at_output, + client_side_security_use_cloudflare_reporting_endpoint_output, + client_side_security_use_connection_url_path_output, +} from "./outputs.js"; import { client_side_security_enabled, client_side_security_use_cloudflare_reporting_endpoint, @@ -53,6 +65,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/client-side-security_get-zone-settings-response" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_enabled": client_side_security_enabled_output, + "client-side-security_get-zone-settings-response": client_side_security_get_zone_settings_response_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_updated_at": client_side_security_updated_at_output, + "client-side-security_use_cloudflare_reporting_endpoint": client_side_security_use_cloudflare_reporting_endpoint_output, + "client-side-security_use_connection_url_path": client_side_security_use_connection_url_path_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield`, }), @@ -118,6 +149,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/client-side-security_update-zone-settings-response" + }, + "4XX": { + "$ref": "#/$defs/client-side-security_api-response-common-failure" + } + }, + $defs: { + "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, + "client-side-security_enabled": client_side_security_enabled_output, + "client-side-security_messages": client_side_security_messages_output, + "client-side-security_update-zone-settings-response": client_side_security_update_zone_settings_response_output, + "client-side-security_updated_at": client_side_security_updated_at_output, + "client-side-security_use_cloudflare_reporting_endpoint": client_side_security_use_cloudflare_reporting_endpoint_output, + "client-side-security_use_connection_url_path": client_side_security_use_connection_url_path_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudConnector/rules/outputs.ts b/src/generated/forge-mcp/cloudConnector/rules/outputs.ts new file mode 100644 index 00000000..d76df0e5 --- /dev/null +++ b/src/generated/forge-mcp/cloudConnector/rules/outputs.ts @@ -0,0 +1,130 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cloud-connector_api-response-common-failure` in responses. + */ +export const cloud_connector_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cloud-connector_messages" + }, + "messages": { + "$ref": "#/$defs/cloud-connector_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cloud-connector_messages` in responses. + */ +export const cloud_connector_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `cloud-connector_provider` in responses. + */ +export const cloud_connector_provider_output: JsonSchema = { + "enum": [ + "aws_s3", + "cloudflare_r2", + "gcp_storage", + "azure_storage", + "oci_storage" + ], + "type": "string" +}; + +/** + * The schema of `cloud-connector_rule` in responses. + */ +export const cloud_connector_rule_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/cloud-connector_rule_parameters" + }, + "provider": { + "$ref": "#/$defs/cloud-connector_provider" + } + }, + "type": "object" +}; + +/** + * The schema of `cloud-connector_rule_parameters` in responses. + */ +export const cloud_connector_rule_parameters_output: JsonSchema = { + "properties": { + "host": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `cloud-connector_rules` in responses. + */ +export const cloud_connector_rules_output: JsonSchema = { + "items": { + "$ref": "#/$defs/cloud-connector_rule" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/cloudConnector/rules/tools.ts b/src/generated/forge-mcp/cloudConnector/rules/tools.ts index 6bb5eef6..4d96be1c 100644 --- a/src/generated/forge-mcp/cloudConnector/rules/tools.ts +++ b/src/generated/forge-mcp/cloudConnector/rules/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cloud_connector_api_response_common_failure_output, + cloud_connector_messages_output, + cloud_connector_provider_output, + cloud_connector_rule_output, + cloud_connector_rule_parameters_output, + cloud_connector_rules_output, +} from "./outputs.js"; import { cloud_connector_provider, cloud_connector_rule, @@ -49,6 +57,38 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/cloud-connector_rules" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cloud-connector_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/cloud-connector_api-response-common-failure" + } + }, + $defs: { + "cloud-connector_api-response-common-failure": cloud_connector_api_response_common_failure_output, + "cloud-connector_messages": cloud_connector_messages_output, + "cloud-connector_provider": cloud_connector_provider_output, + "cloud-connector_rule": cloud_connector_rule_output, + "cloud-connector_rule_parameters": cloud_connector_rule_parameters_output, + "cloud-connector_rules": cloud_connector_rules_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cloud_connector/rules`, }), @@ -101,6 +141,38 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/cloud-connector_rules" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cloud-connector_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/cloud-connector_api-response-common-failure" + } + }, + $defs: { + "cloud-connector_api-response-common-failure": cloud_connector_api_response_common_failure_output, + "cloud-connector_messages": cloud_connector_messages_output, + "cloud-connector_provider": cloud_connector_provider_output, + "cloud-connector_rule": cloud_connector_rule_output, + "cloud-connector_rule_parameters": cloud_connector_rule_parameters_output, + "cloud-connector_rules": cloud_connector_rules_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/cloud_connector/rules`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts b/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts index 0b192431..b74f05d1 100644 --- a/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts @@ -43,6 +43,41 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": null, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/binary/${pathParam(args, "hash")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts index 25dc1478..45082fc6 100644 --- a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts @@ -49,6 +49,85 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "201": { + "properties": { + "domain": { + "type": "string" + }, + "id": { + "type": "integer" + } + }, + "required": [ + "domain", + "id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/credential-monitor/domains`, body: { value: args["body"], mediaType: "application/json" }, @@ -89,6 +168,62 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "deleted": { + "enum": [ + true + ], + "type": "boolean" + }, + "domain": { + "type": "string" + }, + "id": { + "type": "integer" + } + }, + "required": [ + "deleted", + "domain", + "id" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/credential-monitor/domains/${pathParam(args, "id")}`, }), @@ -134,6 +269,93 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "id": { + "type": "integer" + } + }, + "required": [ + "created_at", + "domain", + "id" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/credential-monitor/domains`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts index e930cae7..00963733 100644 --- a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts @@ -56,6 +56,97 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "domain": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "matched_at": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "domain", + "id", + "matched_at", + "username" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/credential-monitor/matches`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/aggregate/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/aggregate/tools.ts index c90cb378..55d68567 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/aggregate/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/aggregate/tools.ts @@ -67,6 +67,101 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "aggregateBy": { + "type": "string" + }, + "aggregations": { + "items": { + "allOf": [ + { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + { + "properties": { + "count": { + "type": "number" + }, + "date": { + "type": "string" + } + }, + "required": [ + "count" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "dateRange": { + "properties": { + "endDate": { + "type": "string" + }, + "startDate": { + "type": "string" + } + }, + "type": "object" + }, + "total": { + "type": "number" + } + }, + "required": [ + "aggregateBy", + "aggregations", + "total" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/aggregate`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/categories/catalog/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/categories/catalog/tools.ts index 03b3fef4..b6b1ebaf 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/categories/catalog/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/categories/catalog/tools.ts @@ -38,6 +38,77 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "shortname": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "killChain", + "name", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/categories/catalog`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/categories/tools.ts index 2ccaae35..ad85baf4 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/categories/tools.ts @@ -70,6 +70,74 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "shortname": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "killChain", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/event-categories/by-id/${pathParam(args, "category_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/copy/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/copy/tools.ts index d92a00ae..87f8bd04 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/copy/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/copy/tools.ts @@ -66,6 +66,77 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "copied": { + "type": "number" + }, + "indicatorsCopied": { + "type": "number" + }, + "insertFailures": { + "items": { + "properties": { + "index": { + "type": "number" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "index", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "relationshipsCopied": { + "type": "number" + } + }, + "required": [ + "copied", + "indicatorsCopied", + "relationshipsCopied" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/copy`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/events/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/events/tools.ts index dcc964c3..6670ab51 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/events/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/events/tools.ts @@ -48,6 +48,182 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/events/${pathParam(args, "event_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/get/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/get/tools.ts index 336cb50d..b3d6eb99 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/get/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/get/tools.ts @@ -38,6 +38,72 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "createdAt", + "description", + "name", + "updatedAt", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups`, }), @@ -77,6 +143,99 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "members": { + "items": { + "properties": { + "accountId": { + "type": "string" + }, + "accountTag": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "accountId", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "createdAt", + "description", + "members", + "name", + "updatedAt", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/members/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/members/tools.ts index ff1d9c1d..2ee9a1e5 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/members/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/members/tools.ts @@ -53,6 +53,66 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "accountId": { + "type": "string" + }, + "accountTag": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "accountId", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}/members`, body: { value: args["body"], mediaType: "application/json" }, @@ -96,6 +156,51 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}/members/${pathParam(args, "member_id")}`, }), @@ -135,6 +240,69 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "accountId": { + "type": "string" + }, + "accountTag": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "accountId", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}/members`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/tools.ts index 004abe75..95d1d0ec 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/tools.ts @@ -53,6 +53,69 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "createdAt", + "description", + "name", + "updatedAt", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups`, body: { value: args["body"], mediaType: "application/json" }, @@ -92,6 +155,51 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}`, }), @@ -145,6 +253,69 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "createdAt", + "description", + "name", + "updatedAt", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/bulk/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/bulk/tools.ts index 06c6ce72..fd2aa480 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/bulk/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/bulk/tools.ts @@ -124,6 +124,43 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "type": "number" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/bulk`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/create/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/create/tools.ts index 244c54df..9af22c0b 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/create/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/create/tools.ts @@ -109,6 +109,140 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/create`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/get/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/get/tools.ts index 71817bde..c5a380fa 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/get/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/get/tools.ts @@ -48,6 +48,140 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/relationships/tools.ts index 1846a5d8..83ee5def 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/relationships/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + cloudforce_one_events_HydratedEntity_output, + cloudforce_one_events_RelationshipEdge_output, +} from "../../../outputs.js"; /** * The tools of `cloudforce_one.events.dataset.indicators.relationships`. @@ -83,6 +87,69 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}/relationships`, body: { value: args["body"], mediaType: "application/json" }, @@ -135,6 +202,48 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "deleted": { + "type": "boolean" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}/relationships/${pathParam(args, "rel_uuid")}`, }), @@ -260,6 +369,80 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "counts": { + "type": "object" + }, + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entities": { + "items": { + "$ref": "#/$defs/cloudforce-one-events_HydratedEntity" + }, + "type": "array" + }, + "hasMore": { + "type": "boolean" + }, + "hydrationErrors": { + "type": "object" + }, + "relationships": { + "items": { + "$ref": "#/$defs/cloudforce-one-events_RelationshipEdge" + }, + "type": "array" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + $defs: { + "cloudforce-one-events_HydratedEntity": cloudforce_one_events_HydratedEntity_output, + "cloudforce-one-events_RelationshipEdge": cloudforce_one_events_RelationshipEdge_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}/relationships`, query: [ @@ -348,6 +531,73 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}/relationships/${pathParam(args, "rel_uuid")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tags/tools.ts index 1ea99e2b..d270deff 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tags/tools.ts @@ -43,6 +43,106 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/tags`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tools.ts index d0fce05b..331d3a2d 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tools.ts @@ -47,6 +47,51 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}`, }), @@ -148,6 +193,200 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/move/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/move/tools.ts index 2e42d5e5..837521ad 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/move/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/move/tools.ts @@ -66,6 +66,95 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "deletionFailures": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "datasetId", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "indicatorsCopied": { + "type": "number" + }, + "insertFailures": { + "items": { + "properties": { + "index": { + "type": "number" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "index", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "moved": { + "type": "number" + }, + "relationshipsCopied": { + "type": "number" + } + }, + "required": [ + "indicatorsCopied", + "moved", + "relationshipsCopied" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/move`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/permissions/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/permissions/tools.ts index a27ebbde..a0bf5412 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/permissions/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/permissions/tools.ts @@ -71,6 +71,91 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "resourceId": { + "type": "string" + }, + "resourceType": { + "enum": [ + "dataset" + ], + "type": "string" + }, + "role": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "subjectId": { + "type": "string" + }, + "subjectType": { + "enum": [ + "account", + "group" + ], + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "createdAt", + "resourceType", + "role", + "subjectId", + "subjectType", + "updatedAt", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/permissions`, body: { value: args["body"], mediaType: "application/json" }, @@ -116,6 +201,81 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/permissions/${pathParam(args, "grant_id")}`, }), @@ -157,6 +317,124 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "resourceId": { + "type": "string" + }, + "resourceType": { + "enum": [ + "dataset" + ], + "type": "string" + }, + "role": { + "enum": [ + "read", + "write" + ], + "type": "string" + }, + "subjectId": { + "type": "string" + }, + "subjectType": { + "enum": [ + "account", + "group" + ], + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "createdAt", + "resourceType", + "role", + "subjectId", + "subjectType", + "updatedAt", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/permissions`, }), @@ -216,6 +494,81 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/permissions/${pathParam(args, "grant_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/tags/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/tags/indicators/tools.ts index 9d9bac5d..1e68b64c 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/tags/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/tags/indicators/tools.ts @@ -121,6 +121,235 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "indicators": { + "items": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "pagination": { + "properties": { + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "totalCount": { + "type": "number" + }, + "totalPages": { + "type": "number" + } + }, + "required": [ + "page", + "pageSize", + "totalCount", + "totalPages" + ], + "type": "object" + } + }, + "required": [ + "indicators", + "pagination" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}/indicators`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/target/industries/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/target/industries/tools.ts index b18ff290..0ebebf11 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/target/industries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/target/industries/tools.ts @@ -44,6 +44,63 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/targetIndustries`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/tools.ts index 5353c17c..f25786d3 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/dataset/tools.ts @@ -61,6 +61,63 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -101,6 +158,85 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/datasets/populate/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/datasets/populate/tools.ts index 74bcc701..46ac9468 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/datasets/populate/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/datasets/populate/tools.ts @@ -38,6 +38,563 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "properties": { + "properties": { + "accountId": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "datasets": { + "properties": { + "items": { + "properties": { + "properties": { + "properties": { + "attackers": { + "properties": { + "properties": { + "properties": { + "created": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "errors": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "found": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + } + }, + "required": [ + "created", + "errors", + "found" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "categories": { + "properties": { + "properties": { + "properties": { + "created": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "errors": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "found": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + } + }, + "required": [ + "created", + "errors", + "found" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "datasetId": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "indicatorTypes": { + "properties": { + "properties": { + "properties": { + "created": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "errors": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "found": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + } + }, + "required": [ + "created", + "errors", + "found" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "processingTimeMs": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "targetIndustries": { + "properties": { + "properties": { + "properties": { + "created": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "errors": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "found": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + } + }, + "required": [ + "created", + "errors", + "found" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "totalProcessed": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "attackers", + "categories", + "datasetId", + "indicatorTypes", + "processingTimeMs", + "targetIndustries", + "totalProcessed" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "errors": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "summary": { + "properties": { + "properties": { + "properties": { + "failedDatasets": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "successfulDatasets": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "totalDatasets": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "totalIndicatorTypes": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "totalProcessingTimeMs": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "failedDatasets", + "successfulDatasets", + "totalDatasets", + "totalIndicatorTypes", + "totalProcessingTimeMs" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + } + }, + "required": [ + "accountId", + "datasets", + "errors", + "summary" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/datasets/populate`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/delete/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/delete/tools.ts index 840ac1f8..3be5a7ac 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/delete/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/delete/tools.ts @@ -51,6 +51,43 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "type": "number" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/datasets/${pathParam(args, "dataset_id")}/events`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/graphql/create/graph/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/graphql/create/graph/tools.ts index bfa77817..ab3db776 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/graphql/create/graph/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/graphql/create/graph/tools.ts @@ -38,6 +38,68 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "errors": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/graphql`, }), @@ -72,6 +134,68 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "errors": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/events/graphql`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/indicator/types/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/indicator/types/tools.ts index 4196c974..22078bcf 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/indicator/types/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/indicator/types/tools.ts @@ -45,6 +45,63 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/indicator-types`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/indicators/tools.ts index 1e150dc0..1f020b6b 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/indicators/tools.ts @@ -242,6 +242,477 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "properties": { + "properties": { + "completeness": { + "properties": { + "properties": { + "properties": { + "complete": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "failedDatasets": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "failedShards": { + "properties": { + "items": { + "properties": { + "properties": { + "properties": { + "datasetId": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "shardId": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "datasetId", + "shardId" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "warnings": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + } + }, + "required": [ + "complete", + "failedDatasets", + "failedShards", + "warnings" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "indicators": { + "properties": { + "items": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "sources": { + "items": { + "properties": { + "resourceId": { + "format": "uuid", + "type": "string" + }, + "resourceType": { + "enum": [ + "article" + ], + "type": "string" + }, + "system": { + "enum": [ + "threat-signals" + ], + "type": "string" + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "resourceId", + "resourceType", + "system", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "sources", + "updatedAt", + "uuid", + "value" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "pagination": { + "properties": { + "properties": { + "properties": { + "count": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cursor": { + "properties": { + "description": { + "type": "string" + }, + "nullable": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "nullable", + "type" + ], + "type": "object" + }, + "has_more": { + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "type" + ], + "type": "object" + }, + "page": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "per_page": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "total_count": { + "properties": { + "description": { + "type": "string" + }, + "nullable": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "nullable", + "type" + ], + "type": "object" + }, + "total_count_is_exact": { + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "type" + ], + "type": "object" + } + }, + "required": [ + "count", + "cursor", + "has_more", + "page", + "per_page", + "total_count", + "total_count_is_exact" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + } + }, + "required": [ + "completeness", + "indicators", + "pagination" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/indicators`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/outputs.ts b/src/generated/forge-mcp/cloudforceOne/events/outputs.ts new file mode 100644 index 00000000..47e75449 --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/events/outputs.ts @@ -0,0 +1,203 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cloudforce-one-events_FieldDefinition` in responses. + */ +export const cloudforce_one_events_FieldDefinition_output: JsonSchema = { + "properties": { + "allowedValues": { + "items": { + "type": "string" + }, + "type": "array" + }, + "annotations": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition_annotations" + }, + "deprecated": { + "type": "boolean" + }, + "deprecatedValues": { + "items": { + "type": "string" + }, + "type": "array" + }, + "element": { + "allOf": [ + { + "type": "object" + }, + { + "type": "object" + } + ] + }, + "enforcement": { + "enum": [ + "error", + "warn", + "off" + ], + "type": "string" + }, + "format": { + "enum": [ + "date", + "url", + "duration", + "country" + ], + "type": "string" + }, + "key": { + "type": "string" + }, + "kind": { + "enum": [ + "string", + "number", + "enum", + "date", + "array", + "object" + ], + "type": "string" + }, + "label": { + "type": "string" + }, + "maxLength": { + "type": "integer" + }, + "numberConstraint": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition_numberConstraint" + }, + "properties": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "required": { + "type": "boolean" + } + }, + "required": [ + "key", + "kind" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one-events_FieldDefinition_annotations` in + * responses. + */ +export const cloudforce_one_events_FieldDefinition_annotations_output: JsonSchema = { + "properties": { + "confidence": { + "type": "boolean" + }, + "tlp": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudforce-one-events_FieldDefinition_numberConstraint` in + * responses. + */ +export const cloudforce_one_events_FieldDefinition_numberConstraint_output: JsonSchema = { + "properties": { + "integer": { + "type": "boolean" + }, + "max": { + "type": "number" + }, + "min": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudforce-one-events_HydratedEntity` in responses. + */ +export const cloudforce_one_events_HydratedEntity_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `cloudforce-one-events_RelationshipEdge` in responses. + */ +export const cloudforce_one_events_RelationshipEdge_output: JsonSchema = { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "entityId": { + "type": "string" + }, + "entityType": { + "enum": [ + "event", + "indicator", + "tag" + ], + "type": "string" + }, + "metadata": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "relationshipUuid": { + "format": "uuid", + "type": "string" + }, + "type": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + }, + "required": [ + "confidence", + "createdAt", + "datasetId", + "entityId", + "entityType", + "metadata", + "relationshipUuid", + "type", + "updatedAt" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/events/queries/get/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/queries/get/tools.ts index 1fff9f39..c2ecd4cd 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/queries/get/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/queries/get/tools.ts @@ -38,6 +38,107 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "account_id": { + "type": "integer" + }, + "alert_enabled": { + "type": "boolean" + }, + "alert_rollup_enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "custom_threat_feed_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "query_json": { + "type": "string" + }, + "rule_enabled": { + "type": "boolean" + }, + "rule_list_id": { + "type": "string" + }, + "rule_scope": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user_email": { + "type": "string" + } + }, + "required": [ + "account_id", + "alert_enabled", + "alert_rollup_enabled", + "created_at", + "id", + "name", + "query_json", + "rule_enabled", + "updated_at", + "user_email" + ], + "type": "object" + }, + "type": "array" + }, + "4XX": null, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries`, }), @@ -78,6 +179,103 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "account_id": { + "type": "integer" + }, + "alert_enabled": { + "type": "boolean" + }, + "alert_rollup_enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "custom_threat_feed_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "query_json": { + "type": "string" + }, + "rule_enabled": { + "type": "boolean" + }, + "rule_list_id": { + "type": "string" + }, + "rule_scope": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user_email": { + "type": "string" + } + }, + "required": [ + "account_id", + "alert_enabled", + "alert_rollup_enabled", + "created_at", + "id", + "name", + "query_json", + "rule_enabled", + "updated_at", + "user_email" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/${pathParam(args, "query_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/queries/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/queries/tools.ts index 7fea5465..007b941f 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/queries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/queries/tools.ts @@ -76,6 +76,133 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "account_id": { + "type": "integer" + }, + "alert_enabled": { + "type": "boolean" + }, + "alert_rollup_enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "custom_threat_feed_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "query_json": { + "type": "string" + }, + "rule_enabled": { + "type": "boolean" + }, + "rule_list_id": { + "type": "string" + }, + "rule_scope": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user_email": { + "type": "string" + } + }, + "required": [ + "account_id", + "alert_enabled", + "alert_rollup_enabled", + "created_at", + "id", + "name", + "query_json", + "rule_enabled", + "updated_at", + "user_email" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/${pathParam(args, "query_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -152,6 +279,103 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "account_id": { + "type": "integer" + }, + "alert_enabled": { + "type": "boolean" + }, + "alert_rollup_enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "custom_threat_feed_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "query_json": { + "type": "string" + }, + "rule_enabled": { + "type": "boolean" + }, + "rule_list_id": { + "type": "string" + }, + "rule_scope": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user_email": { + "type": "string" + } + }, + "required": [ + "account_id", + "alert_enabled", + "alert_rollup_enabled", + "created_at", + "id", + "name", + "query_json", + "rule_enabled", + "updated_at", + "user_email" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/create`, body: { value: args["body"], mediaType: "application/json" }, @@ -192,6 +416,41 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": null, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/${pathParam(args, "query_id")}`, }), @@ -264,6 +523,133 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "account_id": { + "type": "integer" + }, + "alert_enabled": { + "type": "boolean" + }, + "alert_rollup_enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "custom_threat_feed_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "query_json": { + "type": "string" + }, + "rule_enabled": { + "type": "boolean" + }, + "rule_list_id": { + "type": "string" + }, + "rule_scope": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user_email": { + "type": "string" + } + }, + "required": [ + "account_id", + "alert_enabled", + "alert_rollup_enabled", + "created_at", + "id", + "name", + "query_json", + "rule_enabled", + "updated_at", + "user_email" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/${pathParam(args, "query_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/raw/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/raw/tools.ts index f79e1876..64b278f8 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/raw/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/raw/tools.ts @@ -62,6 +62,55 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "type": "object" + }, + "id": { + "type": "string" + } + }, + "required": [ + "data", + "id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}/raw/${pathParam(args, "raw_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/relate/create/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/relate/create/tools.ts index f671b135..0171a113 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/relate/create/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/relate/create/tools.ts @@ -57,6 +57,51 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/relate/${pathParam(args, "event_id")}/create`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/relationships/create/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/relationships/create/tools.ts index 7e86d791..6eedaf8b 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/relationships/create/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/relationships/create/tools.ts @@ -76,6 +76,125 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "childIds": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "errors": { + "items": { + "properties": { + "childId": { + "format": "uuid", + "type": "string" + }, + "error": { + "type": "string" + }, + "errorType": { + "type": "string" + } + }, + "required": [ + "childId", + "error" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "relationships": { + "items": { + "properties": { + "childDatasetId": { + "type": "string" + }, + "childId": { + "format": "uuid", + "type": "string" + }, + "parentDatasetId": { + "type": "string" + }, + "parentId": { + "format": "uuid", + "type": "string" + }, + "relationshipType": { + "enum": [ + "related_to", + "caused_by", + "attributed_to" + ], + "type": "string" + } + }, + "required": [ + "childDatasetId", + "childId", + "parentDatasetId", + "parentId", + "relationshipType" + ], + "type": "object" + }, + "type": "array" + }, + "relationshipsCreated": { + "type": "number" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "message", + "relationships", + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/relationships/create`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/relationships/tools.ts index 304b4972..5268e9a7 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/relationships/tools.ts @@ -94,6 +94,185 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/by-id/${pathParam(args, "event_id")}/relationships`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/actors/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/tags/categories/actors/tools.ts index 4f958add..88a1e0cb 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/actors/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/tags/categories/actors/tools.ts @@ -107,6 +107,613 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "pagination": { + "properties": { + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "totalCount": { + "type": "number" + }, + "totalPages": { + "type": "number" + } + }, + "required": [ + "page", + "pageSize", + "totalCount", + "totalPages" + ], + "type": "object" + }, + "tags": { + "items": { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originCountryISO": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "originCountryISO_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "priority": { + "type": "number" + }, + "priority_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "pagination", + "tags" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/categories/actors`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/create/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/tags/categories/create/tools.ts index 2eb1ab58..528a3cfa 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/create/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/tags/categories/create/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + cloudforce_one_events_FieldDefinition_annotations_output, + cloudforce_one_events_FieldDefinition_numberConstraint_output, + cloudforce_one_events_FieldDefinition_output, +} from "../../../outputs.js"; import { cloudforce_one_events_FieldDefinition, cloudforce_one_events_FieldDefinition_annotations, @@ -69,6 +74,112 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + $defs: { + "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, + "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/categories/create`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/tags/categories/tools.ts index 2ba35d5b..77a5406a 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/tags/categories/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + cloudforce_one_events_FieldDefinition_annotations_output, + cloudforce_one_events_FieldDefinition_numberConstraint_output, + cloudforce_one_events_FieldDefinition_output, +} from "../../outputs.js"; import { cloudforce_one_events_FieldDefinition, cloudforce_one_events_FieldDefinition_annotations, @@ -47,6 +52,81 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "uuid": { + "type": "string" + } + }, + "required": [ + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tag-categories/${pathParam(args, "category_uuid")}`, }), @@ -85,6 +165,93 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "categories": { + "items": { + "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "name", + "uuid" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "categories" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + $defs: { + "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, + "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/categories`, query: [ @@ -128,6 +295,82 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "name", + "uuid" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + $defs: { + "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, + "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tag-categories/${pathParam(args, "category_uuid")}`, }), @@ -190,6 +433,142 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + $defs: { + "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, + "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tag-categories/${pathParam(args, "category_uuid")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/tags/relationships/tools.ts index 6e4671c9..96a6ef25 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/tags/relationships/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + cloudforce_one_events_HydratedEntity_output, + cloudforce_one_events_RelationshipEdge_output, +} from "../../outputs.js"; /** * The tools of `cloudforce_one.events.tags.relationships`. @@ -82,6 +86,43 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}/relationships`, body: { value: args["body"], mediaType: "application/json" }, @@ -133,6 +174,48 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "deleted": { + "type": "boolean" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}/relationships/${pathParam(args, "rel_uuid")}`, query: [ @@ -262,6 +345,86 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "counts": { + "type": "object" + }, + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entities": { + "items": { + "$ref": "#/$defs/cloudforce-one-events_HydratedEntity" + }, + "type": "array" + }, + "failedShardCount": { + "type": "number" + }, + "hasMore": { + "type": "boolean" + }, + "hydrationErrors": { + "type": "object" + }, + "partialResults": { + "type": "boolean" + }, + "relationships": { + "items": { + "$ref": "#/$defs/cloudforce-one-events_RelationshipEdge" + }, + "type": "array" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + $defs: { + "cloudforce-one-events_HydratedEntity": cloudforce_one_events_HydratedEntity_output, + "cloudforce-one-events_RelationshipEdge": cloudforce_one_events_RelationshipEdge_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}/relationships`, query: [ @@ -350,6 +513,73 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}/relationships/${pathParam(args, "rel_uuid")}`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/tags/tools.ts index b79413a4..4f745ba2 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/tags/tools.ts @@ -42,6 +42,81 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "uuid": { + "type": "string" + } + }, + "required": [ + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}`, }), @@ -156,28 +231,1688 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags`, - query: [ - ["page", args["page"], true], - ["pageSize", args["page_size"], true], - ["search", args["search"], true], - ["categoryUuid", args["category_uuid"], true], - ["filters", args["filters"], true], - ["cache", args["cache"], true], - ], - }), - }, - { - name: "cloudforce_one_events_tags_get_by_id", - title: "Gets a tag by UUID (SoT)", - description: "Returns the complete owner projection of an account-scoped Source-of-Truth tag by UUID, including custom fields (properties). Purple TLP remains CFONE-only.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" + responses: { + schemas: { + "200": { + "properties": { + "pagination": { + "properties": { + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "totalCount": { + "type": "number" + }, + "totalPages": { + "type": "number" + } + }, + "required": [ + "page", + "pageSize", + "totalCount", + "totalPages" + ], + "type": "object" + }, + "tags": { + "items": { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originCountryISO": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "originCountryISO_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "priority": { + "type": "number" + }, + "priority_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "pagination", + "tags" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags`, + query: [ + ["page", args["page"], true], + ["pageSize", args["page_size"], true], + ["search", args["search"], true], + ["categoryUuid", args["category_uuid"], true], + ["filters", args["filters"], true], + ["cache", args["cache"], true], + ], + }), + }, + { + name: "cloudforce_one_events_tags_get_by_id", + title: "Gets a tag by UUID (SoT)", + description: "Returns the complete owner projection of an account-scoped Source-of-Truth tag by UUID, including custom fields (properties). Purple TLP remains CFONE-only.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } + }, + required: [ + "account_id", + "tag_uuid" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Gets a tag by UUID (SoT)" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originCountryISO": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "originCountryISO_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "priority": { + "type": "number" + }, + "priority_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}`, + }), + }, + { + name: "cloudforce_one_events_tags_patch", + title: "Updates a tag (SoT)", + description: "Updates an account-owned Source-of-Truth tag by UUID and returns its complete owner projection.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "activeDuration": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "actorCategory": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "description": "Structured aliases ({ value, confidence 1-10, tlp }). Public: returned to all accounts with per-entry TLP filtering (entries with tlp: purple are removed for non-CFONE accounts).", + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "categoryUuid": { + "description": "Tag type (category) UUID. When changed, existing `properties` are re-validated against the new category's schema (400 on mismatch). Set to null to unlink (typeless; properties stop being validated).", + "type": "string" + }, + "confidence": { + "description": "Overall tag confidence (1-10). Omit to preserve existing.", + "type": "integer" + }, + "dateOfDiscovery": { + "description": "Date of discovery (ISO YYYY-MM-DD). Omit to preserve existing.", + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "description": "Structured external references ({ url, description }). Public: returned to all accounts.", + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "internalAliases": { + "description": "Owner-private structured aliases ({ value, confidence 1-10, tlp }). Returned to the owning account and omitted from shared-catalog non-owner responses.", + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "opsecLevel": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "originCountryISO": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "priority": { + "anyOf": [ + { + "type": "number" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "properties": { + "description": "Custom field values blob. When omitted, the existing value is preserved. When provided, performs a shallow per-key merge over the stored value (unmentioned keys are retained). Setting an individual key to null deletes that key. Validation runs against the merged result, so a partial update may omit a schema-required key if the stored value supplies it.", + "type": "object" + }, + "sophisticationLevel": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "tlp": { + "description": "Tag-level TLP marking. Omit to preserve existing. Cannot be cleared to null.", + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" }, "tag_uuid": { "description": "Tag UUID.", @@ -191,46 +1926,29 @@ export const tools: readonly Tool[] = [ }, annotations: { "destructiveHint": false, - "idempotentHint": true, + "idempotentHint": false, "openWorldHint": true, - "readOnlyHint": true, - "title": "Gets a tag by UUID (SoT)" + "readOnlyHint": false, + "title": "Updates a tag (SoT)" }, - method: "GET", + method: "PATCH", path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", extensions: { "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" + "Cloudforce One Write" ] }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}`, - }), - }, - { - name: "cloudforce_one_events_tags_patch", - title: "Updates a tag (SoT)", - description: "Updates an account-owned Source-of-Truth tag by UUID and returns its complete owner projection.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { + responses: { + schemas: { + "200": { "properties": { "activeDuration": { - "anyOf": [ - { - "type": "string" - }, + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ { "properties": { - "confidence": { - "type": "integer" - }, "tlp": { "enum": [ "red", @@ -251,18 +1969,21 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + { + "type": "null" } ] }, "actorCategory": { - "anyOf": [ - { - "type": "string" - }, + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ { "properties": { "confidence": { - "type": "integer" + "type": "number" }, "tlp": { "enum": [ @@ -284,6 +2005,9 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + { + "type": "null" } ] }, @@ -300,7 +2024,6 @@ export const tools: readonly Tool[] = [ "type": "array" }, "aliases": { - "description": "Structured aliases ({ value, confidence 1-10, tlp }). Public: returned to all accounts with per-entry TLP filtering (entries with tlp: purple are removed for non-CFONE accounts).", "items": { "properties": { "confidence": { @@ -344,14 +2067,14 @@ export const tools: readonly Tool[] = [ "type": "array" }, "attributionOrganization": { - "anyOf": [ - { - "type": "string" - }, + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ { "properties": { "confidence": { - "type": "integer" + "type": "number" }, "tlp": { "enum": [ @@ -373,19 +2096,32 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + { + "type": "null" } ] }, + "categoryName": { + "type": "string" + }, "categoryUuid": { - "description": "Tag type (category) UUID. When changed, existing `properties` are re-validated against the new category's schema (400 on mismatch). Set to null to unlink (typeless; properties stop being validated).", "type": "string" }, "confidence": { - "description": "Overall tag confidence (1-10). Omit to preserve existing.", - "type": "integer" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" }, "dateOfDiscovery": { - "description": "Date of discovery (ISO YYYY-MM-DD). Omit to preserve existing.", "type": "string" }, "description": { @@ -398,7 +2134,6 @@ export const tools: readonly Tool[] = [ "type": "array" }, "externalReferences": { - "description": "Structured external references ({ url, description }). Public: returned to all accounts.", "items": { "properties": { "description": { @@ -422,8 +2157,40 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, "internalAliases": { - "description": "Owner-private structured aliases ({ value, confidence 1-10, tlp }). Returned to the owning account and omitted from shared-catalog non-owner responses.", "items": { "properties": { "confidence": { @@ -473,14 +2240,14 @@ export const tools: readonly Tool[] = [ "type": "string" }, "motive": { - "anyOf": [ - { - "type": "string" - }, + "type": "string" + }, + "motive_annotated": { + "oneOf": [ { "properties": { "confidence": { - "type": "integer" + "type": "number" }, "tlp": { "enum": [ @@ -502,18 +2269,21 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + { + "type": "null" } ] }, "opsecLevel": { - "anyOf": [ - { - "type": "string" - }, + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ { "properties": { "confidence": { - "type": "integer" + "type": "number" }, "tlp": { "enum": [ @@ -535,18 +2305,28 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + { + "type": "null" } ] }, "originCountryISO": { - "anyOf": [ + "oneOf": [ { "type": "string" }, + { + "type": "null" + } + ] + }, + "originCountryISO_annotated": { + "oneOf": [ { "properties": { "confidence": { - "type": "integer" + "type": "number" }, "tlp": { "enum": [ @@ -561,26 +2341,33 @@ export const tools: readonly Tool[] = [ "type": "string" }, "value": { - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ "value" ], "type": "object" + }, + { + "type": "null" } ] }, "priority": { - "anyOf": [ - { - "type": "number" - }, + "type": "number" + }, + "priority_annotated": { + "oneOf": [ { "properties": { - "confidence": { - "type": "integer" - }, "tlp": { "enum": [ "red", @@ -601,22 +2388,31 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + { + "type": "null" } ] }, "properties": { - "description": "Custom field values blob. When omitted, the existing value is preserved. When provided, performs a shallow per-key merge over the stored value (unmentioned keys are retained). Setting an individual key to null deletes that key. Validation runs against the merged result, so a partial update may omit a schema-required key if the stored value supplies it.", - "type": "object" - }, - "sophisticationLevel": { - "anyOf": [ + "oneOf": [ { - "type": "string" + "type": "object" }, + { + "type": "null" + } + ] + }, + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { + "oneOf": [ { "properties": { "confidence": { - "type": "integer" + "type": "number" }, "tlp": { "enum": [ @@ -638,51 +2434,111 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + { + "type": "null" } ] }, "tlp": { - "description": "Tag-level TLP marking. Omit to preserve existing. Cannot be cleared to null.", - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { "type": "string" }, "value": { "type": "string" + }, + "version": { + "type": "number" } }, + "required": [ + "uuid", + "value" + ], "type": "object" }, - "tag_uuid": { - "description": "Tag UUID.", - "type": "string" + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" } }, - required: [ - "account_id", - "tag_uuid" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Updates a tag (SoT)" - }, - method: "PATCH", - path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}`, diff --git a/src/generated/forge-mcp/cloudforceOne/events/target/industries/catalog/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/target/industries/catalog/tools.ts index 6928196c..ede3dd3a 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/target/industries/catalog/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/target/industries/catalog/tools.ts @@ -38,6 +38,63 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/targetIndustries/catalog`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/events/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/tools.ts index 7bb1cbb6..ee9dda3d 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/tools.ts @@ -121,6 +121,182 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/update/bulk/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/update/bulk/tools.ts index 6f98583a..b838002e 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/update/bulk/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/events/update/bulk/tools.ts @@ -128,6 +128,73 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "failedCount": { + "type": "number" + }, + "failures": { + "items": { + "properties": { + "error": { + "type": "string" + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "error", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "updatedCount": { + "type": "number" + } + }, + "required": [ + "failedCount", + "updatedCount" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/update/bulk`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts index 7c77e833..8cb23b33 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts @@ -38,6 +38,12 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/constants`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts index 1ad6497d..2178f319 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts @@ -49,6 +49,433 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "branches": { + "items": { + "items": { + "anyOf": [ + { + "properties": { + "field": { + "enum": [ + "attacker", + "attackerCountry", + "category", + "createdAt", + "date", + "event", + "indicator", + "indicatorType", + "mitreAttack", + "mitreCapec", + "tags", + "targetCountry", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "string" + }, + "op": { + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte", + "like", + "contains", + "startsWith", + "endsWith", + "find" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "attacker", + "attackerCountry", + "category", + "createdAt", + "date", + "event", + "indicator", + "indicatorType", + "mitreAttack", + "mitreCapec", + "tags", + "targetCountry", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "string" + }, + "op": { + "enum": [ + "in" + ], + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "killChain" + ], + "type": "string" + }, + "op": { + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte" + ], + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "killChain" + ], + "type": "string" + }, + "op": { + "enum": [ + "in" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "hasChildren" + ], + "type": "string" + }, + "op": { + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte" + ], + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "boolean" + }, + { + "enum": [ + "true", + "false", + 1, + 0, + "1", + "0" + ] + } + ] + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "hasChildren" + ], + "type": "string" + }, + "op": { + "enum": [ + "in" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "boolean" + }, + { + "enum": [ + "true", + "false", + 1, + 0, + "1", + "0" + ] + } + ] + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + } + ] + }, + "maxItems": 10, + "minItems": 1, + "type": "array" + }, + "maxItems": 8, + "type": "array" + }, + "coverage": { + "enum": [ + "full", + "partial", + "none" + ], + "type": "string" + }, + "intent": { + "properties": { + "clauses": { + "items": { + "properties": { + "actors": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "attacker_countries": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "categories": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "cves": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "keywords": { + "items": { + "type": "string" + }, + "maxItems": 5, + "type": "array" + }, + "target_countries": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "target_industries": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "techniques": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + } + }, + "required": [ + "actors", + "attacker_countries", + "categories", + "cves", + "keywords", + "target_countries", + "target_industries", + "techniques" + ], + "type": "object" + }, + "maxItems": 8, + "minItems": 1, + "type": "array" + }, + "indicators": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "unsupported_terms": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + } + }, + "required": [ + "clauses", + "indicators", + "unsupported_terms" + ], + "type": "object" + }, + "model": { + "type": "string" + }, + "unresolved_terms": { + "items": { + "properties": { + "reason": { + "enum": [ + "unknown_country", + "unknown_industry", + "unknown_category", + "no_matching_category", + "invalid_keyword", + "branch_limit", + "indicators_not_supported", + "no_matching_field" + ], + "type": "string" + }, + "term": { + "type": "string" + } + }, + "required": [ + "reason", + "term" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "branches", + "coverage", + "intent", + "model", + "unresolved_terms" + ], + "type": "object" + }, + "400": null, + "429": null, + "502": null, + "503": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/filters/generate`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts index 28352943..6ea8d5f6 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts @@ -84,6 +84,12 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": null, + "400": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/interests/backtests`, body: { value: args["body"], mediaType: "application/json" }, @@ -126,6 +132,12 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": null, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/interests/backtests/${pathParam(args, "backtest_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts index 81af1973..fd9c7dc2 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts @@ -80,6 +80,12 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": null, + "400": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/interests/evaluations`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +128,12 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": null, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/interests/evaluations/${pathParam(args, "evaluation_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts index dcfa13f3..a8d88277 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts @@ -67,6 +67,13 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": null, + "400": null, + "409": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/interests`, body: { value: args["body"], mediaType: "application/json" }, @@ -108,6 +115,12 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": null, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/interests/${pathParam(args, "interest_id")}`, }), @@ -158,6 +171,12 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": null, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/interests`, query: [ @@ -214,6 +233,13 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": null, + "404": null, + "409": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/interests/${pathParam(args, "interest_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts index 793a12b9..108fe3b1 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts @@ -61,6 +61,13 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "400": null, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/${pathParam(args, "priority_id")}/matches`, query: [ @@ -147,6 +154,13 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "400": null, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/${pathParam(args, "priority_id")}/matches`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts index cdfde8ba..b7b3e98c 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts @@ -37,6 +37,12 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/quota`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts index 40feac23..abf409e5 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts @@ -531,6 +531,14 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "400": null, + "403": null, + "429": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence`, body: { value: args["body"], mediaType: "application/json" }, @@ -571,6 +579,12 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/${pathParam(args, "priority_id")}`, }), @@ -611,6 +625,12 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/${pathParam(args, "priority_id")}`, }), @@ -654,6 +674,12 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence`, query: [ @@ -1221,6 +1247,16 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "400": null, + "403": null, + "404": null, + "409": null, + "429": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/${pathParam(args, "priority_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts index 97036516..55088b8c 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts @@ -67,6 +67,13 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": null, + "404": null, + "410": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/assets/${pathParam(args, "asset_id")}/download`, }), @@ -126,6 +133,281 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "properties": { + "properties": { + "assets": { + "properties": { + "items": { + "properties": { + "properties": { + "properties": { + "contentType": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "downloadable": { + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "type" + ], + "type": "object" + }, + "expiresAt": { + "properties": { + "nullable": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "nullable", + "type" + ], + "type": "object" + }, + "fileName": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "fileSize": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "is_cloudflare_team": { + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "type" + ], + "type": "object" + }, + "metadata": { + "properties": { + "additionalProperties": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nullable": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "additionalProperties", + "nullable", + "type" + ], + "type": "object" + }, + "origin": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "tlp": { + "properties": { + "enum": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "type": "string" + } + }, + "required": [ + "enum", + "type" + ], + "type": "object" + }, + "uploadedAt": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uploadedBy": { + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "type" + ], + "type": "object" + } + }, + "required": [ + "description", + "contentType", + "downloadable", + "expiresAt", + "fileName", + "fileSize", + "id", + "is_cloudflare_team", + "metadata", + "origin", + "state", + "tlp", + "uploadedAt", + "uploadedBy" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "count": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "assets", + "count" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/assets/list`, }), @@ -184,6 +466,209 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "properties": { + "properties": { + "contentType": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "downloadable": { + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "type" + ], + "type": "object" + }, + "expiresAt": { + "properties": { + "nullable": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "nullable", + "type" + ], + "type": "object" + }, + "fileName": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "fileSize": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "is_cloudflare_team": { + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "type" + ], + "type": "object" + }, + "metadata": { + "properties": { + "additionalProperties": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nullable": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "additionalProperties", + "nullable", + "type" + ], + "type": "object" + }, + "origin": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "tlp": { + "properties": { + "enum": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "type": "string" + } + }, + "required": [ + "enum", + "type" + ], + "type": "object" + }, + "uploadedAt": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "contentType", + "downloadable", + "expiresAt", + "fileName", + "fileSize", + "id", + "is_cloudflare_team", + "metadata", + "origin", + "state", + "tlp", + "uploadedAt" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/assets/upload`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts index 8b772ebb..9ac0adc4 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts @@ -57,6 +57,158 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "properties": { + "properties": { + "result": { + "properties": { + "properties": { + "properties": { + "priority": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "priority_token_surcharge": { + "properties": { + "additionalProperties": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "additionalProperties", + "type" + ], + "type": "object" + }, + "status": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "tlp": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + } + }, + "required": [ + "priority", + "priority_token_surcharge", + "status", + "tlp" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "success": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "result", + "success" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/constants`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts index 85f6263c..b1d7f000 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts @@ -38,6 +38,51 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "allowed": { + "type": "boolean" + } + }, + "required": [ + "allowed" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/legal-response/access-check`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts index ccc39ec4..7b47ca2c 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts @@ -94,6 +94,119 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "attachments": { + "items": { + "properties": { + "contentType": { + "type": "string" + }, + "downloadable": { + "type": "boolean" + }, + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "is_cloudflare_team": { + "type": "boolean" + }, + "origin": { + "enum": [ + "cloudflare", + "self" + ], + "type": "string" + }, + "state": { + "enum": [ + "active", + "expired", + "revoked" + ], + "type": "string" + } + }, + "required": [ + "contentType", + "downloadable", + "fileName", + "fileSize", + "id", + "is_cloudflare_team", + "origin", + "state" + ], + "type": "object" + }, + "type": "array" + }, + "content": { + "type": "string" + }, + "created": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_cloudflare_team": { + "type": "boolean" + }, + "is_published": { + "type": "boolean" + }, + "published": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "enum": [ + "clear", + "green", + "amber", + "amber-strict", + "red" + ], + "type": "string" + }, + "updated": { + "type": "string" + } + }, + "required": [ + "attachments", + "content", + "created", + "id", + "is_cloudflare_team", + "is_published", + "published", + "tlp", + "updated" + ], + "type": "object" + }, + "400": null, + "404": null, + "409": null, + "500": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/messages/new`, headers: [ @@ -144,6 +257,117 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "attachments": { + "items": { + "properties": { + "contentType": { + "type": "string" + }, + "downloadable": { + "type": "boolean" + }, + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "is_cloudflare_team": { + "type": "boolean" + }, + "origin": { + "enum": [ + "cloudflare", + "self" + ], + "type": "string" + }, + "state": { + "enum": [ + "active", + "expired", + "revoked" + ], + "type": "string" + } + }, + "required": [ + "contentType", + "downloadable", + "fileName", + "fileSize", + "id", + "is_cloudflare_team", + "origin", + "state" + ], + "type": "object" + }, + "type": "array" + }, + "content": { + "type": "string" + }, + "created": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_cloudflare_team": { + "type": "boolean" + }, + "is_published": { + "type": "boolean" + }, + "published": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "enum": [ + "clear", + "green", + "amber", + "amber-strict", + "red" + ], + "type": "string" + }, + "updated": { + "type": "string" + } + }, + "required": [ + "attachments", + "content", + "created", + "id", + "is_cloudflare_team", + "is_published", + "published", + "tlp", + "updated" + ], + "type": "object" + }, + "404": null, + "500": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/messages/${pathParam(args, "message_id")}`, }), @@ -194,6 +418,152 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "messages": { + "items": { + "properties": { + "attachments": { + "items": { + "properties": { + "contentType": { + "type": "string" + }, + "downloadable": { + "type": "boolean" + }, + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "is_cloudflare_team": { + "type": "boolean" + }, + "origin": { + "enum": [ + "cloudflare", + "self" + ], + "type": "string" + }, + "state": { + "enum": [ + "active", + "expired", + "revoked" + ], + "type": "string" + } + }, + "required": [ + "contentType", + "downloadable", + "fileName", + "fileSize", + "id", + "is_cloudflare_team", + "origin", + "state" + ], + "type": "object" + }, + "type": "array" + }, + "content": { + "type": "string" + }, + "created": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_cloudflare_team": { + "type": "boolean" + }, + "is_published": { + "type": "boolean" + }, + "published": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "enum": [ + "clear", + "green", + "amber", + "amber-strict", + "red" + ], + "type": "string" + }, + "updated": { + "type": "string" + } + }, + "required": [ + "attachments", + "content", + "created", + "id", + "is_cloudflare_team", + "is_published", + "published", + "tlp", + "updated" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "has_more": { + "type": "boolean" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "has_more", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "messages", + "result_info" + ], + "type": "object" + }, + "404": null, + "500": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/messages`, query: [ @@ -287,6 +657,127 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "properties": { + "attachments": { + "items": { + "properties": { + "contentType": { + "type": "string" + }, + "downloadable": { + "type": "boolean" + }, + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "is_cloudflare_team": { + "type": "boolean" + }, + "origin": { + "enum": [ + "cloudflare", + "self" + ], + "type": "string" + }, + "state": { + "enum": [ + "active", + "expired", + "revoked" + ], + "type": "string" + } + }, + "required": [ + "contentType", + "downloadable", + "fileName", + "fileSize", + "id", + "is_cloudflare_team", + "origin", + "state" + ], + "type": "object" + }, + "type": "array" + }, + "content": { + "type": "string" + }, + "created": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_cloudflare_team": { + "type": "boolean" + }, + "is_published": { + "type": "boolean" + }, + "published": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "enum": [ + "clear", + "green", + "amber", + "amber-strict", + "red" + ], + "type": "string" + }, + "updated": { + "type": "string" + } + }, + "required": [ + "attachments", + "content", + "created", + "id", + "is_cloudflare_team", + "is_published", + "published", + "tlp", + "updated" + ], + "type": "object" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "400": null, + "404": null, + "409": null, + "500": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/messages/${pathParam(args, "message_id")}`, headers: [ diff --git a/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts index 318c53ab..890b962c 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts @@ -65,6 +65,202 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "items": { + "properties": { + "created": { + "type": "string" + }, + "defaultValue": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "description": { + "type": "string" + }, + "displayOrder": { + "type": "number" + }, + "fieldLabel": { + "type": "string" + }, + "fieldName": { + "type": "string" + }, + "fieldType": { + "type": "string" + }, + "id": { + "type": "string" + }, + "options": { + "items": { + "type": "string" + }, + "type": "array" + }, + "projectType": { + "type": "string" + }, + "public": { + "type": "boolean" + }, + "required": { + "type": "boolean" + }, + "sectionID": { + "type": "string" + }, + "sectionLabel": { + "type": "string" + }, + "updated": { + "type": "string" + }, + "validation": { + "properties": { + "max": { + "type": "number" + }, + "maxLength": { + "type": "number" + }, + "min": { + "type": "number" + }, + "minLength": { + "type": "number" + }, + "pattern": { + "type": "string" + }, + "requiredWhen": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + ] + }, + "type": "object" + }, + "visibility": { + "properties": { + "exclude_countries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "include_request_types": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "visibleWhen": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "array" + } + ] + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "created", + "displayOrder", + "fieldLabel", + "fieldName", + "fieldType", + "id", + "projectType", + "public", + "required", + "updated" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "data", + "success" + ], + "type": "object" + }, + "401": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/metadata`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts index 421b91ce..96a30d78 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts @@ -57,6 +57,13 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": null, + "404": null, + "422": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/quota`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/requests/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/tools.ts index 327c55b7..04e3be56 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/tools.ts @@ -109,6 +109,78 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "accountId": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "priority_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "projectType": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + }, + "required": [ + "accountId", + "createdAt", + "createdBy", + "description", + "id", + "projectType", + "status", + "title", + "updatedAt" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}`, query: [ @@ -186,6 +258,258 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "account": { + "properties": { + "anniversary": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "anniversary", + "id", + "name" + ], + "type": "object" + }, + "assignee": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "completed": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "investigation_id": { + "type": "string" + }, + "is_free_request": { + "type": "boolean" + }, + "message_tokens": { + "type": "number" + }, + "priority": { + "enum": [ + "unknown", + "low", + "routine", + "medium", + "high", + "urgent", + "critical" + ], + "type": "string" + }, + "priority_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "readable_id": { + "type": "string" + }, + "release_entitlements": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "report_id": { + "type": "string" + }, + "request": { + "properties": { + "category": { + "type": "string" + }, + "message_tokens": { + "type": "number" + }, + "name": { + "type": "string" + }, + "request_tokens": { + "type": "number" + }, + "response_tokens": { + "type": "number" + }, + "result": { + "type": "string" + }, + "source": { + "type": "string" + } + }, + "required": [ + "category", + "message_tokens", + "name", + "request_tokens", + "response_tokens", + "result", + "source" + ], + "type": "object" + }, + "status": { + "enum": [ + "draft", + "submitted", + "accepted", + "in_progress", + "awaiting_customer", + "awaiting_external", + "response_needed", + "completed", + "closed" + ], + "type": "string" + }, + "summary": { + "type": "string" + }, + "tlp": { + "enum": [ + "clear", + "green", + "amber", + "red" + ], + "type": "string" + }, + "tokens": { + "type": "number" + }, + "updated": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "account", + "assignee", + "completed", + "created", + "id", + "investigation_id", + "is_free_request", + "message_tokens", + "priority", + "readable_id", + "release_entitlements", + "report_id", + "request", + "status", + "summary", + "tlp", + "tokens", + "updated" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}`, }), @@ -316,6 +640,258 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "201": { + "properties": { + "account": { + "properties": { + "anniversary": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "anniversary", + "id", + "name" + ], + "type": "object" + }, + "assignee": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "completed": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "investigation_id": { + "type": "string" + }, + "is_free_request": { + "type": "boolean" + }, + "message_tokens": { + "type": "number" + }, + "priority": { + "enum": [ + "unknown", + "low", + "routine", + "medium", + "high", + "urgent", + "critical" + ], + "type": "string" + }, + "priority_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "readable_id": { + "type": "string" + }, + "release_entitlements": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "report_id": { + "type": "string" + }, + "request": { + "properties": { + "category": { + "type": "string" + }, + "message_tokens": { + "type": "number" + }, + "name": { + "type": "string" + }, + "request_tokens": { + "type": "number" + }, + "response_tokens": { + "type": "number" + }, + "result": { + "type": "string" + }, + "source": { + "type": "string" + } + }, + "required": [ + "category", + "message_tokens", + "name", + "request_tokens", + "response_tokens", + "result", + "source" + ], + "type": "object" + }, + "status": { + "enum": [ + "draft", + "submitted", + "accepted", + "in_progress", + "awaiting_customer", + "awaiting_external", + "response_needed", + "completed", + "closed" + ], + "type": "string" + }, + "summary": { + "type": "string" + }, + "tlp": { + "enum": [ + "clear", + "green", + "amber", + "red" + ], + "type": "string" + }, + "tokens": { + "type": "number" + }, + "updated": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "account", + "assignee", + "completed", + "created", + "id", + "investigation_id", + "is_free_request", + "message_tokens", + "priority", + "readable_id", + "release_entitlements", + "report_id", + "request", + "status", + "summary", + "tlp", + "tokens", + "updated" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -431,6 +1007,258 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "account": { + "properties": { + "anniversary": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "anniversary", + "id", + "name" + ], + "type": "object" + }, + "assignee": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "completed": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "investigation_id": { + "type": "string" + }, + "is_free_request": { + "type": "boolean" + }, + "message_tokens": { + "type": "number" + }, + "priority": { + "enum": [ + "unknown", + "low", + "routine", + "medium", + "high", + "urgent", + "critical" + ], + "type": "string" + }, + "priority_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "readable_id": { + "type": "string" + }, + "release_entitlements": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "report_id": { + "type": "string" + }, + "request": { + "properties": { + "category": { + "type": "string" + }, + "message_tokens": { + "type": "number" + }, + "name": { + "type": "string" + }, + "request_tokens": { + "type": "number" + }, + "response_tokens": { + "type": "number" + }, + "result": { + "type": "string" + }, + "source": { + "type": "string" + } + }, + "required": [ + "category", + "message_tokens", + "name", + "request_tokens", + "response_tokens", + "result", + "source" + ], + "type": "object" + }, + "status": { + "enum": [ + "draft", + "submitted", + "accepted", + "in_progress", + "awaiting_customer", + "awaiting_external", + "response_needed", + "completed", + "closed" + ], + "type": "string" + }, + "summary": { + "type": "string" + }, + "tlp": { + "enum": [ + "clear", + "green", + "amber", + "red" + ], + "type": "string" + }, + "tokens": { + "type": "number" + }, + "updated": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "account", + "assignee", + "completed", + "created", + "id", + "investigation_id", + "is_free_request", + "message_tokens", + "priority", + "readable_id", + "release_entitlements", + "report_id", + "request", + "status", + "summary", + "tlp", + "tokens", + "updated" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts index f46f3e9a..e42468f3 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts @@ -41,6 +41,87 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "project_type": { + "type": "string" + }, + "request_types": { + "items": { + "properties": { + "category": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "message_tokens": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "request_tokens": { + "type": "integer" + }, + "response_tokens": { + "type": "integer" + }, + "result": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source": { + "type": "string" + } + }, + "required": [ + "category", + "description", + "id", + "message_tokens", + "name", + "request_tokens", + "response_tokens", + "result", + "source" + ], + "type": "object" + }, + "type": "array" + }, + "total": { + "type": "number" + } + }, + "required": [ + "project_type", + "request_types", + "total" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/types`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts index 73100e58..f82c9524 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts @@ -43,6 +43,25 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "display_name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "404": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/user/me`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/rules/approvals/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/approvals/outputs.ts new file mode 100644 index 00000000..93e22ec7 --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/rules/approvals/outputs.ts @@ -0,0 +1,506 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cloudforce-one_CompilerWarning` in responses. + */ +export const cloudforce_one_CompilerWarning_output: JsonSchema = { + "properties": { + "code": { + "type": "string" + }, + "column": { + "type": "integer" + }, + "footers": { + "items": { + "$ref": "#/$defs/cloudforce-one_CompilerWarning_footersItem" + }, + "type": "array" + }, + "labels": { + "items": { + "$ref": "#/$defs/cloudforce-one_CompilerWarning_labelsItem" + }, + "type": "array" + }, + "line": { + "type": "integer" + }, + "text": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "code", + "text", + "title" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_CompilerWarning_footersItem` in responses. + */ +export const cloudforce_one_CompilerWarning_footersItem_output: JsonSchema = { + "properties": { + "level": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "level", + "text" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_CompilerWarning_labelsItem` in responses. + */ +export const cloudforce_one_CompilerWarning_labelsItem_output: JsonSchema = { + "properties": { + "code_origin": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "column": { + "type": "integer" + }, + "level": { + "type": "string" + }, + "line": { + "type": "integer" + }, + "span": { + "$ref": "#/$defs/cloudforce-one_CompilerWarning_labelsItem_span" + }, + "text": { + "type": "string" + } + }, + "required": [ + "code_origin", + "column", + "level", + "line", + "span", + "text" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_CompilerWarning_labelsItem_span` in responses. + */ +export const cloudforce_one_CompilerWarning_labelsItem_span_output: JsonSchema = { + "properties": { + "end": { + "type": "integer" + }, + "start": { + "type": "integer" + } + }, + "required": [ + "end", + "start" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RuleApprovalDetailResponse` in responses. + */ +export const cloudforce_one_RuleApprovalDetailResponse_output: JsonSchema = { + "properties": { + "approval": { + "$ref": "#/$defs/cloudforce-one_RuleApprovalDetailResponse_approval" + } + }, + "required": [ + "approval" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RuleApprovalDetailResponse_approval` in + * responses. + */ +export const cloudforce_one_RuleApprovalDetailResponse_approval_output: JsonSchema = { + "properties": { + "audit_log_id": { + "type": "number" + }, + "can_review": { + "type": "boolean" + }, + "cancelled_at": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "cancelled_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "change_description": { + "type": "string" + }, + "change_type": { + "enum": [ + "create", + "update", + "delete", + "unresolved" + ], + "type": "string" + }, + "commit_message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "compiler_warnings": { + "items": { + "$ref": "#/$defs/cloudforce-one_CompilerWarning" + }, + "type": "array" + }, + "current_rule": { + "$ref": "#/$defs/cloudforce-one_RuleApprovalDetailResponse_approval_current_rule" + }, + "id": { + "type": "number" + }, + "proposed_changes": { + "$ref": "#/$defs/cloudforce-one_ApprovalProposedChanges" + }, + "rejection_reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "requested_at": { + "type": "number" + }, + "requested_by": { + "type": "string" + }, + "reviewed_at": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "reviewer_scope": { + "enum": [ + "default", + "email", + "unresolved" + ], + "type": "string" + }, + "revision_number": { + "type": "integer" + }, + "rule_id": { + "format": "uuid", + "type": "string" + }, + "rule_name": { + "type": "string" + }, + "status": { + "enum": [ + "pending", + "approved", + "rejected", + "cancelled" + ], + "type": "string" + }, + "superseded_by_approval_id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "supersedes_approval_id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "audit_log_id", + "can_review", + "cancelled_at", + "cancelled_by", + "change_description", + "change_type", + "commit_message", + "current_rule", + "id", + "proposed_changes", + "rejection_reason", + "requested_at", + "requested_by", + "reviewed_at", + "reviewer_scope", + "revision_number", + "rule_id", + "rule_name", + "status", + "superseded_by_approval_id", + "supersedes_approval_id" + ], + "type": "object" +}; + +/** + * The schema of + * `cloudforce-one_RuleApprovalDetailResponse_approval_current_rule` in + * responses. + */ +export const cloudforce_one_RuleApprovalDetailResponse_approval_current_rule_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/cloudforce-one_RulePreview" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `cloudforce-one_RuleApprovalsListResponse` in responses. + */ +export const cloudforce_one_RuleApprovalsListResponse_output: JsonSchema = { + "properties": { + "approvals": { + "items": { + "$ref": "#/$defs/cloudforce-one_RuleApprovalsListResponse_approvalsItem" + }, + "type": "array" + }, + "total": { + "type": "number" + } + }, + "required": [ + "approvals", + "total" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RuleApprovalsListResponse_approvalsItem` in + * responses. + */ +export const cloudforce_one_RuleApprovalsListResponse_approvalsItem_output: JsonSchema = { + "properties": { + "audit_log_id": { + "type": "number" + }, + "can_review": { + "type": "boolean" + }, + "cancelled_at": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "cancelled_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "change_description": { + "type": "string" + }, + "change_type": { + "enum": [ + "create", + "update", + "delete", + "unresolved" + ], + "type": "string" + }, + "commit_message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "number" + }, + "proposed_changes": { + "$ref": "#/$defs/cloudforce-one_ApprovalProposedChanges" + }, + "rejection_reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "requested_at": { + "type": "number" + }, + "requested_by": { + "type": "string" + }, + "reviewed_at": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "reviewer_scope": { + "enum": [ + "default", + "email", + "unresolved" + ], + "type": "string" + }, + "revision_number": { + "type": "integer" + }, + "rule_id": { + "format": "uuid", + "type": "string" + }, + "rule_name": { + "type": "string" + }, + "status": { + "enum": [ + "pending", + "approved", + "rejected", + "cancelled" + ], + "type": "string" + }, + "superseded_by_approval_id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "supersedes_approval_id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "audit_log_id", + "can_review", + "cancelled_at", + "cancelled_by", + "change_description", + "change_type", + "commit_message", + "id", + "proposed_changes", + "rejection_reason", + "requested_at", + "requested_by", + "reviewed_at", + "reviewer_scope", + "revision_number", + "rule_id", + "rule_name", + "status", + "superseded_by_approval_id", + "supersedes_approval_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts index d60e5155..9f804916 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cloudforce_one_ApprovalProposedChanges_output, + cloudforce_one_ErrorResponse_output, + cloudforce_one_PendingRuleChange_output, + cloudforce_one_ResubmitApprovalResponse_output, + cloudforce_one_RuleMetaEntry_output, + cloudforce_one_RuleMetaEntry_value_output, + cloudforce_one_RulePreview_output, + cloudforce_one_SuccessResponse_output, +} from "../outputs.js"; +import { + cloudforce_one_CompilerWarning_footersItem_output, + cloudforce_one_CompilerWarning_labelsItem_output, + cloudforce_one_CompilerWarning_labelsItem_span_output, + cloudforce_one_CompilerWarning_output, + cloudforce_one_RuleApprovalDetailResponse_approval_current_rule_output, + cloudforce_one_RuleApprovalDetailResponse_approval_output, + cloudforce_one_RuleApprovalDetailResponse_output, + cloudforce_one_RuleApprovalsListResponse_approvalsItem_output, + cloudforce_one_RuleApprovalsListResponse_output, +} from "./outputs.js"; import { cloudforce_one_ResubmitApprovalRequest } from "./schemas.js"; /** @@ -38,6 +59,26 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/rules/approvals/{id}/cancel", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_SuccessResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_SuccessResponse": cloudforce_one_SuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/approvals/${pathParam(args, "id")}/cancel`, }), @@ -72,6 +113,37 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/approvals/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_RuleApprovalDetailResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ApprovalProposedChanges": cloudforce_one_ApprovalProposedChanges_output, + "cloudforce-one_CompilerWarning": cloudforce_one_CompilerWarning_output, + "cloudforce-one_CompilerWarning_footersItem": cloudforce_one_CompilerWarning_footersItem_output, + "cloudforce-one_CompilerWarning_labelsItem": cloudforce_one_CompilerWarning_labelsItem_output, + "cloudforce-one_CompilerWarning_labelsItem_span": cloudforce_one_CompilerWarning_labelsItem_span_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleApprovalDetailResponse": cloudforce_one_RuleApprovalDetailResponse_output, + "cloudforce-one_RuleApprovalDetailResponse_approval": cloudforce_one_RuleApprovalDetailResponse_approval_output, + "cloudforce-one_RuleApprovalDetailResponse_approval_current_rule": cloudforce_one_RuleApprovalDetailResponse_approval_current_rule_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/approvals/${pathParam(args, "id")}`, }), @@ -178,6 +250,25 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/approvals", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_RuleApprovalsListResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ApprovalProposedChanges": cloudforce_one_ApprovalProposedChanges_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_RuleApprovalsListResponse": cloudforce_one_RuleApprovalsListResponse_output, + "cloudforce-one_RuleApprovalsListResponse_approvalsItem": cloudforce_one_RuleApprovalsListResponse_approvalsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/approvals`, query: [ @@ -227,6 +318,29 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/rules/approvals/{id}/resubmit", + responses: { + schemas: { + "202": { + "$ref": "#/$defs/cloudforce-one_ResubmitApprovalResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_ResubmitApprovalResponse": cloudforce_one_ResubmitApprovalResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/approvals/${pathParam(args, "id")}/resubmit`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts index 98376cb9..1c703bda 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + cloudforce_one_ErrorResponse_output, + cloudforce_one_ResubmitApprovalResponse_output, +} from "../../outputs.js"; import { cloudforce_one_MetaInputEntry, cloudforce_one_MetaInputEntry_value, @@ -161,6 +165,29 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/rules/structured/approvals/{id}/resubmit", + responses: { + schemas: { + "202": { + "$ref": "#/$defs/cloudforce-one_ResubmitApprovalResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_ResubmitApprovalResponse": cloudforce_one_ResubmitApprovalResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/approvals/${pathParam(args, "id")}/resubmit`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/outputs.ts new file mode 100644 index 00000000..41defe6f --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/outputs.ts @@ -0,0 +1,253 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cloudforce-one_EditApprovalResponse` in responses. + */ +export const cloudforce_one_EditApprovalResponse_output: JsonSchema = { + "properties": { + "approval": { + "allOf": [ + { + "$ref": "#/$defs/cloudforce-one_PendingApproval" + }, + { + "properties": { + "current_rule": { + "oneOf": [ + { + "$ref": "#/$defs/cloudforce-one_RulePreview" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + } + ] + } + }, + "required": [ + "approval" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_EmailRuleValidationResponse` in responses. + */ +export const cloudforce_one_EmailRuleValidationResponse_output: JsonSchema = { + "properties": { + "compiled_yara": { + "type": "string" + }, + "error": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "valid" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_EmailRulesListResponse` in responses. + */ +export const cloudforce_one_EmailRulesListResponse_output: JsonSchema = { + "properties": { + "rules": { + "items": { + "$ref": "#/$defs/cloudforce-one_RulePreview" + }, + "type": "array" + }, + "total": { + "type": "number" + } + }, + "required": [ + "rules", + "total" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_PendingApproval` in responses. + */ +export const cloudforce_one_PendingApproval_output: JsonSchema = { + "properties": { + "audit_log_id": { + "type": "number" + }, + "can_review": { + "type": "boolean" + }, + "cancelled_at": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "cancelled_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "change_description": { + "type": "string" + }, + "change_type": { + "enum": [ + "create", + "update", + "delete", + "unresolved" + ], + "type": "string" + }, + "commit_message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "number" + }, + "proposed_changes": { + "$ref": "#/$defs/cloudforce-one_ApprovalProposedChanges" + }, + "rejection_reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "requested_at": { + "type": "number" + }, + "requested_by": { + "type": "string" + }, + "reviewed_at": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "reviewed_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reviewer_scope": { + "enum": [ + "default", + "email", + "unresolved" + ], + "type": "string" + }, + "revision_number": { + "type": "integer" + }, + "rule_id": { + "format": "uuid", + "type": "string" + }, + "rule_name": { + "type": "string" + }, + "source_account_id": { + "type": "integer" + }, + "status": { + "enum": [ + "pending", + "approved", + "rejected", + "cancelled" + ], + "type": "string" + }, + "superseded_by_approval_id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "supersedes_approval_id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "audit_log_id", + "can_review", + "cancelled_at", + "cancelled_by", + "change_description", + "change_type", + "commit_message", + "id", + "proposed_changes", + "rejection_reason", + "requested_at", + "requested_by", + "reviewed_at", + "reviewed_by", + "reviewer_scope", + "revision_number", + "rule_id", + "rule_name", + "status", + "superseded_by_approval_id", + "supersedes_approval_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts index b70f17e3..a4f7c169 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { cloudforce_one_ErrorResponse_output } from "../../outputs.js"; /** * The tools of `cloudforce_one.rules.email.schema`. @@ -32,6 +33,224 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/structured/schema", + responses: { + schemas: { + "200": { + "properties": { + "arrays": { + "items": { + "properties": { + "counter": { + "type": "string" + }, + "fields": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "string", + "integer", + "float", + "boolean" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + } + }, + "required": [ + "counter", + "fields", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "headers": { + "properties": { + "fields": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "string", + "integer", + "float", + "boolean" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + } + }, + "required": [ + "fields", + "path" + ], + "type": "object" + }, + "operators": { + "properties": { + "boolean": { + "items": { + "type": "string" + }, + "type": "array" + }, + "float": { + "items": { + "type": "string" + }, + "type": "array" + }, + "integer": { + "items": { + "type": "string" + }, + "type": "array" + }, + "string": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "boolean", + "float", + "integer", + "string" + ], + "type": "object" + }, + "scalars": { + "items": { + "properties": { + "path": { + "type": "string" + }, + "type": { + "enum": [ + "string", + "integer", + "float", + "boolean" + ], + "type": "string" + } + }, + "required": [ + "path", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "string_arrays": { + "items": { + "properties": { + "counter": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "counter", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "structs": { + "items": { + "properties": { + "fields": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "string", + "integer", + "float", + "boolean" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "path": { + "type": "string" + } + }, + "required": [ + "fields", + "path" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "arrays", + "headers", + "operators", + "scalars", + "string_arrays", + "structs" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/schema`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts index 0724d5c8..d0c3eb25 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts @@ -2,10 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cloudforce_one_ApprovalConflictResponse_output, + cloudforce_one_ApprovalPendingResponse_output, + cloudforce_one_ApprovalProposedChanges_output, + cloudforce_one_ErrorResponse_output, + cloudforce_one_PendingRuleChange_output, + cloudforce_one_RuleMetaEntry_output, + cloudforce_one_RuleMetaEntry_value_output, + cloudforce_one_RulePreview_output, + cloudforce_one_SuccessResponse_output, +} from "../outputs.js"; import { cloudforce_one_MetaInputEntry, cloudforce_one_MetaInputEntry_value, } from "../schemas.js"; +import { + cloudforce_one_EditApprovalResponse_output, + cloudforce_one_EmailRuleValidationResponse_output, + cloudforce_one_EmailRulesListResponse_output, + cloudforce_one_PendingApproval_output, +} from "./outputs.js"; import { cloudforce_one_EmailRuleArrayCondition, cloudforce_one_EmailRuleArrayCondition_conditionsItem, @@ -148,6 +165,30 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/rules/structured", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cloudforce-one_RulePreview" + }, + "202": { + "$ref": "#/$defs/cloudforce-one_ApprovalPendingResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured`, body: { value: args["body"], mediaType: "application/json" }, @@ -184,6 +225,34 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/cloudforce-one/rules/structured/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_SuccessResponse" + }, + "202": { + "$ref": "#/$defs/cloudforce-one_ApprovalPendingResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ApprovalConflictResponse" + } + }, + $defs: { + "cloudforce-one_ApprovalConflictResponse": cloudforce_one_ApprovalConflictResponse_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_SuccessResponse": cloudforce_one_SuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/${pathParam(args, "id")}`, }), @@ -219,6 +288,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/structured/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_RulePreview" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/${pathParam(args, "id")}`, }), @@ -266,6 +355,24 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/structured", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_EmailRulesListResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_EmailRulesListResponse": cloudforce_one_EmailRulesListResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured`, query: [ @@ -317,6 +424,40 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/rules/structured/{id}/test", + responses: { + schemas: { + "200": { + "properties": { + "error": { + "type": "string" + }, + "matched": { + "type": "boolean" + }, + "rules": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "matched", + "rules" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/${pathParam(args, "id")}/test`, body: { value: args["body"], mediaType: "application/json" }, @@ -447,6 +588,37 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/cloudforce-one/rules/structured/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_RulePreview" + }, + "202": { + "$ref": "#/$defs/cloudforce-one_ApprovalPendingResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ApprovalConflictResponse" + } + }, + $defs: { + "cloudforce-one_ApprovalConflictResponse": cloudforce_one_ApprovalConflictResponse_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -591,6 +763,35 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/cloudforce-one/rules/structured/approvals/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_EditApprovalResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ApprovalProposedChanges": cloudforce_one_ApprovalProposedChanges_output, + "cloudforce-one_EditApprovalResponse": cloudforce_one_EditApprovalResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingApproval": cloudforce_one_PendingApproval_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/approvals/${pathParam(args, "id")}`, query: [ @@ -730,6 +931,20 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/rules/structured/validate", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_EmailRuleValidationResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_EmailRuleValidationResponse": cloudforce_one_EmailRuleValidationResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/validate`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/outputs.ts new file mode 100644 index 00000000..d230b780 --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/outputs.ts @@ -0,0 +1,36 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cloudforce-one_AccountExemptions` in responses. + */ +export const cloudforce_one_AccountExemptions_output: JsonSchema = { + "properties": { + "namespace": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tag_match": { + "items": { + "type": "string" + }, + "type": "array" + }, + "worker_name": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "namespace", + "tag_match", + "worker_name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts index facb1237..f8843f3f 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { cloudforce_one_ErrorResponse_output } from "../outputs.js"; +import { cloudforce_one_AccountExemptions_output } from "./outputs.js"; import { cloudforce_one_ExemptionUpdateEntry, cloudforce_one_PartialAccountExemptions, @@ -43,6 +45,26 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/rules/exemptions", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_AccountExemptions" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/exemptions`, body: { value: args["body"], mediaType: "application/json" }, @@ -79,6 +101,26 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/cloudforce-one/rules/exemptions", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_AccountExemptions" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/exemptions`, body: { value: args["body"], mediaType: "application/json" }, @@ -109,6 +151,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/exemptions", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_AccountExemptions" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/exemptions`, }), @@ -145,6 +207,32 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/cloudforce-one/rules/exemptions", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_AccountExemptions" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "403": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/exemptions`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts index b54301c8..13e59f21 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { cloudforce_one_ErrorResponse_output } from "../outputs.js"; /** * The tools of `cloudforce_one.rules.managed`. @@ -32,6 +33,58 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/managed", + responses: { + schemas: { + "200": { + "properties": { + "metadata": { + "properties": { + "fetched_at": { + "type": "string" + }, + "total_rules": { + "type": "number" + } + }, + "required": [ + "fetched_at", + "total_rules" + ], + "type": "object" + }, + "rules": { + "items": { + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "description", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "metadata", + "rules" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/managed`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/rules/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/outputs.ts new file mode 100644 index 00000000..f3908a3c --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/rules/outputs.ts @@ -0,0 +1,789 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cloudforce-one_ApprovalConflictResponse` in responses. + */ +export const cloudforce_one_ApprovalConflictResponse_output: JsonSchema = { + "properties": { + "approval_id": { + "type": "number" + }, + "code": { + "enum": [ + "approval_pending" + ], + "type": "string" + }, + "error": { + "type": "string" + } + }, + "required": [ + "approval_id", + "code", + "error" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_ApprovalPendingResponse` in responses. + */ +export const cloudforce_one_ApprovalPendingResponse_output: JsonSchema = { + "properties": { + "approval_id": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "approval_id", + "message" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_ApprovalProposedChanges` in responses. + */ +export const cloudforce_one_ApprovalProposedChanges_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "content": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "created_by": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "is_public": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "structured_source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sync_message": { + "type": "string" + }, + "sync_source": { + "type": "string" + }, + "type": { + "enum": [ + "create" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "created_by", + "description", + "enabled", + "id", + "is_public", + "name", + "namespaces", + "path", + "type" + ], + "type": "object" + }, + { + "properties": { + "content": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "is_public": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "structured_source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sync_message": { + "type": "string" + }, + "sync_source": { + "type": "string" + }, + "type": { + "enum": [ + "update" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sync_message": { + "type": "string" + }, + "sync_source": { + "type": "string" + }, + "type": { + "enum": [ + "delete" + ], + "type": "string" + } + }, + "required": [ + "id", + "name", + "type" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `cloudforce-one_DeleteAllResponse` in responses. + */ +export const cloudforce_one_DeleteAllResponse_output: JsonSchema = { + "properties": { + "deleted": { + "type": "number" + } + }, + "required": [ + "deleted" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_ErrorResponse` in responses. + */ +export const cloudforce_one_ErrorResponse_output: JsonSchema = { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_PendingRuleChange` in responses. + */ +export const cloudforce_one_PendingRuleChange_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "approval_id": { + "type": "number" + }, + "requested_at": { + "type": "number" + }, + "requested_by": { + "type": "string" + }, + "type": { + "enum": [ + "update", + "delete" + ], + "type": "string" + } + }, + "required": [ + "approval_id", + "requested_at", + "requested_by", + "type" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `cloudforce-one_ResubmitApprovalResponse` in responses. + */ +export const cloudforce_one_ResubmitApprovalResponse_output: JsonSchema = { + "properties": { + "approval_id": { + "type": "number" + }, + "message": { + "type": "string" + }, + "requires_approval": { + "enum": [ + true + ], + "type": "boolean" + }, + "revision_number": { + "type": "integer" + }, + "supersedes_approval_id": { + "type": "number" + } + }, + "required": [ + "approval_id", + "message", + "requires_approval", + "revision_number", + "supersedes_approval_id" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_Rule` in responses. + */ +export const cloudforce_one_Rule_output: JsonSchema = { + "properties": { + "content": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "created_by": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "is_public": { + "type": "boolean" + }, + "meta": { + "items": { + "$ref": "#/$defs/cloudforce-one_RuleMetaEntry" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "pending_approval_id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "pending_change": { + "$ref": "#/$defs/cloudforce-one_PendingRuleChange" + }, + "structured_source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "type": "number" + }, + "updated_by": { + "type": "string" + } + }, + "required": [ + "content", + "created_at", + "created_by", + "description", + "enabled", + "id", + "is_public", + "name", + "namespaces", + "path", + "pending_approval_id", + "pending_change", + "updated_at", + "updated_by" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RuleMetaEntry` in responses. + */ +export const cloudforce_one_RuleMetaEntry_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "type": { + "enum": [ + "string", + "bool", + "int" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/cloudforce-one_RuleMetaEntry_value" + } + }, + "required": [ + "key", + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RuleMetaEntry_value` in responses. + */ +export const cloudforce_one_RuleMetaEntry_value_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "boolean" + }, + { + "type": "number" + } + ] +}; + +/** + * The schema of `cloudforce-one_RulePreview` in responses. + */ +export const cloudforce_one_RulePreview_output: JsonSchema = { + "properties": { + "content": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "created_by": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "is_public": { + "type": "boolean" + }, + "meta": { + "items": { + "$ref": "#/$defs/cloudforce-one_RuleMetaEntry" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "pending_approval_id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "pending_change": { + "$ref": "#/$defs/cloudforce-one_PendingRuleChange" + }, + "structured_source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "type": "number" + }, + "updated_by": { + "type": "string" + } + }, + "required": [ + "created_at", + "created_by", + "description", + "enabled", + "id", + "is_public", + "name", + "namespaces", + "path", + "pending_approval_id", + "pending_change", + "updated_at", + "updated_by" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RuleSearchResult` in responses. + */ +export const cloudforce_one_RuleSearchResult_output: JsonSchema = { + "properties": { + "content": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "created_by": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "is_public": { + "type": "boolean" + }, + "meta": { + "items": { + "$ref": "#/$defs/cloudforce-one_RuleMetaEntry" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "pending_approval_id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "pending_change": { + "$ref": "#/$defs/cloudforce-one_PendingRuleChange" + }, + "score": { + "type": "number" + }, + "scoring_details": { + "$ref": "#/$defs/cloudforce-one_RuleSearchResult_scoring_details" + }, + "structured_source": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "type": "number" + }, + "updated_by": { + "type": "string" + } + }, + "required": [ + "created_at", + "created_by", + "description", + "enabled", + "id", + "is_public", + "name", + "namespaces", + "path", + "pending_approval_id", + "pending_change", + "updated_at", + "updated_by" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RuleSearchResult_scoring_details` in responses. + */ +export const cloudforce_one_RuleSearchResult_scoring_details_output: JsonSchema = { + "properties": { + "fusion_method": { + "type": "string" + }, + "keyword_rank": { + "type": "number" + }, + "keyword_score": { + "type": "number" + }, + "reranking_score": { + "type": "number" + }, + "vector_rank": { + "type": "number" + }, + "vector_score": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RulesPreviewListResponse` in responses. + */ +export const cloudforce_one_RulesPreviewListResponse_output: JsonSchema = { + "properties": { + "rules": { + "items": { + "$ref": "#/$defs/cloudforce-one_RulePreview" + }, + "type": "array" + }, + "total": { + "type": "number" + } + }, + "required": [ + "rules", + "total" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RulesSearchResponse` in responses. + */ +export const cloudforce_one_RulesSearchResponse_output: JsonSchema = { + "properties": { + "fallback": { + "type": "boolean" + }, + "interpreted": { + "$ref": "#/$defs/cloudforce-one_RulesSearchResponse_interpreted" + }, + "mode": { + "type": "string" + }, + "results": { + "items": { + "$ref": "#/$defs/cloudforce-one_RuleSearchResult" + }, + "type": "array" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "mode", + "results", + "total" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_RulesSearchResponse_interpreted` in responses. + */ +export const cloudforce_one_RulesSearchResponse_interpreted_output: JsonSchema = { + "properties": { + "filters": { + "additionalProperties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "retrieval_type": { + "type": "string" + } + }, + "required": [ + "retrieval_type" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_SuccessResponse` in responses. + */ +export const cloudforce_one_SuccessResponse_output: JsonSchema = { + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_ValidationResponse` in responses. + */ +export const cloudforce_one_ValidationResponse_output: JsonSchema = { + "properties": { + "error": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "valid" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/rules/stats/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/stats/outputs.ts new file mode 100644 index 00000000..8f848dea --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/rules/stats/outputs.ts @@ -0,0 +1,30 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cloudforce-one_StatsResponse` in responses. + */ +export const cloudforce_one_StatsResponse_output: JsonSchema = { + "properties": { + "pending_approvals": { + "type": "number" + }, + "rules_by_namespace": { + "additionalProperties": { + "type": "number" + }, + "type": "object" + }, + "total_rules": { + "type": "number" + } + }, + "required": [ + "pending_approvals", + "rules_by_namespace", + "total_rules" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts index 3af31a78..82082e63 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { cloudforce_one_ErrorResponse_output } from "../outputs.js"; +import { cloudforce_one_StatsResponse_output } from "./outputs.js"; /** * The tools of `cloudforce_one.rules.stats`. @@ -32,6 +34,20 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/stats", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_StatsResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_StatsResponse": cloudforce_one_StatsResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/stats`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/rules/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/tools.ts index 7b3d5cb0..8c57e4be 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/tools.ts @@ -2,6 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cloudforce_one_ApprovalConflictResponse_output, + cloudforce_one_ApprovalPendingResponse_output, + cloudforce_one_DeleteAllResponse_output, + cloudforce_one_ErrorResponse_output, + cloudforce_one_PendingRuleChange_output, + cloudforce_one_RuleMetaEntry_output, + cloudforce_one_RuleMetaEntry_value_output, + cloudforce_one_RulePreview_output, + cloudforce_one_RuleSearchResult_output, + cloudforce_one_RuleSearchResult_scoring_details_output, + cloudforce_one_Rule_output, + cloudforce_one_RulesPreviewListResponse_output, + cloudforce_one_RulesSearchResponse_interpreted_output, + cloudforce_one_RulesSearchResponse_output, + cloudforce_one_SuccessResponse_output, + cloudforce_one_ValidationResponse_output, +} from "./outputs.js"; import { cloudforce_one_CreateRule, cloudforce_one_DeleteRuleBody, @@ -49,6 +67,30 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/rules", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cloudforce-one_Rule" + }, + "202": { + "$ref": "#/$defs/cloudforce-one_ApprovalPendingResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_Rule": cloudforce_one_Rule_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -91,6 +133,34 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/cloudforce-one/rules/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_SuccessResponse" + }, + "202": { + "$ref": "#/$defs/cloudforce-one_ApprovalPendingResponse" + }, + "400": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ApprovalConflictResponse" + } + }, + $defs: { + "cloudforce-one_ApprovalConflictResponse": cloudforce_one_ApprovalConflictResponse_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_SuccessResponse": cloudforce_one_SuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -121,6 +191,23 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/cloudforce-one/rules", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_DeleteAllResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_DeleteAllResponse": cloudforce_one_DeleteAllResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules`, }), @@ -156,6 +243,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_RulePreview" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/${pathParam(args, "id")}`, }), @@ -249,6 +356,24 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_RulesPreviewListResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_RulesPreviewListResponse": cloudforce_one_RulesPreviewListResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules`, query: [ @@ -375,6 +500,29 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/search", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_RulesSearchResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "503": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RuleSearchResult": cloudforce_one_RuleSearchResult_output, + "cloudforce-one_RuleSearchResult_scoring_details": cloudforce_one_RuleSearchResult_scoring_details_output, + "cloudforce-one_RulesSearchResponse": cloudforce_one_RulesSearchResponse_output, + "cloudforce-one_RulesSearchResponse_interpreted": cloudforce_one_RulesSearchResponse_interpreted_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/search`, query: [ @@ -430,6 +578,34 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/cloudforce-one/rules/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_RulePreview" + }, + "202": { + "$ref": "#/$defs/cloudforce-one_ApprovalPendingResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/cloudforce-one_ApprovalConflictResponse" + } + }, + $defs: { + "cloudforce-one_ApprovalConflictResponse": cloudforce_one_ApprovalConflictResponse_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, + "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_RuleMetaEntry_value": cloudforce_one_RuleMetaEntry_value_output, + "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -489,6 +665,20 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/rules/validate", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_ValidationResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_ValidationResponse": cloudforce_one_ValidationResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/validate`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/rules/tree/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/tree/outputs.ts new file mode 100644 index 00000000..0ef437fa --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/rules/tree/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cloudforce-one_TreeNode` in responses. + */ +export const cloudforce_one_TreeNode_output: JsonSchema = { + "properties": { + "children": { + "items": { + "type": "object" + }, + "type": "array" + }, + "count": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "children", + "count", + "name", + "path" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one_TreeResponse` in responses. + */ +export const cloudforce_one_TreeResponse_output: JsonSchema = { + "properties": { + "tree": { + "items": { + "$ref": "#/$defs/cloudforce-one_TreeNode" + }, + "type": "array" + } + }, + "required": [ + "tree" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts index 707a518b..a7ad2610 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { cloudforce_one_ErrorResponse_output } from "../outputs.js"; +import { + cloudforce_one_TreeNode_output, + cloudforce_one_TreeResponse_output, +} from "./outputs.js"; /** * The tools of `cloudforce_one.rules.tree`. @@ -32,6 +37,21 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/rules/tree", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one_TreeResponse" + }, + "401": { + "$ref": "#/$defs/cloudforce-one_ErrorResponse" + } + }, + $defs: { + "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_TreeNode": cloudforce_one_TreeNode_output, + "cloudforce-one_TreeResponse": cloudforce_one_TreeResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/tree`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts b/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts new file mode 100644 index 00000000..de8c6629 --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts @@ -0,0 +1,62 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cloudforce-one-port-scan-api_frequency` in responses. + */ +export const cloudforce_one_port_scan_api_frequency_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `cloudforce-one-port-scan-api_ips` in responses. + */ +export const cloudforce_one_port_scan_api_ips_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `cloudforce-one-port-scan-api_ports` in responses. + */ +export const cloudforce_one_port_scan_api_ports_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `cloudforce-one-port-scan-api_scan-config` in responses. + */ +export const cloudforce_one_port_scan_api_scan_config_output: JsonSchema = { + "properties": { + "account_id": { + "type": "string" + }, + "frequency": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_frequency" + }, + "id": { + "type": "string" + }, + "ips": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_ips" + }, + "ports": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_ports" + } + }, + "required": [ + "account_id", + "frequency", + "id", + "ips", + "ports" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts b/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts index ee636e8d..d4a0c9ee 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cloudforce_one_port_scan_api_api_response_common_failure_output, + cloudforce_one_port_scan_api_messages_output, +} from "../outputs.js"; +import { + cloudforce_one_port_scan_api_frequency_output, + cloudforce_one_port_scan_api_ips_output, + cloudforce_one_port_scan_api_ports_output, + cloudforce_one_port_scan_api_scan_config_output, +} from "./outputs.js"; import { cloudforce_one_port_scan_api_frequency, cloudforce_one_port_scan_api_ips, @@ -67,6 +77,24 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_scan-config" + }, + "4XX": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_api-response-common-failure" + } + }, + $defs: { + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, + "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency_output, + "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips_output, + "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, + "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports_output, + "cloudforce-one-port-scan-api_scan-config": cloudforce_one_port_scan_api_scan_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/scans/config`, body: { value: args["body"], mediaType: "application/json" }, @@ -107,6 +135,20 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_api-response-common-failure" + } + }, + $defs: { + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, + "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/scans/config/${pathParam(args, "config_id")}`, }), @@ -168,6 +210,24 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_scan-config" + }, + "4XX": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_api-response-common-failure" + } + }, + $defs: { + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, + "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency_output, + "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips_output, + "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, + "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports_output, + "cloudforce-one-port-scan-api_scan-config": cloudforce_one_port_scan_api_scan_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/scans/config/${pathParam(args, "config_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -204,6 +264,38 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_scan-config" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_api-response-common-failure" + } + }, + $defs: { + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, + "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency_output, + "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips_output, + "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, + "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports_output, + "cloudforce-one-port-scan-api_scan-config": cloudforce_one_port_scan_api_scan_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/scans/config`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/scans/outputs.ts b/src/generated/forge-mcp/cloudforceOne/scans/outputs.ts new file mode 100644 index 00000000..51bba303 --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/scans/outputs.ts @@ -0,0 +1,61 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cloudforce-one-port-scan-api_api-response-common-failure` in + * responses. + */ +export const cloudforce_one_port_scan_api_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "type": "object" + }, + "messages": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_messages" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one-port-scan-api_messages` in responses. + */ +export const cloudforce_one_port_scan_api_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/scans/results/outputs.ts b/src/generated/forge-mcp/cloudforceOne/scans/results/outputs.ts new file mode 100644 index 00000000..15a4fb3f --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/scans/results/outputs.ts @@ -0,0 +1,22 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cloudforce-one-port-scan-api_port` in responses. + */ +export const cloudforce_one_port_scan_api_port_output: JsonSchema = { + "properties": { + "number": { + "type": "number" + }, + "proto": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts b/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts index 6b369df3..0f013176 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cloudforce_one_port_scan_api_api_response_common_failure_output, + cloudforce_one_port_scan_api_messages_output, +} from "../outputs.js"; +import { cloudforce_one_port_scan_api_port_output } from "./outputs.js"; /** * The tools of `cloudforce_one.scans.results`. @@ -43,6 +48,32 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "1.1.1.1": { + "items": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_port" + }, + "type": "array" + } + }, + "required": [ + "1.1.1.1" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_api-response-common-failure" + } + }, + $defs: { + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, + "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, + "cloudforce-one-port-scan-api_port": cloudforce_one_port_scan_api_port_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/scans/results/${pathParam(args, "config_id")}`, }), @@ -77,6 +108,32 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/banner/{config_id}", + responses: { + schemas: { + "200": { + "properties": { + "1.1.1.1": { + "items": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_port" + }, + "type": "array" + } + }, + "required": [ + "1.1.1.1" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cloudforce-one-port-scan-api_api-response-common-failure" + } + }, + $defs: { + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, + "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, + "cloudforce-one-port-scan-api_port": cloudforce_one_port_scan_api_port_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/banner/${pathParam(args, "config_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/attackers/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/attackers/tools.ts index 56e082fc..9267644d 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/attackers/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/attackers/tools.ts @@ -45,6 +45,63 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/attackers`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/categories/tools.ts index 663a7287..346d891d 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/categories/tools.ts @@ -68,6 +68,74 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "shortname": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "killChain", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/categories/create`, body: { value: args["body"], mediaType: "application/json" }, @@ -109,6 +177,51 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "uuid": { + "type": "string" + } + }, + "required": [ + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/event-categories/by-id/${pathParam(args, "category_id")}`, }), @@ -175,6 +288,74 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "shortname": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "killChain", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/event-categories/by-id/${pathParam(args, "category_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -217,6 +398,74 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "shortname": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "killChain", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/event-categories/by-id/${pathParam(args, "category_id")}`, }), @@ -259,6 +508,77 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "shortname": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "killChain", + "name", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/categories`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/countries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/countries/tools.ts index 1af1d949..d2997d0c 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/countries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/countries/tools.ts @@ -38,6 +38,77 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "result": { + "items": { + "properties": { + "alpha2": { + "type": "string" + }, + "alpha3": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "alpha2", + "alpha3", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "string" + } + }, + "required": [ + "result", + "success" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/countries`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/datasets/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/datasets/tools.ts index ae12e37b..5380be6d 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/datasets/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/datasets/tools.ts @@ -55,6 +55,63 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/create`, body: { value: args["body"], mediaType: "application/json" }, @@ -113,6 +170,63 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -155,6 +269,93 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, }), @@ -194,6 +395,78 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "deletedAt": { + "type": "string" + }, + "indicatorWriteMode": { + "enum": [ + "read_only", + "create_only", + "full" + ], + "type": "string" + }, + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "indicatorWriteMode", + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset`, query: [ @@ -242,6 +515,101 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "accountId": { + "type": "number" + }, + "created": { + "type": "string" + }, + "data": { + "type": "string" + }, + "id": { + "type": "number" + }, + "source": { + "type": "string" + }, + "tlp": { + "type": "string" + } + }, + "required": [ + "accountId", + "created", + "data", + "id", + "source", + "tlp" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/datasets/${pathParam(args, "dataset_id")}/events/${pathParam(args, "event_id")}/raw`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/eventTags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/eventTags/tools.ts index 5d295363..5ee1e412 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/eventTags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/eventTags/tools.ts @@ -57,6 +57,51 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/event_tag/${pathParam(args, "event_id")}/create`, body: { value: args["body"], mediaType: "application/json" }, @@ -111,6 +156,51 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/event_tag/${pathParam(args, "event_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/indicatorTypes/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/indicatorTypes/tools.ts index 1ad3360c..8dc5e31e 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/indicatorTypes/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/indicatorTypes/tools.ts @@ -59,6 +59,145 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "durableObjectId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "durableObjectId", + "indicatorType", + "message" + ], + "type": "object" + }, + "400": { + "properties": { + "content": { + "properties": { + "application/json": { + "properties": { + "schema": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + "required": [ + "schema" + ], + "type": "object" + } + }, + "required": [ + "application/json" + ], + "type": "object" + }, + "description": { + "type": "string" + } + }, + "required": [ + "content", + "description" + ], + "type": "object" + }, + "500": { + "properties": { + "content": { + "properties": { + "application/json": { + "properties": { + "schema": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + "required": [ + "schema" + ], + "type": "object" + } + }, + "required": [ + "application/json" + ], + "type": "object" + }, + "description": { + "type": "string" + } + }, + "required": [ + "content", + "description" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicatorTypes/create`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/raw/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/raw/tools.ts index 3c21c8dd..c9a38f21 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/raw/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/raw/tools.ts @@ -61,6 +61,55 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "type": "object" + }, + "id": { + "type": "string" + } + }, + "required": [ + "data", + "id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}/raw/${pathParam(args, "raw_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -107,6 +156,71 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "accountId": { + "type": "number" + }, + "created": { + "type": "string" + }, + "data": { + "type": "object" + }, + "id": { + "type": "string" + }, + "source": { + "type": "string" + }, + "tlp": { + "type": "string" + } + }, + "required": [ + "accountId", + "created", + "data", + "id", + "source", + "tlp" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}/raw/${pathParam(args, "raw_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/relate/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/relate/tools.ts index e2f6ba7d..330eb507 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/relate/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/relate/tools.ts @@ -56,6 +56,51 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/relate/${pathParam(args, "event_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/tags/tools.ts index aad7ead7..b35cc63a 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/tags/tools.ts @@ -482,6 +482,608 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originCountryISO": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "originCountryISO_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "priority": { + "type": "number" + }, + "priority_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/create`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/targetIndustries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/targetIndustries/tools.ts index ea9b0764..4e09e2c1 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/targetIndustries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/targetIndustries/tools.ts @@ -45,6 +45,63 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/targetIndustries`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/tools.ts index 17778e5f..19ffcab2 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatEvents/tools.ts @@ -167,6 +167,108 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "202": { + "properties": { + "createBulkEventsRequestId": { + "format": "uuid", + "type": "string" + }, + "createdEvents": { + "items": { + "properties": { + "eventIndex": { + "type": "number" + }, + "shardId": { + "type": "string" + }, + "uuid": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "eventIndex", + "shardId", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "createdEventsCount": { + "type": "number" + }, + "createdTagsCount": { + "type": "number" + }, + "errorCount": { + "type": "number" + }, + "errors": { + "items": { + "properties": { + "error": { + "type": "string" + }, + "eventIndex": { + "type": "number" + } + }, + "required": [ + "error", + "eventIndex" + ], + "type": "object" + }, + "type": "array" + }, + "queuedIndicatorsCount": { + "type": "number" + } + }, + "required": [ + "createdEventsCount", + "createdTagsCount", + "errorCount", + "queuedIndicatorsCount" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/create/bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -351,6 +453,182 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id_path")}/cloudforce-one/events/create`, body: { value: args["body"], mediaType: "application/json" }, @@ -469,6 +747,182 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -1086,6 +1540,185 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events`, query: [ @@ -1720,6 +2353,185 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts index 30fcc787..82a4e09b 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts @@ -48,6 +48,109 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "article_id": { + "format": "uuid", + "type": "string" + }, + "custom_output": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "custom_output_parse_status": { + "enum": [ + "parsed", + "invalid_json" + ], + "type": "string" + }, + "custom_output_validation_status": { + "enum": [ + "valid", + "invalid_json", + "schema_invalid", + "unknown" + ], + "type": "string" + }, + "custom_skill_version": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "output_schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "skill_id": { + "type": "string" + } + }, + "required": [ + "article_id", + "custom_output", + "custom_output_parse_status", + "custom_output_validation_status", + "custom_skill_version", + "output_schema", + "skill_id" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}/skills/${pathParam(args, "skill_id")}/output`, }), @@ -88,6 +191,80 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "integer" + }, + "skills": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "output_saved_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "output_status": { + "enum": [ + "available", + "no_output" + ], + "type": "string" + }, + "output_validation_status": { + "oneOf": [ + { + "enum": [ + "valid", + "invalid_json", + "schema_invalid", + "unknown" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "skill_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "name", + "output_saved_at", + "output_status", + "output_validation_status", + "skill_id" + ], + "type": "object" + }, + "maxItems": 20, + "type": "array" + } + }, + "required": [ + "count", + "skills" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}/skills`, }), @@ -135,6 +312,483 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "properties": { + "bullet_points": { + "oneOf": [ + { + "properties": { + "impact": { + "type": "string" + }, + "what_happened": { + "type": "string" + }, + "who_affected": { + "type": "string" + } + }, + "required": [ + "impact", + "what_happened", + "who_affected" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "persisted": { + "enum": [ + true + ], + "type": "boolean" + }, + "skill_id": { + "enum": [ + "default-summary-skill" + ], + "type": "string" + }, + "skill_version": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "bullet_points", + "persisted", + "skill_id", + "skill_version", + "summary" + ], + "type": "object" + }, + { + "properties": { + "persisted": { + "enum": [ + true + ], + "type": "boolean" + }, + "skill_id": { + "enum": [ + "default-tagging-skill" + ], + "type": "string" + }, + "tag_skill_version": { + "type": "string" + }, + "tags": { + "items": { + "properties": { + "applied_by": { + "enum": [ + "ai", + "analyst", + "system" + ], + "type": "string" + }, + "categoryId": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "applied_by", + "categoryId", + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "persisted", + "skill_id", + "tag_skill_version", + "tags" + ], + "type": "object" + }, + { + "properties": { + "article_id": { + "format": "uuid", + "type": "string" + }, + "custom_output": { + "properties": { + "enrichments": { + "items": { + "properties": { + "context": { + "properties": { + "context_snippet": { + "type": "string" + }, + "fetched_at": { + "type": "string" + }, + "published_at": { + "type": "string" + }, + "source_article_id": { + "format": "uuid", + "type": "string" + }, + "source_feed_category": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_feed_id": { + "format": "uuid", + "type": "string" + }, + "source_feed_name": { + "type": "string" + }, + "source_url": { + "type": "string" + } + }, + "required": [ + "context_snippet", + "fetched_at", + "published_at", + "source_article_id", + "source_feed_id", + "source_feed_name", + "source_url" + ], + "type": "object" + }, + "infrastructure_assessment": { + "properties": { + "affected_scope": { + "type": "string" + }, + "explanation": { + "type": "string" + }, + "granularity": { + "enum": [ + "exact_indicator", + "subdomain", + "path", + "full_domain", + "unknown" + ], + "type": "string" + }, + "ownership": { + "enum": [ + "actor_owned", + "compromised", + "abused_service", + "unknown" + ], + "type": "string" + }, + "parent_domain_legitimate": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "affected_scope", + "explanation", + "granularity", + "ownership" + ], + "type": "object" + }, + "role_classification": { + "properties": { + "alternative_roles": { + "items": { + "enum": [ + "c2", + "dropper", + "phishing_host", + "loader", + "exfil", + "recon" + ], + "type": "string" + }, + "type": "array" + }, + "confidence": { + "enum": [ + "high", + "medium", + "low" + ], + "type": "string" + }, + "evidence_snippet": { + "type": "string" + }, + "primary_role": { + "enum": [ + "c2", + "dropper", + "phishing_host", + "loader", + "exfil", + "recon", + "unknown" + ], + "type": "string" + } + }, + "required": [ + "confidence", + "evidence_snippet", + "primary_role" + ], + "type": "object" + }, + "skill_metadata": { + "properties": { + "processing_method": { + "enum": [ + "llm_refined" + ], + "type": "string" + }, + "skill_name": { + "enum": [ + "ioc-context-skill" + ], + "type": "string" + }, + "skill_version": { + "enum": [ + "1.1.0" + ], + "type": "string" + } + }, + "required": [ + "processing_method", + "skill_name", + "skill_version" + ], + "type": "object" + }, + "target_indicator_id": { + "format": "uuid", + "type": "string" + }, + "target_indicator_type": { + "type": "string" + }, + "target_indicator_value": { + "type": "string" + } + }, + "required": [ + "context", + "infrastructure_assessment", + "role_classification", + "skill_metadata", + "target_indicator_id", + "target_indicator_type", + "target_indicator_value" + ], + "type": "object" + }, + "type": "array" + }, + "generated_at": { + "type": "string" + }, + "schema_version": { + "enum": [ + "1.1.0" + ], + "type": "string" + }, + "source_article_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "enrichments", + "generated_at", + "schema_version", + "source_article_id" + ], + "type": "object" + }, + "custom_skill_version": { + "type": "string" + }, + "output_schema": { + "type": "string" + }, + "persisted": { + "enum": [ + true + ], + "type": "boolean" + }, + "skill_id": { + "enum": [ + "default-ioc-context-skill" + ], + "type": "string" + } + }, + "required": [ + "article_id", + "custom_output", + "custom_skill_version", + "output_schema", + "persisted", + "skill_id" + ], + "type": "object" + }, + { + "properties": { + "article_id": { + "format": "uuid", + "type": "string" + }, + "custom_output": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "custom_output_parse_status": { + "enum": [ + "parsed", + "invalid_json" + ], + "type": "string" + }, + "custom_output_validation_status": { + "enum": [ + "valid", + "invalid_json", + "schema_invalid", + "unknown" + ], + "type": "string" + }, + "custom_skill_version": { + "type": "string" + }, + "output_schema": { + "type": "string" + }, + "persisted": { + "enum": [ + true + ], + "type": "boolean" + }, + "skill_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "article_id", + "custom_output", + "custom_output_parse_status", + "custom_output_validation_status", + "custom_skill_version", + "output_schema", + "persisted", + "skill_id" + ], + "type": "object" + } + ] + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}/skills/${pathParam(args, "skill_id")}/run`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts index bcd8fe4a..6f806d82 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts @@ -55,6 +55,48 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "201": { + "properties": { + "applied_by": { + "enum": [ + "ai", + "analyst", + "system" + ], + "type": "string" + }, + "categoryId": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "applied_by", + "categoryId", + "uuid", + "value" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}/tags`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +137,63 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "tag_skill_version": { + "type": "string" + }, + "tags": { + "items": { + "properties": { + "applied_by": { + "enum": [ + "ai", + "analyst", + "system" + ], + "type": "string" + }, + "categoryId": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "applied_by", + "categoryId", + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "tag_skill_version", + "tags" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}/tag`, }), @@ -140,6 +239,48 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "applied_by": { + "enum": [ + "ai", + "analyst", + "system" + ], + "type": "string" + }, + "categoryId": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "applied_by", + "categoryId", + "uuid", + "value" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}/tags/${pathParam(args, "tag_id")}`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts index 5f6aa739..4642ed7a 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts @@ -59,6 +59,22 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "updated_count": { + "type": "number" + } + }, + "required": [ + "updated_count" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles`, body: { value: args["body"], mediaType: "application/json" }, @@ -100,6 +116,237 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "bullet_points": { + "oneOf": [ + { + "properties": { + "impact": { + "type": "string" + }, + "what_happened": { + "type": "string" + }, + "who_affected": { + "type": "string" + } + }, + "required": [ + "impact", + "what_happened", + "who_affected" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "content_r2_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "feed_display_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "feed_id": { + "format": "uuid", + "type": "string" + }, + "fetched_at": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "indicator_extraction_status": { + "enum": [ + "in_progress", + "complete", + "failed", + "unknown" + ], + "type": "string" + }, + "link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "metadata": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "published_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "read": { + "type": "boolean" + }, + "read_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "skill_version": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_count": { + "type": "number" + }, + "summary": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "summary_r2_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tag_skill_version": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tags": { + "items": { + "properties": { + "applied_by": { + "enum": [ + "ai", + "analyst", + "system" + ], + "type": "string" + }, + "categoryId": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "applied_by", + "categoryId", + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "bullet_points", + "content_r2_key", + "feed_display_name", + "feed_id", + "fetched_at", + "id", + "indicator_extraction_status", + "link", + "metadata", + "published_at", + "read", + "read_at", + "source_count", + "summary", + "summary_r2_key", + "tags", + "title" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}`, }), @@ -148,6 +395,12 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": null, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}/content`, query: [ @@ -294,6 +547,206 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "articles": { + "items": { + "properties": { + "dataset_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "event_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "feed_display_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "feed_id": { + "format": "uuid", + "type": "string" + }, + "fetched_at": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "published_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "read": { + "type": "boolean" + }, + "read_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "summary": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tags": { + "items": { + "properties": { + "applied_by": { + "enum": [ + "ai", + "analyst", + "system" + ], + "type": "string" + }, + "categoryId": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "applied_by", + "categoryId", + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "dataset_id", + "event_id", + "feed_display_name", + "feed_id", + "fetched_at", + "id", + "link", + "published_at", + "read", + "read_at", + "summary", + "tags", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "has_more": { + "type": "boolean" + }, + "next_cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "total_count": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "total_count_is_exact": { + "type": "boolean" + } + }, + "required": [ + "articles", + "has_more", + "next_cursor", + "total_count", + "total_count_is_exact" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles`, query: [ @@ -366,6 +819,237 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "bullet_points": { + "oneOf": [ + { + "properties": { + "impact": { + "type": "string" + }, + "what_happened": { + "type": "string" + }, + "who_affected": { + "type": "string" + } + }, + "required": [ + "impact", + "what_happened", + "who_affected" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "content_r2_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "feed_display_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "feed_id": { + "format": "uuid", + "type": "string" + }, + "fetched_at": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "indicator_extraction_status": { + "enum": [ + "in_progress", + "complete", + "failed", + "unknown" + ], + "type": "string" + }, + "link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "metadata": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "published_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "read": { + "type": "boolean" + }, + "read_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "skill_version": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source_count": { + "type": "number" + }, + "summary": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "summary_r2_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tag_skill_version": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tags": { + "items": { + "properties": { + "applied_by": { + "enum": [ + "ai", + "analyst", + "system" + ], + "type": "string" + }, + "categoryId": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "applied_by", + "categoryId", + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "bullet_points", + "content_r2_key", + "feed_display_name", + "feed_id", + "fetched_at", + "id", + "indicator_extraction_status", + "link", + "metadata", + "published_at", + "read", + "read_at", + "source_count", + "summary", + "summary_r2_key", + "tags", + "title" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts index 54f953d5..a06814d7 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts @@ -37,6 +37,42 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "categories": { + "items": { + "properties": { + "description": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "description", + "id", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "categories" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/categories`, }), diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts index c653caa1..0c088d5f 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts @@ -43,6 +43,92 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "feed_id": { + "format": "uuid", + "type": "string" + }, + "skills": { + "items": { + "properties": { + "config": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_active": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "output_schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "prompt": { + "type": "string" + }, + "source": { + "enum": [ + "default", + "custom" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "config", + "created_at", + "id", + "is_active", + "name", + "output_schema", + "prompt", + "source", + "type", + "updated_at" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "feed_id", + "skills" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds/${pathParam(args, "feed_id")}/skills`, }), @@ -99,6 +185,42 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "feed_id": { + "format": "uuid", + "type": "string" + }, + "skills": { + "items": { + "properties": { + "position": { + "type": "integer" + }, + "skill_id": { + "type": "string" + } + }, + "required": [ + "position", + "skill_id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "feed_id", + "skills" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds/${pathParam(args, "feed_id")}/skills`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts index 7a4902b8..31b43e9b 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts @@ -103,6 +103,451 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "201": { + "properties": { + "category_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "category_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "curated_feed_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "display_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "last_polled_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "poll_interval_s": { + "type": "integer" + }, + "source_type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "subscribed_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "category_id", + "category_name", + "created_at", + "curated_feed_id", + "display_name", + "enabled", + "id", + "last_polled_at", + "poll_interval_s", + "source_type", + "status", + "subscribed_at", + "title", + "updated_at", + "url" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "custom_feed_count": { + "type": "integer" + }, + "custom_feed_limit": { + "type": "integer" + }, + "expected": { + "type": "string" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "enum": [ + "threat_signals_feed_limit", + "free_custom_skills_disabled", + "free_skill_run_disabled", + "free_tier_reconciliation_in_progress", + "free_tier_reconciliation_failed", + "raw_content_expired", + "curated_visibility_changed" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "custom_feed_count": { + "type": "integer" + }, + "custom_feed_limit": { + "type": "integer" + }, + "expected": { + "type": "string" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "enum": [ + "threat_signals_feed_limit", + "free_custom_skills_disabled", + "free_skill_run_disabled", + "free_tier_reconciliation_in_progress", + "free_tier_reconciliation_failed", + "raw_content_expired", + "curated_visibility_changed" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "4XX": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "custom_feed_count": { + "type": "integer" + }, + "custom_feed_limit": { + "type": "integer" + }, + "expected": { + "type": "string" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "enum": [ + "threat_signals_feed_limit", + "free_custom_skills_disabled", + "free_skill_run_disabled", + "free_tier_reconciliation_in_progress", + "free_tier_reconciliation_failed", + "raw_content_expired", + "curated_visibility_changed" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "custom_feed_count": { + "type": "integer" + }, + "custom_feed_limit": { + "type": "integer" + }, + "expected": { + "type": "string" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "enum": [ + "threat_signals_feed_limit", + "free_custom_skills_disabled", + "free_skill_run_disabled", + "free_tier_reconciliation_in_progress", + "free_tier_reconciliation_failed", + "raw_content_expired", + "curated_visibility_changed" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "custom_feed_count": { + "type": "integer" + }, + "custom_feed_limit": { + "type": "integer" + }, + "expected": { + "type": "string" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "enum": [ + "threat_signals_feed_limit", + "free_custom_skills_disabled", + "free_skill_run_disabled", + "free_tier_reconciliation_in_progress", + "free_tier_reconciliation_failed", + "raw_content_expired", + "curated_visibility_changed" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "custom_feed_count": { + "type": "integer" + }, + "custom_feed_limit": { + "type": "integer" + }, + "expected": { + "type": "string" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "enum": [ + "threat_signals_feed_limit", + "free_custom_skills_disabled", + "free_skill_run_disabled", + "free_tier_reconciliation_in_progress", + "free_tier_reconciliation_failed", + "raw_content_expired", + "curated_visibility_changed" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds`, body: { value: args["body"], mediaType: "application/json" }, @@ -143,6 +588,128 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "category_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "category_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "curated_feed_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "display_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "last_polled_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "poll_interval_s": { + "type": "integer" + }, + "source_type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "subscribed_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "category_id", + "category_name", + "created_at", + "curated_feed_id", + "display_name", + "enabled", + "id", + "last_polled_at", + "poll_interval_s", + "source_type", + "status", + "subscribed_at", + "title", + "updated_at", + "url" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds/${pathParam(args, "feed_id")}`, }), @@ -190,6 +757,12 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": null, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds/${pathParam(args, "feed_id")}/raw`, query: [ @@ -266,6 +839,271 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "integer" + }, + "custom_feed_count": { + "type": "integer" + }, + "custom_feed_limit": { + "type": "integer" + }, + "feeds": { + "items": { + "properties": { + "category_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "category_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "curated_feed_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "display_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "last_polled_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "poll_interval_s": { + "type": "integer" + }, + "source_type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "subscribed_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "category_id", + "category_name", + "created_at", + "curated_feed_id", + "display_name", + "enabled", + "id", + "last_polled_at", + "poll_interval_s", + "source_type", + "status", + "subscribed_at", + "title", + "updated_at", + "url" + ], + "type": "object" + }, + "type": "array" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "count", + "custom_feed_count", + "custom_feed_limit", + "feeds", + "page", + "per_page", + "total_count" + ], + "type": "object" + }, + "4XX": null, + "503": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "custom_feed_count": { + "type": "integer" + }, + "custom_feed_limit": { + "type": "integer" + }, + "expected": { + "type": "string" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "enum": [ + "threat_signals_feed_limit", + "free_custom_skills_disabled", + "free_skill_run_disabled", + "free_tier_reconciliation_in_progress", + "free_tier_reconciliation_failed", + "raw_content_expired", + "curated_visibility_changed" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "custom_feed_count": { + "type": "integer" + }, + "custom_feed_limit": { + "type": "integer" + }, + "expected": { + "type": "string" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "enum": [ + "threat_signals_feed_limit", + "free_custom_skills_disabled", + "free_skill_run_disabled", + "free_tier_reconciliation_in_progress", + "free_tier_reconciliation_failed", + "raw_content_expired", + "curated_visibility_changed" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds`, query: [ @@ -324,6 +1162,57 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "errors": { + "type": "number" + }, + "feeds": { + "items": { + "properties": { + "feed_enabled": { + "type": "boolean" + }, + "feed_id": { + "format": "uuid", + "type": "string" + }, + "status": { + "enum": [ + "workflow_created", + "error" + ], + "type": "string" + }, + "workflow_id": { + "type": "string" + } + }, + "required": [ + "feed_id", + "status", + "workflow_id" + ], + "type": "object" + }, + "type": "array" + }, + "triggered": { + "type": "number" + } + }, + "required": [ + "errors", + "feeds", + "triggered" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds/poll`, query: [ @@ -422,6 +1311,128 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "category_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "category_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "curated_feed_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "display_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "last_polled_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "poll_interval_s": { + "type": "integer" + }, + "source_type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "subscribed_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "category_id", + "category_name", + "created_at", + "curated_feed_id", + "display_name", + "enabled", + "id", + "last_polled_at", + "poll_interval_s", + "source_type", + "status", + "subscribed_at", + "title", + "updated_at", + "url" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds/${pathParam(args, "feed_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts index d080779f..001d571b 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts @@ -70,6 +70,135 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "indicators": { + "items": { + "properties": { + "article_id": { + "format": "uuid", + "type": "string" + }, + "article_title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "dataset_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "feed_display_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "feed_id": { + "format": "uuid", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "article_id", + "article_title", + "dataset_id", + "feed_display_name", + "feed_id", + "id", + "type", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "pagination": { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "has_more": { + "type": "boolean" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "total_count_is_exact": { + "type": "boolean" + } + }, + "required": [ + "count", + "cursor", + "has_more", + "page", + "per_page", + "total_count", + "total_count_is_exact" + ], + "type": "object" + } + }, + "required": [ + "indicators", + "pagination" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/indicators`, query: [ diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts index 15c93600..ec3252d9 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts @@ -45,6 +45,33 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "category_uuids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "skill_id": { + "enum": [ + "default-tagging-skill" + ], + "type": "string" + } + }, + "required": [ + "category_uuids", + "skill_id" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/skills/${pathParam(args, "skill_id")}/tag-categories`, }), @@ -103,6 +130,33 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "category_uuids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "skill_id": { + "enum": [ + "default-tagging-skill" + ], + "type": "string" + } + }, + "required": [ + "category_uuids", + "skill_id" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/skills/${pathParam(args, "skill_id")}/tag-categories`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts index e2fdcf91..3e5749e8 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts @@ -67,6 +67,76 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "201": { + "properties": { + "config": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_active": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "output_schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "prompt": { + "type": "string" + }, + "source": { + "enum": [ + "default", + "custom" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "config", + "created_at", + "id", + "is_active", + "name", + "output_schema", + "prompt", + "source", + "type", + "updated_at" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/skills`, body: { value: args["body"], mediaType: "application/json" }, @@ -106,6 +176,76 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "config": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_active": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "output_schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "prompt": { + "type": "string" + }, + "source": { + "enum": [ + "default", + "custom" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "config", + "created_at", + "id", + "is_active", + "name", + "output_schema", + "prompt", + "source", + "type", + "updated_at" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/skills/${pathParam(args, "skill_id")}`, }), @@ -145,6 +285,76 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "config": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_active": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "output_schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "prompt": { + "type": "string" + }, + "source": { + "enum": [ + "default", + "custom" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "config", + "created_at", + "id", + "is_active", + "name", + "output_schema", + "prompt", + "source", + "type", + "updated_at" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/skills/${pathParam(args, "skill_id")}`, }), @@ -189,6 +399,107 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "integer" + }, + "custom_skills_available": { + "type": "boolean" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "skills": { + "items": { + "properties": { + "config": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_active": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "output_schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "prompt": { + "type": "string" + }, + "source": { + "enum": [ + "default", + "custom" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "config", + "created_at", + "id", + "is_active", + "name", + "output_schema", + "prompt", + "source", + "type", + "updated_at" + ], + "type": "object" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "count", + "custom_skills_available", + "page", + "per_page", + "skills", + "total_count" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/skills`, query: [ @@ -256,6 +567,76 @@ export const tools: readonly Tool[] = [ "Cloudforce One Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "config": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_active": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "output_schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "prompt": { + "type": "string" + }, + "source": { + "enum": [ + "default", + "custom" + ], + "type": "string" + }, + "type": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "config", + "created_at", + "id", + "is_active", + "name", + "output_schema", + "prompt", + "source", + "type", + "updated_at" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/skills/${pathParam(args, "skill_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts index e9777383..edaeedec 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts @@ -51,6 +51,75 @@ export const tools: readonly Tool[] = [ "Cloudforce One Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "integer" + }, + "results": { + "items": { + "properties": { + "article_id": { + "format": "uuid", + "type": "string" + }, + "dataset_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "event_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "feed_id": { + "format": "uuid", + "type": "string" + }, + "score": { + "type": "number" + }, + "text": { + "type": "string" + } + }, + "required": [ + "article_id", + "dataset_id", + "event_id", + "feed_id", + "score", + "text" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "count", + "results" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/search`, query: [ diff --git a/src/generated/forge-mcp/connectorInterrupts/outputs.ts b/src/generated/forge-mcp/connectorInterrupts/outputs.ts new file mode 100644 index 00000000..d8f0e63c --- /dev/null +++ b/src/generated/forge-mcp/connectorInterrupts/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `mconn_connector_interrupts_result` in responses. + */ +export const mconn_connector_interrupts_result_output: JsonSchema = { + "properties": { + "reboot": { + "$ref": "#/$defs/mconn_interrupt_reboot" + }, + "restart": { + "$ref": "#/$defs/mconn_interrupt_restart" + }, + "shutdown": { + "$ref": "#/$defs/mconn_interrupt_shutdown" + }, + "submitted_at": { + "type": "string" + }, + "triggered_at": { + "type": "string" + } + }, + "required": [ + "submitted_at" + ], + "type": "object" +}; + +/** + * The schema of `mconn_interrupt_reboot` in responses. + */ +export const mconn_interrupt_reboot_output: JsonSchema = { + "properties": { + "purge": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `mconn_interrupt_restart` in responses. + */ +export const mconn_interrupt_restart_output: JsonSchema = { + "properties": { + "purge": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `mconn_interrupt_shutdown` in responses. + */ +export const mconn_interrupt_shutdown_output: JsonSchema = { + "properties": { + "purge": { + "type": "boolean" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/connectorInterrupts/tools.ts b/src/generated/forge-mcp/connectorInterrupts/tools.ts index 506b1b44..7556580e 100644 --- a/src/generated/forge-mcp/connectorInterrupts/tools.ts +++ b/src/generated/forge-mcp/connectorInterrupts/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + mconn_bad_response_output, + mconn_coded_message_output, + mconn_none_output, +} from "../outputs.js"; +import { + mconn_connector_interrupts_result_output, + mconn_interrupt_reboot_output, + mconn_interrupt_restart_output, + mconn_interrupt_shutdown_output, +} from "./outputs.js"; import { mconn_interrupt, mconn_interrupt_reboot, @@ -59,6 +70,40 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn_connector_interrupts_result" + }, + "400": { + "$ref": "#/$defs/mconn_bad_response" + }, + "401": { + "$ref": "#/$defs/mconn_bad_response" + }, + "403": { + "$ref": "#/$defs/mconn_bad_response" + }, + "404": { + "$ref": "#/$defs/mconn_bad_response" + }, + "409": { + "$ref": "#/$defs/mconn_bad_response" + }, + "500": { + "$ref": "#/$defs/mconn_bad_response" + } + }, + $defs: { + "mconn_bad_response": mconn_bad_response_output, + "mconn_coded_message": mconn_coded_message_output, + "mconn_connector_interrupts_result": mconn_connector_interrupts_result_output, + "mconn_interrupt_reboot": mconn_interrupt_reboot_output, + "mconn_interrupt_restart": mconn_interrupt_restart_output, + "mconn_interrupt_shutdown": mconn_interrupt_shutdown_output, + "mconn_none": mconn_none_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}/interrupts`, body: { value: args["body"], mediaType: "application/json" }, @@ -104,6 +149,51 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mconn_connector_interrupts_result" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/mconn_bad_response" + }, + "401": { + "$ref": "#/$defs/mconn_bad_response" + }, + "403": { + "$ref": "#/$defs/mconn_bad_response" + }, + "404": { + "$ref": "#/$defs/mconn_bad_response" + }, + "500": { + "$ref": "#/$defs/mconn_bad_response" + } + }, + $defs: { + "mconn_bad_response": mconn_bad_response_output, + "mconn_coded_message": mconn_coded_message_output, + "mconn_connector_interrupts_result": mconn_connector_interrupts_result_output, + "mconn_interrupt_reboot": mconn_interrupt_reboot_output, + "mconn_interrupt_restart": mconn_interrupt_restart_output, + "mconn_interrupt_shutdown": mconn_interrupt_shutdown_output, + "mconn_none": mconn_none_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}/interrupts`, }), diff --git a/src/generated/forge-mcp/connectorTelemetryEvents/outputs.ts b/src/generated/forge-mcp/connectorTelemetryEvents/outputs.ts new file mode 100644 index 00000000..a25d637d --- /dev/null +++ b/src/generated/forge-mcp/connectorTelemetryEvents/outputs.ts @@ -0,0 +1,128 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `mconn-telemetry_customer_events_list_result` in responses. + */ +export const mconn_telemetry_customer_events_list_result_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/$defs/mconn-telemetry_event_metadata" + }, + "type": "array" + } + }, + "required": [ + "count", + "items" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_event` in responses. + */ +export const mconn_telemetry_event_output: JsonSchema = { + "properties": { + "k": { + "enum": [ + "Init", + "Leave", + "StartAttestation", + "FinishAttestationSuccess", + "FinishAttestationFailure", + "StartRotateCryptKey", + "FinishRotateCryptKeySuccess", + "FinishRotateCryptKeyFailure", + "StartRotatePki", + "FinishRotatePkiSuccess", + "FinishRotatePkiFailure", + "StartUpgrade", + "FinishUpgradeSuccess", + "FinishUpgradeFailure", + "BlessSlotSuccess", + "BlessSlotPending", + "BlessSlotFailure", + "Reconcile", + "ConfigureCloudflaredTunnel", + "RekeyInstallBoth", + "RekeyStart", + "RekeyRestart", + "RekeyAdvance", + "RekeyComplete", + "RekeyReset", + "HaTransition", + "HaError", + "HaInit", + "HaLeave" + ], + "type": "string" + } + }, + "required": [ + "k" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_event_metadata` in responses. + */ +export const mconn_telemetry_event_metadata_output: JsonSchema = { + "properties": { + "a": { + "type": "number" + }, + "k": { + "type": "string" + }, + "n": { + "type": "number" + }, + "t": { + "type": "number" + } + }, + "required": [ + "a", + "k", + "n", + "t" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_recorded_event` in responses. + */ +export const mconn_telemetry_recorded_event_output: JsonSchema = { + "properties": { + "e": { + "$ref": "#/$defs/mconn-telemetry_event" + }, + "n": { + "type": "number" + }, + "t": { + "type": "number" + }, + "v": { + "type": "string" + } + }, + "required": [ + "e", + "n", + "t" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts b/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts index 2b497d4e..e6c18932 100644 --- a/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts +++ b/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + mconn_telemetry_coded_message_output, + mconn_telemetry_envelope_output, +} from "../outputs.js"; +import { + mconn_telemetry_customer_events_list_result_output, + mconn_telemetry_event_metadata_output, + mconn_telemetry_event_output, + mconn_telemetry_recorded_event_output, +} from "./outputs.js"; /** * The tools of `connector_telemetry_events`. @@ -56,6 +66,37 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn-telemetry_recorded_event" + }, + "400": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "401": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "403": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "404": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "429": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "500": { + "$ref": "#/$defs/mconn-telemetry_envelope" + } + }, + $defs: { + "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, + "mconn-telemetry_envelope": mconn_telemetry_envelope_output, + "mconn-telemetry_event": mconn_telemetry_event_output, + "mconn-telemetry_recorded_event": mconn_telemetry_recorded_event_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}/telemetry/events/${pathParam(args, "event_t")}.${pathParam(args, "event_n")}`, }), @@ -119,6 +160,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn-telemetry_customer_events_list_result" + }, + "400": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "401": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "403": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "429": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "500": { + "$ref": "#/$defs/mconn-telemetry_envelope" + } + }, + $defs: { + "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, + "mconn-telemetry_customer_events_list_result": mconn_telemetry_customer_events_list_result_output, + "mconn-telemetry_envelope": mconn_telemetry_envelope_output, + "mconn-telemetry_event_metadata": mconn_telemetry_event_metadata_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}/telemetry/events`, query: [ diff --git a/src/generated/forge-mcp/connectorTelemetrySnapshots/outputs.ts b/src/generated/forge-mcp/connectorTelemetrySnapshots/outputs.ts new file mode 100644 index 00000000..52f2c5ba --- /dev/null +++ b/src/generated/forge-mcp/connectorTelemetrySnapshots/outputs.ts @@ -0,0 +1,1041 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `mconn-telemetry_customer_snapshots_list_result` in responses. + */ +export const mconn_telemetry_customer_snapshots_list_result_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_metadata" + }, + "type": "array" + } + }, + "required": [ + "count", + "items" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot` in responses. + */ +export const mconn_telemetry_snapshot_output: JsonSchema = { + "properties": { + "bonds": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_bond" + }, + "type": "array" + }, + "count_reclaim_failures": { + "type": "number" + }, + "count_reclaimed_paths": { + "type": "number" + }, + "count_record_failed": { + "type": "number" + }, + "count_transmit_failures": { + "type": "number" + }, + "cpu_count": { + "type": "number" + }, + "cpu_pressure_10s": { + "type": "number" + }, + "cpu_pressure_300s": { + "type": "number" + }, + "cpu_pressure_60s": { + "type": "number" + }, + "cpu_pressure_total_us": { + "type": "number" + }, + "cpu_time_guest_ms": { + "type": "number" + }, + "cpu_time_guest_nice_ms": { + "type": "number" + }, + "cpu_time_idle_ms": { + "type": "number" + }, + "cpu_time_iowait_ms": { + "type": "number" + }, + "cpu_time_irq_ms": { + "type": "number" + }, + "cpu_time_nice_ms": { + "type": "number" + }, + "cpu_time_softirq_ms": { + "type": "number" + }, + "cpu_time_steal_ms": { + "type": "number" + }, + "cpu_time_system_ms": { + "type": "number" + }, + "cpu_time_user_ms": { + "type": "number" + }, + "delta": { + "type": "number" + }, + "dhcp_leases": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_dhcp_lease" + }, + "type": "array" + }, + "disks": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_disk" + }, + "type": "array" + }, + "epsilon": { + "type": "number" + }, + "ha_state": { + "type": "string" + }, + "ha_value": { + "type": "number" + }, + "interfaces": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_interface" + }, + "type": "array" + }, + "io_pressure_full_10s": { + "type": "number" + }, + "io_pressure_full_300s": { + "type": "number" + }, + "io_pressure_full_60s": { + "type": "number" + }, + "io_pressure_full_total_us": { + "type": "number" + }, + "io_pressure_some_10s": { + "type": "number" + }, + "io_pressure_some_300s": { + "type": "number" + }, + "io_pressure_some_60s": { + "type": "number" + }, + "io_pressure_some_total_us": { + "type": "number" + }, + "kernel_btime": { + "type": "number" + }, + "kernel_ctxt": { + "type": "number" + }, + "kernel_processes": { + "type": "number" + }, + "kernel_processes_blocked": { + "type": "number" + }, + "kernel_processes_running": { + "type": "number" + }, + "load_average_15m": { + "type": "number" + }, + "load_average_1m": { + "type": "number" + }, + "load_average_5m": { + "type": "number" + }, + "load_average_cur": { + "type": "number" + }, + "load_average_max": { + "type": "number" + }, + "memory_active_bytes": { + "type": "number" + }, + "memory_anon_hugepages_bytes": { + "type": "number" + }, + "memory_anon_pages_bytes": { + "type": "number" + }, + "memory_available_bytes": { + "type": "number" + }, + "memory_bounce_bytes": { + "type": "number" + }, + "memory_buffers_bytes": { + "type": "number" + }, + "memory_cached_bytes": { + "type": "number" + }, + "memory_cma_free_bytes": { + "type": "number" + }, + "memory_cma_total_bytes": { + "type": "number" + }, + "memory_commit_limit_bytes": { + "type": "number" + }, + "memory_committed_as_bytes": { + "type": "number" + }, + "memory_dirty_bytes": { + "type": "number" + }, + "memory_free_bytes": { + "type": "number" + }, + "memory_high_free_bytes": { + "type": "number" + }, + "memory_high_total_bytes": { + "type": "number" + }, + "memory_hugepages_free": { + "type": "number" + }, + "memory_hugepages_rsvd": { + "type": "number" + }, + "memory_hugepages_surp": { + "type": "number" + }, + "memory_hugepages_total": { + "type": "number" + }, + "memory_hugepagesize_bytes": { + "type": "number" + }, + "memory_inactive_bytes": { + "type": "number" + }, + "memory_k_reclaimable_bytes": { + "type": "number" + }, + "memory_kernel_stack_bytes": { + "type": "number" + }, + "memory_low_free_bytes": { + "type": "number" + }, + "memory_low_total_bytes": { + "type": "number" + }, + "memory_mapped_bytes": { + "type": "number" + }, + "memory_page_tables_bytes": { + "type": "number" + }, + "memory_per_cpu_bytes": { + "type": "number" + }, + "memory_pressure_full_10s": { + "type": "number" + }, + "memory_pressure_full_300s": { + "type": "number" + }, + "memory_pressure_full_60s": { + "type": "number" + }, + "memory_pressure_full_total_us": { + "type": "number" + }, + "memory_pressure_some_10s": { + "type": "number" + }, + "memory_pressure_some_300s": { + "type": "number" + }, + "memory_pressure_some_60s": { + "type": "number" + }, + "memory_pressure_some_total_us": { + "type": "number" + }, + "memory_s_reclaimable_bytes": { + "type": "number" + }, + "memory_s_unreclaim_bytes": { + "type": "number" + }, + "memory_secondary_page_tables_bytes": { + "type": "number" + }, + "memory_shmem_bytes": { + "type": "number" + }, + "memory_shmem_hugepages_bytes": { + "type": "number" + }, + "memory_shmem_pmd_mapped_bytes": { + "type": "number" + }, + "memory_slab_bytes": { + "type": "number" + }, + "memory_swap_cached_bytes": { + "type": "number" + }, + "memory_swap_free_bytes": { + "type": "number" + }, + "memory_swap_total_bytes": { + "type": "number" + }, + "memory_total_bytes": { + "type": "number" + }, + "memory_vmalloc_chunk_bytes": { + "type": "number" + }, + "memory_vmalloc_total_bytes": { + "type": "number" + }, + "memory_vmalloc_used_bytes": { + "type": "number" + }, + "memory_writeback_bytes": { + "type": "number" + }, + "memory_writeback_tmp_bytes": { + "type": "number" + }, + "memory_z_swap_bytes": { + "type": "number" + }, + "memory_z_swapped_bytes": { + "type": "number" + }, + "mounts": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_mount" + }, + "type": "array" + }, + "netdevs": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_netdev" + }, + "type": "array" + }, + "platform": { + "type": "string" + }, + "routes": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_route" + }, + "type": "array" + }, + "site_id": { + "type": "string" + }, + "snmp_icmp_in_addr_mask_reps": { + "type": "number" + }, + "snmp_icmp_in_addr_masks": { + "type": "number" + }, + "snmp_icmp_in_csum_errors": { + "type": "number" + }, + "snmp_icmp_in_dest_unreachs": { + "type": "number" + }, + "snmp_icmp_in_echo_reps": { + "type": "number" + }, + "snmp_icmp_in_echos": { + "type": "number" + }, + "snmp_icmp_in_errors": { + "type": "number" + }, + "snmp_icmp_in_msgs": { + "type": "number" + }, + "snmp_icmp_in_parm_probs": { + "type": "number" + }, + "snmp_icmp_in_redirects": { + "type": "number" + }, + "snmp_icmp_in_src_quenchs": { + "type": "number" + }, + "snmp_icmp_in_time_excds": { + "type": "number" + }, + "snmp_icmp_in_timestamp_reps": { + "type": "number" + }, + "snmp_icmp_in_timestamps": { + "type": "number" + }, + "snmp_icmp_out_addr_mask_reps": { + "type": "number" + }, + "snmp_icmp_out_addr_masks": { + "type": "number" + }, + "snmp_icmp_out_dest_unreachs": { + "type": "number" + }, + "snmp_icmp_out_echo_reps": { + "type": "number" + }, + "snmp_icmp_out_echos": { + "type": "number" + }, + "snmp_icmp_out_errors": { + "type": "number" + }, + "snmp_icmp_out_msgs": { + "type": "number" + }, + "snmp_icmp_out_parm_probs": { + "type": "number" + }, + "snmp_icmp_out_redirects": { + "type": "number" + }, + "snmp_icmp_out_src_quenchs": { + "type": "number" + }, + "snmp_icmp_out_time_excds": { + "type": "number" + }, + "snmp_icmp_out_timestamp_reps": { + "type": "number" + }, + "snmp_icmp_out_timestamps": { + "type": "number" + }, + "snmp_ip_default_ttl": { + "type": "number" + }, + "snmp_ip_forw_datagrams": { + "type": "number" + }, + "snmp_ip_forwarding_enabled": { + "type": "boolean" + }, + "snmp_ip_frag_creates": { + "type": "number" + }, + "snmp_ip_frag_fails": { + "type": "number" + }, + "snmp_ip_frag_oks": { + "type": "number" + }, + "snmp_ip_in_addr_errors": { + "type": "number" + }, + "snmp_ip_in_delivers": { + "type": "number" + }, + "snmp_ip_in_discards": { + "type": "number" + }, + "snmp_ip_in_hdr_errors": { + "type": "number" + }, + "snmp_ip_in_receives": { + "type": "number" + }, + "snmp_ip_in_unknown_protos": { + "type": "number" + }, + "snmp_ip_out_discards": { + "type": "number" + }, + "snmp_ip_out_no_routes": { + "type": "number" + }, + "snmp_ip_out_requests": { + "type": "number" + }, + "snmp_ip_reasm_fails": { + "type": "number" + }, + "snmp_ip_reasm_oks": { + "type": "number" + }, + "snmp_ip_reasm_reqds": { + "type": "number" + }, + "snmp_ip_reasm_timeout": { + "type": "number" + }, + "snmp_tcp_active_opens": { + "type": "number" + }, + "snmp_tcp_attempt_fails": { + "type": "number" + }, + "snmp_tcp_curr_estab": { + "type": "number" + }, + "snmp_tcp_estab_resets": { + "type": "number" + }, + "snmp_tcp_in_csum_errors": { + "type": "number" + }, + "snmp_tcp_in_errs": { + "type": "number" + }, + "snmp_tcp_in_segs": { + "type": "number" + }, + "snmp_tcp_max_conn": { + "type": "number" + }, + "snmp_tcp_out_rsts": { + "type": "number" + }, + "snmp_tcp_out_segs": { + "type": "number" + }, + "snmp_tcp_passive_opens": { + "type": "number" + }, + "snmp_tcp_retrans_segs": { + "type": "number" + }, + "snmp_tcp_rto_max": { + "type": "number" + }, + "snmp_tcp_rto_min": { + "type": "number" + }, + "snmp_udp_in_datagrams": { + "type": "number" + }, + "snmp_udp_in_errors": { + "type": "number" + }, + "snmp_udp_no_ports": { + "type": "number" + }, + "snmp_udp_out_datagrams": { + "type": "number" + }, + "system_boot_time_s": { + "type": "number" + }, + "t": { + "type": "number" + }, + "thermals": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_thermal" + }, + "type": "array" + }, + "tunnels": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_tunnel" + }, + "type": "array" + }, + "uptime_idle_ms": { + "type": "number" + }, + "uptime_total_ms": { + "type": "number" + }, + "v": { + "type": "string" + } + }, + "required": [ + "count_reclaim_failures", + "count_reclaimed_paths", + "count_record_failed", + "count_transmit_failures", + "t", + "v" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_bond` in responses. + */ +export const mconn_telemetry_snapshot_bond_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "name", + "status" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_dhcp_lease` in responses. + */ +export const mconn_telemetry_snapshot_dhcp_lease_output: JsonSchema = { + "properties": { + "client_id": { + "type": "string" + }, + "expiry_time": { + "type": "number" + }, + "hostname": { + "type": "string" + }, + "interface_name": { + "type": "string" + }, + "ip_address": { + "type": "string" + }, + "mac_address": { + "type": "string" + } + }, + "required": [ + "client_id", + "expiry_time", + "hostname", + "interface_name", + "ip_address", + "mac_address" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_disk` in responses. + */ +export const mconn_telemetry_snapshot_disk_output: JsonSchema = { + "properties": { + "discards": { + "type": "number" + }, + "discards_merged": { + "type": "number" + }, + "flushes": { + "type": "number" + }, + "in_progress": { + "type": "number" + }, + "major": { + "type": "number" + }, + "merged": { + "type": "number" + }, + "minor": { + "type": "number" + }, + "name": { + "type": "string" + }, + "reads": { + "type": "number" + }, + "sectors_discarded": { + "type": "number" + }, + "sectors_read": { + "type": "number" + }, + "sectors_written": { + "type": "number" + }, + "time_discarding_ms": { + "type": "number" + }, + "time_flushing_ms": { + "type": "number" + }, + "time_in_progress_ms": { + "type": "number" + }, + "time_reading_ms": { + "type": "number" + }, + "time_writing_ms": { + "type": "number" + }, + "weighted_time_in_progress_ms": { + "type": "number" + }, + "writes": { + "type": "number" + }, + "writes_merged": { + "type": "number" + } + }, + "required": [ + "in_progress", + "major", + "merged", + "minor", + "name", + "reads", + "sectors_read", + "sectors_written", + "time_in_progress_ms", + "time_reading_ms", + "time_writing_ms", + "weighted_time_in_progress_ms", + "writes", + "writes_merged" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_interface` in responses. + */ +export const mconn_telemetry_snapshot_interface_output: JsonSchema = { + "properties": { + "health_reason": { + "type": "string" + }, + "health_score": { + "type": "number" + }, + "ip_addresses": { + "items": { + "$ref": "#/$defs/mconn-telemetry_snapshot_interface_address" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "operstate": { + "type": "string" + }, + "speed": { + "type": "number" + } + }, + "required": [ + "name", + "operstate" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_interface_address` in responses. + */ +export const mconn_telemetry_snapshot_interface_address_output: JsonSchema = { + "properties": { + "interface_name": { + "type": "string" + }, + "ip_address": { + "type": "string" + } + }, + "required": [ + "interface_name", + "ip_address" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_metadata` in responses. + */ +export const mconn_telemetry_snapshot_metadata_output: JsonSchema = { + "properties": { + "a": { + "type": "number" + }, + "t": { + "type": "number" + } + }, + "required": [ + "a", + "t" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_mount` in responses. + */ +export const mconn_telemetry_snapshot_mount_output: JsonSchema = { + "properties": { + "available_bytes": { + "type": "number" + }, + "available_inodes": { + "type": "number" + }, + "file_system": { + "type": "string" + }, + "is_read_only": { + "type": "boolean" + }, + "is_removable": { + "type": "boolean" + }, + "kind": { + "type": "string" + }, + "mount_point": { + "type": "string" + }, + "name": { + "type": "string" + }, + "total_bytes": { + "type": "number" + }, + "total_inodes": { + "type": "number" + } + }, + "required": [ + "file_system", + "kind", + "mount_point", + "name" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_netdev` in responses. + */ +export const mconn_telemetry_snapshot_netdev_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "recv_bytes": { + "type": "number" + }, + "recv_compressed": { + "type": "number" + }, + "recv_drop": { + "type": "number" + }, + "recv_errs": { + "type": "number" + }, + "recv_fifo": { + "type": "number" + }, + "recv_frame": { + "type": "number" + }, + "recv_multicast": { + "type": "number" + }, + "recv_packets": { + "type": "number" + }, + "sent_bytes": { + "type": "number" + }, + "sent_carrier": { + "type": "number" + }, + "sent_colls": { + "type": "number" + }, + "sent_compressed": { + "type": "number" + }, + "sent_drop": { + "type": "number" + }, + "sent_errs": { + "type": "number" + }, + "sent_fifo": { + "type": "number" + }, + "sent_packets": { + "type": "number" + } + }, + "required": [ + "name", + "recv_bytes", + "recv_compressed", + "recv_drop", + "recv_errs", + "recv_fifo", + "recv_frame", + "recv_multicast", + "recv_packets", + "sent_bytes", + "sent_carrier", + "sent_colls", + "sent_compressed", + "sent_drop", + "sent_errs", + "sent_fifo", + "sent_packets" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_route` in responses. + */ +export const mconn_telemetry_snapshot_route_output: JsonSchema = { + "properties": { + "destination": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "interface_name": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metric": { + "type": "number" + }, + "weight": { + "type": "number" + } + }, + "required": [ + "destination", + "interface_name", + "kind", + "metric" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_thermal` in responses. + */ +export const mconn_telemetry_snapshot_thermal_output: JsonSchema = { + "properties": { + "critical_celcius": { + "type": "number" + }, + "current_celcius": { + "type": "number" + }, + "label": { + "type": "string" + }, + "max_celcius": { + "type": "number" + } + }, + "required": [ + "label" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_snapshot_tunnel` in responses. + */ +export const mconn_telemetry_snapshot_tunnel_output: JsonSchema = { + "properties": { + "health_state": { + "type": "string" + }, + "health_value": { + "type": "number" + }, + "interface_name": { + "type": "string" + }, + "jitter_ms": { + "type": "number" + }, + "latency_ms": { + "type": "number" + }, + "natd_result": { + "type": "string" + }, + "natd_state": { + "type": "number" + }, + "natd_target": { + "type": "string" + }, + "probed_mtu": { + "type": "number" + }, + "recent_healthy_pings": { + "type": "number" + }, + "recent_unhealthy_pings": { + "type": "number" + }, + "tunnel_id": { + "type": "string" + } + }, + "required": [ + "health_state", + "health_value", + "interface_name", + "tunnel_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts b/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts index 66332a25..17ae4e54 100644 --- a/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts +++ b/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + mconn_telemetry_coded_message_output, + mconn_telemetry_envelope_output, +} from "../outputs.js"; +import { + mconn_telemetry_customer_snapshots_list_result_output, + mconn_telemetry_snapshot_bond_output, + mconn_telemetry_snapshot_dhcp_lease_output, + mconn_telemetry_snapshot_disk_output, + mconn_telemetry_snapshot_interface_address_output, + mconn_telemetry_snapshot_interface_output, + mconn_telemetry_snapshot_metadata_output, + mconn_telemetry_snapshot_mount_output, + mconn_telemetry_snapshot_netdev_output, + mconn_telemetry_snapshot_output, + mconn_telemetry_snapshot_route_output, + mconn_telemetry_snapshot_thermal_output, + mconn_telemetry_snapshot_tunnel_output, +} from "./outputs.js"; /** * The tools of `connector_telemetry_snapshots`. @@ -52,6 +71,46 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn-telemetry_snapshot" + }, + "400": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "401": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "403": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "404": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "429": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "500": { + "$ref": "#/$defs/mconn-telemetry_envelope" + } + }, + $defs: { + "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, + "mconn-telemetry_envelope": mconn_telemetry_envelope_output, + "mconn-telemetry_snapshot": mconn_telemetry_snapshot_output, + "mconn-telemetry_snapshot_bond": mconn_telemetry_snapshot_bond_output, + "mconn-telemetry_snapshot_dhcp_lease": mconn_telemetry_snapshot_dhcp_lease_output, + "mconn-telemetry_snapshot_disk": mconn_telemetry_snapshot_disk_output, + "mconn-telemetry_snapshot_interface": mconn_telemetry_snapshot_interface_output, + "mconn-telemetry_snapshot_interface_address": mconn_telemetry_snapshot_interface_address_output, + "mconn-telemetry_snapshot_mount": mconn_telemetry_snapshot_mount_output, + "mconn-telemetry_snapshot_netdev": mconn_telemetry_snapshot_netdev_output, + "mconn-telemetry_snapshot_route": mconn_telemetry_snapshot_route_output, + "mconn-telemetry_snapshot_thermal": mconn_telemetry_snapshot_thermal_output, + "mconn-telemetry_snapshot_tunnel": mconn_telemetry_snapshot_tunnel_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}/telemetry/snapshots/${pathParam(args, "snapshot_t")}`, }), @@ -111,6 +170,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn-telemetry_customer_snapshots_list_result" + }, + "400": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "401": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "403": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "429": { + "$ref": "#/$defs/mconn-telemetry_envelope" + }, + "500": { + "$ref": "#/$defs/mconn-telemetry_envelope" + } + }, + $defs: { + "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, + "mconn-telemetry_customer_snapshots_list_result": mconn_telemetry_customer_snapshots_list_result_output, + "mconn-telemetry_envelope": mconn_telemetry_envelope_output, + "mconn-telemetry_snapshot_metadata": mconn_telemetry_snapshot_metadata_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}/telemetry/snapshots`, query: [ diff --git a/src/generated/forge-mcp/connectors/outputs.ts b/src/generated/forge-mcp/connectors/outputs.ts new file mode 100644 index 00000000..814f1337 --- /dev/null +++ b/src/generated/forge-mcp/connectors/outputs.ts @@ -0,0 +1,125 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `mconn_customer_connector` in responses. + */ +export const mconn_customer_connector_output: JsonSchema = { + "properties": { + "activated": { + "type": "boolean" + }, + "device": { + "$ref": "#/$defs/mconn_customer_device" + }, + "id": { + "$ref": "#/$defs/mconn_uuid" + }, + "interrupt_window_days_of_week": { + "items": { + "$ref": "#/$defs/mconn_day_of_week" + }, + "type": "array" + }, + "interrupt_window_duration_hours": { + "type": "number" + }, + "interrupt_window_embargo_dates": { + "items": { + "$ref": "#/$defs/mconn_embargo_date" + }, + "maxItems": 100, + "type": "array" + }, + "interrupt_window_hour_of_day": { + "type": "number" + }, + "last_heartbeat": { + "type": "string" + }, + "last_seen_version": { + "type": "string" + }, + "last_updated": { + "type": "string" + }, + "license_key": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "timezone": { + "type": "string" + } + }, + "required": [ + "activated", + "id", + "interrupt_window_days_of_week", + "interrupt_window_duration_hours", + "interrupt_window_embargo_dates", + "interrupt_window_hour_of_day", + "last_updated", + "notes", + "timezone" + ], + "type": "object" +}; + +/** + * The schema of `mconn_customer_device` in responses. + */ +export const mconn_customer_device_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/mconn_uuid" + }, + "serial_number": { + "type": "string" + }, + "type": { + "enum": [ + "MANAGED", + "LICENSED" + ], + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `mconn_day_of_week` in responses. + */ +export const mconn_day_of_week_output: JsonSchema = { + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "type": "string" +}; + +/** + * The schema of `mconn_embargo_date` in responses. + */ +export const mconn_embargo_date_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `mconn_uuid` in responses. + */ +export const mconn_uuid_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/connectors/tools.ts b/src/generated/forge-mcp/connectors/tools.ts index 4b8bea92..da1eadcc 100644 --- a/src/generated/forge-mcp/connectors/tools.ts +++ b/src/generated/forge-mcp/connectors/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + mconn_bad_response_output, + mconn_coded_message_output, + mconn_none_output, +} from "../outputs.js"; +import { + mconn_customer_connector_output, + mconn_customer_device_output, + mconn_day_of_week_output, + mconn_embargo_date_output, + mconn_uuid_output, +} from "./outputs.js"; import { mconn_customer_connector_fields, mconn_customer_connectors_create_request, @@ -62,6 +74,41 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn_customer_connector" + }, + "400": { + "$ref": "#/$defs/mconn_bad_response" + }, + "401": { + "$ref": "#/$defs/mconn_bad_response" + }, + "403": { + "$ref": "#/$defs/mconn_bad_response" + }, + "404": { + "$ref": "#/$defs/mconn_bad_response" + }, + "409": { + "$ref": "#/$defs/mconn_bad_response" + }, + "500": { + "$ref": "#/$defs/mconn_bad_response" + } + }, + $defs: { + "mconn_bad_response": mconn_bad_response_output, + "mconn_coded_message": mconn_coded_message_output, + "mconn_customer_connector": mconn_customer_connector_output, + "mconn_customer_device": mconn_customer_device_output, + "mconn_day_of_week": mconn_day_of_week_output, + "mconn_embargo_date": mconn_embargo_date_output, + "mconn_none": mconn_none_output, + "mconn_uuid": mconn_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors`, body: { value: args["body"], mediaType: "application/json" }, @@ -106,6 +153,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn_customer_connector" + }, + "400": { + "$ref": "#/$defs/mconn_bad_response" + }, + "401": { + "$ref": "#/$defs/mconn_bad_response" + }, + "403": { + "$ref": "#/$defs/mconn_bad_response" + }, + "404": { + "$ref": "#/$defs/mconn_bad_response" + }, + "500": { + "$ref": "#/$defs/mconn_bad_response" + } + }, + $defs: { + "mconn_bad_response": mconn_bad_response_output, + "mconn_coded_message": mconn_coded_message_output, + "mconn_customer_connector": mconn_customer_connector_output, + "mconn_customer_device": mconn_customer_device_output, + "mconn_day_of_week": mconn_day_of_week_output, + "mconn_embargo_date": mconn_embargo_date_output, + "mconn_none": mconn_none_output, + "mconn_uuid": mconn_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}`, }), @@ -158,6 +237,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn_customer_connector" + }, + "400": { + "$ref": "#/$defs/mconn_bad_response" + }, + "401": { + "$ref": "#/$defs/mconn_bad_response" + }, + "403": { + "$ref": "#/$defs/mconn_bad_response" + }, + "404": { + "$ref": "#/$defs/mconn_bad_response" + }, + "500": { + "$ref": "#/$defs/mconn_bad_response" + } + }, + $defs: { + "mconn_bad_response": mconn_bad_response_output, + "mconn_coded_message": mconn_coded_message_output, + "mconn_customer_connector": mconn_customer_connector_output, + "mconn_customer_device": mconn_customer_device_output, + "mconn_day_of_week": mconn_day_of_week_output, + "mconn_embargo_date": mconn_embargo_date_output, + "mconn_none": mconn_none_output, + "mconn_uuid": mconn_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -203,6 +314,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn_customer_connector" + }, + "400": { + "$ref": "#/$defs/mconn_bad_response" + }, + "401": { + "$ref": "#/$defs/mconn_bad_response" + }, + "403": { + "$ref": "#/$defs/mconn_bad_response" + }, + "404": { + "$ref": "#/$defs/mconn_bad_response" + }, + "500": { + "$ref": "#/$defs/mconn_bad_response" + } + }, + $defs: { + "mconn_bad_response": mconn_bad_response_output, + "mconn_coded_message": mconn_coded_message_output, + "mconn_customer_connector": mconn_customer_connector_output, + "mconn_customer_device": mconn_customer_device_output, + "mconn_day_of_week": mconn_day_of_week_output, + "mconn_embargo_date": mconn_embargo_date_output, + "mconn_none": mconn_none_output, + "mconn_uuid": mconn_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}`, }), @@ -251,6 +394,49 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mconn_customer_connector" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/mconn_bad_response" + }, + "401": { + "$ref": "#/$defs/mconn_bad_response" + }, + "403": { + "$ref": "#/$defs/mconn_bad_response" + }, + "500": { + "$ref": "#/$defs/mconn_bad_response" + } + }, + $defs: { + "mconn_bad_response": mconn_bad_response_output, + "mconn_coded_message": mconn_coded_message_output, + "mconn_customer_connector": mconn_customer_connector_output, + "mconn_customer_device": mconn_customer_device_output, + "mconn_day_of_week": mconn_day_of_week_output, + "mconn_embargo_date": mconn_embargo_date_output, + "mconn_none": mconn_none_output, + "mconn_uuid": mconn_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors`, query: [ @@ -306,6 +492,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mconn_customer_connector" + }, + "400": { + "$ref": "#/$defs/mconn_bad_response" + }, + "401": { + "$ref": "#/$defs/mconn_bad_response" + }, + "403": { + "$ref": "#/$defs/mconn_bad_response" + }, + "404": { + "$ref": "#/$defs/mconn_bad_response" + }, + "500": { + "$ref": "#/$defs/mconn_bad_response" + } + }, + $defs: { + "mconn_bad_response": mconn_bad_response_output, + "mconn_coded_message": mconn_coded_message_output, + "mconn_customer_connector": mconn_customer_connector_output, + "mconn_customer_device": mconn_customer_device_output, + "mconn_day_of_week": mconn_day_of_week_output, + "mconn_embargo_date": mconn_embargo_date_output, + "mconn_none": mconn_none_output, + "mconn_uuid": mconn_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/containers/applications/instances/outputs.ts b/src/generated/forge-mcp/containers/applications/instances/outputs.ts new file mode 100644 index 00000000..d822c12a --- /dev/null +++ b/src/generated/forge-mcp/containers/applications/instances/outputs.ts @@ -0,0 +1,148 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cc_ContainerInstance` in responses. + */ +export const cc_ContainerInstance_output: JsonSchema = { + "properties": { + "application_id": { + "$ref": "#/$defs/cc_ApplicationID" + }, + "configuration": { + "$ref": "#/$defs/cc_ContainerInstanceConfiguration" + }, + "id": { + "$ref": "#/$defs/cc_ContainerInstanceID" + }, + "image": { + "$ref": "#/$defs/cc_Image" + }, + "location": { + "$ref": "#/$defs/cc_ContainerInstanceLocation" + }, + "name": { + "type": "string" + }, + "started_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "status": { + "$ref": "#/$defs/cc_ContainerInstanceStatus" + } + }, + "required": [ + "application_id", + "id", + "image", + "status" + ], + "type": "object" +}; + +/** + * The schema of `cc_ContainerInstanceConfiguration` in responses. + */ +export const cc_ContainerInstanceConfiguration_output: JsonSchema = { + "properties": { + "disk": { + "type": "integer" + }, + "memory": { + "type": "integer" + }, + "vcpu": { + "type": "number" + } + }, + "required": [ + "disk", + "memory", + "vcpu" + ], + "type": "object" +}; + +/** + * The schema of `cc_ContainerInstanceID` in responses. + */ +export const cc_ContainerInstanceID_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_ContainerInstanceLocation` in responses. + */ +export const cc_ContainerInstanceLocation_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/cc_LocationID" + }, + "region": { + "$ref": "#/$defs/cc_Region" + } + }, + "required": [ + "name", + "region" + ], + "type": "object" +}; + +/** + * The schema of `cc_ContainerInstanceStatus` in responses. + */ +export const cc_ContainerInstanceStatus_output: JsonSchema = { + "properties": { + "exit_code": { + "type": "integer" + }, + "state": { + "$ref": "#/$defs/cc_ContainerInstanceStatusState" + }, + "updated_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + } + }, + "required": [ + "state", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `cc_ContainerInstanceStatusState` in responses. + */ +export const cc_ContainerInstanceStatusState_output: JsonSchema = { + "enum": [ + "provisioning", + "running", + "failed", + "stopping", + "stopped", + "unhealthy", + "inactive", + "unknown" + ], + "type": "string" +}; + +/** + * The schema of `cc_ContainersListContainerInstancesV2` in responses. + */ +export const cc_ContainersListContainerInstancesV2_output: JsonSchema = { + "items": { + "$ref": "#/$defs/cc_ContainerInstance" + }, + "type": "array" +}; + +/** + * The schema of `cc_LocationID` in responses. + */ +export const cc_LocationID_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/containers/applications/instances/tools.ts b/src/generated/forge-mcp/containers/applications/instances/tools.ts index 1b202963..2107cecc 100644 --- a/src/generated/forge-mcp/containers/applications/instances/tools.ts +++ b/src/generated/forge-mcp/containers/applications/instances/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cc_ISO8601Timestamp_output, + cc_Image_output, + cc_Messages_output, + cc_V4BaseErrorResponse_output, +} from "../../outputs.js"; +import { + cc_ApplicationID_output, + cc_Region_output, + cc_V4PaginatedResultInfo_output, +} from "../outputs.js"; +import { + cc_ContainerInstanceConfiguration_output, + cc_ContainerInstanceID_output, + cc_ContainerInstanceLocation_output, + cc_ContainerInstanceStatusState_output, + cc_ContainerInstanceStatus_output, + cc_ContainerInstance_output, + cc_ContainersListContainerInstancesV2_output, + cc_LocationID_output, +} from "./outputs.js"; /** * The tools of `containers.applications.instances`. @@ -48,6 +69,40 @@ export const tools: readonly Tool[] = [ "Workers Containers Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cc_ContainerInstance" + }, + "400": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "404": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_ApplicationID": cc_ApplicationID_output, + "cc_ContainerInstance": cc_ContainerInstance_output, + "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration_output, + "cc_ContainerInstanceID": cc_ContainerInstanceID_output, + "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation_output, + "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus_output, + "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState_output, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, + "cc_Image": cc_Image_output, + "cc_LocationID": cc_LocationID_output, + "cc_Messages": cc_Messages_output, + "cc_Region": cc_Region_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications/${pathParam(args, "application_id")}/instances/${pathParam(args, "instance_id")}`, }), @@ -113,6 +168,53 @@ export const tools: readonly Tool[] = [ "results": "$response.result" } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/cc_ContainersListContainerInstancesV2" + }, + "result_info": { + "$ref": "#/$defs/cc_V4PaginatedResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "404": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_ApplicationID": cc_ApplicationID_output, + "cc_ContainerInstance": cc_ContainerInstance_output, + "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration_output, + "cc_ContainerInstanceID": cc_ContainerInstanceID_output, + "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation_output, + "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus_output, + "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState_output, + "cc_ContainersListContainerInstancesV2": cc_ContainersListContainerInstancesV2_output, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, + "cc_Image": cc_Image_output, + "cc_LocationID": cc_LocationID_output, + "cc_Messages": cc_Messages_output, + "cc_Region": cc_Region_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications/${pathParam(args, "application_id")}/instances-v2`, query: [ diff --git a/src/generated/forge-mcp/containers/applications/outputs.ts b/src/generated/forge-mcp/containers/applications/outputs.ts new file mode 100644 index 00000000..81ee37b3 --- /dev/null +++ b/src/generated/forge-mcp/containers/applications/outputs.ts @@ -0,0 +1,772 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cc_ApplicationConstraints` in responses. + */ +export const cc_ApplicationConstraints_output: JsonSchema = { + "properties": { + "jurisdiction": { + "$ref": "#/$defs/cc_ApplicationJurisdiction" + }, + "regions": { + "items": { + "$ref": "#/$defs/cc_Region" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_ApplicationDurableObjectsConfiguration` in responses. + */ +export const cc_ApplicationDurableObjectsConfiguration_output: JsonSchema = { + "$ref": "#/$defs/cc_DurableObjectsConfigurationNamespaceId" +}; + +/** + * The schema of `cc_ApplicationHealth` in responses. + */ +export const cc_ApplicationHealth_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cc_ApplicationHealthErrors" + }, + "instances": { + "$ref": "#/$defs/cc_ApplicationHealthInstances" + }, + "summary": { + "enum": [ + "healthy", + "degraded", + "unhealthy", + "pending" + ], + "type": "string" + } + }, + "required": [ + "errors", + "instances" + ], + "type": "object" +}; + +/** + * The schema of `cc_ApplicationHealthError` in responses. + */ +export const cc_ApplicationHealthError_output: JsonSchema = { + "properties": { + "event": { + "$ref": "#/$defs/cc_PlacementEvent" + }, + "instance_id": { + "$ref": "#/$defs/cc_InstanceID" + } + }, + "required": [ + "event", + "instance_id" + ], + "type": "object" +}; + +/** + * The schema of `cc_ApplicationHealthErrors` in responses. + */ +export const cc_ApplicationHealthErrors_output: JsonSchema = { + "items": { + "$ref": "#/$defs/cc_ApplicationHealthError" + }, + "type": "array" +}; + +/** + * The schema of `cc_ApplicationHealthInstances` in responses. + */ +export const cc_ApplicationHealthInstances_output: JsonSchema = { + "properties": { + "active": { + "type": "integer" + }, + "assigned": { + "type": "integer" + } + }, + "required": [ + "active", + "assigned" + ], + "type": "object" +}; + +/** + * The schema of `cc_ApplicationID` in responses. + */ +export const cc_ApplicationID_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_ApplicationJurisdiction` in responses. + */ +export const cc_ApplicationJurisdiction_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_ApplicationName` in responses. + */ +export const cc_ApplicationName_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_ApplicationObservability` in responses. + */ +export const cc_ApplicationObservability_output: JsonSchema = { + "properties": { + "logs": { + "$ref": "#/$defs/cc_ObservabilityLogs" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_ApplicationRolloutActiveGracePeriod` in responses. + */ +export const cc_ApplicationRolloutActiveGracePeriod_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `cc_Command` in responses. + */ +export const cc_Command_output: JsonSchema = { + "items": { + "$ref": "#/$defs/cc_ExecFormParam" + }, + "type": "array" +}; + +/** + * The schema of `cc_ContainersApplicationResponse` in responses. + */ +export const cc_ContainersApplicationResponse_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/cc_ScheduledApplication" + }, + { + "$ref": "#/$defs/cc_DurableObjectApplication" + } + ] +}; + +/** + * The schema of `cc_ContainersDeleteApplicationResponseBody` in responses. + */ +export const cc_ContainersDeleteApplicationResponseBody_output: JsonSchema = { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" +}; + +/** + * The schema of `cc_ContainersListApplications` in responses. + */ +export const cc_ContainersListApplications_output: JsonSchema = { + "items": { + "$ref": "#/$defs/cc_ContainersApplicationResponse" + }, + "type": "array" +}; + +/** + * The schema of `cc_DeploymentObservability` in responses. + */ +export const cc_DeploymentObservability_output: JsonSchema = { + "properties": { + "logs": { + "$ref": "#/$defs/cc_ObservabilityLogs" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_DurableObjectApplication` in responses. + */ +export const cc_DurableObjectApplication_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/cc_AccountID" + }, + "configuration": { + "$ref": "#/$defs/cc_DurableObjectApplicationConfiguration" + }, + "constraints": { + "$ref": "#/$defs/cc_DurableObjectApplicationConstraints" + }, + "created_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "durable_objects": { + "$ref": "#/$defs/cc_DurableObjectsConfigurationNamespaceId" + }, + "health": { + "$ref": "#/$defs/cc_DurableObjectApplicationHealth" + }, + "id": { + "$ref": "#/$defs/cc_ApplicationID" + }, + "name": { + "$ref": "#/$defs/cc_ApplicationName" + }, + "observability": { + "$ref": "#/$defs/cc_DurableObjectApplicationObservability" + }, + "scheduling_policy": { + "$ref": "#/$defs/cc_DurableObjectApplicationSchedulingPolicy" + }, + "updated_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + } + }, + "required": [ + "account_id", + "created_at", + "durable_objects", + "id", + "name", + "scheduling_policy", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `cc_DurableObjectApplicationConfiguration` in responses. + */ +export const cc_DurableObjectApplicationConfiguration_output: JsonSchema = { + "properties": { + "authorized_keys": { + "items": { + "$ref": "#/$defs/cc_UserSSHPublicKey" + }, + "type": "array" + }, + "wrangler_ssh": { + "$ref": "#/$defs/cc_WranglerSSHConfig" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_DurableObjectApplicationConstraints` in responses. + */ +export const cc_DurableObjectApplicationConstraints_output: JsonSchema = { + "properties": { + "jurisdiction": { + "enum": [ + "eu", + "fedramp", + "us" + ], + "type": "string" + } + }, + "required": [ + "jurisdiction" + ], + "type": "object" +}; + +/** + * The schema of `cc_DurableObjectApplicationHealth` in responses. + */ +export const cc_DurableObjectApplicationHealth_output: JsonSchema = { + "properties": { + "instances": { + "$ref": "#/$defs/cc_DurableObjectApplicationHealth_instances" + }, + "summary": { + "enum": [ + "pending" + ], + "type": "string" + } + }, + "required": [ + "instances" + ], + "type": "object" +}; + +/** + * The schema of `cc_DurableObjectApplicationHealth_instances` in responses. + */ +export const cc_DurableObjectApplicationHealth_instances_output: JsonSchema = { + "properties": { + "active": { + "type": "integer" + }, + "starting": { + "type": "integer" + } + }, + "required": [ + "active", + "starting" + ], + "type": "object" +}; + +/** + * The schema of `cc_DurableObjectApplicationObservability` in responses. + */ +export const cc_DurableObjectApplicationObservability_output: JsonSchema = { + "properties": { + "logs": { + "$ref": "#/$defs/cc_DurableObjectApplicationObservability_logs" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_DurableObjectApplicationObservability_logs` in responses. + */ +export const cc_DurableObjectApplicationObservability_logs_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_DurableObjectApplicationSchedulingPolicy` in responses. + */ +export const cc_DurableObjectApplicationSchedulingPolicy_output: JsonSchema = { + "enum": [ + "durable_object" + ], + "type": "string" +}; + +/** + * The schema of `cc_DurableObjectsConfigurationNamespaceId` in responses. + */ +export const cc_DurableObjectsConfigurationNamespaceId_output: JsonSchema = { + "properties": { + "namespace_id": { + "type": "string" + } + }, + "required": [ + "namespace_id" + ], + "type": "object" +}; + +/** + * The schema of `cc_Entrypoint` in responses. + */ +export const cc_Entrypoint_output: JsonSchema = { + "items": { + "$ref": "#/$defs/cc_ExecFormParam" + }, + "type": "array" +}; + +/** + * The schema of `cc_EnvironmentVariable` in responses. + */ +export const cc_EnvironmentVariable_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/cc_EnvironmentVariableName" + }, + "value": { + "$ref": "#/$defs/cc_EnvironmentVariableValue" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" +}; + +/** + * The schema of `cc_EnvironmentVariableName` in responses. + */ +export const cc_EnvironmentVariableName_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_EnvironmentVariableValue` in responses. + */ +export const cc_EnvironmentVariableValue_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_EventName` in responses. + */ +export const cc_EventName_output: JsonSchema = { + "enum": [ + "SchedulerPlaced", + "NetworkingIPAssigned", + "VMStarted", + "ImagePulled", + "ImagePullError", + "VMFailedToStart", + "NetworkingIPAssignmentFailed", + "VMRunning", + "VMStopping", + "VMStopped", + "VMFailed", + "RuntimeStartFailed", + "SSHStarted", + "ServiceHealthUpdates", + "CheckUpdate", + "DurableObjectConnected", + "ContainerStarted" + ], + "type": "string" +}; + +/** + * The schema of `cc_EventType` in responses. + */ +export const cc_EventType_output: JsonSchema = { + "enum": [ + "Info", + "Error", + "Warn", + "UserError", + "SystemError" + ], + "type": "string" +}; + +/** + * The schema of `cc_ExecFormParam` in responses. + */ +export const cc_ExecFormParam_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_InstanceID` in responses. + */ +export const cc_InstanceID_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_InstanceType` in responses. + */ +export const cc_InstanceType_output: JsonSchema = { + "enum": [ + "lite", + "basic", + "standard-1", + "standard-2", + "standard-3", + "standard-4" + ], + "type": "string" +}; + +/** + * The schema of `cc_ModifyUserDeploymentConfiguration` in responses. + */ +export const cc_ModifyUserDeploymentConfiguration_output: JsonSchema = { + "properties": { + "authorized_keys": { + "items": { + "$ref": "#/$defs/cc_UserSSHPublicKey" + }, + "type": "array" + }, + "command": { + "$ref": "#/$defs/cc_Command" + }, + "entrypoint": { + "$ref": "#/$defs/cc_Entrypoint" + }, + "environment_variables": { + "items": { + "$ref": "#/$defs/cc_EnvironmentVariable" + }, + "type": "array" + }, + "image": { + "$ref": "#/$defs/cc_Image" + }, + "instance_type": { + "$ref": "#/$defs/cc_InstanceType" + }, + "observability": { + "$ref": "#/$defs/cc_DeploymentObservability" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_ObservabilityLogs` in responses. + */ +export const cc_ObservabilityLogs_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_PlacementEvent` in responses. + */ +export const cc_PlacementEvent_output: JsonSchema = { + "properties": { + "details": { + "type": "object" + }, + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/cc_EventName" + }, + "statusChange": { + "type": "object" + }, + "time": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "type": { + "$ref": "#/$defs/cc_EventType" + } + }, + "required": [ + "details", + "id", + "message", + "name", + "statusChange", + "time", + "type" + ], + "type": "object" +}; + +/** + * The schema of `cc_Region` in responses. + */ +export const cc_Region_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_RolloutID` in responses. + */ +export const cc_RolloutID_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_SSHPublicKey` in responses. + */ +export const cc_SSHPublicKey_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_ScheduledApplication` in responses. + */ +export const cc_ScheduledApplication_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/cc_AccountID" + }, + "active_rollout_id": { + "$ref": "#/$defs/cc_RolloutID" + }, + "configuration": { + "$ref": "#/$defs/cc_UserDeploymentConfiguration" + }, + "constraints": { + "$ref": "#/$defs/cc_ApplicationConstraints" + }, + "created_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "durable_objects": { + "$ref": "#/$defs/cc_ApplicationDurableObjectsConfiguration" + }, + "health": { + "$ref": "#/$defs/cc_ApplicationHealth" + }, + "id": { + "$ref": "#/$defs/cc_ApplicationID" + }, + "instances": { + "type": "integer" + }, + "max_instances": { + "type": "integer" + }, + "name": { + "$ref": "#/$defs/cc_ApplicationName" + }, + "observability": { + "$ref": "#/$defs/cc_ApplicationObservability" + }, + "rollout_active_grace_period": { + "$ref": "#/$defs/cc_ApplicationRolloutActiveGracePeriod" + }, + "scheduling_policy": { + "$ref": "#/$defs/cc_ScheduledApplicationSchedulingPolicy" + }, + "updated_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "account_id", + "configuration", + "created_at", + "id", + "instances", + "name", + "scheduling_policy", + "updated_at", + "version" + ], + "type": "object" +}; + +/** + * The schema of `cc_ScheduledApplicationSchedulingPolicy` in responses. + */ +export const cc_ScheduledApplicationSchedulingPolicy_output: JsonSchema = { + "enum": [ + "default" + ], + "type": "string" +}; + +/** + * The schema of `cc_UserDeploymentConfiguration` in responses. + */ +export const cc_UserDeploymentConfiguration_output: JsonSchema = { + "properties": { + "authorized_keys": { + "items": { + "$ref": "#/$defs/cc_UserSSHPublicKey" + }, + "type": "array" + }, + "command": { + "$ref": "#/$defs/cc_Command" + }, + "entrypoint": { + "$ref": "#/$defs/cc_Entrypoint" + }, + "environment_variables": { + "items": { + "$ref": "#/$defs/cc_EnvironmentVariable" + }, + "type": "array" + }, + "image": { + "$ref": "#/$defs/cc_Image" + }, + "instance_type": { + "$ref": "#/$defs/cc_InstanceType" + }, + "observability": { + "$ref": "#/$defs/cc_DeploymentObservability" + } + }, + "required": [ + "image" + ], + "type": "object" +}; + +/** + * The schema of `cc_UserSSHPublicKey` in responses. + */ +export const cc_UserSSHPublicKey_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "public_key": { + "$ref": "#/$defs/cc_SSHPublicKey" + } + }, + "required": [ + "public_key" + ], + "type": "object" +}; + +/** + * The schema of `cc_V4PaginatedResultInfo` in responses. + */ +export const cc_V4PaginatedResultInfo_output: JsonSchema = { + "properties": { + "next_page_token": { + "type": "string" + }, + "page_token": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_WranglerSSHConfig` in responses. + */ +export const cc_WranglerSSHConfig_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "port": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts b/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts new file mode 100644 index 00000000..2a1cfa2f --- /dev/null +++ b/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts @@ -0,0 +1,227 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cc_ApplicationRollout` in responses. + */ +export const cc_ApplicationRollout_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "current_configuration": { + "$ref": "#/$defs/cc_ModifyUserDeploymentConfiguration" + }, + "current_version": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "health": { + "$ref": "#/$defs/cc_ApplicationHealth" + }, + "id": { + "$ref": "#/$defs/cc_RolloutID" + }, + "kind": { + "enum": [ + "full_auto", + "full_manual", + "durable_objects_auto" + ], + "type": "string" + }, + "last_updated_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "percentage": { + "type": "integer" + }, + "progress": { + "$ref": "#/$defs/cc_ApplicationRolloutProgress" + }, + "started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "pending", + "progressing", + "completed", + "reverted", + "replaced" + ], + "type": "string" + }, + "steps": { + "items": { + "$ref": "#/$defs/cc_RolloutStep" + }, + "type": "array" + }, + "strategy": { + "enum": [ + "rolling", + "new_instances" + ], + "type": "string" + }, + "target_configuration": { + "$ref": "#/$defs/cc_ModifyUserDeploymentConfiguration" + }, + "target_version": { + "type": "integer" + }, + "version_distribution": { + "$ref": "#/$defs/cc_ApplicationRollout_version_distribution" + } + }, + "required": [ + "created_at", + "current_configuration", + "current_version", + "description", + "health", + "id", + "kind", + "last_updated_at", + "status", + "strategy", + "target_configuration", + "target_version" + ], + "type": "object" +}; + +/** + * The schema of `cc_ApplicationRolloutProgress` in responses. + */ +export const cc_ApplicationRolloutProgress_output: JsonSchema = { + "properties": { + "current_step": { + "type": "integer" + }, + "total_instances": { + "type": "integer" + }, + "total_steps": { + "type": "integer" + }, + "updated_instances": { + "type": "integer" + }, + "version_distribution": { + "$ref": "#/$defs/cc_ApplicationRolloutProgress_version_distribution" + } + }, + "required": [ + "current_step", + "total_instances", + "total_steps", + "updated_instances" + ], + "type": "object" +}; + +/** + * The schema of `cc_ApplicationRolloutProgress_version_distribution` in + * responses. + */ +export const cc_ApplicationRolloutProgress_version_distribution_output: JsonSchema = { + "properties": { + "current_version_instances": { + "type": "integer" + }, + "current_version_percentage": { + "type": "integer" + }, + "target_version_instances": { + "type": "integer" + }, + "target_version_percentage": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `cc_ApplicationRollout_version_distribution` in responses. + */ +export const cc_ApplicationRollout_version_distribution_output: JsonSchema = { + "properties": { + "current_version_percentage": { + "type": "integer" + }, + "target_version_percentage": { + "type": "integer" + } + }, + "required": [ + "current_version_percentage", + "target_version_percentage" + ], + "type": "object" +}; + +/** + * The schema of `cc_RolloutStep` in responses. + */ +export const cc_RolloutStep_output: JsonSchema = { + "properties": { + "completed_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "description": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "reason": { + "type": "string" + }, + "started_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "status": { + "enum": [ + "pending", + "progressing", + "reverting", + "completed", + "reverted" + ], + "type": "string" + }, + "step_size": { + "$ref": "#/$defs/cc_RolloutStep_step_size" + } + }, + "required": [ + "description", + "id", + "status", + "step_size" + ], + "type": "object" +}; + +/** + * The schema of `cc_RolloutStep_step_size` in responses. + */ +export const cc_RolloutStep_step_size_output: JsonSchema = { + "properties": { + "percentage": { + "type": "integer" + } + }, + "required": [ + "percentage" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/containers/applications/rollouts/tools.ts b/src/generated/forge-mcp/containers/applications/rollouts/tools.ts index dc7e7a36..c8bdf9fa 100644 --- a/src/generated/forge-mcp/containers/applications/rollouts/tools.ts +++ b/src/generated/forge-mcp/containers/applications/rollouts/tools.ts @@ -2,7 +2,36 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cc_ISO8601Timestamp_output, + cc_Image_output, + cc_Messages_output, + cc_V4BaseErrorResponse_output, +} from "../../outputs.js"; import { cc_Image } from "../../schemas.js"; +import { + cc_ApplicationHealthError_output, + cc_ApplicationHealthErrors_output, + cc_ApplicationHealthInstances_output, + cc_ApplicationHealth_output, + cc_Command_output, + cc_DeploymentObservability_output, + cc_Entrypoint_output, + cc_EnvironmentVariableName_output, + cc_EnvironmentVariableValue_output, + cc_EnvironmentVariable_output, + cc_EventName_output, + cc_EventType_output, + cc_ExecFormParam_output, + cc_InstanceID_output, + cc_InstanceType_output, + cc_ModifyUserDeploymentConfiguration_output, + cc_ObservabilityLogs_output, + cc_PlacementEvent_output, + cc_RolloutID_output, + cc_SSHPublicKey_output, + cc_UserSSHPublicKey_output, +} from "../outputs.js"; import { cc_Command, cc_DeploymentObservability, @@ -17,6 +46,14 @@ import { cc_SSHPublicKey, cc_UserSSHPublicKey, } from "../schemas.js"; +import { + cc_ApplicationRolloutProgress_output, + cc_ApplicationRolloutProgress_version_distribution_output, + cc_ApplicationRollout_output, + cc_ApplicationRollout_version_distribution_output, + cc_RolloutStep_output, + cc_RolloutStep_step_size_output, +} from "./outputs.js"; import { cc_ContainersCreateApplicationRolloutRequest, cc_RolloutStepRequest, @@ -79,6 +116,61 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/containers/applications/{application_id}/rollouts", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cc_ApplicationRollout" + }, + "400": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "403": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "404": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_ApplicationHealth": cc_ApplicationHealth_output, + "cc_ApplicationHealthError": cc_ApplicationHealthError_output, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, + "cc_ApplicationRollout": cc_ApplicationRollout_output, + "cc_ApplicationRolloutProgress": cc_ApplicationRolloutProgress_output, + "cc_ApplicationRolloutProgress_version_distribution": cc_ApplicationRolloutProgress_version_distribution_output, + "cc_ApplicationRollout_version_distribution": cc_ApplicationRollout_version_distribution_output, + "cc_Command": cc_Command_output, + "cc_DeploymentObservability": cc_DeploymentObservability_output, + "cc_Entrypoint": cc_Entrypoint_output, + "cc_EnvironmentVariable": cc_EnvironmentVariable_output, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, + "cc_EventName": cc_EventName_output, + "cc_EventType": cc_EventType_output, + "cc_ExecFormParam": cc_ExecFormParam_output, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, + "cc_Image": cc_Image_output, + "cc_InstanceID": cc_InstanceID_output, + "cc_InstanceType": cc_InstanceType_output, + "cc_Messages": cc_Messages_output, + "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration_output, + "cc_ObservabilityLogs": cc_ObservabilityLogs_output, + "cc_PlacementEvent": cc_PlacementEvent_output, + "cc_RolloutID": cc_RolloutID_output, + "cc_RolloutStep": cc_RolloutStep_output, + "cc_RolloutStep_step_size": cc_RolloutStep_step_size_output, + "cc_SSHPublicKey": cc_SSHPublicKey_output, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications/${pathParam(args, "application_id")}/rollouts`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/containers/applications/tools.ts b/src/generated/forge-mcp/containers/applications/tools.ts index d5950faf..80da3b43 100644 --- a/src/generated/forge-mcp/containers/applications/tools.ts +++ b/src/generated/forge-mcp/containers/applications/tools.ts @@ -2,7 +2,61 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cc_AccountID_output, + cc_ISO8601Timestamp_output, + cc_Image_output, + cc_Messages_output, + cc_V4BaseErrorResponse_output, +} from "../outputs.js"; import { cc_Image } from "../schemas.js"; +import { + cc_ApplicationConstraints_output, + cc_ApplicationDurableObjectsConfiguration_output, + cc_ApplicationHealthError_output, + cc_ApplicationHealthErrors_output, + cc_ApplicationHealthInstances_output, + cc_ApplicationHealth_output, + cc_ApplicationID_output, + cc_ApplicationJurisdiction_output, + cc_ApplicationName_output, + cc_ApplicationObservability_output, + cc_ApplicationRolloutActiveGracePeriod_output, + cc_Command_output, + cc_ContainersApplicationResponse_output, + cc_ContainersDeleteApplicationResponseBody_output, + cc_ContainersListApplications_output, + cc_DeploymentObservability_output, + cc_DurableObjectApplicationConfiguration_output, + cc_DurableObjectApplicationConstraints_output, + cc_DurableObjectApplicationHealth_instances_output, + cc_DurableObjectApplicationHealth_output, + cc_DurableObjectApplicationObservability_logs_output, + cc_DurableObjectApplicationObservability_output, + cc_DurableObjectApplicationSchedulingPolicy_output, + cc_DurableObjectApplication_output, + cc_DurableObjectsConfigurationNamespaceId_output, + cc_Entrypoint_output, + cc_EnvironmentVariableName_output, + cc_EnvironmentVariableValue_output, + cc_EnvironmentVariable_output, + cc_EventName_output, + cc_EventType_output, + cc_ExecFormParam_output, + cc_InstanceID_output, + cc_InstanceType_output, + cc_ObservabilityLogs_output, + cc_PlacementEvent_output, + cc_Region_output, + cc_RolloutID_output, + cc_SSHPublicKey_output, + cc_ScheduledApplicationSchedulingPolicy_output, + cc_ScheduledApplication_output, + cc_UserDeploymentConfiguration_output, + cc_UserSSHPublicKey_output, + cc_V4PaginatedResultInfo_output, + cc_WranglerSSHConfig_output, +} from "./outputs.js"; import { cc_ApplicationConstraints, cc_ApplicationJurisdiction, @@ -105,6 +159,74 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/containers/applications", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cc_ContainersApplicationResponse" + }, + "400": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "403": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_AccountID": cc_AccountID_output, + "cc_ApplicationConstraints": cc_ApplicationConstraints_output, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, + "cc_ApplicationHealth": cc_ApplicationHealth_output, + "cc_ApplicationHealthError": cc_ApplicationHealthError_output, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, + "cc_ApplicationID": cc_ApplicationID_output, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, + "cc_ApplicationName": cc_ApplicationName_output, + "cc_ApplicationObservability": cc_ApplicationObservability_output, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, + "cc_Command": cc_Command_output, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, + "cc_DeploymentObservability": cc_DeploymentObservability_output, + "cc_DurableObjectApplication": cc_DurableObjectApplication_output, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, + "cc_DurableObjectApplicationHealth_instances": cc_DurableObjectApplicationHealth_instances_output, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, + "cc_DurableObjectApplicationObservability_logs": cc_DurableObjectApplicationObservability_logs_output, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, + "cc_Entrypoint": cc_Entrypoint_output, + "cc_EnvironmentVariable": cc_EnvironmentVariable_output, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, + "cc_EventName": cc_EventName_output, + "cc_EventType": cc_EventType_output, + "cc_ExecFormParam": cc_ExecFormParam_output, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, + "cc_Image": cc_Image_output, + "cc_InstanceID": cc_InstanceID_output, + "cc_InstanceType": cc_InstanceType_output, + "cc_Messages": cc_Messages_output, + "cc_ObservabilityLogs": cc_ObservabilityLogs_output, + "cc_PlacementEvent": cc_PlacementEvent_output, + "cc_Region": cc_Region_output, + "cc_RolloutID": cc_RolloutID_output, + "cc_SSHPublicKey": cc_SSHPublicKey_output, + "cc_ScheduledApplication": cc_ScheduledApplication_output, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications`, body: { value: args["body"], mediaType: "application/json" }, @@ -145,6 +267,27 @@ export const tools: readonly Tool[] = [ "Workers Containers Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cc_ContainersDeleteApplicationResponseBody" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "404": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_ContainersDeleteApplicationResponseBody": cc_ContainersDeleteApplicationResponseBody_output, + "cc_Messages": cc_Messages_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications/${pathParam(args, "application_id")}`, }), @@ -201,6 +344,77 @@ export const tools: readonly Tool[] = [ "Workers Containers Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cc_ContainersApplicationResponse" + }, + "400": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "403": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "404": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_AccountID": cc_AccountID_output, + "cc_ApplicationConstraints": cc_ApplicationConstraints_output, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, + "cc_ApplicationHealth": cc_ApplicationHealth_output, + "cc_ApplicationHealthError": cc_ApplicationHealthError_output, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, + "cc_ApplicationID": cc_ApplicationID_output, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, + "cc_ApplicationName": cc_ApplicationName_output, + "cc_ApplicationObservability": cc_ApplicationObservability_output, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, + "cc_Command": cc_Command_output, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, + "cc_DeploymentObservability": cc_DeploymentObservability_output, + "cc_DurableObjectApplication": cc_DurableObjectApplication_output, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, + "cc_DurableObjectApplicationHealth_instances": cc_DurableObjectApplicationHealth_instances_output, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, + "cc_DurableObjectApplicationObservability_logs": cc_DurableObjectApplicationObservability_logs_output, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, + "cc_Entrypoint": cc_Entrypoint_output, + "cc_EnvironmentVariable": cc_EnvironmentVariable_output, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, + "cc_EventName": cc_EventName_output, + "cc_EventType": cc_EventType_output, + "cc_ExecFormParam": cc_ExecFormParam_output, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, + "cc_Image": cc_Image_output, + "cc_InstanceID": cc_InstanceID_output, + "cc_InstanceType": cc_InstanceType_output, + "cc_Messages": cc_Messages_output, + "cc_ObservabilityLogs": cc_ObservabilityLogs_output, + "cc_PlacementEvent": cc_PlacementEvent_output, + "cc_Region": cc_Region_output, + "cc_RolloutID": cc_RolloutID_output, + "cc_SSHPublicKey": cc_SSHPublicKey_output, + "cc_ScheduledApplication": cc_ScheduledApplication_output, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications/${pathParam(args, "application_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -242,6 +456,71 @@ export const tools: readonly Tool[] = [ "Workers Containers Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cc_ContainersApplicationResponse" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "404": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_AccountID": cc_AccountID_output, + "cc_ApplicationConstraints": cc_ApplicationConstraints_output, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, + "cc_ApplicationHealth": cc_ApplicationHealth_output, + "cc_ApplicationHealthError": cc_ApplicationHealthError_output, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, + "cc_ApplicationID": cc_ApplicationID_output, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, + "cc_ApplicationName": cc_ApplicationName_output, + "cc_ApplicationObservability": cc_ApplicationObservability_output, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, + "cc_Command": cc_Command_output, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, + "cc_DeploymentObservability": cc_DeploymentObservability_output, + "cc_DurableObjectApplication": cc_DurableObjectApplication_output, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, + "cc_DurableObjectApplicationHealth_instances": cc_DurableObjectApplicationHealth_instances_output, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, + "cc_DurableObjectApplicationObservability_logs": cc_DurableObjectApplicationObservability_logs_output, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, + "cc_Entrypoint": cc_Entrypoint_output, + "cc_EnvironmentVariable": cc_EnvironmentVariable_output, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, + "cc_EventName": cc_EventName_output, + "cc_EventType": cc_EventType_output, + "cc_ExecFormParam": cc_ExecFormParam_output, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, + "cc_Image": cc_Image_output, + "cc_InstanceID": cc_InstanceID_output, + "cc_InstanceType": cc_InstanceType_output, + "cc_Messages": cc_Messages_output, + "cc_ObservabilityLogs": cc_ObservabilityLogs_output, + "cc_PlacementEvent": cc_PlacementEvent_output, + "cc_Region": cc_Region_output, + "cc_RolloutID": cc_RolloutID_output, + "cc_SSHPublicKey": cc_SSHPublicKey_output, + "cc_ScheduledApplication": cc_ScheduledApplication_output, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications/${pathParam(args, "application_id")}`, }), @@ -298,6 +577,84 @@ export const tools: readonly Tool[] = [ "results": "$response.result" } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/cc_ContainersListApplications" + }, + "result_info": { + "$ref": "#/$defs/cc_V4PaginatedResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_AccountID": cc_AccountID_output, + "cc_ApplicationConstraints": cc_ApplicationConstraints_output, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, + "cc_ApplicationHealth": cc_ApplicationHealth_output, + "cc_ApplicationHealthError": cc_ApplicationHealthError_output, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, + "cc_ApplicationID": cc_ApplicationID_output, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, + "cc_ApplicationName": cc_ApplicationName_output, + "cc_ApplicationObservability": cc_ApplicationObservability_output, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, + "cc_Command": cc_Command_output, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, + "cc_ContainersListApplications": cc_ContainersListApplications_output, + "cc_DeploymentObservability": cc_DeploymentObservability_output, + "cc_DurableObjectApplication": cc_DurableObjectApplication_output, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, + "cc_DurableObjectApplicationHealth_instances": cc_DurableObjectApplicationHealth_instances_output, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, + "cc_DurableObjectApplicationObservability_logs": cc_DurableObjectApplicationObservability_logs_output, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, + "cc_Entrypoint": cc_Entrypoint_output, + "cc_EnvironmentVariable": cc_EnvironmentVariable_output, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, + "cc_EventName": cc_EventName_output, + "cc_EventType": cc_EventType_output, + "cc_ExecFormParam": cc_ExecFormParam_output, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, + "cc_Image": cc_Image_output, + "cc_InstanceID": cc_InstanceID_output, + "cc_InstanceType": cc_InstanceType_output, + "cc_Messages": cc_Messages_output, + "cc_ObservabilityLogs": cc_ObservabilityLogs_output, + "cc_PlacementEvent": cc_PlacementEvent_output, + "cc_Region": cc_Region_output, + "cc_RolloutID": cc_RolloutID_output, + "cc_SSHPublicKey": cc_SSHPublicKey_output, + "cc_ScheduledApplication": cc_ScheduledApplication_output, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo_output, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications`, query: [ diff --git a/src/generated/forge-mcp/containers/applications/versions/outputs.ts b/src/generated/forge-mcp/containers/applications/versions/outputs.ts new file mode 100644 index 00000000..8b188701 --- /dev/null +++ b/src/generated/forge-mcp/containers/applications/versions/outputs.ts @@ -0,0 +1,27 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cc_ApplicationVersion` in responses. + */ +export const cc_ApplicationVersion_output: JsonSchema = { + "properties": { + "configuration": { + "$ref": "#/$defs/cc_ModifyUserDeploymentConfiguration" + }, + "percentage": { + "type": "integer" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "configuration", + "percentage", + "version" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/containers/applications/versions/tools.ts b/src/generated/forge-mcp/containers/applications/versions/tools.ts index 4e1857a7..ac619516 100644 --- a/src/generated/forge-mcp/containers/applications/versions/tools.ts +++ b/src/generated/forge-mcp/containers/applications/versions/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cc_Image_output, + cc_Messages_output, + cc_V4BaseErrorResponse_output, +} from "../../outputs.js"; +import { + cc_Command_output, + cc_DeploymentObservability_output, + cc_Entrypoint_output, + cc_EnvironmentVariableName_output, + cc_EnvironmentVariableValue_output, + cc_EnvironmentVariable_output, + cc_ExecFormParam_output, + cc_InstanceType_output, + cc_ModifyUserDeploymentConfiguration_output, + cc_ObservabilityLogs_output, + cc_SSHPublicKey_output, + cc_UserSSHPublicKey_output, +} from "../outputs.js"; +import { cc_ApplicationVersion_output } from "./outputs.js"; /** * The tools of `containers.applications.versions`. @@ -43,6 +63,54 @@ export const tools: readonly Tool[] = [ "Workers Containers Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/cc_ApplicationVersion" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "404": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_ApplicationVersion": cc_ApplicationVersion_output, + "cc_Command": cc_Command_output, + "cc_DeploymentObservability": cc_DeploymentObservability_output, + "cc_Entrypoint": cc_Entrypoint_output, + "cc_EnvironmentVariable": cc_EnvironmentVariable_output, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, + "cc_ExecFormParam": cc_ExecFormParam_output, + "cc_Image": cc_Image_output, + "cc_InstanceType": cc_InstanceType_output, + "cc_Messages": cc_Messages_output, + "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration_output, + "cc_ObservabilityLogs": cc_ObservabilityLogs_output, + "cc_SSHPublicKey": cc_SSHPublicKey_output, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications/${pathParam(args, "application_id")}/versions`, }), diff --git a/src/generated/forge-mcp/containers/images/outputs.ts b/src/generated/forge-mcp/containers/images/outputs.ts new file mode 100644 index 00000000..84aee58e --- /dev/null +++ b/src/generated/forge-mcp/containers/images/outputs.ts @@ -0,0 +1,41 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cc_ContainerImagePreparation` in responses. + */ +export const cc_ContainerImagePreparation_output: JsonSchema = { + "properties": { + "artifact_digest": { + "type": "string" + }, + "image": { + "$ref": "#/$defs/cc_Image" + }, + "reason": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/cc_ContainerImagePreparationStatus" + } + }, + "required": [ + "image", + "status" + ], + "type": "object" +}; + +/** + * The schema of `cc_ContainerImagePreparationStatus` in responses. + */ +export const cc_ContainerImagePreparationStatus_output: JsonSchema = { + "enum": [ + "pending", + "ready", + "error" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/containers/images/tools.ts b/src/generated/forge-mcp/containers/images/tools.ts index 7fbc1ebd..7bc50549 100644 --- a/src/generated/forge-mcp/containers/images/tools.ts +++ b/src/generated/forge-mcp/containers/images/tools.ts @@ -2,7 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cc_Image_output, + cc_Messages_output, + cc_V4BaseErrorResponse_output, +} from "../outputs.js"; import { cc_Image } from "../schemas.js"; +import { + cc_ContainerImagePreparationStatus_output, + cc_ContainerImagePreparation_output, +} from "./outputs.js"; import { cc_PrepareContainerImageRequestBody } from "./schemas.js"; /** @@ -42,6 +51,35 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/containers/image-preparations", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cc_ContainerImagePreparation" + }, + "202": { + "$ref": "#/$defs/cc_ContainerImagePreparation" + }, + "400": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "403": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_ContainerImagePreparation": cc_ContainerImagePreparation_output, + "cc_ContainerImagePreparationStatus": cc_ContainerImagePreparationStatus_output, + "cc_Image": cc_Image_output, + "cc_Messages": cc_Messages_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/image-preparations`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/containers/outputs.ts b/src/generated/forge-mcp/containers/outputs.ts new file mode 100644 index 00000000..2e68d949 --- /dev/null +++ b/src/generated/forge-mcp/containers/outputs.ts @@ -0,0 +1,85 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `cc_AccountID` in responses. + */ +export const cc_AccountID_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_ISO8601Timestamp` in responses. + */ +export const cc_ISO8601Timestamp_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_Image` in responses. + */ +export const cc_Image_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_Messages` in responses. + */ +export const cc_Messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `cc_V4BaseErrorResponse` in responses. + */ +export const cc_V4BaseErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cc_Messages" + }, + "messages": { + "$ref": "#/$defs/cc_Messages" + }, + "result": { + "type": "null" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/containers/registries/credentials/outputs.ts b/src/generated/forge-mcp/containers/registries/credentials/outputs.ts new file mode 100644 index 00000000..a7b9c117 --- /dev/null +++ b/src/generated/forge-mcp/containers/registries/credentials/outputs.ts @@ -0,0 +1,31 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cc_ContainersAccountRegistryToken` in responses. + */ +export const cc_ContainersAccountRegistryToken_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/cc_AccountID" + }, + "password": { + "type": "string" + }, + "registry_host": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "account_id", + "password", + "registry_host", + "username" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/containers/registries/credentials/tools.ts b/src/generated/forge-mcp/containers/registries/credentials/tools.ts index 65a515cb..06f9c1f8 100644 --- a/src/generated/forge-mcp/containers/registries/credentials/tools.ts +++ b/src/generated/forge-mcp/containers/registries/credentials/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cc_AccountID_output, + cc_Messages_output, + cc_V4BaseErrorResponse_output, +} from "../../outputs.js"; +import { cc_ContainersAccountRegistryToken_output } from "./outputs.js"; import { cc_ImageRegistryCredentialsConfiguration, cc_ImageRegistryPermissions, @@ -49,6 +55,34 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/containers/registries/{domain}/credentials", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cc_ContainersAccountRegistryToken" + }, + "400": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "403": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "404": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "409": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_AccountID": cc_AccountID_output, + "cc_ContainersAccountRegistryToken": cc_ContainersAccountRegistryToken_output, + "cc_Messages": cc_Messages_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/registries/${pathParam(args, "domain")}/credentials`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/containers/registries/outputs.ts b/src/generated/forge-mcp/containers/registries/outputs.ts new file mode 100644 index 00000000..a70255b0 --- /dev/null +++ b/src/generated/forge-mcp/containers/registries/outputs.ts @@ -0,0 +1,87 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cc_ContainersDeleteImageRegistryResponseBody` in responses. + */ +export const cc_ContainersDeleteImageRegistryResponseBody_output: JsonSchema = { + "properties": { + "domain": { + "$ref": "#/$defs/cc_Domain" + } + }, + "required": [ + "domain" + ], + "type": "object" +}; + +/** + * The schema of `cc_CustomerImageRegistry` in responses. + */ +export const cc_CustomerImageRegistry_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/cc_ISO8601Timestamp" + }, + "domain": { + "$ref": "#/$defs/cc_Domain" + }, + "kind": { + "$ref": "#/$defs/cc_CustomerImageRegistry_kind" + }, + "public_key": { + "type": "string" + } + }, + "required": [ + "created_at", + "domain" + ], + "type": "object" +}; + +/** + * The schema of `cc_CustomerImageRegistry_kind` in responses. + */ +export const cc_CustomerImageRegistry_kind_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/cc_ExternalRegistryKind" + }, + { + "$ref": "#/$defs/cc_DefaultImageRegistryKind" + } + ] +}; + +/** + * The schema of `cc_DefaultImageRegistryKind` in responses. + */ +export const cc_DefaultImageRegistryKind_output: JsonSchema = { + "enum": [ + "default" + ], + "type": "string" +}; + +/** + * The schema of `cc_Domain` in responses. + */ +export const cc_Domain_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cc_ExternalRegistryKind` in responses. + */ +export const cc_ExternalRegistryKind_output: JsonSchema = { + "enum": [ + "ECR", + "DockerHub", + "GAR" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/containers/registries/tools.ts b/src/generated/forge-mcp/containers/registries/tools.ts index 3ff2058f..866a3f5b 100644 --- a/src/generated/forge-mcp/containers/registries/tools.ts +++ b/src/generated/forge-mcp/containers/registries/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cc_ISO8601Timestamp_output, + cc_Messages_output, + cc_V4BaseErrorResponse_output, +} from "../outputs.js"; +import { + cc_ContainersDeleteImageRegistryResponseBody_output, + cc_CustomerImageRegistry_kind_output, + cc_CustomerImageRegistry_output, + cc_DefaultImageRegistryKind_output, + cc_Domain_output, + cc_ExternalRegistryKind_output, +} from "./outputs.js"; import { cc_ContainersCreateImageRegistryRequestBody, cc_ContainersImageRegistryAuth, @@ -53,6 +66,35 @@ export const tools: readonly Tool[] = [ "Workers Containers Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cc_CustomerImageRegistry" + }, + "400": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "403": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "409": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_CustomerImageRegistry": cc_CustomerImageRegistry_output, + "cc_CustomerImageRegistry_kind": cc_CustomerImageRegistry_kind_output, + "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind_output, + "cc_Domain": cc_Domain_output, + "cc_ExternalRegistryKind": cc_ExternalRegistryKind_output, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, + "cc_Messages": cc_Messages_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/registries`, body: { value: args["body"], mediaType: "application/json" }, @@ -93,6 +135,31 @@ export const tools: readonly Tool[] = [ "Workers Containers Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cc_ContainersDeleteImageRegistryResponseBody" + }, + "403": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "404": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "409": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_ContainersDeleteImageRegistryResponseBody": cc_ContainersDeleteImageRegistryResponseBody_output, + "cc_Domain": cc_Domain_output, + "cc_Messages": cc_Messages_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/registries/${pathParam(args, "domain")}`, }), @@ -128,6 +195,43 @@ export const tools: readonly Tool[] = [ "Workers Containers Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/cc_CustomerImageRegistry" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + }, + "500": { + "$ref": "#/$defs/cc_V4BaseErrorResponse" + } + }, + $defs: { + "cc_CustomerImageRegistry": cc_CustomerImageRegistry_output, + "cc_CustomerImageRegistry_kind": cc_CustomerImageRegistry_kind_output, + "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind_output, + "cc_Domain": cc_Domain_output, + "cc_ExternalRegistryKind": cc_ExternalRegistryKind_output, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, + "cc_Messages": cc_Messages_output, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/registries`, }), diff --git a/src/generated/forge-mcp/contentScan/expressions/outputs.ts b/src/generated/forge-mcp/contentScan/expressions/outputs.ts new file mode 100644 index 00000000..4d753720 --- /dev/null +++ b/src/generated/forge-mcp/contentScan/expressions/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `waf-product-api-bundle_custom-scan` in responses. + */ +export const waf_product_api_bundle_custom_scan_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/waf-product-api-bundle_custom-scan-id" + }, + "payload": { + "$ref": "#/$defs/waf-product-api-bundle_custom-scan-payload" + } + }, + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_custom-scan-id` in responses. + */ +export const waf_product_api_bundle_custom_scan_id_output: JsonSchema = { + "$ref": "#/$defs/waf-product-api-bundle_identifier" +}; + +/** + * The schema of `waf-product-api-bundle_custom-scan-payload` in responses. + */ +export const waf_product_api_bundle_custom_scan_payload_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waf-product-api-bundle_response-custom-scan-collection` in + * responses. + */ +export const waf_product_api_bundle_response_custom_scan_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "messages": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/waf-product-api-bundle_custom-scan" + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/contentScan/expressions/tools.ts b/src/generated/forge-mcp/contentScan/expressions/tools.ts index 38b45dd6..2be93ace 100644 --- a/src/generated/forge-mcp/contentScan/expressions/tools.ts +++ b/src/generated/forge-mcp/contentScan/expressions/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + waf_product_api_bundle_identifier_output, + waf_product_api_bundle_messages_output, +} from "../../outputs.js"; +import { waf_product_api_bundle_api_response_common_failure_2_output } from "../outputs.js"; +import { + waf_product_api_bundle_custom_scan_id_output, + waf_product_api_bundle_custom_scan_output, + waf_product_api_bundle_custom_scan_payload_output, + waf_product_api_bundle_response_custom_scan_collection_output, +} from "./outputs.js"; import { waf_product_api_bundle_custom_scan_payload } from "./schemas.js"; /** @@ -59,6 +70,46 @@ export const tools: readonly Tool[] = [ "Account WAF Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waf-product-api-bundle_custom-scan" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-2" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, + "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, + "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, + "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, + "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/content-upload-scan/payloads`, body: { value: args["body"], mediaType: "application/json" }, @@ -100,6 +151,46 @@ export const tools: readonly Tool[] = [ "Account WAF Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waf-product-api-bundle_custom-scan" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-2" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, + "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, + "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, + "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, + "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/content-upload-scan/payloads/${pathParam(args, "expression_id")}`, }), @@ -137,6 +228,46 @@ export const tools: readonly Tool[] = [ "Account WAF Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waf-product-api-bundle_custom-scan" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-2" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, + "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, + "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, + "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, + "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/content-upload-scan/payloads`, }), @@ -194,6 +325,46 @@ export const tools: readonly Tool[] = [ "Account WAF Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waf-product-api-bundle_custom-scan" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-2" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, + "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, + "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, + "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, + "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/content-upload-scan/payloads/${pathParam(args, "expression_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/contentScan/outputs.ts b/src/generated/forge-mcp/contentScan/outputs.ts new file mode 100644 index 00000000..ab6c9f0d --- /dev/null +++ b/src/generated/forge-mcp/contentScan/outputs.ts @@ -0,0 +1,50 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `waf-product-api-bundle_api-response-common-failure-2` in + * responses. + */ +export const waf_product_api_bundle_api_response_common_failure_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "messages": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_status-2` in responses. + */ +export const waf_product_api_bundle_status_2_output: JsonSchema = { + "properties": { + "modified": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/contentScan/tools.ts b/src/generated/forge-mcp/contentScan/tools.ts index 9ceab0bc..4772bfc0 100644 --- a/src/generated/forge-mcp/contentScan/tools.ts +++ b/src/generated/forge-mcp/contentScan/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { waf_product_api_bundle_messages_output } from "../outputs.js"; +import { + waf_product_api_bundle_api_response_common_failure_2_output, + waf_product_api_bundle_status_2_output, +} from "./outputs.js"; /** * The tools of `content_scan`. @@ -40,6 +45,21 @@ export const tools: readonly Tool[] = [ "Account WAF Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_status-2" + }, + "4XX": { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-2" + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_status-2": waf_product_api_bundle_status_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/content-upload-scan/settings`, }), @@ -93,6 +113,21 @@ export const tools: readonly Tool[] = [ "Account WAF Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_status-2" + }, + "4XX": { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure-2" + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_status-2": waf_product_api_bundle_status_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/content-upload-scan/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/cps/outputs.ts b/src/generated/forge-mcp/cps/outputs.ts new file mode 100644 index 00000000..efa36d39 --- /dev/null +++ b/src/generated/forge-mcp/cps/outputs.ts @@ -0,0 +1,146 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `cps_api_response_common_failure` in responses. + */ +export const cps_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/cps_api_response_message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/cps_api_response_message" + }, + "type": "array" + }, + "result": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cps_api_response_message` in responses. + */ +export const cps_api_response_message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `cps_communication_preferences` in responses. + */ +export const cps_communication_preferences_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "email": { + "$ref": "#/$defs/cps_communication_preferences_email" + }, + "language-locale": { + "enum": [ + "en-US", + "es-ES", + "de-DE", + "fr-FR", + "it-IT", + "ja-JP", + "ko-KR", + "pt-BR", + "zh-CN", + "zh-TW" + ], + "type": "string" + }, + "preferences": { + "additionalProperties": { + "$ref": "#/$defs/cps_customer_preference" + }, + "type": "object" + }, + "updated_on": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_on", + "email", + "language-locale", + "preferences", + "updated_on" + ], + "type": "object" +}; + +/** + * The schema of `cps_communication_preferences_email` in responses. + */ +export const cps_communication_preferences_email_output: JsonSchema = { + "properties": { + "hard_bounce": { + "type": "boolean" + }, + "verified": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `cps_customer_preference` in responses. + */ +export const cps_customer_preference_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "subscribed": { + "type": "boolean" + }, + "updated_on": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "subscribed" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cps/tools.ts b/src/generated/forge-mcp/cps/tools.ts index 78fe8640..3fb43e4a 100644 --- a/src/generated/forge-mcp/cps/tools.ts +++ b/src/generated/forge-mcp/cps/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; +import { + cps_api_response_common_failure_output, + cps_api_response_message_output, + cps_communication_preferences_email_output, + cps_communication_preferences_output, + cps_customer_preference_output, +} from "./outputs.js"; import { cps_update_communication_preferences_request } from "./schemas.js"; /** @@ -30,6 +37,35 @@ export const tools: readonly Tool[] = [ "User Details Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cps_communication_preferences" + }, + "400": { + "$ref": "#/$defs/cps_api_response_common_failure" + }, + "401": { + "$ref": "#/$defs/cps_api_response_common_failure" + }, + "403": { + "$ref": "#/$defs/cps_api_response_common_failure" + }, + "404": { + "$ref": "#/$defs/cps_api_response_common_failure" + }, + "500": { + "$ref": "#/$defs/cps_api_response_common_failure" + } + }, + $defs: { + "cps_api_response_common_failure": cps_api_response_common_failure_output, + "cps_api_response_message": cps_api_response_message_output, + "cps_communication_preferences": cps_communication_preferences_output, + "cps_communication_preferences_email": cps_communication_preferences_email_output, + "cps_customer_preference": cps_customer_preference_output, + }, + }, request: (_args) => ({ path: `/user/communication_preferences`, }), @@ -66,6 +102,35 @@ export const tools: readonly Tool[] = [ "User Details Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cps_communication_preferences" + }, + "400": { + "$ref": "#/$defs/cps_api_response_common_failure" + }, + "401": { + "$ref": "#/$defs/cps_api_response_common_failure" + }, + "403": { + "$ref": "#/$defs/cps_api_response_common_failure" + }, + "404": { + "$ref": "#/$defs/cps_api_response_common_failure" + }, + "500": { + "$ref": "#/$defs/cps_api_response_common_failure" + } + }, + $defs: { + "cps_api_response_common_failure": cps_api_response_common_failure_output, + "cps_api_response_message": cps_api_response_message_output, + "cps_communication_preferences": cps_communication_preferences_output, + "cps_communication_preferences_email": cps_communication_preferences_email_output, + "cps_customer_preference": cps_customer_preference_output, + }, + }, request: (args) => ({ path: `/user/communication_preferences`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/csamScanner/outputs.ts b/src/generated/forge-mcp/csamScanner/outputs.ts new file mode 100644 index 00000000..5f5c769b --- /dev/null +++ b/src/generated/forge-mcp/csamScanner/outputs.ts @@ -0,0 +1,126 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `csam-config-service_api_response_common_failure` in responses. + */ +export const csam_config_service_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/csam-config-service_api_response_message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/csam-config-service_api_response_message" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `csam-config-service_api_response_message` in responses. + */ +export const csam_config_service_api_response_message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `csam-config-service_csam_scanner_setting` in responses. + */ +export const csam_config_service_csam_scanner_setting_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "enum": [ + "csam_scanner" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/csam-config-service_csam_scanner_value" + } + }, + "type": "object" +}; + +/** + * The schema of `csam-config-service_csam_scanner_value` in responses. + */ +export const csam_config_service_csam_scanner_value_output: JsonSchema = { + "properties": { + "email": { + "type": "string" + }, + "email_state": { + "enum": [ + "valid", + "pending", + "unverified" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "sources": { + "additionalProperties": { + "type": "boolean" + }, + "type": "object" + }, + "zone_plan": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/csamScanner/tools.ts b/src/generated/forge-mcp/csamScanner/tools.ts index 08965738..ebeb495f 100644 --- a/src/generated/forge-mcp/csamScanner/tools.ts +++ b/src/generated/forge-mcp/csamScanner/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + csam_config_service_api_response_common_failure_output, + csam_config_service_api_response_message_output, + csam_config_service_csam_scanner_setting_output, + csam_config_service_csam_scanner_value_output, +} from "./outputs.js"; import { csam_config_service_csam_scanner_third_party_update_request, csam_config_service_csam_scanner_third_party_update_value, @@ -51,6 +57,34 @@ export const tools: readonly Tool[] = [ "Zone Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/csam-config-service_csam_scanner_setting" + }, + "400": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + }, + "401": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + }, + "403": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + }, + "404": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + }, + "500": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + } + }, + $defs: { + "csam-config-service_api_response_common_failure": csam_config_service_api_response_common_failure_output, + "csam-config-service_api_response_message": csam_config_service_api_response_message_output, + "csam-config-service_csam_scanner_setting": csam_config_service_csam_scanner_setting_output, + "csam-config-service_csam_scanner_value": csam_config_service_csam_scanner_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/csam_scanner_third_party`, body: { value: args["body"], mediaType: "application/json" }, @@ -89,6 +123,34 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/csam-config-service_csam_scanner_setting" + }, + "400": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + }, + "401": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + }, + "403": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + }, + "404": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + }, + "500": { + "$ref": "#/$defs/csam-config-service_api_response_common_failure" + } + }, + $defs: { + "csam-config-service_api_response_common_failure": csam_config_service_api_response_common_failure_output, + "csam-config-service_api_response_message": csam_config_service_api_response_message_output, + "csam-config-service_csam_scanner_setting": csam_config_service_csam_scanner_setting_output, + "csam-config-service_csam_scanner_value": csam_config_service_csam_scanner_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/csam_scanner_third_party`, }), diff --git a/src/generated/forge-mcp/customCsrs/outputs.ts b/src/generated/forge-mcp/customCsrs/outputs.ts new file mode 100644 index 00000000..b5ab5f04 --- /dev/null +++ b/src/generated/forge-mcp/customCsrs/outputs.ts @@ -0,0 +1,213 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_custom_csr-2` in responses. + */ +export const tls_certificates_and_hostnames_custom_csr_2_output: JsonSchema = { + "properties": { + "account_tag": { + "type": "string" + }, + "common_name": { + "type": "string" + }, + "country": { + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "csr": { + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier" + }, + "key_type": { + "enum": [ + "rsa2048", + "p256v1" + ], + "type": "string" + }, + "locality": { + "type": "string" + }, + "name": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "organizational_unit": { + "type": "string" + }, + "sans": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "key_type" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_csr_identifier` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_csr_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_csr_response_collection-2` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_csr_response_collection_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr-2" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_collection-2_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_csr_response_collection-2_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_custom_csr_response_collection_2_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_csr_response_id_only` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_csr_response_id_only_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_id_only_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_csr_response_id_only_result` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_csr_response_id_only_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_csr_response_single-2` + * in responses. + */ +export const tls_certificates_and_hostnames_custom_csr_response_single_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr-2" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/customCsrs/tools.ts b/src/generated/forge-mcp/customCsrs/tools.ts index eb59ae4f..d74bfe3a 100644 --- a/src/generated/forge-mcp/customCsrs/tools.ts +++ b/src/generated/forge-mcp/customCsrs/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../outputs.js"; +import { + tls_certificates_and_hostnames_custom_csr_2_output, + tls_certificates_and_hostnames_custom_csr_identifier_output, + tls_certificates_and_hostnames_custom_csr_response_collection_2_output, + tls_certificates_and_hostnames_custom_csr_response_collection_2_result_info_output, + tls_certificates_and_hostnames_custom_csr_response_id_only_output, + tls_certificates_and_hostnames_custom_csr_response_id_only_result_output, + tls_certificates_and_hostnames_custom_csr_response_single_2_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_custom_csr_create_request_2 } from "./schemas.js"; /** @@ -70,6 +83,30 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr-2" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_single-2" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_custom_csr-2": tls_certificates_and_hostnames_custom_csr_2_output, + "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, + "tls-certificates-and-hostnames_custom_csr_response_single-2": tls_certificates_and_hostnames_custom_csr_response_single_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_csrs`, body: { value: args["body"], mediaType: "application/json" }, @@ -135,6 +172,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_id_only" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, + "tls-certificates-and-hostnames_custom_csr_response_id_only": tls_certificates_and_hostnames_custom_csr_response_id_only_output, + "tls-certificates-and-hostnames_custom_csr_response_id_only_result": tls_certificates_and_hostnames_custom_csr_response_id_only_result_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_csrs/${pathParam(args, "custom_csr_id")}`, }), @@ -200,6 +266,30 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr-2" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_single-2" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_custom_csr-2": tls_certificates_and_hostnames_custom_csr_2_output, + "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, + "tls-certificates-and-hostnames_custom_csr_response_single-2": tls_certificates_and_hostnames_custom_csr_response_single_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_csrs/${pathParam(args, "custom_csr_id")}`, }), @@ -289,6 +379,62 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr-2" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_collection-2" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_custom_csr-2": tls_certificates_and_hostnames_custom_csr_2_output, + "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, + "tls-certificates-and-hostnames_custom_csr_response_collection-2": tls_certificates_and_hostnames_custom_csr_response_collection_2_output, + "tls-certificates-and-hostnames_custom_csr_response_collection-2_result_info": tls_certificates_and_hostnames_custom_csr_response_collection_2_result_info_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_csrs`, query: [ diff --git a/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts b/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts index 46d586c0..63e06903 100644 --- a/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts +++ b/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts @@ -2,6 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_validation_record_output, +} from "../../../outputs.js"; +import { + tls_certificates_and_hostnames_certificate_authority_output, + tls_certificates_and_hostnames_created_at_output, + tls_certificates_and_hostnames_custom_hostname_identifier_output, + tls_certificates_and_hostnames_custom_hostname_output, + tls_certificates_and_hostnames_custom_hostname_response_messages_output, + tls_certificates_and_hostnames_custom_hostname_response_single_output, + tls_certificates_and_hostnames_custom_metadata_output, + tls_certificates_and_hostnames_custom_origin_server_output, + tls_certificates_and_hostnames_custom_origin_sni_output, + tls_certificates_and_hostnames_customhostname_output, + tls_certificates_and_hostnames_hostname_output, + tls_certificates_and_hostnames_ownership_verification_http_output, + tls_certificates_and_hostnames_ownership_verification_output, + tls_certificates_and_hostnames_ssl_output, + tls_certificates_and_hostnames_sslsettings_output, + tls_certificates_and_hostnames_status_3_output, + tls_certificates_and_hostnames_verification_errors_output, +} from "../../outputs.js"; import { tls_certificates_and_hostnames_custom_cert_and_key } from "../../schemas.js"; /** @@ -59,6 +83,38 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "202": { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames/${pathParam(args, "custom_hostname_id")}/certificate_pack/${pathParam(args, "certificate_pack_id")}/certificates/${pathParam(args, "certificate_id")}`, }), @@ -121,6 +177,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "202": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-hostname" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, + "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, + "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, + "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, + "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, + "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, + "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, + "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, + "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, + "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, + "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, + "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, + "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, + "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames/${pathParam(args, "custom_hostname_id")}/certificate_pack/${pathParam(args, "certificate_pack_id")}/certificates/${pathParam(args, "certificate_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts b/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts new file mode 100644 index 00000000..4eae7b7d --- /dev/null +++ b/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts @@ -0,0 +1,106 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_created_at-2` in responses. + */ +export const tls_certificates_and_hostnames_created_at_2_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_errors` in responses. + */ +export const tls_certificates_and_hostnames_errors_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `tls-certificates-and-hostnames_fallback_origin_response` in + * responses. + */ +export const tls_certificates_and_hostnames_fallback_origin_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_fallbackorigin" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_fallbackorigin` in responses. + */ +export const tls_certificates_and_hostnames_fallbackorigin_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-2" + }, + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_errors" + }, + "origin": { + "$ref": "#/$defs/tls-certificates-and-hostnames_origin" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-4" + }, + "updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_origin` in responses. + */ +export const tls_certificates_and_hostnames_origin_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-4` in responses. + */ +export const tls_certificates_and_hostnames_status_4_output: JsonSchema = { + "enum": [ + "initializing", + "pending_deployment", + "pending_deletion", + "active", + "deployment_timed_out", + "deletion_timed_out" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_updated_at` in responses. + */ +export const tls_certificates_and_hostnames_updated_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts b/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts index 115efbdf..4bf46530 100644 --- a/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts +++ b/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_created_at_2_output, + tls_certificates_and_hostnames_errors_output, + tls_certificates_and_hostnames_fallback_origin_response_output, + tls_certificates_and_hostnames_fallbackorigin_output, + tls_certificates_and_hostnames_origin_output, + tls_certificates_and_hostnames_status_4_output, + tls_certificates_and_hostnames_updated_at_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_origin } from "./schemas.js"; /** @@ -54,6 +67,34 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_fallbackorigin" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_fallback_origin_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_created_at-2": tls_certificates_and_hostnames_created_at_2_output, + "tls-certificates-and-hostnames_errors": tls_certificates_and_hostnames_errors_output, + "tls-certificates-and-hostnames_fallback_origin_response": tls_certificates_and_hostnames_fallback_origin_response_output, + "tls-certificates-and-hostnames_fallbackorigin": tls_certificates_and_hostnames_fallbackorigin_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin_output, + "tls-certificates-and-hostnames_status-4": tls_certificates_and_hostnames_status_4_output, + "tls-certificates-and-hostnames_updated_at": tls_certificates_and_hostnames_updated_at_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames/fallback_origin`, }), @@ -105,6 +146,34 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_fallbackorigin" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_fallback_origin_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_created_at-2": tls_certificates_and_hostnames_created_at_2_output, + "tls-certificates-and-hostnames_errors": tls_certificates_and_hostnames_errors_output, + "tls-certificates-and-hostnames_fallback_origin_response": tls_certificates_and_hostnames_fallback_origin_response_output, + "tls-certificates-and-hostnames_fallbackorigin": tls_certificates_and_hostnames_fallbackorigin_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin_output, + "tls-certificates-and-hostnames_status-4": tls_certificates_and_hostnames_status_4_output, + "tls-certificates-and-hostnames_updated_at": tls_certificates_and_hostnames_updated_at_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames/fallback_origin`, }), @@ -171,6 +240,34 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_fallbackorigin" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_fallback_origin_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_created_at-2": tls_certificates_and_hostnames_created_at_2_output, + "tls-certificates-and-hostnames_errors": tls_certificates_and_hostnames_errors_output, + "tls-certificates-and-hostnames_fallback_origin_response": tls_certificates_and_hostnames_fallback_origin_response_output, + "tls-certificates-and-hostnames_fallbackorigin": tls_certificates_and_hostnames_fallbackorigin_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin_output, + "tls-certificates-and-hostnames_status-4": tls_certificates_and_hostnames_status_4_output, + "tls-certificates-and-hostnames_updated_at": tls_certificates_and_hostnames_updated_at_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames/fallback_origin`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/customHostnames/outputs.ts b/src/generated/forge-mcp/customHostnames/outputs.ts new file mode 100644 index 00000000..785ab18b --- /dev/null +++ b/src/generated/forge-mcp/customHostnames/outputs.ts @@ -0,0 +1,485 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_authority` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_authority_output: JsonSchema = { + "enum": [ + "digicert", + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_created_at` in responses. + */ +export const tls_certificates_and_hostnames_created_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom-hostname` in responses. + */ +export const tls_certificates_and_hostnames_custom_hostname_output: JsonSchema = { + "allOf": [ + { + "properties": { + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + }, + "ssl": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ssl" + } + }, + "required": [ + "hostname", + "id" + ], + "type": "object" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_customhostname" + } + ] +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_hostname_identifier` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_hostname_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_hostname_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_hostname_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-hostname" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_hostname_response_messages` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_hostname_response_messages_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_hostname_response_single` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_hostname_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-hostname" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_metadata` in responses. + */ +export const tls_certificates_and_hostnames_custom_metadata_output: JsonSchema = { + "additionalProperties": { + "type": "string" + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_origin_server` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_origin_server_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_origin_sni` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_origin_sni_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_customhostname` in responses. + */ +export const tls_certificates_and_hostnames_customhostname_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_created_at" + }, + "custom_metadata": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_metadata" + }, + "custom_origin_server": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_origin_server" + }, + "custom_origin_sni": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_origin_sni" + }, + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + }, + "ownership_verification": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ownership_verification" + }, + "ownership_verification_http": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ownership_verification_http" + }, + "ssl": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ssl" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-3" + }, + "verification_errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_verification_errors" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_hostname` in responses. + */ +export const tls_certificates_and_hostnames_hostname_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_ownership_verification` in + * responses. + */ +export const tls_certificates_and_hostnames_ownership_verification_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "txt" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_ownership_verification_http` in + * responses. + */ +export const tls_certificates_and_hostnames_ownership_verification_http_output: JsonSchema = { + "properties": { + "http_body": { + "type": "string" + }, + "http_url": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_result_info` in responses. + */ +export const tls_certificates_and_hostnames_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_ssl` in responses. + */ +export const tls_certificates_and_hostnames_ssl_output: JsonSchema = { + "properties": { + "bundle_method": { + "enum": [ + "ubiquitous", + "optimal", + "force" + ], + "type": "string" + }, + "certificate_authority": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority" + }, + "custom_certificate": { + "type": "string" + }, + "custom_csr_id": { + "type": "string" + }, + "custom_key": { + "type": "string" + }, + "dcv_delegation_records": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validation_record" + }, + "type": "array" + }, + "expires_on": { + "format": "date-time", + "type": "string" + }, + "hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "method": { + "enum": [ + "http", + "txt", + "email" + ], + "type": "string" + }, + "serial_number": { + "type": "string" + }, + "settings": { + "$ref": "#/$defs/tls-certificates-and-hostnames_sslsettings" + }, + "signature": { + "type": "string" + }, + "status": { + "enum": [ + "initializing", + "pending_validation", + "deleted", + "pending_issuance", + "pending_deployment", + "pending_deletion", + "pending_expiration", + "expired", + "active", + "initializing_timed_out", + "validation_timed_out", + "issuance_timed_out", + "deployment_timed_out", + "deletion_timed_out", + "pending_cleanup", + "staging_deployment", + "staging_active", + "deactivating", + "inactive", + "backup_issued", + "holding_deployment" + ], + "type": "string" + }, + "type": { + "enum": [ + "dv" + ], + "type": "string" + }, + "uploaded_on": { + "format": "date-time", + "type": "string" + }, + "validation_errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "validation_records": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validation_record" + }, + "type": "array" + }, + "wildcard": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_sslsettings` in responses. + */ +export const tls_certificates_and_hostnames_sslsettings_output: JsonSchema = { + "properties": { + "ciphers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "early_hints": { + "enum": [ + "on", + "off" + ], + "type": "string" + }, + "http2": { + "enum": [ + "on", + "off" + ], + "type": "string" + }, + "min_tls_version": { + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3" + ], + "type": "string" + }, + "tls_1_3": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-3` in responses. + */ +export const tls_certificates_and_hostnames_status_3_output: JsonSchema = { + "enum": [ + "active", + "pending", + "active_redeploying", + "moved", + "pending_deletion", + "deleted", + "pending_blocked", + "pending_migration", + "pending_provisioned", + "test_pending", + "test_active", + "test_active_apex", + "test_blocked", + "test_failed", + "provisioned", + "blocked" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_verification_errors` in + * responses. + */ +export const tls_certificates_and_hostnames_verification_errors_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/customHostnames/quota/outputs.ts b/src/generated/forge-mcp/customHostnames/quota/outputs.ts new file mode 100644 index 00000000..6013c149 --- /dev/null +++ b/src/generated/forge-mcp/customHostnames/quota/outputs.ts @@ -0,0 +1,75 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of + * `tls-certificates-and-hostnames_custom_hostname_api_response_failure` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_hostname_api_response_failure_output: JsonSchema = { + "properties": { + "errors": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + { + "items": { + "type": "object" + }, + "minItems": 1, + "type": "array" + } + ] + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_hostname_quota` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_hostname_quota_output: JsonSchema = { + "properties": { + "allocated": { + "type": "integer" + }, + "exceeded": { + "type": "boolean" + }, + "hard_cap": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "required": [ + "allocated", + "exceeded", + "hard_cap", + "used" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/customHostnames/quota/tools.ts b/src/generated/forge-mcp/customHostnames/quota/tools.ts index ff8c8eae..6cf1eb21 100644 --- a/src/generated/forge-mcp/customHostnames/quota/tools.ts +++ b/src/generated/forge-mcp/customHostnames/quota/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { tls_certificates_and_hostnames_messages_output } from "../../outputs.js"; +import { tls_certificates_and_hostnames_custom_hostname_response_messages_output } from "../outputs.js"; +import { + tls_certificates_and_hostnames_custom_hostname_api_response_failure_output, + tls_certificates_and_hostnames_custom_hostname_quota_output, +} from "./outputs.js"; /** * The tools of `custom_hostnames.quota`. @@ -44,6 +50,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_quota" + }, + "4XX": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_api_response_failure" + } + }, + $defs: { + "tls-certificates-and-hostnames_custom_hostname_api_response_failure": tls_certificates_and_hostnames_custom_hostname_api_response_failure_output, + "tls-certificates-and-hostnames_custom_hostname_quota": tls_certificates_and_hostnames_custom_hostname_quota_output, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames/quota`, }), diff --git a/src/generated/forge-mcp/customHostnames/tools.ts b/src/generated/forge-mcp/customHostnames/tools.ts index 2f182b3a..7d84bd05 100644 --- a/src/generated/forge-mcp/customHostnames/tools.ts +++ b/src/generated/forge-mcp/customHostnames/tools.ts @@ -2,6 +2,32 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_validation_record_output, +} from "../outputs.js"; +import { + tls_certificates_and_hostnames_certificate_authority_output, + tls_certificates_and_hostnames_created_at_output, + tls_certificates_and_hostnames_custom_hostname_identifier_output, + tls_certificates_and_hostnames_custom_hostname_output, + tls_certificates_and_hostnames_custom_hostname_response_collection_output, + tls_certificates_and_hostnames_custom_hostname_response_messages_output, + tls_certificates_and_hostnames_custom_hostname_response_single_output, + tls_certificates_and_hostnames_custom_metadata_output, + tls_certificates_and_hostnames_custom_origin_server_output, + tls_certificates_and_hostnames_custom_origin_sni_output, + tls_certificates_and_hostnames_customhostname_output, + tls_certificates_and_hostnames_hostname_output, + tls_certificates_and_hostnames_ownership_verification_http_output, + tls_certificates_and_hostnames_ownership_verification_output, + tls_certificates_and_hostnames_result_info_output, + tls_certificates_and_hostnames_ssl_output, + tls_certificates_and_hostnames_sslsettings_output, + tls_certificates_and_hostnames_status_3_output, + tls_certificates_and_hostnames_verification_errors_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_certificate_authority, tls_certificates_and_hostnames_custom_cert_and_key, @@ -104,6 +130,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-hostname" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, + "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, + "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, + "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, + "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, + "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, + "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, + "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, + "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, + "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, + "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, + "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, + "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, + "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames`, body: { value: args["body"], mediaType: "application/json" }, @@ -160,6 +225,38 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames/${pathParam(args, "custom_hostname_id")}`, }), @@ -247,6 +344,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-hostname" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, + "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, + "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, + "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, + "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, + "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, + "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, + "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, + "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, + "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, + "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, + "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, + "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, + "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames/${pathParam(args, "custom_hostname_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -304,6 +440,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-hostname" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, + "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, + "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, + "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, + "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, + "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, + "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, + "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, + "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, + "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, + "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, + "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, + "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, + "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames/${pathParam(args, "custom_hostname_id")}`, }), @@ -477,6 +652,60 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-hostname" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, + "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, + "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, + "tls-certificates-and-hostnames_custom_hostname_response_collection": tls_certificates_and_hostnames_custom_hostname_response_collection_output, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, + "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, + "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, + "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, + "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, + "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, + "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, + "tls-certificates-and-hostnames_result_info": tls_certificates_and_hostnames_result_info_output, + "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, + "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, + "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, + "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, + "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames`, query: [ diff --git a/src/generated/forge-mcp/customNameservers/outputs.ts b/src/generated/forge-mcp/customNameservers/outputs.ts new file mode 100644 index 00000000..b29ffb9d --- /dev/null +++ b/src/generated/forge-mcp/customNameservers/outputs.ts @@ -0,0 +1,211 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `dns-custom-nameservers_CustomNS` in responses. + */ +export const dns_custom_nameservers_CustomNS_output: JsonSchema = { + "properties": { + "dns_records": { + "items": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS_dns_recordsItem" + }, + "type": "array" + }, + "ns_name": { + "$ref": "#/$defs/dns-custom-nameservers_ns_name" + }, + "ns_set": { + "$ref": "#/$defs/dns-custom-nameservers_ns_set" + }, + "status": { + "enum": [ + "moved", + "pending", + "verified" + ], + "type": "string" + }, + "zone_tag": { + "$ref": "#/$defs/dns-custom-nameservers_identifier-2" + } + }, + "required": [ + "dns_records", + "ns_name", + "status", + "zone_tag" + ], + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_CustomNS_dns_recordsItem` in responses. + */ +export const dns_custom_nameservers_CustomNS_dns_recordsItem_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "A", + "AAAA" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_acns_response_collection` in responses. + */ +export const dns_custom_nameservers_acns_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "messages": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/dns-custom-nameservers_acns_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_acns_response_collection_result_info` + * in responses. + */ +export const dns_custom_nameservers_acns_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_acns_response_single` in responses. + */ +export const dns_custom_nameservers_acns_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "messages": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "result": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_empty_response` in responses. + */ +export const dns_custom_nameservers_empty_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "messages": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "result": { + "items": { + "type": "string" + }, + "maxItems": 0, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/dns-custom-nameservers_empty_response_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_empty_response_result_info` in + * responses. + */ +export const dns_custom_nameservers_empty_response_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/customNameservers/tools.ts b/src/generated/forge-mcp/customNameservers/tools.ts index 81159d04..aaaf7f0f 100644 --- a/src/generated/forge-mcp/customNameservers/tools.ts +++ b/src/generated/forge-mcp/customNameservers/tools.ts @@ -2,11 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + dns_custom_nameservers_api_response_common_failure_output, + dns_custom_nameservers_identifier_2_output, + dns_custom_nameservers_messages_output, + dns_custom_nameservers_ns_name_output, + dns_custom_nameservers_ns_set_output, +} from "../outputs.js"; import { dns_custom_nameservers_CustomNSInput, dns_custom_nameservers_ns_name, dns_custom_nameservers_ns_set, } from "../schemas.js"; +import { + dns_custom_nameservers_CustomNS_dns_recordsItem_output, + dns_custom_nameservers_CustomNS_output, + dns_custom_nameservers_acns_response_collection_output, + dns_custom_nameservers_acns_response_collection_result_info_output, + dns_custom_nameservers_acns_response_single_output, + dns_custom_nameservers_empty_response_output, + dns_custom_nameservers_empty_response_result_info_output, +} from "./outputs.js"; /** * The tools of `custom_nameservers`. @@ -76,6 +92,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-custom-nameservers_acns_response_single" + }, + { + "$ref": "#/$defs/dns-custom-nameservers_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-custom-nameservers_CustomNS": dns_custom_nameservers_CustomNS_output, + "dns-custom-nameservers_CustomNS_dns_recordsItem": dns_custom_nameservers_CustomNS_dns_recordsItem_output, + "dns-custom-nameservers_acns_response_single": dns_custom_nameservers_acns_response_single_output, + "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, + "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, + "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, + "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_ns`, body: { value: args["body"], mediaType: "application/json" }, @@ -119,6 +162,61 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "type": "string" + }, + "maxItems": 0, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-custom-nameservers_empty_response" + }, + { + "$ref": "#/$defs/dns-custom-nameservers_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, + "dns-custom-nameservers_empty_response": dns_custom_nameservers_empty_response_output, + "dns-custom-nameservers_empty_response_result_info": dns_custom_nameservers_empty_response_result_info_output, + "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/custom_ns/${pathParam(args, "custom_ns_id")}`, }), @@ -179,6 +277,65 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-custom-nameservers_acns_response_collection" + }, + { + "$ref": "#/$defs/dns-custom-nameservers_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-custom-nameservers_CustomNS": dns_custom_nameservers_CustomNS_output, + "dns-custom-nameservers_CustomNS_dns_recordsItem": dns_custom_nameservers_CustomNS_dns_recordsItem_output, + "dns-custom-nameservers_acns_response_collection": dns_custom_nameservers_acns_response_collection_output, + "dns-custom-nameservers_acns_response_collection_result_info": dns_custom_nameservers_acns_response_collection_result_info_output, + "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, + "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, + "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, + "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_ns`, }), diff --git a/src/generated/forge-mcp/customPages/accountAssets/outputs.ts b/src/generated/forge-mcp/customPages/accountAssets/outputs.ts new file mode 100644 index 00000000..7459ff3e --- /dev/null +++ b/src/generated/forge-mcp/customPages/accountAssets/outputs.ts @@ -0,0 +1,49 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `custom-pages_asset_description` in responses. + */ +export const custom_pages_asset_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `custom-pages_asset_name` in responses. + */ +export const custom_pages_asset_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `custom-pages_asset_url` in responses. + */ +export const custom_pages_asset_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `custom-pages_custom_asset` in responses. + */ +export const custom_pages_custom_asset_output: JsonSchema = { + "properties": { + "description": { + "$ref": "#/$defs/custom-pages_asset_description" + }, + "last_updated": { + "$ref": "#/$defs/custom-pages_timestamp" + }, + "name": { + "$ref": "#/$defs/custom-pages_asset_name" + }, + "size_bytes": { + "type": "integer" + }, + "url": { + "$ref": "#/$defs/custom-pages_asset_url" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/customPages/accountAssets/tools.ts b/src/generated/forge-mcp/customPages/accountAssets/tools.ts index a0e5b094..6ff9b163 100644 --- a/src/generated/forge-mcp/customPages/accountAssets/tools.ts +++ b/src/generated/forge-mcp/customPages/accountAssets/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + custom_pages_api_response_common_failure_output, + custom_pages_messages_output, + custom_pages_timestamp_output, +} from "../outputs.js"; +import { + custom_pages_asset_description_output, + custom_pages_asset_name_output, + custom_pages_asset_url_output, + custom_pages_custom_asset_output, +} from "./outputs.js"; import { custom_pages_asset_description, custom_pages_asset_name, @@ -83,6 +94,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-pages_custom_asset" + }, + "4XX": { + "$ref": "#/$defs/custom-pages_api-response-common-failure" + } + }, + $defs: { + "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, + "custom-pages_asset_description": custom_pages_asset_description_output, + "custom-pages_asset_name": custom_pages_asset_name_output, + "custom-pages_asset_url": custom_pages_asset_url_output, + "custom-pages_custom_asset": custom_pages_custom_asset_output, + "custom-pages_messages": custom_pages_messages_output, + "custom-pages_timestamp": custom_pages_timestamp_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages/assets`, body: { value: args["body"], mediaType: "application/json" }, @@ -136,6 +166,18 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/custom-pages_api-response-common-failure" + } + }, + $defs: { + "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, + "custom-pages_messages": custom_pages_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages/assets/${pathParam(args, "asset_name")}`, }), @@ -188,6 +230,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-pages_custom_asset" + }, + "4XX": { + "$ref": "#/$defs/custom-pages_api-response-common-failure" + } + }, + $defs: { + "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, + "custom-pages_asset_description": custom_pages_asset_description_output, + "custom-pages_asset_name": custom_pages_asset_name_output, + "custom-pages_asset_url": custom_pages_asset_url_output, + "custom-pages_custom_asset": custom_pages_custom_asset_output, + "custom-pages_messages": custom_pages_messages_output, + "custom-pages_timestamp": custom_pages_timestamp_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages/assets/${pathParam(args, "asset_name")}`, }), @@ -245,6 +306,56 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/custom-pages_custom_asset" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/custom-pages_api-response-common-failure" + } + }, + $defs: { + "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, + "custom-pages_asset_description": custom_pages_asset_description_output, + "custom-pages_asset_name": custom_pages_asset_name_output, + "custom-pages_asset_url": custom_pages_asset_url_output, + "custom-pages_custom_asset": custom_pages_custom_asset_output, + "custom-pages_messages": custom_pages_messages_output, + "custom-pages_timestamp": custom_pages_timestamp_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages/assets`, query: [ @@ -323,6 +434,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-pages_custom_asset" + }, + "4XX": { + "$ref": "#/$defs/custom-pages_api-response-common-failure" + } + }, + $defs: { + "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, + "custom-pages_asset_description": custom_pages_asset_description_output, + "custom-pages_asset_name": custom_pages_asset_name_output, + "custom-pages_asset_url": custom_pages_asset_url_output, + "custom-pages_custom_asset": custom_pages_custom_asset_output, + "custom-pages_messages": custom_pages_messages_output, + "custom-pages_timestamp": custom_pages_timestamp_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages/assets/${pathParam(args, "asset_name")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts b/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts new file mode 100644 index 00000000..2ed3bc80 --- /dev/null +++ b/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts @@ -0,0 +1,58 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `custom-pages_custom_page` in responses. + */ +export const custom_pages_custom_page_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/custom-pages_timestamp" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_on": { + "$ref": "#/$defs/custom-pages_timestamp" + }, + "preview_target": { + "type": "string" + }, + "required_tokens": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "$ref": "#/$defs/custom-pages_state" + }, + "url": { + "$ref": "#/$defs/custom-pages_url" + } + }, + "type": "object" +}; + +/** + * The schema of `custom-pages_state` in responses. + */ +export const custom_pages_state_output: JsonSchema = { + "enum": [ + "default", + "customized" + ], + "type": "string" +}; + +/** + * The schema of `custom-pages_url` in responses. + */ +export const custom_pages_url_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/outputs.ts b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/outputs.ts new file mode 100644 index 00000000..aa97c1e8 --- /dev/null +++ b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `custom-pages_preview_token` in responses. + */ +export const custom_pages_preview_token_output: JsonSchema = { + "properties": { + "cep_jwt": { + "type": "string" + } + }, + "required": [ + "cep_jwt" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts index 6f6a7da0..984366ce 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + custom_pages_api_response_common_failure_output, + custom_pages_messages_output, +} from "../../outputs.js"; +import { custom_pages_preview_token_output } from "./outputs.js"; import { custom_pages_preview_request } from "./schemas.js"; /** @@ -74,6 +79,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-pages_preview_token" + }, + "4XX": { + "$ref": "#/$defs/custom-pages_api-response-common-failure" + } + }, + $defs: { + "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, + "custom-pages_messages": custom_pages_messages_output, + "custom-pages_preview_token": custom_pages_preview_token_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages/preview_tokens`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts b/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts index 3939b6a8..af8758db 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + custom_pages_api_response_common_failure_output, + custom_pages_messages_output, + custom_pages_timestamp_output, +} from "../outputs.js"; +import { + custom_pages_custom_page_output, + custom_pages_state_output, + custom_pages_url_output, +} from "./outputs.js"; import { custom_pages_state, custom_pages_url } from "./schemas.js"; /** @@ -62,6 +72,24 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-pages_custom_page" + }, + "4XX": { + "$ref": "#/$defs/custom-pages_api-response-common-failure" + } + }, + $defs: { + "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, + "custom-pages_custom_page": custom_pages_custom_page_output, + "custom-pages_messages": custom_pages_messages_output, + "custom-pages_state": custom_pages_state_output, + "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_url": custom_pages_url_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages/${pathParam(args, "identifier")}`, }), @@ -125,6 +153,55 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/custom-pages_custom_page" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/custom-pages_api-response-common-failure" + } + }, + $defs: { + "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, + "custom-pages_custom_page": custom_pages_custom_page_output, + "custom-pages_messages": custom_pages_messages_output, + "custom-pages_state": custom_pages_state_output, + "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_url": custom_pages_url_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages`, }), @@ -203,6 +280,24 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-pages_custom_page" + }, + "4XX": { + "$ref": "#/$defs/custom-pages_api-response-common-failure" + } + }, + $defs: { + "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, + "custom-pages_custom_page": custom_pages_custom_page_output, + "custom-pages_messages": custom_pages_messages_output, + "custom-pages_state": custom_pages_state_output, + "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_url": custom_pages_url_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages/${pathParam(args, "identifier")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/customPages/outputs.ts b/src/generated/forge-mcp/customPages/outputs.ts new file mode 100644 index 00000000..70562d7a --- /dev/null +++ b/src/generated/forge-mcp/customPages/outputs.ts @@ -0,0 +1,75 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `custom-pages_api-response-common-failure` in responses. + */ +export const custom_pages_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-pages_messages" + }, + "messages": { + "$ref": "#/$defs/custom-pages_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `custom-pages_messages` in responses. + */ +export const custom_pages_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `custom-pages_timestamp` in responses. + */ +export const custom_pages_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/d1/outputs.ts b/src/generated/forge-mcp/d1/outputs.ts new file mode 100644 index 00000000..e09c66b3 --- /dev/null +++ b/src/generated/forge-mcp/d1/outputs.ts @@ -0,0 +1,343 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `d1_api-response-common-failure` in responses. + */ +export const d1_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/d1_messages" + }, + "messages": { + "$ref": "#/$defs/d1_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `d1_created-at` in responses. + */ +export const d1_created_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `d1_database-details-response` in responses. + */ +export const d1_database_details_response_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/d1_created-at" + }, + "file_size": { + "$ref": "#/$defs/d1_file-size" + }, + "jurisdiction": { + "$ref": "#/$defs/d1_jurisdiction-nullable" + }, + "name": { + "$ref": "#/$defs/d1_database-name" + }, + "num_tables": { + "$ref": "#/$defs/d1_table-count" + }, + "read_replication": { + "$ref": "#/$defs/d1_read-replication-details-for-response" + }, + "uuid": { + "$ref": "#/$defs/d1_database-identifier" + }, + "version": { + "$ref": "#/$defs/d1_database-version" + } + }, + "type": "object" +}; + +/** + * The schema of `d1_database-identifier` in responses. + */ +export const d1_database_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `d1_database-name` in responses. + */ +export const d1_database_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `d1_database-response` in responses. + */ +export const d1_database_response_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/d1_created-at" + }, + "jurisdiction": { + "$ref": "#/$defs/d1_jurisdiction-nullable" + }, + "name": { + "$ref": "#/$defs/d1_database-name" + }, + "uuid": { + "$ref": "#/$defs/d1_database-identifier" + }, + "version": { + "$ref": "#/$defs/d1_database-version" + } + }, + "type": "object" +}; + +/** + * The schema of `d1_database-version` in responses. + */ +export const d1_database_version_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `d1_file-size` in responses. + */ +export const d1_file_size_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `d1_jurisdiction-nullable` in responses. + */ +export const d1_jurisdiction_nullable_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "eu", + "fedramp", + "us" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `d1_messages` in responses. + */ +export const d1_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `d1_query-meta` in responses. + */ +export const d1_query_meta_output: JsonSchema = { + "properties": { + "changed_db": { + "type": "boolean" + }, + "changes": { + "type": "number" + }, + "duration": { + "type": "number" + }, + "last_row_id": { + "type": "number" + }, + "rows_read": { + "type": "number" + }, + "rows_written": { + "type": "number" + }, + "served_by_colo": { + "$ref": "#/$defs/d1_served-by-colo" + }, + "served_by_primary": { + "type": "boolean" + }, + "served_by_region": { + "$ref": "#/$defs/d1_served-by-region" + }, + "size_after": { + "type": "number" + }, + "timings": { + "$ref": "#/$defs/d1_query-meta_timings" + } + }, + "type": "object" +}; + +/** + * The schema of `d1_query-meta_timings` in responses. + */ +export const d1_query_meta_timings_output: JsonSchema = { + "properties": { + "sql_duration_ms": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `d1_query-result-response` in responses. + */ +export const d1_query_result_response_output: JsonSchema = { + "properties": { + "meta": { + "$ref": "#/$defs/d1_query-meta" + }, + "results": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `d1_raw-result-response` in responses. + */ +export const d1_raw_result_response_output: JsonSchema = { + "properties": { + "meta": { + "$ref": "#/$defs/d1_query-meta" + }, + "results": { + "$ref": "#/$defs/d1_raw-result-response_results" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `d1_raw-result-response_results` in responses. + */ +export const d1_raw_result_response_results_output: JsonSchema = { + "properties": { + "columns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "rows": { + "items": { + "items": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + }, + { + "type": "object" + } + ] + }, + "type": "array" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `d1_read-replication-details-for-response` in responses. + */ +export const d1_read_replication_details_for_response_output: JsonSchema = { + "properties": { + "mode": { + "enum": [ + "auto", + "disabled" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" +}; + +/** + * The schema of `d1_served-by-colo` in responses. + */ +export const d1_served_by_colo_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `d1_served-by-region` in responses. + */ +export const d1_served_by_region_output: JsonSchema = { + "enum": [ + "WNAM", + "ENAM", + "WEUR", + "EEUR", + "APAC", + "OC" + ], + "type": "string" +}; + +/** + * The schema of `d1_table-count` in responses. + */ +export const d1_table_count_output: JsonSchema = { + "type": "number" +}; diff --git a/src/generated/forge-mcp/d1/timeTravel/outputs.ts b/src/generated/forge-mcp/d1/timeTravel/outputs.ts new file mode 100644 index 00000000..5d36d313 --- /dev/null +++ b/src/generated/forge-mcp/d1/timeTravel/outputs.ts @@ -0,0 +1,43 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `d1_time-travel-bookmark` in responses. + */ +export const d1_time_travel_bookmark_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `d1_time-travel-restore-response` in responses. + */ +export const d1_time_travel_restore_response_output: JsonSchema = { + "properties": { + "bookmark": { + "allOf": [ + { + "$ref": "#/$defs/d1_time-travel-bookmark" + }, + { + "type": "string" + } + ] + }, + "message": { + "type": "string" + }, + "previous_bookmark": { + "allOf": [ + { + "$ref": "#/$defs/d1_time-travel-bookmark" + }, + { + "type": "string" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/d1/timeTravel/tools.ts b/src/generated/forge-mcp/d1/timeTravel/tools.ts index b4e242cc..e1583b09 100644 --- a/src/generated/forge-mcp/d1/timeTravel/tools.ts +++ b/src/generated/forge-mcp/d1/timeTravel/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + d1_api_response_common_failure_output, + d1_messages_output, +} from "../outputs.js"; +import { + d1_time_travel_bookmark_output, + d1_time_travel_restore_response_output, +} from "./outputs.js"; import { d1_time_travel_bookmark, d1_time_travel_timestamp, @@ -55,6 +63,26 @@ export const tools: readonly Tool[] = [ ], "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "properties": { + "bookmark": { + "$ref": "#/$defs/d1_time-travel-bookmark" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_messages": d1_messages_output, + "d1_time-travel-bookmark": d1_time_travel_bookmark_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}/time_travel/bookmark`, query: [ @@ -107,6 +135,22 @@ export const tools: readonly Tool[] = [ extensions: { "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/d1_time-travel-restore-response" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_messages": d1_messages_output, + "d1_time-travel-bookmark": d1_time_travel_bookmark_output, + "d1_time-travel-restore-response": d1_time_travel_restore_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}/time_travel/restore`, query: [ diff --git a/src/generated/forge-mcp/d1/tools.ts b/src/generated/forge-mcp/d1/tools.ts index 85d1d6dc..bd854592 100644 --- a/src/generated/forge-mcp/d1/tools.ts +++ b/src/generated/forge-mcp/d1/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + d1_api_response_common_failure_output, + d1_created_at_output, + d1_database_details_response_output, + d1_database_identifier_output, + d1_database_name_output, + d1_database_response_output, + d1_database_version_output, + d1_file_size_output, + d1_jurisdiction_nullable_output, + d1_messages_output, + d1_query_meta_output, + d1_query_meta_timings_output, + d1_query_result_response_output, + d1_raw_result_response_output, + d1_raw_result_response_results_output, + d1_read_replication_details_for_response_output, + d1_served_by_colo_output, + d1_served_by_region_output, + d1_table_count_output, +} from "./outputs.js"; import { d1_batch_query, d1_database_name, @@ -81,6 +102,29 @@ export const tools: readonly Tool[] = [ ], "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/d1_database-details-response" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_created-at": d1_created_at_output, + "d1_database-details-response": d1_database_details_response_output, + "d1_database-identifier": d1_database_identifier_output, + "d1_database-name": d1_database_name_output, + "d1_database-version": d1_database_version_output, + "d1_file-size": d1_file_size_output, + "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, + "d1_messages": d1_messages_output, + "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, + "d1_table-count": d1_table_count_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +166,20 @@ export const tools: readonly Tool[] = [ ], "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_messages": d1_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}`, }), @@ -169,6 +227,29 @@ export const tools: readonly Tool[] = [ "D1 Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/d1_database-details-response" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_created-at": d1_created_at_output, + "d1_database-details-response": d1_database_details_response_output, + "d1_database-identifier": d1_database_identifier_output, + "d1_database-name": d1_database_name_output, + "d1_database-version": d1_database_version_output, + "d1_file-size": d1_file_size_output, + "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, + "d1_messages": d1_messages_output, + "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, + "d1_table-count": d1_table_count_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -228,6 +309,29 @@ export const tools: readonly Tool[] = [ ], "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/d1_database-details-response" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_created-at": d1_created_at_output, + "d1_database-details-response": d1_database_details_response_output, + "d1_database-identifier": d1_database_identifier_output, + "d1_database-name": d1_database_name_output, + "d1_database-version": d1_database_version_output, + "d1_file-size": d1_file_size_output, + "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, + "d1_messages": d1_messages_output, + "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, + "d1_table-count": d1_table_count_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}`, query: [ @@ -281,6 +385,54 @@ export const tools: readonly Tool[] = [ ], "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/d1_database-response" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_created-at": d1_created_at_output, + "d1_database-identifier": d1_database_identifier_output, + "d1_database-name": d1_database_name_output, + "d1_database-response": d1_database_response_output, + "d1_database-version": d1_database_version_output, + "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, + "d1_messages": d1_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database`, query: [ @@ -337,6 +489,39 @@ export const tools: readonly Tool[] = [ ], "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/d1_query-result-response" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_messages": d1_messages_output, + "d1_query-meta": d1_query_meta_output, + "d1_query-meta_timings": d1_query_meta_timings_output, + "d1_query-result-response": d1_query_result_response_output, + "d1_served-by-colo": d1_served_by_colo_output, + "d1_served-by-region": d1_served_by_region_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}/query`, body: { value: args["body"], mediaType: "application/json" }, @@ -389,6 +574,40 @@ export const tools: readonly Tool[] = [ ], "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/d1_raw-result-response" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_messages": d1_messages_output, + "d1_query-meta": d1_query_meta_output, + "d1_query-meta_timings": d1_query_meta_timings_output, + "d1_raw-result-response": d1_raw_result_response_output, + "d1_raw-result-response_results": d1_raw_result_response_results_output, + "d1_served-by-colo": d1_served_by_colo_output, + "d1_served-by-region": d1_served_by_region_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}/raw`, body: { value: args["body"], mediaType: "application/json" }, @@ -439,6 +658,29 @@ export const tools: readonly Tool[] = [ extensions: { "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/d1_database-details-response" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_created-at": d1_created_at_output, + "d1_database-details-response": d1_database_details_response_output, + "d1_database-identifier": d1_database_identifier_output, + "d1_database-name": d1_database_name_output, + "d1_database-version": d1_database_version_output, + "d1_file-size": d1_file_size_output, + "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, + "d1_messages": d1_messages_output, + "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, + "d1_table-count": d1_table_count_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}/undelete`, body: { value: args["body"], mediaType: "application/json" }, @@ -488,6 +730,29 @@ export const tools: readonly Tool[] = [ ], "x-forge-epilogue": "This command acts on remote D1 Databases." }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/d1_database-details-response" + }, + "4XX": { + "$ref": "#/$defs/d1_api-response-common-failure" + } + }, + $defs: { + "d1_api-response-common-failure": d1_api_response_common_failure_output, + "d1_created-at": d1_created_at_output, + "d1_database-details-response": d1_database_details_response_output, + "d1_database-identifier": d1_database_identifier_output, + "d1_database-name": d1_database_name_output, + "d1_database-version": d1_database_version_output, + "d1_file-size": d1_file_size_output, + "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, + "d1_messages": d1_messages_output, + "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, + "d1_table-count": d1_table_count_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts new file mode 100644 index 00000000..aca28021 --- /dev/null +++ b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts @@ -0,0 +1,73 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic-transit_api-response-common` in responses. + */ +export const magic_transit_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic-transit_messages" + }, + "messages": { + "$ref": "#/$defs/magic-transit_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic-transit_check_type` in responses. + */ +export const magic_transit_check_type_output: JsonSchema = { + "enum": [ + "icmp" + ], + "type": "string" +}; + +/** + * The schema of `magic-transit_endpoint_health_check_response` in responses. + */ +export const magic_transit_endpoint_health_check_response_output: JsonSchema = { + "properties": { + "check_type": { + "$ref": "#/$defs/magic-transit_check_type" + }, + "endpoint": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/magic-transit_uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "check_type", + "endpoint", + "id" + ], + "type": "object" +}; + +/** + * The schema of `magic-transit_uuid` in responses. + */ +export const magic_transit_uuid_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts index 15cdec91..5c6eee42 100644 --- a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts +++ b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_transit_api_response_common_failure_output, + magic_transit_messages_output, +} from "../outputs.js"; +import { + magic_transit_api_response_common_output, + magic_transit_check_type_output, + magic_transit_endpoint_health_check_response_output, + magic_transit_uuid_output, +} from "./outputs.js"; import { magic_transit_check_type, magic_transit_endpoint_health_check, @@ -55,6 +65,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/magic-transit_endpoint_health_check_response" + }, + "4XX": { + "$ref": "#/$defs/magic-transit_api-response-common-failure" + } + }, + $defs: { + "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, + "magic-transit_check_type": magic_transit_check_type_output, + "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, + "magic-transit_messages": magic_transit_messages_output, + "magic-transit_uuid": magic_transit_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/diagnostics/endpoint-healthchecks`, body: { value: args["body"], mediaType: "application/json" }, @@ -98,6 +125,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-transit_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/magic-transit_api-response-common-failure" + } + }, + $defs: { + "magic-transit_api-response-common": magic_transit_api_response_common_output, + "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, + "magic-transit_messages": magic_transit_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/diagnostics/endpoint-healthchecks/${pathParam(args, "id")}`, }), @@ -143,6 +185,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-transit_endpoint_health_check_response" + }, + "4XX": { + "$ref": "#/$defs/magic-transit_api-response-common-failure" + } + }, + $defs: { + "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, + "magic-transit_check_type": magic_transit_check_type_output, + "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, + "magic-transit_messages": magic_transit_messages_output, + "magic-transit_uuid": magic_transit_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/diagnostics/endpoint-healthchecks/${pathParam(args, "id")}`, }), @@ -183,6 +242,37 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic-transit_endpoint_health_check_response" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic-transit_api-response-common-failure" + } + }, + $defs: { + "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, + "magic-transit_check_type": magic_transit_check_type_output, + "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, + "magic-transit_messages": magic_transit_messages_output, + "magic-transit_uuid": magic_transit_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/diagnostics/endpoint-healthchecks`, }), @@ -233,6 +323,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-transit_endpoint_health_check_response" + }, + "4XX": { + "$ref": "#/$defs/magic-transit_api-response-common-failure" + } + }, + $defs: { + "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, + "magic-transit_check_type": magic_transit_check_type_output, + "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, + "magic-transit_messages": magic_transit_messages_output, + "magic-transit_uuid": magic_transit_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/diagnostics/endpoint-healthchecks/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/diagnostics/outputs.ts b/src/generated/forge-mcp/diagnostics/outputs.ts new file mode 100644 index 00000000..784c42a6 --- /dev/null +++ b/src/generated/forge-mcp/diagnostics/outputs.ts @@ -0,0 +1,74 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `magic-transit_api-response-common-failure` in responses. + */ +export const magic_transit_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic-transit_messages" + }, + "messages": { + "$ref": "#/$defs/magic-transit_messages" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic-transit_messages` in responses. + */ +export const magic_transit_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts b/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts new file mode 100644 index 00000000..842bf2ab --- /dev/null +++ b/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts @@ -0,0 +1,260 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic-transit_asn` in responses. + */ +export const magic_transit_asn_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-transit_colo` in responses. + */ +export const magic_transit_colo_output: JsonSchema = { + "properties": { + "city": { + "$ref": "#/$defs/magic-transit_colo_city" + }, + "name": { + "$ref": "#/$defs/magic-transit_colo_name" + } + }, + "type": "object" +}; + +/** + * The schema of `magic-transit_colo_city` in responses. + */ +export const magic_transit_colo_city_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-transit_colo_name` in responses. + */ +export const magic_transit_colo_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-transit_colo_result` in responses. + */ +export const magic_transit_colo_result_output: JsonSchema = { + "properties": { + "colo": { + "$ref": "#/$defs/magic-transit_colo" + }, + "error": { + "$ref": "#/$defs/magic-transit_error" + }, + "hops": { + "items": { + "$ref": "#/$defs/magic-transit_hop_result" + }, + "type": "array" + }, + "target_summary": { + "$ref": "#/$defs/magic-transit_target_summary" + }, + "traceroute_time_ms": { + "$ref": "#/$defs/magic-transit_traceroute_time_ms" + } + }, + "type": "object" +}; + +/** + * The schema of `magic-transit_error` in responses. + */ +export const magic_transit_error_output: JsonSchema = { + "enum": [ + "", + "Could not gather traceroute data: Code 1", + "Could not gather traceroute data: Code 2", + "Could not gather traceroute data: Code 3", + "Could not gather traceroute data: Code 4" + ], + "type": "string" +}; + +/** + * The schema of `magic-transit_hop_result` in responses. + */ +export const magic_transit_hop_result_output: JsonSchema = { + "properties": { + "nodes": { + "items": { + "$ref": "#/$defs/magic-transit_node_result" + }, + "type": "array" + }, + "packets_lost": { + "$ref": "#/$defs/magic-transit_packets_lost" + }, + "packets_sent": { + "$ref": "#/$defs/magic-transit_packets_sent" + }, + "packets_ttl": { + "$ref": "#/$defs/magic-transit_packets_ttl" + } + }, + "type": "object" +}; + +/** + * The schema of `magic-transit_ip` in responses. + */ +export const magic_transit_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-transit_labels` in responses. + */ +export const magic_transit_labels_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `magic-transit_max_rtt_ms` in responses. + */ +export const magic_transit_max_rtt_ms_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-transit_mean_rtt_ms` in responses. + */ +export const magic_transit_mean_rtt_ms_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-transit_min_rtt_ms` in responses. + */ +export const magic_transit_min_rtt_ms_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-transit_name` in responses. + */ +export const magic_transit_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-transit_node_result` in responses. + */ +export const magic_transit_node_result_output: JsonSchema = { + "properties": { + "asn": { + "$ref": "#/$defs/magic-transit_asn" + }, + "ip": { + "$ref": "#/$defs/magic-transit_ip" + }, + "labels": { + "$ref": "#/$defs/magic-transit_labels" + }, + "max_rtt_ms": { + "$ref": "#/$defs/magic-transit_max_rtt_ms" + }, + "mean_rtt_ms": { + "$ref": "#/$defs/magic-transit_mean_rtt_ms" + }, + "min_rtt_ms": { + "$ref": "#/$defs/magic-transit_min_rtt_ms" + }, + "name": { + "$ref": "#/$defs/magic-transit_name" + }, + "packet_count": { + "$ref": "#/$defs/magic-transit_packet_count" + }, + "std_dev_rtt_ms": { + "$ref": "#/$defs/magic-transit_std_dev_rtt_ms" + } + }, + "type": "object" +}; + +/** + * The schema of `magic-transit_packet_count` in responses. + */ +export const magic_transit_packet_count_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `magic-transit_packets_lost` in responses. + */ +export const magic_transit_packets_lost_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `magic-transit_packets_sent` in responses. + */ +export const magic_transit_packets_sent_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `magic-transit_packets_ttl` in responses. + */ +export const magic_transit_packets_ttl_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `magic-transit_std_dev_rtt_ms` in responses. + */ +export const magic_transit_std_dev_rtt_ms_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-transit_target` in responses. + */ +export const magic_transit_target_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-transit_target_result` in responses. + */ +export const magic_transit_target_result_output: JsonSchema = { + "properties": { + "colos": { + "items": { + "$ref": "#/$defs/magic-transit_colo_result" + }, + "type": "array" + }, + "target": { + "$ref": "#/$defs/magic-transit_target" + } + }, + "type": "object" +}; + +/** + * The schema of `magic-transit_target_summary` in responses. + */ +export const magic_transit_target_summary_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `magic-transit_traceroute_time_ms` in responses. + */ +export const magic_transit_traceroute_time_ms_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts b/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts index f9acd24c..9a37cb30 100644 --- a/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts +++ b/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts @@ -2,6 +2,35 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_transit_api_response_common_failure_output, + magic_transit_messages_output, +} from "../outputs.js"; +import { + magic_transit_asn_output, + magic_transit_colo_city_output, + magic_transit_colo_name_output, + magic_transit_colo_output, + magic_transit_colo_result_output, + magic_transit_error_output, + magic_transit_hop_result_output, + magic_transit_ip_output, + magic_transit_labels_output, + magic_transit_max_rtt_ms_output, + magic_transit_mean_rtt_ms_output, + magic_transit_min_rtt_ms_output, + magic_transit_name_output, + magic_transit_node_result_output, + magic_transit_packet_count_output, + magic_transit_packets_lost_output, + magic_transit_packets_sent_output, + magic_transit_packets_ttl_output, + magic_transit_std_dev_rtt_ms_output, + magic_transit_target_output, + magic_transit_target_result_output, + magic_transit_target_summary_output, + magic_transit_traceroute_time_ms_output, +} from "./outputs.js"; import { magic_transit_colos, magic_transit_max_ttl, @@ -82,6 +111,57 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic-transit_target_result" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic-transit_api-response-common-failure" + } + }, + $defs: { + "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, + "magic-transit_asn": magic_transit_asn_output, + "magic-transit_colo": magic_transit_colo_output, + "magic-transit_colo_city": magic_transit_colo_city_output, + "magic-transit_colo_name": magic_transit_colo_name_output, + "magic-transit_colo_result": magic_transit_colo_result_output, + "magic-transit_error": magic_transit_error_output, + "magic-transit_hop_result": magic_transit_hop_result_output, + "magic-transit_ip": magic_transit_ip_output, + "magic-transit_labels": magic_transit_labels_output, + "magic-transit_max_rtt_ms": magic_transit_max_rtt_ms_output, + "magic-transit_mean_rtt_ms": magic_transit_mean_rtt_ms_output, + "magic-transit_messages": magic_transit_messages_output, + "magic-transit_min_rtt_ms": magic_transit_min_rtt_ms_output, + "magic-transit_name": magic_transit_name_output, + "magic-transit_node_result": magic_transit_node_result_output, + "magic-transit_packet_count": magic_transit_packet_count_output, + "magic-transit_packets_lost": magic_transit_packets_lost_output, + "magic-transit_packets_sent": magic_transit_packets_sent_output, + "magic-transit_packets_ttl": magic_transit_packets_ttl_output, + "magic-transit_std_dev_rtt_ms": magic_transit_std_dev_rtt_ms_output, + "magic-transit_target": magic_transit_target_output, + "magic-transit_target_result": magic_transit_target_result_output, + "magic-transit_target_summary": magic_transit_target_summary_output, + "magic-transit_traceroute_time_ms": magic_transit_traceroute_time_ms_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/diagnostics/traceroute`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/dls/outputs.ts b/src/generated/forge-mcp/dls/outputs.ts new file mode 100644 index 00000000..b3ef8fbd --- /dev/null +++ b/src/generated/forge-mcp/dls/outputs.ts @@ -0,0 +1,69 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `dls_bad_response` in responses. + */ +export const dls_bad_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/dls_coded_message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/dls_coded_message" + }, + "type": "array" + }, + "result": { + "$ref": "#/$defs/dls_none" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "messages", + "success", + "errors" + ], + "type": "object" +}; + +/** + * The schema of `dls_coded_message` in responses. + */ +export const dls_coded_message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `dls_none` in responses. + */ +export const dls_none_output: JsonSchema = { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/outputs.ts b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/outputs.ts new file mode 100644 index 00000000..baa4b3d5 --- /dev/null +++ b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/outputs.ts @@ -0,0 +1,83 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dls_PrefixBinding` in responses. + */ +export const dls_PrefixBinding_output: JsonSchema = { + "properties": { + "cidr": { + "type": "string" + }, + "id": { + "type": "string" + }, + "prefix_id": { + "type": "string" + }, + "region_key": { + "type": "string" + } + }, + "required": [ + "cidr", + "id", + "prefix_id", + "region_key" + ], + "type": "object" +}; + +/** + * The schema of `dls_PrefixBindingPaginatedListResponse_result_info` in + * responses. + */ +export const dls_PrefixBindingPaginatedListResponse_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" +}; + +/** + * The schema of `dls_good_response` in responses. + */ +export const dls_good_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/dls_coded_message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/dls_coded_message" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts index 6f8156e6..2d607627 100644 --- a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts +++ b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dls_bad_response_output, + dls_coded_message_output, + dls_none_output, +} from "../../outputs.js"; +import { + dls_PrefixBindingPaginatedListResponse_result_info_output, + dls_PrefixBinding_output, + dls_good_response_output, +} from "./outputs.js"; import { dls_CreatePrefixBindingInput, dls_UpdatePrefixBindingInput, @@ -43,6 +53,34 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/dls_PrefixBinding" + }, + "400": { + "$ref": "#/$defs/dls_bad_response" + }, + "401": { + "$ref": "#/$defs/dls_bad_response" + }, + "403": { + "$ref": "#/$defs/dls_bad_response" + }, + "409": { + "$ref": "#/$defs/dls_bad_response" + }, + "500": { + "$ref": "#/$defs/dls_bad_response" + } + }, + $defs: { + "dls_PrefixBinding": dls_PrefixBinding_output, + "dls_bad_response": dls_bad_response_output, + "dls_coded_message": dls_coded_message_output, + "dls_none": dls_none_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dls/regional_services/prefix_bindings`, body: { value: args["body"], mediaType: "application/json" }, @@ -78,6 +116,31 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dls_good_response" + }, + "401": { + "$ref": "#/$defs/dls_bad_response" + }, + "403": { + "$ref": "#/$defs/dls_bad_response" + }, + "404": { + "$ref": "#/$defs/dls_bad_response" + }, + "500": { + "$ref": "#/$defs/dls_bad_response" + } + }, + $defs: { + "dls_bad_response": dls_bad_response_output, + "dls_coded_message": dls_coded_message_output, + "dls_good_response": dls_good_response_output, + "dls_none": dls_none_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dls/regional_services/prefix_bindings/${pathParam(args, "binding_id")}`, }), @@ -119,6 +182,34 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dls_PrefixBinding" + }, + "400": { + "$ref": "#/$defs/dls_bad_response" + }, + "401": { + "$ref": "#/$defs/dls_bad_response" + }, + "403": { + "$ref": "#/$defs/dls_bad_response" + }, + "404": { + "$ref": "#/$defs/dls_bad_response" + }, + "500": { + "$ref": "#/$defs/dls_bad_response" + } + }, + $defs: { + "dls_PrefixBinding": dls_PrefixBinding_output, + "dls_bad_response": dls_bad_response_output, + "dls_coded_message": dls_coded_message_output, + "dls_none": dls_none_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dls/regional_services/prefix_bindings/${pathParam(args, "binding_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -154,6 +245,31 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dls_PrefixBinding" + }, + "401": { + "$ref": "#/$defs/dls_bad_response" + }, + "403": { + "$ref": "#/$defs/dls_bad_response" + }, + "404": { + "$ref": "#/$defs/dls_bad_response" + }, + "500": { + "$ref": "#/$defs/dls_bad_response" + } + }, + $defs: { + "dls_PrefixBinding": dls_PrefixBinding_output, + "dls_bad_response": dls_bad_response_output, + "dls_coded_message": dls_coded_message_output, + "dls_none": dls_none_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dls/regional_services/prefix_bindings/${pathParam(args, "binding_id")}`, }), @@ -191,6 +307,46 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dls_PrefixBinding" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/dls_PrefixBindingPaginatedListResponse_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/dls_bad_response" + }, + "401": { + "$ref": "#/$defs/dls_bad_response" + }, + "403": { + "$ref": "#/$defs/dls_bad_response" + }, + "500": { + "$ref": "#/$defs/dls_bad_response" + } + }, + $defs: { + "dls_PrefixBinding": dls_PrefixBinding_output, + "dls_PrefixBindingPaginatedListResponse_result_info": dls_PrefixBindingPaginatedListResponse_result_info_output, + "dls_bad_response": dls_bad_response_output, + "dls_coded_message": dls_coded_message_output, + "dls_none": dls_none_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dls/regional_services/prefix_bindings`, query: [ diff --git a/src/generated/forge-mcp/dls/regions/outputs.ts b/src/generated/forge-mcp/dls/regions/outputs.ts new file mode 100644 index 00000000..7a5f41c2 --- /dev/null +++ b/src/generated/forge-mcp/dls/regions/outputs.ts @@ -0,0 +1,70 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `dls_RegionPublic` in responses. + */ +export const dls_RegionPublic_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "region_key": { + "type": "string" + }, + "version": { + "type": "integer" + }, + "version_created_on": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_on", + "id", + "modified_on", + "name", + "region_key", + "version", + "version_created_on" + ], + "type": "object" +}; + +/** + * The schema of `dls_RegionPublicPaginatedListResponse_result_info` in + * responses. + */ +export const dls_RegionPublicPaginatedListResponse_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/dls/regions/tools.ts b/src/generated/forge-mcp/dls/regions/tools.ts index e6585866..468f55d7 100644 --- a/src/generated/forge-mcp/dls/regions/tools.ts +++ b/src/generated/forge-mcp/dls/regions/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + dls_bad_response_output, + dls_coded_message_output, + dls_none_output, +} from "../outputs.js"; +import { + dls_RegionPublicPaginatedListResponse_result_info_output, + dls_RegionPublic_output, +} from "./outputs.js"; /** * The tools of `dls.regions`. @@ -37,6 +46,31 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/dls/regions/{region_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dls_RegionPublic" + }, + "401": { + "$ref": "#/$defs/dls_bad_response" + }, + "403": { + "$ref": "#/$defs/dls_bad_response" + }, + "404": { + "$ref": "#/$defs/dls_bad_response" + }, + "500": { + "$ref": "#/$defs/dls_bad_response" + } + }, + $defs: { + "dls_RegionPublic": dls_RegionPublic_output, + "dls_bad_response": dls_bad_response_output, + "dls_coded_message": dls_coded_message_output, + "dls_none": dls_none_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dls/regions/${pathParam(args, "region_id")}`, }), @@ -82,6 +116,46 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/dls/regions", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dls_RegionPublic" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/dls_RegionPublicPaginatedListResponse_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/dls_bad_response" + }, + "401": { + "$ref": "#/$defs/dls_bad_response" + }, + "403": { + "$ref": "#/$defs/dls_bad_response" + }, + "500": { + "$ref": "#/$defs/dls_bad_response" + } + }, + $defs: { + "dls_RegionPublic": dls_RegionPublic_output, + "dls_RegionPublicPaginatedListResponse_result_info": dls_RegionPublicPaginatedListResponse_result_info_output, + "dls_bad_response": dls_bad_response_output, + "dls_coded_message": dls_coded_message_output, + "dls_none": dls_none_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dls/regions`, query: [ diff --git a/src/generated/forge-mcp/dns/dnssec/list/outputs.ts b/src/generated/forge-mcp/dns/dnssec/list/outputs.ts new file mode 100644 index 00000000..5c2a336e --- /dev/null +++ b/src/generated/forge-mcp/dns/dnssec/list/outputs.ts @@ -0,0 +1,205 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dnssec_dnskey_record` in responses. + */ +export const dnssec_dnskey_record_output: JsonSchema = { + "properties": { + "Algorithm": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "Flags": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "Hdr": { + "$ref": "#/$defs/dnssec_dnskey_record_header" + }, + "Protocol": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "PublicKey": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `dnssec_dnskey_record_header` in responses. + */ +export const dnssec_dnskey_record_header_output: JsonSchema = { + "properties": { + "Class": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "Name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "Rdlength": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "Rrtype": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "Ttl": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `dnssec_dnskey_signing_key` in responses. + */ +export const dnssec_dnskey_signing_key_output: JsonSchema = { + "properties": { + "kek": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "privkey": { + "oneOf": [ + { + "contentEncoding": "base64", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "pubkey": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `dnssec_dnssec_key_state` in responses. + */ +export const dnssec_dnssec_key_state_output: JsonSchema = { + "enum": [ + "active", + "publish", + "external", + "retired", + "revoked", + "removed" + ], + "type": "string" +}; + +/** + * The schema of `dnssec_dnssec_zsk` in responses. + */ +export const dnssec_dnssec_zsk_output: JsonSchema = { + "properties": { + "DNSKEY": { + "$ref": "#/$defs/dnssec_dnskey_record" + }, + "Location": { + "$ref": "#/$defs/dnssec_key_storage_location" + }, + "Name": { + "type": "string" + }, + "SigningKey": { + "$ref": "#/$defs/dnssec_dnskey_signing_key" + }, + "Tag": { + "$ref": "#/$defs/dnssec_dnssec_key_state" + } + }, + "type": "object" +}; + +/** + * The schema of `dnssec_key_storage_location` in responses. + */ +export const dnssec_key_storage_location_output: JsonSchema = { + "enum": [ + "database", + "vault" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/dns/dnssec/list/tools.ts b/src/generated/forge-mcp/dns/dnssec/list/tools.ts index 05a46e3b..b16924ae 100644 --- a/src/generated/forge-mcp/dns/dnssec/list/tools.ts +++ b/src/generated/forge-mcp/dns/dnssec/list/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dnssec_api_response_common_failure_output, + dnssec_messages_output, +} from "../outputs.js"; +import { + dnssec_dnskey_record_header_output, + dnssec_dnskey_record_output, + dnssec_dnskey_signing_key_output, + dnssec_dnssec_key_state_output, + dnssec_dnssec_zsk_output, + dnssec_key_storage_location_output, +} from "./outputs.js"; /** * The tools of `dns.dnssec.list`. @@ -44,6 +56,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dnssec_dnssec_zsk" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dnssec_api-response-common-failure" + } + }, + $defs: { + "dnssec_api-response-common-failure": dnssec_api_response_common_failure_output, + "dnssec_dnskey_record": dnssec_dnskey_record_output, + "dnssec_dnskey_record_header": dnssec_dnskey_record_header_output, + "dnssec_dnskey_signing_key": dnssec_dnskey_signing_key_output, + "dnssec_dnssec_key_state": dnssec_dnssec_key_state_output, + "dnssec_dnssec_zsk": dnssec_dnssec_zsk_output, + "dnssec_key_storage_location": dnssec_key_storage_location_output, + "dnssec_messages": dnssec_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dnssec/zsk`, }), diff --git a/src/generated/forge-mcp/dns/dnssec/outputs.ts b/src/generated/forge-mcp/dns/dnssec/outputs.ts new file mode 100644 index 00000000..fee5da35 --- /dev/null +++ b/src/generated/forge-mcp/dns/dnssec/outputs.ts @@ -0,0 +1,294 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `dnssec_algorithm` in responses. + */ +export const dnssec_algorithm_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_api-response-common-failure` in responses. + */ +export const dnssec_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dnssec_messages" + }, + "messages": { + "$ref": "#/$defs/dnssec_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dnssec_digest` in responses. + */ +export const dnssec_digest_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_digest_algorithm` in responses. + */ +export const dnssec_digest_algorithm_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_digest_type` in responses. + */ +export const dnssec_digest_type_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_dnssec` in responses. + */ +export const dnssec_dnssec_output: JsonSchema = { + "properties": { + "algorithm": { + "$ref": "#/$defs/dnssec_algorithm" + }, + "digest": { + "$ref": "#/$defs/dnssec_digest" + }, + "digest_algorithm": { + "$ref": "#/$defs/dnssec_digest_algorithm" + }, + "digest_type": { + "$ref": "#/$defs/dnssec_digest_type" + }, + "dnssec_multi_signer": { + "$ref": "#/$defs/dnssec_dnssec_multi_signer" + }, + "dnssec_presigned": { + "$ref": "#/$defs/dnssec_dnssec_presigned" + }, + "dnssec_use_nsec3": { + "$ref": "#/$defs/dnssec_dnssec_use_nsec3" + }, + "ds": { + "$ref": "#/$defs/dnssec_ds" + }, + "flags": { + "$ref": "#/$defs/dnssec_flags" + }, + "key_tag": { + "$ref": "#/$defs/dnssec_key_tag" + }, + "key_type": { + "$ref": "#/$defs/dnssec_key_type" + }, + "modified_on": { + "$ref": "#/$defs/dnssec_modified_on" + }, + "public_key": { + "$ref": "#/$defs/dnssec_public_key" + }, + "status": { + "$ref": "#/$defs/dnssec_status" + } + }, + "type": "object" +}; + +/** + * The schema of `dnssec_dnssec_multi_signer` in responses. + */ +export const dnssec_dnssec_multi_signer_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dnssec_dnssec_presigned` in responses. + */ +export const dnssec_dnssec_presigned_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dnssec_dnssec_use_nsec3` in responses. + */ +export const dnssec_dnssec_use_nsec3_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dnssec_ds` in responses. + */ +export const dnssec_ds_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_flags` in responses. + */ +export const dnssec_flags_output: JsonSchema = { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_key_tag` in responses. + */ +export const dnssec_key_tag_output: JsonSchema = { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_key_type` in responses. + */ +export const dnssec_key_type_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_messages` in responses. + */ +export const dnssec_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `dnssec_modified_on` in responses. + */ +export const dnssec_modified_on_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_public_key` in responses. + */ +export const dnssec_public_key_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dnssec_status` in responses. + */ +export const dnssec_status_output: JsonSchema = { + "enum": [ + "active", + "pending", + "disabled", + "pending-disabled", + "error" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/dns/dnssec/tools.ts b/src/generated/forge-mcp/dns/dnssec/tools.ts index ac9251d1..b0e1dace 100644 --- a/src/generated/forge-mcp/dns/dnssec/tools.ts +++ b/src/generated/forge-mcp/dns/dnssec/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + dnssec_algorithm_output, + dnssec_api_response_common_failure_output, + dnssec_digest_algorithm_output, + dnssec_digest_output, + dnssec_digest_type_output, + dnssec_dnssec_multi_signer_output, + dnssec_dnssec_output, + dnssec_dnssec_presigned_output, + dnssec_dnssec_use_nsec3_output, + dnssec_ds_output, + dnssec_flags_output, + dnssec_key_tag_output, + dnssec_key_type_output, + dnssec_messages_output, + dnssec_modified_on_output, + dnssec_public_key_output, + dnssec_status_output, +} from "./outputs.js"; import { dnssec_dnssec_multi_signer, dnssec_dnssec_presigned, @@ -58,6 +77,20 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/dnssec_api-response-common-failure" + } + }, + $defs: { + "dnssec_api-response-common-failure": dnssec_api_response_common_failure_output, + "dnssec_messages": dnssec_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dnssec`, }), @@ -139,6 +172,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dnssec_dnssec" + }, + "4XX": { + "$ref": "#/$defs/dnssec_api-response-common-failure" + } + }, + $defs: { + "dnssec_algorithm": dnssec_algorithm_output, + "dnssec_api-response-common-failure": dnssec_api_response_common_failure_output, + "dnssec_digest": dnssec_digest_output, + "dnssec_digest_algorithm": dnssec_digest_algorithm_output, + "dnssec_digest_type": dnssec_digest_type_output, + "dnssec_dnssec": dnssec_dnssec_output, + "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer_output, + "dnssec_dnssec_presigned": dnssec_dnssec_presigned_output, + "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3_output, + "dnssec_ds": dnssec_ds_output, + "dnssec_flags": dnssec_flags_output, + "dnssec_key_tag": dnssec_key_tag_output, + "dnssec_key_type": dnssec_key_type_output, + "dnssec_messages": dnssec_messages_output, + "dnssec_modified_on": dnssec_modified_on_output, + "dnssec_public_key": dnssec_public_key_output, + "dnssec_status": dnssec_status_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dnssec`, body: { value: args["body"], mediaType: "application/json" }, @@ -191,6 +253,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dnssec_dnssec" + }, + "4XX": { + "$ref": "#/$defs/dnssec_api-response-common-failure" + } + }, + $defs: { + "dnssec_algorithm": dnssec_algorithm_output, + "dnssec_api-response-common-failure": dnssec_api_response_common_failure_output, + "dnssec_digest": dnssec_digest_output, + "dnssec_digest_algorithm": dnssec_digest_algorithm_output, + "dnssec_digest_type": dnssec_digest_type_output, + "dnssec_dnssec": dnssec_dnssec_output, + "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer_output, + "dnssec_dnssec_presigned": dnssec_dnssec_presigned_output, + "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3_output, + "dnssec_ds": dnssec_ds_output, + "dnssec_flags": dnssec_flags_output, + "dnssec_key_tag": dnssec_key_tag_output, + "dnssec_key_type": dnssec_key_type_output, + "dnssec_messages": dnssec_messages_output, + "dnssec_modified_on": dnssec_modified_on_output, + "dnssec_public_key": dnssec_public_key_output, + "dnssec_status": dnssec_status_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dnssec`, }), diff --git a/src/generated/forge-mcp/dns/domainconnect/outputs.ts b/src/generated/forge-mcp/dns/domainconnect/outputs.ts new file mode 100644 index 00000000..7ff4f58b --- /dev/null +++ b/src/generated/forge-mcp/dns/domainconnect/outputs.ts @@ -0,0 +1,55 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `domain-connect_httpError` in responses. + */ +export const domain_connect_httpError_output: JsonSchema = { + "properties": { + "error": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `domain-connect_neededByStratus` in responses. + */ +export const domain_connect_neededByStratus_output: JsonSchema = { + "properties": { + "logo": { + "type": "string" + }, + "template": { + "type": "object" + }, + "template_spec": { + "$ref": "#/$defs/domain-connect_templateSpec" + } + }, + "type": "object" +}; + +/** + * The schema of `domain-connect_templateSpec` in responses. + */ +export const domain_connect_templateSpec_output: JsonSchema = { + "properties": { + "accountTags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "proxied": { + "type": "boolean" + }, + "status": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/dns/domainconnect/tools.ts b/src/generated/forge-mcp/dns/domainconnect/tools.ts index 1da5f7d8..f33cb045 100644 --- a/src/generated/forge-mcp/dns/domainconnect/tools.ts +++ b/src/generated/forge-mcp/dns/domainconnect/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + domain_connect_httpError_output, + domain_connect_neededByStratus_output, + domain_connect_templateSpec_output, +} from "./outputs.js"; import { domain_connect_PostData } from "./schemas.js"; /** @@ -36,6 +41,22 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": [] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "404": { + "$ref": "#/$defs/domain-connect_httpError" + }, + "500": { + "$ref": "#/$defs/domain-connect_httpError" + } + }, + $defs: { + "domain-connect_httpError": domain_connect_httpError_output, + }, + }, request: (args) => ({ path: `/v2/${pathParam(args, "domain")}/settings`, }), @@ -57,6 +78,12 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/_heartbeat", + responses: { + schemas: { + "200": null, + "503": null + }, + }, request: (_args) => ({ path: `/_heartbeat`, }), @@ -99,6 +126,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": [] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/domain-connect_neededByStratus" + }, + "400": { + "$ref": "#/$defs/domain-connect_httpError" + }, + "403": { + "$ref": "#/$defs/domain-connect_httpError" + }, + "404": { + "$ref": "#/$defs/domain-connect_httpError" + } + }, + $defs: { + "domain-connect_httpError": domain_connect_httpError_output, + "domain-connect_neededByStratus": domain_connect_neededByStratus_output, + "domain-connect_templateSpec": domain_connect_templateSpec_output, + }, + }, request: (args) => ({ path: `/v2/provconf/${pathParam(args, "provider")}/${pathParam(args, "service")}/${pathParam(args, "account")}`, }), @@ -140,6 +188,19 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": [] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "404": { + "$ref": "#/$defs/domain-connect_httpError" + } + }, + $defs: { + "domain-connect_httpError": domain_connect_httpError_output, + }, + }, request: (args) => ({ path: `/v2/domainTemplates/providers/${pathParam(args, "provider")}/services/${pathParam(args, "service")}`, query: [ @@ -177,6 +238,16 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": [] }, + responses: { + schemas: { + "200": null, + "400": null, + "403": null, + "404": null, + "417": null, + "502": null + }, + }, request: (args) => ({ path: `/v1/verify`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/dns/outputs.ts b/src/generated/forge-mcp/dns/outputs.ts new file mode 100644 index 00000000..9c29cf92 --- /dev/null +++ b/src/generated/forge-mcp/dns/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `dns-records_api-response-common-failure` in responses. + */ +export const dns_records_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-records_messages" + }, + "messages": { + "$ref": "#/$defs/dns-records_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-records_messages` in responses. + */ +export const dns_records_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/dns/records/outputs.ts b/src/generated/forge-mcp/dns/records/outputs.ts new file mode 100644 index 00000000..e1083a3a --- /dev/null +++ b/src/generated/forge-mcp/dns/records/outputs.ts @@ -0,0 +1,1424 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `dns-records_AAAARecord` in responses. + */ +export const dns_records_AAAARecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "private_routing": { + "type": "boolean" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "AAAA" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_ARecord` in responses. + */ +export const dns_records_ARecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "private_routing": { + "type": "boolean" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "A" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_CAARecord` in responses. + */ +export const dns_records_CAARecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_CAARecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "CAA" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_CAARecord_data` in responses. + */ +export const dns_records_CAARecord_data_output: JsonSchema = { + "properties": { + "flags": { + "type": "number" + }, + "tag": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_CERTRecord` in responses. + */ +export const dns_records_CERTRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_CERTRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "CERT" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_CERTRecord_data` in responses. + */ +export const dns_records_CERTRecord_data_output: JsonSchema = { + "properties": { + "algorithm": { + "type": "number" + }, + "certificate": { + "type": "string" + }, + "key_tag": { + "type": "number" + }, + "type": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_CNAMERecord` in responses. + */ +export const dns_records_CNAMERecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_CNAMERecord_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "CNAME" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_CNAMERecord_settings` in responses. + */ +export const dns_records_CNAMERecord_settings_output: JsonSchema = { + "properties": { + "flatten_cname": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_DNSKEYRecord` in responses. + */ +export const dns_records_DNSKEYRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_DNSKEYRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "DNSKEY" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_DNSKEYRecord_data` in responses. + */ +export const dns_records_DNSKEYRecord_data_output: JsonSchema = { + "properties": { + "algorithm": { + "type": "number" + }, + "flags": { + "type": "number" + }, + "protocol": { + "type": "number" + }, + "public_key": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_DSRecord` in responses. + */ +export const dns_records_DSRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_DSRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "DS" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_DSRecord_data` in responses. + */ +export const dns_records_DSRecord_data_output: JsonSchema = { + "properties": { + "algorithm": { + "type": "number" + }, + "digest": { + "type": "string" + }, + "digest_type": { + "type": "number" + }, + "key_tag": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_HTTPSRecord` in responses. + */ +export const dns_records_HTTPSRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_HTTPSRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "HTTPS" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_HTTPSRecord_data` in responses. + */ +export const dns_records_HTTPSRecord_data_output: JsonSchema = { + "properties": { + "priority": { + "type": "number" + }, + "target": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_LOCRecord` in responses. + */ +export const dns_records_LOCRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_LOCRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "LOC" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_LOCRecord_data` in responses. + */ +export const dns_records_LOCRecord_data_output: JsonSchema = { + "properties": { + "altitude": { + "type": "number" + }, + "lat_degrees": { + "type": "number" + }, + "lat_direction": { + "enum": [ + "N", + "S" + ], + "type": "string" + }, + "lat_minutes": { + "type": "number" + }, + "lat_seconds": { + "type": "number" + }, + "long_degrees": { + "type": "number" + }, + "long_direction": { + "enum": [ + "E", + "W" + ], + "type": "string" + }, + "long_minutes": { + "type": "number" + }, + "long_seconds": { + "type": "number" + }, + "precision_horz": { + "type": "number" + }, + "precision_vert": { + "type": "number" + }, + "size": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_MXRecord` in responses. + */ +export const dns_records_MXRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "priority": { + "$ref": "#/$defs/dns-records_priority" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "MX" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_NAPTRRecord` in responses. + */ +export const dns_records_NAPTRRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_NAPTRRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "NAPTR" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_NAPTRRecord_data` in responses. + */ +export const dns_records_NAPTRRecord_data_output: JsonSchema = { + "properties": { + "flags": { + "type": "string" + }, + "order": { + "type": "number" + }, + "preference": { + "type": "number" + }, + "regex": { + "type": "string" + }, + "replacement": { + "type": "string" + }, + "service": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_NSRecord` in responses. + */ +export const dns_records_NSRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "NS" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_OPENPGPKEYRecord` in responses. + */ +export const dns_records_OPENPGPKEYRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "OPENPGPKEY" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_PTRRecord` in responses. + */ +export const dns_records_PTRRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "PTR" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_SMIMEARecord` in responses. + */ +export const dns_records_SMIMEARecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_SMIMEARecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "SMIMEA" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_SMIMEARecord_data` in responses. + */ +export const dns_records_SMIMEARecord_data_output: JsonSchema = { + "properties": { + "certificate": { + "type": "string" + }, + "matching_type": { + "type": "number" + }, + "selector": { + "type": "number" + }, + "usage": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_SRVRecord` in responses. + */ +export const dns_records_SRVRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_SRVRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "SRV" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_SRVRecord_data` in responses. + */ +export const dns_records_SRVRecord_data_output: JsonSchema = { + "properties": { + "port": { + "type": "number" + }, + "priority": { + "$ref": "#/$defs/dns-records_priority" + }, + "target": { + "type": "string" + }, + "weight": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_SSHFPRecord` in responses. + */ +export const dns_records_SSHFPRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_SSHFPRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "SSHFP" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_SSHFPRecord_data` in responses. + */ +export const dns_records_SSHFPRecord_data_output: JsonSchema = { + "properties": { + "algorithm": { + "type": "number" + }, + "fingerprint": { + "type": "string" + }, + "type": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_SVCBRecord` in responses. + */ +export const dns_records_SVCBRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_SVCBRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "SVCB" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_SVCBRecord_data` in responses. + */ +export const dns_records_SVCBRecord_data_output: JsonSchema = { + "properties": { + "priority": { + "type": "number" + }, + "target": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_TLSARecord` in responses. + */ +export const dns_records_TLSARecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_TLSARecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "TLSA" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_TLSARecord_data` in responses. + */ +export const dns_records_TLSARecord_data_output: JsonSchema = { + "properties": { + "certificate": { + "type": "string" + }, + "matching_type": { + "type": "number" + }, + "selector": { + "type": "number" + }, + "usage": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_TXTRecord` in responses. + */ +export const dns_records_TXTRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "TXT" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_URIRecord` in responses. + */ +export const dns_records_URIRecord_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/dns-records_comment" + }, + "content": { + "type": "string" + }, + "data": { + "$ref": "#/$defs/dns-records_URIRecord_data" + }, + "name": { + "$ref": "#/$defs/dns-records_name" + }, + "priority": { + "$ref": "#/$defs/dns-records_priority" + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied" + }, + "settings": { + "$ref": "#/$defs/dns-records_settings" + }, + "tags": { + "$ref": "#/$defs/dns-records_tags" + }, + "ttl": { + "$ref": "#/$defs/dns-records_ttl" + }, + "type": { + "enum": [ + "URI" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_URIRecord_data` in responses. + */ +export const dns_records_URIRecord_data_output: JsonSchema = { + "properties": { + "target": { + "type": "string" + }, + "weight": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_api-response-common` in responses. + */ +export const dns_records_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-records_messages" + }, + "messages": { + "$ref": "#/$defs/dns-records_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-records_comment` in responses. + */ +export const dns_records_comment_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-records_dns-record-response` in responses. + */ +export const dns_records_dns_record_response_output: JsonSchema = { + "allOf": [ + { + "anyOf": [ + { + "$ref": "#/$defs/dns-records_dns-record-without-data" + }, + { + "$ref": "#/$defs/dns-records_dns-record-with-data" + } + ] + }, + { + "properties": { + "comment_modified_on": { + "format": "date-time", + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/dns-records_identifier" + }, + "meta": { + "properties": { + "dead_glue": { + "type": "boolean" + }, + "is_glue": { + "type": "boolean" + }, + "shadowed_by": { + "items": { + "type": "string" + }, + "type": "array" + }, + "shadowed_records_count": { + "type": "integer" + } + }, + "type": "object" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "proxiable": { + "type": "boolean" + }, + "tags_modified_on": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_on", + "id", + "meta", + "modified_on", + "proxiable" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `dns-records_dns-record-with-data` in responses. + */ +export const dns_records_dns_record_with_data_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/dns-records_CAARecord" + }, + { + "$ref": "#/$defs/dns-records_CERTRecord" + }, + { + "$ref": "#/$defs/dns-records_DNSKEYRecord" + }, + { + "$ref": "#/$defs/dns-records_DSRecord" + }, + { + "$ref": "#/$defs/dns-records_HTTPSRecord" + }, + { + "$ref": "#/$defs/dns-records_LOCRecord" + }, + { + "$ref": "#/$defs/dns-records_NAPTRRecord" + }, + { + "$ref": "#/$defs/dns-records_SMIMEARecord" + }, + { + "$ref": "#/$defs/dns-records_SRVRecord" + }, + { + "$ref": "#/$defs/dns-records_SSHFPRecord" + }, + { + "$ref": "#/$defs/dns-records_SVCBRecord" + }, + { + "$ref": "#/$defs/dns-records_TLSARecord" + }, + { + "$ref": "#/$defs/dns-records_URIRecord" + } + ] +}; + +/** + * The schema of `dns-records_dns-record-without-data` in responses. + */ +export const dns_records_dns_record_without_data_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/dns-records_ARecord" + }, + { + "$ref": "#/$defs/dns-records_AAAARecord" + }, + { + "$ref": "#/$defs/dns-records_CNAMERecord" + }, + { + "$ref": "#/$defs/dns-records_MXRecord" + }, + { + "$ref": "#/$defs/dns-records_NSRecord" + }, + { + "$ref": "#/$defs/dns-records_OPENPGPKEYRecord" + }, + { + "$ref": "#/$defs/dns-records_PTRRecord" + }, + { + "$ref": "#/$defs/dns-records_TXTRecord" + } + ] +}; + +/** + * The schema of `dns-records_dns-response-batch-object` in responses. + */ +export const dns_records_dns_response_batch_object_output: JsonSchema = { + "properties": { + "deletes": { + "items": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "type": "array" + }, + "patches": { + "items": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "type": "array" + }, + "posts": { + "items": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "type": "array" + }, + "puts": { + "items": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_dns-response-review-scan-object` in responses. + */ +export const dns_records_dns_response_review_scan_object_output: JsonSchema = { + "properties": { + "accepts": { + "items": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "type": "array" + }, + "rejects": { + "items": { + "$ref": "#/$defs/dns-records_identifier" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_identifier` in responses. + */ +export const dns_records_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-records_name` in responses. + */ +export const dns_records_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-records_priority` in responses. + */ +export const dns_records_priority_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `dns-records_proxied` in responses. + */ +export const dns_records_proxied_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dns-records_settings` in responses. + */ +export const dns_records_settings_output: JsonSchema = { + "properties": { + "ipv4_only": { + "type": "boolean" + }, + "ipv6_only": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-records_tags` in responses. + */ +export const dns_records_tags_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `dns-records_ttl` in responses. + */ +export const dns_records_ttl_output: JsonSchema = { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + 1 + ], + "type": "integer" + } + ] +}; diff --git a/src/generated/forge-mcp/dns/records/tools.ts b/src/generated/forge-mcp/dns/records/tools.ts index 3bdec376..87089cac 100644 --- a/src/generated/forge-mcp/dns/records/tools.ts +++ b/src/generated/forge-mcp/dns/records/tools.ts @@ -2,6 +2,61 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + dns_records_api_response_common_failure_output, + dns_records_messages_output, +} from "../outputs.js"; +import { + dns_records_AAAARecord_output, + dns_records_ARecord_output, + dns_records_CAARecord_data_output, + dns_records_CAARecord_output, + dns_records_CERTRecord_data_output, + dns_records_CERTRecord_output, + dns_records_CNAMERecord_output, + dns_records_CNAMERecord_settings_output, + dns_records_DNSKEYRecord_data_output, + dns_records_DNSKEYRecord_output, + dns_records_DSRecord_data_output, + dns_records_DSRecord_output, + dns_records_HTTPSRecord_data_output, + dns_records_HTTPSRecord_output, + dns_records_LOCRecord_data_output, + dns_records_LOCRecord_output, + dns_records_MXRecord_output, + dns_records_NAPTRRecord_data_output, + dns_records_NAPTRRecord_output, + dns_records_NSRecord_output, + dns_records_OPENPGPKEYRecord_output, + dns_records_PTRRecord_output, + dns_records_SMIMEARecord_data_output, + dns_records_SMIMEARecord_output, + dns_records_SRVRecord_data_output, + dns_records_SRVRecord_output, + dns_records_SSHFPRecord_data_output, + dns_records_SSHFPRecord_output, + dns_records_SVCBRecord_data_output, + dns_records_SVCBRecord_output, + dns_records_TLSARecord_data_output, + dns_records_TLSARecord_output, + dns_records_TXTRecord_output, + dns_records_URIRecord_data_output, + dns_records_URIRecord_output, + dns_records_api_response_common_output, + dns_records_comment_output, + dns_records_dns_record_response_output, + dns_records_dns_record_with_data_output, + dns_records_dns_record_without_data_output, + dns_records_dns_response_batch_object_output, + dns_records_dns_response_review_scan_object_output, + dns_records_identifier_output, + dns_records_name_output, + dns_records_priority_output, + dns_records_proxied_output, + dns_records_settings_output, + dns_records_tags_output, + dns_records_ttl_output, +} from "./outputs.js"; import { dns_records_AAAARecord, dns_records_ARecord, @@ -178,6 +233,67 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-records_dns-response-batch-object" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_AAAARecord": dns_records_AAAARecord_output, + "dns-records_ARecord": dns_records_ARecord_output, + "dns-records_CAARecord": dns_records_CAARecord_output, + "dns-records_CAARecord_data": dns_records_CAARecord_data_output, + "dns-records_CERTRecord": dns_records_CERTRecord_output, + "dns-records_CERTRecord_data": dns_records_CERTRecord_data_output, + "dns-records_CNAMERecord": dns_records_CNAMERecord_output, + "dns-records_CNAMERecord_settings": dns_records_CNAMERecord_settings_output, + "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, + "dns-records_DNSKEYRecord_data": dns_records_DNSKEYRecord_data_output, + "dns-records_DSRecord": dns_records_DSRecord_output, + "dns-records_DSRecord_data": dns_records_DSRecord_data_output, + "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, + "dns-records_HTTPSRecord_data": dns_records_HTTPSRecord_data_output, + "dns-records_LOCRecord": dns_records_LOCRecord_output, + "dns-records_LOCRecord_data": dns_records_LOCRecord_data_output, + "dns-records_MXRecord": dns_records_MXRecord_output, + "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, + "dns-records_NAPTRRecord_data": dns_records_NAPTRRecord_data_output, + "dns-records_NSRecord": dns_records_NSRecord_output, + "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, + "dns-records_PTRRecord": dns_records_PTRRecord_output, + "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, + "dns-records_SMIMEARecord_data": dns_records_SMIMEARecord_data_output, + "dns-records_SRVRecord": dns_records_SRVRecord_output, + "dns-records_SRVRecord_data": dns_records_SRVRecord_data_output, + "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, + "dns-records_SSHFPRecord_data": dns_records_SSHFPRecord_data_output, + "dns-records_SVCBRecord": dns_records_SVCBRecord_output, + "dns-records_SVCBRecord_data": dns_records_SVCBRecord_data_output, + "dns-records_TLSARecord": dns_records_TLSARecord_output, + "dns-records_TLSARecord_data": dns_records_TLSARecord_data_output, + "dns-records_TXTRecord": dns_records_TXTRecord_output, + "dns-records_URIRecord": dns_records_URIRecord_output, + "dns-records_URIRecord_data": dns_records_URIRecord_data_output, + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_comment": dns_records_comment_output, + "dns-records_dns-record-response": dns_records_dns_record_response_output, + "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, + "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, + "dns-records_dns-response-batch-object": dns_records_dns_response_batch_object_output, + "dns-records_identifier": dns_records_identifier_output, + "dns-records_messages": dns_records_messages_output, + "dns-records_name": dns_records_name_output, + "dns-records_priority": dns_records_priority_output, + "dns-records_proxied": dns_records_proxied_output, + "dns-records_settings": dns_records_settings_output, + "dns-records_tags": dns_records_tags_output, + "dns-records_ttl": dns_records_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/batch`, query: [ @@ -288,6 +404,66 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_AAAARecord": dns_records_AAAARecord_output, + "dns-records_ARecord": dns_records_ARecord_output, + "dns-records_CAARecord": dns_records_CAARecord_output, + "dns-records_CAARecord_data": dns_records_CAARecord_data_output, + "dns-records_CERTRecord": dns_records_CERTRecord_output, + "dns-records_CERTRecord_data": dns_records_CERTRecord_data_output, + "dns-records_CNAMERecord": dns_records_CNAMERecord_output, + "dns-records_CNAMERecord_settings": dns_records_CNAMERecord_settings_output, + "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, + "dns-records_DNSKEYRecord_data": dns_records_DNSKEYRecord_data_output, + "dns-records_DSRecord": dns_records_DSRecord_output, + "dns-records_DSRecord_data": dns_records_DSRecord_data_output, + "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, + "dns-records_HTTPSRecord_data": dns_records_HTTPSRecord_data_output, + "dns-records_LOCRecord": dns_records_LOCRecord_output, + "dns-records_LOCRecord_data": dns_records_LOCRecord_data_output, + "dns-records_MXRecord": dns_records_MXRecord_output, + "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, + "dns-records_NAPTRRecord_data": dns_records_NAPTRRecord_data_output, + "dns-records_NSRecord": dns_records_NSRecord_output, + "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, + "dns-records_PTRRecord": dns_records_PTRRecord_output, + "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, + "dns-records_SMIMEARecord_data": dns_records_SMIMEARecord_data_output, + "dns-records_SRVRecord": dns_records_SRVRecord_output, + "dns-records_SRVRecord_data": dns_records_SRVRecord_data_output, + "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, + "dns-records_SSHFPRecord_data": dns_records_SSHFPRecord_data_output, + "dns-records_SVCBRecord": dns_records_SVCBRecord_output, + "dns-records_SVCBRecord_data": dns_records_SVCBRecord_data_output, + "dns-records_TLSARecord": dns_records_TLSARecord_output, + "dns-records_TLSARecord_data": dns_records_TLSARecord_data_output, + "dns-records_TXTRecord": dns_records_TXTRecord_output, + "dns-records_URIRecord": dns_records_URIRecord_output, + "dns-records_URIRecord_data": dns_records_URIRecord_data_output, + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_comment": dns_records_comment_output, + "dns-records_dns-record-response": dns_records_dns_record_response_output, + "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, + "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, + "dns-records_identifier": dns_records_identifier_output, + "dns-records_messages": dns_records_messages_output, + "dns-records_name": dns_records_name_output, + "dns-records_priority": dns_records_priority_output, + "dns-records_proxied": dns_records_proxied_output, + "dns-records_settings": dns_records_settings_output, + "dns-records_tags": dns_records_tags_output, + "dns-records_ttl": dns_records_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records`, query: [ @@ -347,6 +523,48 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "properties": { + "id": { + "$ref": "#/$defs/dns-records_identifier" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "properties": { + "result": { + "properties": { + "id": { + "$ref": "#/$defs/dns-records_identifier" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_identifier": dns_records_identifier_output, + "dns-records_messages": dns_records_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/${pathParam(args, "dns_record_id")}`, }), @@ -458,6 +676,66 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_AAAARecord": dns_records_AAAARecord_output, + "dns-records_ARecord": dns_records_ARecord_output, + "dns-records_CAARecord": dns_records_CAARecord_output, + "dns-records_CAARecord_data": dns_records_CAARecord_data_output, + "dns-records_CERTRecord": dns_records_CERTRecord_output, + "dns-records_CERTRecord_data": dns_records_CERTRecord_data_output, + "dns-records_CNAMERecord": dns_records_CNAMERecord_output, + "dns-records_CNAMERecord_settings": dns_records_CNAMERecord_settings_output, + "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, + "dns-records_DNSKEYRecord_data": dns_records_DNSKEYRecord_data_output, + "dns-records_DSRecord": dns_records_DSRecord_output, + "dns-records_DSRecord_data": dns_records_DSRecord_data_output, + "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, + "dns-records_HTTPSRecord_data": dns_records_HTTPSRecord_data_output, + "dns-records_LOCRecord": dns_records_LOCRecord_output, + "dns-records_LOCRecord_data": dns_records_LOCRecord_data_output, + "dns-records_MXRecord": dns_records_MXRecord_output, + "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, + "dns-records_NAPTRRecord_data": dns_records_NAPTRRecord_data_output, + "dns-records_NSRecord": dns_records_NSRecord_output, + "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, + "dns-records_PTRRecord": dns_records_PTRRecord_output, + "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, + "dns-records_SMIMEARecord_data": dns_records_SMIMEARecord_data_output, + "dns-records_SRVRecord": dns_records_SRVRecord_output, + "dns-records_SRVRecord_data": dns_records_SRVRecord_data_output, + "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, + "dns-records_SSHFPRecord_data": dns_records_SSHFPRecord_data_output, + "dns-records_SVCBRecord": dns_records_SVCBRecord_output, + "dns-records_SVCBRecord_data": dns_records_SVCBRecord_data_output, + "dns-records_TLSARecord": dns_records_TLSARecord_output, + "dns-records_TLSARecord_data": dns_records_TLSARecord_data_output, + "dns-records_TXTRecord": dns_records_TXTRecord_output, + "dns-records_URIRecord": dns_records_URIRecord_output, + "dns-records_URIRecord_data": dns_records_URIRecord_data_output, + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_comment": dns_records_comment_output, + "dns-records_dns-record-response": dns_records_dns_record_response_output, + "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, + "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, + "dns-records_identifier": dns_records_identifier_output, + "dns-records_messages": dns_records_messages_output, + "dns-records_name": dns_records_name_output, + "dns-records_priority": dns_records_priority_output, + "dns-records_proxied": dns_records_proxied_output, + "dns-records_settings": dns_records_settings_output, + "dns-records_tags": dns_records_tags_output, + "dns-records_ttl": dns_records_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/${pathParam(args, "dns_record_id")}`, query: [ @@ -513,6 +791,18 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_messages": dns_records_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/export`, }), @@ -574,6 +864,66 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_AAAARecord": dns_records_AAAARecord_output, + "dns-records_ARecord": dns_records_ARecord_output, + "dns-records_CAARecord": dns_records_CAARecord_output, + "dns-records_CAARecord_data": dns_records_CAARecord_data_output, + "dns-records_CERTRecord": dns_records_CERTRecord_output, + "dns-records_CERTRecord_data": dns_records_CERTRecord_data_output, + "dns-records_CNAMERecord": dns_records_CNAMERecord_output, + "dns-records_CNAMERecord_settings": dns_records_CNAMERecord_settings_output, + "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, + "dns-records_DNSKEYRecord_data": dns_records_DNSKEYRecord_data_output, + "dns-records_DSRecord": dns_records_DSRecord_output, + "dns-records_DSRecord_data": dns_records_DSRecord_data_output, + "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, + "dns-records_HTTPSRecord_data": dns_records_HTTPSRecord_data_output, + "dns-records_LOCRecord": dns_records_LOCRecord_output, + "dns-records_LOCRecord_data": dns_records_LOCRecord_data_output, + "dns-records_MXRecord": dns_records_MXRecord_output, + "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, + "dns-records_NAPTRRecord_data": dns_records_NAPTRRecord_data_output, + "dns-records_NSRecord": dns_records_NSRecord_output, + "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, + "dns-records_PTRRecord": dns_records_PTRRecord_output, + "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, + "dns-records_SMIMEARecord_data": dns_records_SMIMEARecord_data_output, + "dns-records_SRVRecord": dns_records_SRVRecord_output, + "dns-records_SRVRecord_data": dns_records_SRVRecord_data_output, + "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, + "dns-records_SSHFPRecord_data": dns_records_SSHFPRecord_data_output, + "dns-records_SVCBRecord": dns_records_SVCBRecord_output, + "dns-records_SVCBRecord_data": dns_records_SVCBRecord_data_output, + "dns-records_TLSARecord": dns_records_TLSARecord_output, + "dns-records_TLSARecord_data": dns_records_TLSARecord_data_output, + "dns-records_TXTRecord": dns_records_TXTRecord_output, + "dns-records_URIRecord": dns_records_URIRecord_output, + "dns-records_URIRecord_data": dns_records_URIRecord_data_output, + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_comment": dns_records_comment_output, + "dns-records_dns-record-response": dns_records_dns_record_response_output, + "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, + "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, + "dns-records_identifier": dns_records_identifier_output, + "dns-records_messages": dns_records_messages_output, + "dns-records_name": dns_records_name_output, + "dns-records_priority": dns_records_priority_output, + "dns-records_proxied": dns_records_proxied_output, + "dns-records_settings": dns_records_settings_output, + "dns-records_tags": dns_records_tags_output, + "dns-records_ttl": dns_records_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/${pathParam(args, "dns_record_id")}`, query: [ @@ -796,6 +1146,97 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_AAAARecord": dns_records_AAAARecord_output, + "dns-records_ARecord": dns_records_ARecord_output, + "dns-records_CAARecord": dns_records_CAARecord_output, + "dns-records_CAARecord_data": dns_records_CAARecord_data_output, + "dns-records_CERTRecord": dns_records_CERTRecord_output, + "dns-records_CERTRecord_data": dns_records_CERTRecord_data_output, + "dns-records_CNAMERecord": dns_records_CNAMERecord_output, + "dns-records_CNAMERecord_settings": dns_records_CNAMERecord_settings_output, + "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, + "dns-records_DNSKEYRecord_data": dns_records_DNSKEYRecord_data_output, + "dns-records_DSRecord": dns_records_DSRecord_output, + "dns-records_DSRecord_data": dns_records_DSRecord_data_output, + "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, + "dns-records_HTTPSRecord_data": dns_records_HTTPSRecord_data_output, + "dns-records_LOCRecord": dns_records_LOCRecord_output, + "dns-records_LOCRecord_data": dns_records_LOCRecord_data_output, + "dns-records_MXRecord": dns_records_MXRecord_output, + "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, + "dns-records_NAPTRRecord_data": dns_records_NAPTRRecord_data_output, + "dns-records_NSRecord": dns_records_NSRecord_output, + "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, + "dns-records_PTRRecord": dns_records_PTRRecord_output, + "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, + "dns-records_SMIMEARecord_data": dns_records_SMIMEARecord_data_output, + "dns-records_SRVRecord": dns_records_SRVRecord_output, + "dns-records_SRVRecord_data": dns_records_SRVRecord_data_output, + "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, + "dns-records_SSHFPRecord_data": dns_records_SSHFPRecord_data_output, + "dns-records_SVCBRecord": dns_records_SVCBRecord_output, + "dns-records_SVCBRecord_data": dns_records_SVCBRecord_data_output, + "dns-records_TLSARecord": dns_records_TLSARecord_output, + "dns-records_TLSARecord_data": dns_records_TLSARecord_data_output, + "dns-records_TXTRecord": dns_records_TXTRecord_output, + "dns-records_URIRecord": dns_records_URIRecord_output, + "dns-records_URIRecord_data": dns_records_URIRecord_data_output, + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_comment": dns_records_comment_output, + "dns-records_dns-record-response": dns_records_dns_record_response_output, + "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, + "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, + "dns-records_identifier": dns_records_identifier_output, + "dns-records_messages": dns_records_messages_output, + "dns-records_name": dns_records_name_output, + "dns-records_priority": dns_records_priority_output, + "dns-records_proxied": dns_records_proxied_output, + "dns-records_settings": dns_records_settings_output, + "dns-records_tags": dns_records_tags_output, + "dns-records_ttl": dns_records_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records`, query: [ @@ -885,6 +1326,97 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_AAAARecord": dns_records_AAAARecord_output, + "dns-records_ARecord": dns_records_ARecord_output, + "dns-records_CAARecord": dns_records_CAARecord_output, + "dns-records_CAARecord_data": dns_records_CAARecord_data_output, + "dns-records_CERTRecord": dns_records_CERTRecord_output, + "dns-records_CERTRecord_data": dns_records_CERTRecord_data_output, + "dns-records_CNAMERecord": dns_records_CNAMERecord_output, + "dns-records_CNAMERecord_settings": dns_records_CNAMERecord_settings_output, + "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, + "dns-records_DNSKEYRecord_data": dns_records_DNSKEYRecord_data_output, + "dns-records_DSRecord": dns_records_DSRecord_output, + "dns-records_DSRecord_data": dns_records_DSRecord_data_output, + "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, + "dns-records_HTTPSRecord_data": dns_records_HTTPSRecord_data_output, + "dns-records_LOCRecord": dns_records_LOCRecord_output, + "dns-records_LOCRecord_data": dns_records_LOCRecord_data_output, + "dns-records_MXRecord": dns_records_MXRecord_output, + "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, + "dns-records_NAPTRRecord_data": dns_records_NAPTRRecord_data_output, + "dns-records_NSRecord": dns_records_NSRecord_output, + "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, + "dns-records_PTRRecord": dns_records_PTRRecord_output, + "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, + "dns-records_SMIMEARecord_data": dns_records_SMIMEARecord_data_output, + "dns-records_SRVRecord": dns_records_SRVRecord_output, + "dns-records_SRVRecord_data": dns_records_SRVRecord_data_output, + "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, + "dns-records_SSHFPRecord_data": dns_records_SSHFPRecord_data_output, + "dns-records_SVCBRecord": dns_records_SVCBRecord_output, + "dns-records_SVCBRecord_data": dns_records_SVCBRecord_data_output, + "dns-records_TLSARecord": dns_records_TLSARecord_output, + "dns-records_TLSARecord_data": dns_records_TLSARecord_data_output, + "dns-records_TXTRecord": dns_records_TXTRecord_output, + "dns-records_URIRecord": dns_records_URIRecord_output, + "dns-records_URIRecord_data": dns_records_URIRecord_data_output, + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_comment": dns_records_comment_output, + "dns-records_dns-record-response": dns_records_dns_record_response_output, + "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, + "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, + "dns-records_identifier": dns_records_identifier_output, + "dns-records_messages": dns_records_messages_output, + "dns-records_name": dns_records_name_output, + "dns-records_priority": dns_records_priority_output, + "dns-records_proxied": dns_records_proxied_output, + "dns-records_settings": dns_records_settings_output, + "dns-records_tags": dns_records_tags_output, + "dns-records_ttl": dns_records_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/scan/review`, }), @@ -989,6 +1521,67 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-records_dns-response-review-scan-object" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_AAAARecord": dns_records_AAAARecord_output, + "dns-records_ARecord": dns_records_ARecord_output, + "dns-records_CAARecord": dns_records_CAARecord_output, + "dns-records_CAARecord_data": dns_records_CAARecord_data_output, + "dns-records_CERTRecord": dns_records_CERTRecord_output, + "dns-records_CERTRecord_data": dns_records_CERTRecord_data_output, + "dns-records_CNAMERecord": dns_records_CNAMERecord_output, + "dns-records_CNAMERecord_settings": dns_records_CNAMERecord_settings_output, + "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, + "dns-records_DNSKEYRecord_data": dns_records_DNSKEYRecord_data_output, + "dns-records_DSRecord": dns_records_DSRecord_output, + "dns-records_DSRecord_data": dns_records_DSRecord_data_output, + "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, + "dns-records_HTTPSRecord_data": dns_records_HTTPSRecord_data_output, + "dns-records_LOCRecord": dns_records_LOCRecord_output, + "dns-records_LOCRecord_data": dns_records_LOCRecord_data_output, + "dns-records_MXRecord": dns_records_MXRecord_output, + "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, + "dns-records_NAPTRRecord_data": dns_records_NAPTRRecord_data_output, + "dns-records_NSRecord": dns_records_NSRecord_output, + "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, + "dns-records_PTRRecord": dns_records_PTRRecord_output, + "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, + "dns-records_SMIMEARecord_data": dns_records_SMIMEARecord_data_output, + "dns-records_SRVRecord": dns_records_SRVRecord_output, + "dns-records_SRVRecord_data": dns_records_SRVRecord_data_output, + "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, + "dns-records_SSHFPRecord_data": dns_records_SSHFPRecord_data_output, + "dns-records_SVCBRecord": dns_records_SVCBRecord_output, + "dns-records_SVCBRecord_data": dns_records_SVCBRecord_data_output, + "dns-records_TLSARecord": dns_records_TLSARecord_output, + "dns-records_TLSARecord_data": dns_records_TLSARecord_data_output, + "dns-records_TXTRecord": dns_records_TXTRecord_output, + "dns-records_URIRecord": dns_records_URIRecord_output, + "dns-records_URIRecord_data": dns_records_URIRecord_data_output, + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_comment": dns_records_comment_output, + "dns-records_dns-record-response": dns_records_dns_record_response_output, + "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, + "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, + "dns-records_dns-response-review-scan-object": dns_records_dns_response_review_scan_object_output, + "dns-records_identifier": dns_records_identifier_output, + "dns-records_messages": dns_records_messages_output, + "dns-records_name": dns_records_name_output, + "dns-records_priority": dns_records_priority_output, + "dns-records_proxied": dns_records_proxied_output, + "dns-records_settings": dns_records_settings_output, + "dns-records_tags": dns_records_tags_output, + "dns-records_ttl": dns_records_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/scan/review`, body: { value: args["body"], mediaType: "application/json" }, @@ -1040,6 +1633,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-records_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_api-response-common": dns_records_api_response_common_output, + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_messages": dns_records_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/scan/trigger`, }), @@ -1151,6 +1759,66 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-records_dns-record-response" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_AAAARecord": dns_records_AAAARecord_output, + "dns-records_ARecord": dns_records_ARecord_output, + "dns-records_CAARecord": dns_records_CAARecord_output, + "dns-records_CAARecord_data": dns_records_CAARecord_data_output, + "dns-records_CERTRecord": dns_records_CERTRecord_output, + "dns-records_CERTRecord_data": dns_records_CERTRecord_data_output, + "dns-records_CNAMERecord": dns_records_CNAMERecord_output, + "dns-records_CNAMERecord_settings": dns_records_CNAMERecord_settings_output, + "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, + "dns-records_DNSKEYRecord_data": dns_records_DNSKEYRecord_data_output, + "dns-records_DSRecord": dns_records_DSRecord_output, + "dns-records_DSRecord_data": dns_records_DSRecord_data_output, + "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, + "dns-records_HTTPSRecord_data": dns_records_HTTPSRecord_data_output, + "dns-records_LOCRecord": dns_records_LOCRecord_output, + "dns-records_LOCRecord_data": dns_records_LOCRecord_data_output, + "dns-records_MXRecord": dns_records_MXRecord_output, + "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, + "dns-records_NAPTRRecord_data": dns_records_NAPTRRecord_data_output, + "dns-records_NSRecord": dns_records_NSRecord_output, + "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, + "dns-records_PTRRecord": dns_records_PTRRecord_output, + "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, + "dns-records_SMIMEARecord_data": dns_records_SMIMEARecord_data_output, + "dns-records_SRVRecord": dns_records_SRVRecord_output, + "dns-records_SRVRecord_data": dns_records_SRVRecord_data_output, + "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, + "dns-records_SSHFPRecord_data": dns_records_SSHFPRecord_data_output, + "dns-records_SVCBRecord": dns_records_SVCBRecord_output, + "dns-records_SVCBRecord_data": dns_records_SVCBRecord_data_output, + "dns-records_TLSARecord": dns_records_TLSARecord_output, + "dns-records_TLSARecord_data": dns_records_TLSARecord_data_output, + "dns-records_TXTRecord": dns_records_TXTRecord_output, + "dns-records_URIRecord": dns_records_URIRecord_output, + "dns-records_URIRecord_data": dns_records_URIRecord_data_output, + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_comment": dns_records_comment_output, + "dns-records_dns-record-response": dns_records_dns_record_response_output, + "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, + "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, + "dns-records_identifier": dns_records_identifier_output, + "dns-records_messages": dns_records_messages_output, + "dns-records_name": dns_records_name_output, + "dns-records_priority": dns_records_priority_output, + "dns-records_proxied": dns_records_proxied_output, + "dns-records_settings": dns_records_settings_output, + "dns-records_tags": dns_records_tags_output, + "dns-records_ttl": dns_records_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/${pathParam(args, "dns_record_id")}`, query: [ diff --git a/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts b/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts new file mode 100644 index 00000000..3d68bb0a --- /dev/null +++ b/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts @@ -0,0 +1,212 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `dns-settings_nameserver-name` in responses. + */ +export const dns_settings_nameserver_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-settings_nameserver-set-address-groups` in responses. + */ +export const dns_settings_nameserver_set_address_groups_output: JsonSchema = { + "items": { + "enum": [ + "a", + "b", + "c" + ], + "type": "string" + }, + "maxItems": 3, + "type": "array" +}; + +/** + * The schema of `dns-settings_nameserver-set-advanced-response` in responses. + */ +export const dns_settings_nameserver_set_advanced_response_output: JsonSchema = { + "properties": { + "advanced": { + "enum": [ + true + ], + "type": "boolean" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/dns-settings_nameserver-set-id" + }, + "ip_set": { + "$ref": "#/$defs/dns-settings_nameserver-set-ip-set" + }, + "nameservers": { + "items": { + "$ref": "#/$defs/dns-settings_nameserver-set-advanced-response-member" + }, + "maxItems": 5, + "minItems": 2, + "type": "array" + } + }, + "required": [ + "created_on", + "id", + "ip_set", + "advanced", + "nameservers" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_nameserver-set-advanced-response-member` in + * responses. + */ +export const dns_settings_nameserver_set_advanced_response_member_output: JsonSchema = { + "properties": { + "ipv4": { + "$ref": "#/$defs/dns-settings_nameserver-set-ipv4-addresses" + }, + "ipv4_groups": { + "$ref": "#/$defs/dns-settings_nameserver-set-address-groups" + }, + "ipv6": { + "$ref": "#/$defs/dns-settings_nameserver-set-ipv6-addresses" + }, + "ipv6_groups": { + "$ref": "#/$defs/dns-settings_nameserver-set-address-groups" + }, + "name": { + "$ref": "#/$defs/dns-settings_nameserver-name" + } + }, + "required": [ + "ipv4", + "ipv4_groups", + "ipv6", + "ipv6_groups", + "name" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_nameserver-set-id` in responses. + */ +export const dns_settings_nameserver_set_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-settings_nameserver-set-ip-set` in responses. + */ +export const dns_settings_nameserver_set_ip_set_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `dns-settings_nameserver-set-ipv4-addresses` in responses. + */ +export const dns_settings_nameserver_set_ipv4_addresses_output: JsonSchema = { + "items": { + "type": "string" + }, + "maxItems": 3, + "type": "array" +}; + +/** + * The schema of `dns-settings_nameserver-set-ipv6-addresses` in responses. + */ +export const dns_settings_nameserver_set_ipv6_addresses_output: JsonSchema = { + "items": { + "type": "string" + }, + "maxItems": 3, + "type": "array" +}; + +/** + * The schema of `dns-settings_nameserver-set-response` in responses. + */ +export const dns_settings_nameserver_set_response_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/dns-settings_nameserver-set-standard-response" + }, + { + "$ref": "#/$defs/dns-settings_nameserver-set-advanced-response" + } + ] +}; + +/** + * The schema of `dns-settings_nameserver-set-response-member` in responses. + */ +export const dns_settings_nameserver_set_response_member_output: JsonSchema = { + "properties": { + "ipv4": { + "$ref": "#/$defs/dns-settings_nameserver-set-ipv4-addresses" + }, + "ipv6": { + "$ref": "#/$defs/dns-settings_nameserver-set-ipv6-addresses" + }, + "name": { + "$ref": "#/$defs/dns-settings_nameserver-name" + } + }, + "required": [ + "ipv4", + "ipv6", + "name" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_nameserver-set-standard-response` in responses. + */ +export const dns_settings_nameserver_set_standard_response_output: JsonSchema = { + "properties": { + "advanced": { + "enum": [ + false + ], + "type": "boolean" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/dns-settings_nameserver-set-id" + }, + "ip_set": { + "$ref": "#/$defs/dns-settings_nameserver-set-ip-set" + }, + "nameservers": { + "items": { + "$ref": "#/$defs/dns-settings_nameserver-set-response-member" + }, + "maxItems": 5, + "minItems": 2, + "type": "array" + } + }, + "required": [ + "created_on", + "id", + "ip_set", + "advanced", + "nameservers" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts b/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts index 9462c21a..51b1920c 100644 --- a/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts +++ b/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts @@ -2,7 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dns_settings_api_response_common_failure_output, + dns_settings_messages_output, +} from "../outputs.js"; import { dns_settings_page } from "../schemas.js"; +import { + dns_settings_nameserver_name_output, + dns_settings_nameserver_set_address_groups_output, + dns_settings_nameserver_set_advanced_response_member_output, + dns_settings_nameserver_set_advanced_response_output, + dns_settings_nameserver_set_id_output, + dns_settings_nameserver_set_ip_set_output, + dns_settings_nameserver_set_ipv4_addresses_output, + dns_settings_nameserver_set_ipv6_addresses_output, + dns_settings_nameserver_set_response_member_output, + dns_settings_nameserver_set_response_output, + dns_settings_nameserver_set_standard_response_output, +} from "./outputs.js"; import { dns_settings_nameserver_name, dns_settings_nameserver_set_create, @@ -64,6 +81,31 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-settings_nameserver-set-response" + }, + "4XX": { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + }, + $defs: { + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_nameserver-name": dns_settings_nameserver_name_output, + "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, + "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, + "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, + "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, + "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, + "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, + "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, + "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, + "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, + "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/nameserver_sets`, body: { value: args["body"], mediaType: "application/json" }, @@ -112,6 +154,29 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/dns-settings_nameserver-set-id" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + }, + $defs: { + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/nameserver_sets/${pathParam(args, "nameserver_set_id")}`, }), @@ -163,6 +228,31 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-settings_nameserver-set-response" + }, + "4XX": { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + }, + $defs: { + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_nameserver-name": dns_settings_nameserver_name_output, + "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, + "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, + "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, + "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, + "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, + "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, + "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, + "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, + "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, + "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/nameserver_sets/${pathParam(args, "nameserver_set_id")}`, }), @@ -222,6 +312,62 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dns-settings_nameserver-set-response" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + }, + $defs: { + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_nameserver-name": dns_settings_nameserver_name_output, + "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, + "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, + "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, + "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, + "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, + "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, + "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, + "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, + "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, + "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/nameserver_sets`, query: [ diff --git a/src/generated/forge-mcp/dns/settings/account/outputs.ts b/src/generated/forge-mcp/dns/settings/account/outputs.ts new file mode 100644 index 00000000..d5e6b3af --- /dev/null +++ b/src/generated/forge-mcp/dns/settings/account/outputs.ts @@ -0,0 +1,300 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dns-settings_account_settings` in responses. + */ +export const dns_settings_account_settings_output: JsonSchema = { + "properties": { + "enforce_dns_only": { + "$ref": "#/$defs/dns-settings_enforce_dns_only" + }, + "zone_defaults": { + "$ref": "#/$defs/dns-settings_dns-settings-account-response" + } + }, + "required": [ + "zone_defaults" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_api-response-common-failure` in responses. + */ +export const dns_settings_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-settings_messages" + }, + "messages": { + "$ref": "#/$defs/dns-settings_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_dns-settings-account-response` in responses. + */ +export const dns_settings_dns_settings_account_response_output: JsonSchema = { + "properties": { + "flatten_all_cnames": { + "$ref": "#/$defs/dns-settings_flatten_all_cnames" + }, + "foundation_dns": { + "$ref": "#/$defs/dns-settings_foundation_dns" + }, + "internal_dns": { + "$ref": "#/$defs/dns-settings_internal_dns_response" + }, + "multi_provider": { + "$ref": "#/$defs/dns-settings_multi_provider" + }, + "nameservers": { + "$ref": "#/$defs/dns-settings_dns-settings-account-response_nameservers" + }, + "ns_ttl": { + "$ref": "#/$defs/dns-settings_ns_ttl" + }, + "secondary_overrides": { + "$ref": "#/$defs/dns-settings_secondary_overrides" + }, + "soa": { + "$ref": "#/$defs/dns-settings_soa-response" + }, + "zone_mode": { + "$ref": "#/$defs/dns-settings_zone_mode" + } + }, + "required": [ + "flatten_all_cnames", + "foundation_dns", + "internal_dns", + "multi_provider", + "ns_ttl", + "secondary_overrides", + "soa", + "zone_mode", + "nameservers" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_dns-settings-account-response_nameservers` in + * responses. + */ +export const dns_settings_dns_settings_account_response_nameservers_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "cloudflare.standard", + "cloudflare.advanced", + "cloudflare.standard.random", + "custom.account", + "custom.tenant" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_dns_response_single` in responses. + */ +export const dns_settings_dns_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-settings_messages" + }, + "messages": { + "$ref": "#/$defs/dns-settings_messages" + }, + "result": { + "$ref": "#/$defs/dns-settings_account_settings" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success", + "result" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_enforce_dns_only` in responses. + */ +export const dns_settings_enforce_dns_only_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dns-settings_flatten_all_cnames` in responses. + */ +export const dns_settings_flatten_all_cnames_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dns-settings_foundation_dns` in responses. + */ +export const dns_settings_foundation_dns_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dns-settings_internal_dns_response` in responses. + */ +export const dns_settings_internal_dns_response_output: JsonSchema = { + "properties": { + "reference_zone_id": { + "type": "string" + } + }, + "required": [ + "reference_zone_id" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_messages` in responses. + */ +export const dns_settings_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `dns-settings_multi_provider` in responses. + */ +export const dns_settings_multi_provider_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dns-settings_ns_ttl` in responses. + */ +export const dns_settings_ns_ttl_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `dns-settings_secondary_overrides` in responses. + */ +export const dns_settings_secondary_overrides_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dns-settings_soa-response` in responses. + */ +export const dns_settings_soa_response_output: JsonSchema = { + "properties": { + "expire": { + "type": "number" + }, + "min_ttl": { + "type": "number" + }, + "mname": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "refresh": { + "type": "number" + }, + "retry": { + "type": "number" + }, + "rname": { + "type": "string" + }, + "ttl": { + "type": "number" + } + }, + "required": [ + "expire", + "min_ttl", + "mname", + "refresh", + "retry", + "rname", + "ttl" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_zone_mode` in responses. + */ +export const dns_settings_zone_mode_output: JsonSchema = { + "enum": [ + "standard", + "cdn_only", + "dns_only" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/dns/settings/account/tools.ts b/src/generated/forge-mcp/dns/settings/account/tools.ts index 6eb015e8..da3f11c7 100644 --- a/src/generated/forge-mcp/dns/settings/account/tools.ts +++ b/src/generated/forge-mcp/dns/settings/account/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dns_settings_account_settings_output, + dns_settings_api_response_common_failure_output, + dns_settings_dns_response_single_output, + dns_settings_dns_settings_account_response_nameservers_output, + dns_settings_dns_settings_account_response_output, + dns_settings_enforce_dns_only_output, + dns_settings_flatten_all_cnames_output, + dns_settings_foundation_dns_output, + dns_settings_internal_dns_response_output, + dns_settings_messages_output, + dns_settings_multi_provider_output, + dns_settings_ns_ttl_output, + dns_settings_secondary_overrides_output, + dns_settings_soa_response_output, + dns_settings_zone_mode_output, +} from "./outputs.js"; import { dns_settings_account_settings_patch, dns_settings_dns_settings_account_patch, @@ -94,6 +111,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-settings_account_settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-settings_dns_response_single" + }, + { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-settings_account_settings": dns_settings_account_settings_output, + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_dns-settings-account-response": dns_settings_dns_settings_account_response_output, + "dns-settings_dns-settings-account-response_nameservers": dns_settings_dns_settings_account_response_nameservers_output, + "dns-settings_dns_response_single": dns_settings_dns_response_single_output, + "dns-settings_enforce_dns_only": dns_settings_enforce_dns_only_output, + "dns-settings_flatten_all_cnames": dns_settings_flatten_all_cnames_output, + "dns-settings_foundation_dns": dns_settings_foundation_dns_output, + "dns-settings_internal_dns_response": dns_settings_internal_dns_response_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_multi_provider": dns_settings_multi_provider_output, + "dns-settings_ns_ttl": dns_settings_ns_ttl_output, + "dns-settings_secondary_overrides": dns_settings_secondary_overrides_output, + "dns-settings_soa-response": dns_settings_soa_response_output, + "dns-settings_zone_mode": dns_settings_zone_mode_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/dns_settings`, body: { value: args["body"], mediaType: "application/json" }, @@ -155,6 +206,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-settings_account_settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-settings_dns_response_single" + }, + { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-settings_account_settings": dns_settings_account_settings_output, + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_dns-settings-account-response": dns_settings_dns_settings_account_response_output, + "dns-settings_dns-settings-account-response_nameservers": dns_settings_dns_settings_account_response_nameservers_output, + "dns-settings_dns_response_single": dns_settings_dns_response_single_output, + "dns-settings_enforce_dns_only": dns_settings_enforce_dns_only_output, + "dns-settings_flatten_all_cnames": dns_settings_flatten_all_cnames_output, + "dns-settings_foundation_dns": dns_settings_foundation_dns_output, + "dns-settings_internal_dns_response": dns_settings_internal_dns_response_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_multi_provider": dns_settings_multi_provider_output, + "dns-settings_ns_ttl": dns_settings_ns_ttl_output, + "dns-settings_secondary_overrides": dns_settings_secondary_overrides_output, + "dns-settings_soa-response": dns_settings_soa_response_output, + "dns-settings_zone_mode": dns_settings_zone_mode_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/dns_settings`, }), diff --git a/src/generated/forge-mcp/dns/settings/account/views/outputs.ts b/src/generated/forge-mcp/dns/settings/account/views/outputs.ts new file mode 100644 index 00000000..5c88921b --- /dev/null +++ b/src/generated/forge-mcp/dns/settings/account/views/outputs.ts @@ -0,0 +1,164 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `dns-settings_created_time` in responses. + */ +export const dns_settings_created_time_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `dns-settings_dns-view-response` in responses. + */ +export const dns_settings_dns_view_response_output: JsonSchema = { + "properties": { + "created_time": { + "$ref": "#/$defs/dns-settings_created_time" + }, + "id": { + "$ref": "#/$defs/dns-settings_identifier" + }, + "modified_time": { + "$ref": "#/$defs/dns-settings_modified_time" + }, + "name": { + "$ref": "#/$defs/dns-settings_name" + }, + "zones": { + "$ref": "#/$defs/dns-settings_zones" + } + }, + "required": [ + "created_time", + "modified_time", + "name", + "zones", + "id" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_dns_view_response_collection` in responses. + */ +export const dns_settings_dns_view_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-settings_messages" + }, + "messages": { + "$ref": "#/$defs/dns-settings_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/dns-settings_dns-view-response" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/dns-settings_dns_view_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_dns_view_response_collection_result_info` in + * responses. + */ +export const dns_settings_dns_view_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-settings_dns_view_response_single` in responses. + */ +export const dns_settings_dns_view_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-settings_messages" + }, + "messages": { + "$ref": "#/$defs/dns-settings_messages" + }, + "result": { + "$ref": "#/$defs/dns-settings_dns-view-response" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-settings_identifier` in responses. + */ +export const dns_settings_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-settings_modified_time` in responses. + */ +export const dns_settings_modified_time_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `dns-settings_name` in responses. + */ +export const dns_settings_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-settings_zones` in responses. + */ +export const dns_settings_zones_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/dns/settings/account/views/tools.ts b/src/generated/forge-mcp/dns/settings/account/views/tools.ts index cc76da71..b79f6892 100644 --- a/src/generated/forge-mcp/dns/settings/account/views/tools.ts +++ b/src/generated/forge-mcp/dns/settings/account/views/tools.ts @@ -2,7 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dns_settings_api_response_common_failure_output, + dns_settings_messages_output, +} from "../outputs.js"; import { dns_settings_page } from "../schemas.js"; +import { + dns_settings_created_time_output, + dns_settings_dns_view_response_collection_output, + dns_settings_dns_view_response_collection_result_info_output, + dns_settings_dns_view_response_output, + dns_settings_dns_view_response_single_output, + dns_settings_identifier_output, + dns_settings_modified_time_output, + dns_settings_name_output, + dns_settings_zones_output, +} from "./outputs.js"; import { dns_settings_direction, dns_settings_dns_view, @@ -73,6 +88,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-settings_dns-view-response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-settings_dns_view_response_single" + }, + { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_created_time": dns_settings_created_time_output, + "dns-settings_dns-view-response": dns_settings_dns_view_response_output, + "dns-settings_dns_view_response_single": dns_settings_dns_view_response_single_output, + "dns-settings_identifier": dns_settings_identifier_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_modified_time": dns_settings_modified_time_output, + "dns-settings_name": dns_settings_name_output, + "dns-settings_zones": dns_settings_zones_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/views`, body: { value: args["body"], mediaType: "application/json" }, @@ -129,6 +172,48 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "properties": { + "id": { + "$ref": "#/$defs/dns-settings_identifier" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "properties": { + "result": { + "properties": { + "id": { + "$ref": "#/$defs/dns-settings_identifier" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_identifier": dns_settings_identifier_output, + "dns-settings_messages": dns_settings_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/views/${pathParam(args, "view_id")}`, }), @@ -193,6 +278,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-settings_dns-view-response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-settings_dns_view_response_single" + }, + { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_created_time": dns_settings_created_time_output, + "dns-settings_dns-view-response": dns_settings_dns_view_response_output, + "dns-settings_dns_view_response_single": dns_settings_dns_view_response_single_output, + "dns-settings_identifier": dns_settings_identifier_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_modified_time": dns_settings_modified_time_output, + "dns-settings_name": dns_settings_name_output, + "dns-settings_zones": dns_settings_zones_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/views/${pathParam(args, "view_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -250,6 +363,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-settings_dns-view-response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-settings_dns_view_response_single" + }, + { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_created_time": dns_settings_created_time_output, + "dns-settings_dns-view-response": dns_settings_dns_view_response_output, + "dns-settings_dns_view_response_single": dns_settings_dns_view_response_single_output, + "dns-settings_identifier": dns_settings_identifier_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_modified_time": dns_settings_modified_time_output, + "dns-settings_name": dns_settings_name_output, + "dns-settings_zones": dns_settings_zones_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/views/${pathParam(args, "view_id")}`, }), @@ -361,6 +502,66 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dns-settings_dns-view-response" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-settings_dns_view_response_collection" + }, + { + "$ref": "#/$defs/dns-settings_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, + "dns-settings_created_time": dns_settings_created_time_output, + "dns-settings_dns-view-response": dns_settings_dns_view_response_output, + "dns-settings_dns_view_response_collection": dns_settings_dns_view_response_collection_output, + "dns-settings_dns_view_response_collection_result_info": dns_settings_dns_view_response_collection_result_info_output, + "dns-settings_identifier": dns_settings_identifier_output, + "dns-settings_messages": dns_settings_messages_output, + "dns-settings_modified_time": dns_settings_modified_time_output, + "dns-settings_name": dns_settings_name_output, + "dns-settings_zones": dns_settings_zones_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/views`, query: [ diff --git a/src/generated/forge-mcp/dns/usage/account/tools.ts b/src/generated/forge-mcp/dns/usage/account/tools.ts index 4b0a3296..93f709d0 100644 --- a/src/generated/forge-mcp/dns/usage/account/tools.ts +++ b/src/generated/forge-mcp/dns/usage/account/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dns_records_api_response_common_failure_output, + dns_records_messages_output, +} from "../../outputs.js"; /** * The tools of `dns.usage.account`. @@ -63,6 +67,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "internal_record_quota": { + "type": "integer" + }, + "internal_record_usage": { + "type": "integer" + }, + "record_quota": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "record_usage": { + "type": "integer" + } + }, + "required": [ + "record_quota", + "record_usage" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dns-records_api-response-common-failure" + } + }, + $defs: { + "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, + "dns-records_messages": dns_records_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/dns_records/usage`, }), diff --git a/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts new file mode 100644 index 00000000..53359031 --- /dev/null +++ b/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts @@ -0,0 +1,129 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `secondary-dns_acl` in responses. + */ +export const secondary_dns_acl_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + }, + "ip_range": { + "$ref": "#/$defs/secondary-dns_ip_range" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name-4" + } + }, + "required": [ + "id", + "ip_range", + "name" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_ip_range` in responses. + */ +export const secondary_dns_ip_range_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_name-4` in responses. + */ +export const secondary_dns_name_4_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_response_collection-3` in responses. + */ +export const secondary_dns_response_collection_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/secondary-dns_acl" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/secondary-dns_response_collection-3_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_response_collection-3_result_info` in responses. + */ +export const secondary_dns_response_collection_3_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `secondary-dns_single_response-3` in responses. + */ +export const secondary_dns_single_response_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_acl" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts index 056deda8..c1ae056d 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + secondary_dns_api_response_common_failure_output, + secondary_dns_id_response_3_output, + secondary_dns_id_response_3_result_output, + secondary_dns_identifier_3_output, + secondary_dns_messages_output, +} from "../outputs.js"; +import { + secondary_dns_acl_output, + secondary_dns_ip_range_output, + secondary_dns_name_4_output, + secondary_dns_response_collection_3_output, + secondary_dns_response_collection_3_result_info_output, + secondary_dns_single_response_3_output, +} from "./outputs.js"; import { secondary_dns_acl, secondary_dns_ip_range, @@ -69,6 +84,32 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_acl" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response-3" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_acl": secondary_dns_acl_output, + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_ip_range": secondary_dns_ip_range_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-4": secondary_dns_name_4_output, + "secondary-dns_single_response-3": secondary_dns_single_response_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/acls`, body: { value: args["body"], mediaType: "application/json" }, @@ -113,6 +154,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_id_response-3" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_id_response-3": secondary_dns_id_response_3_output, + "secondary-dns_id_response-3_result": secondary_dns_id_response_3_result_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/acls/${pathParam(args, "acl_id")}`, }), @@ -157,6 +227,32 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_acl" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response-3" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_acl": secondary_dns_acl_output, + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_ip_range": secondary_dns_ip_range_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-4": secondary_dns_name_4_output, + "secondary-dns_single_response-3": secondary_dns_single_response_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/acls/${pathParam(args, "acl_id")}`, }), @@ -197,6 +293,64 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/secondary-dns_acl" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_response_collection-3" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_acl": secondary_dns_acl_output, + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_ip_range": secondary_dns_ip_range_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-4": secondary_dns_name_4_output, + "secondary-dns_response_collection-3": secondary_dns_response_collection_3_output, + "secondary-dns_response_collection-3_result_info": secondary_dns_response_collection_3_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/acls`, }), @@ -249,6 +403,32 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_acl" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response-3" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_acl": secondary_dns_acl_output, + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_ip_range": secondary_dns_ip_range_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-4": secondary_dns_name_4_output, + "secondary-dns_single_response-3": secondary_dns_single_response_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/acls/${pathParam(args, "acl_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts new file mode 100644 index 00000000..d0d51aa9 --- /dev/null +++ b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts @@ -0,0 +1,40 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `secondary-dns_force_response` in responses. + */ +export const secondary_dns_force_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_force_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_force_result` in responses. + */ +export const secondary_dns_force_result_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts index 09529e1f..de8ce299 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + secondary_dns_api_response_common_failure_output, + secondary_dns_messages_output, +} from "../outputs.js"; +import { + secondary_dns_force_response_output, + secondary_dns_force_result_output, +} from "./outputs.js"; /** * The tools of `dns.zone_transfers.force_axfr`. @@ -44,6 +52,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_force_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_force_response" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_force_response": secondary_dns_force_response_output, + "secondary-dns_force_result": secondary_dns_force_result_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/force_axfr`, }), diff --git a/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts new file mode 100644 index 00000000..68c8a527 --- /dev/null +++ b/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts @@ -0,0 +1,73 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `secondary-dns_auto_refresh_seconds` in responses. + */ +export const secondary_dns_auto_refresh_seconds_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `secondary-dns_single_response_incoming` in responses. + */ +export const secondary_dns_single_response_incoming_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_single_response_incoming_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_single_response_incoming_result` in responses. + */ +export const secondary_dns_single_response_incoming_result_output: JsonSchema = { + "properties": { + "auto_refresh_seconds": { + "$ref": "#/$defs/secondary-dns_auto_refresh_seconds" + }, + "checked_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "created_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + }, + "modified_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name" + }, + "peers": { + "$ref": "#/$defs/secondary-dns_peers" + }, + "soa_serial": { + "$ref": "#/$defs/secondary-dns_soa_serial" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts index 7e738af3..095bf2ef 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts @@ -2,11 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + secondary_dns_api_response_common_failure_output, + secondary_dns_id_response_output, + secondary_dns_id_response_result_output, + secondary_dns_identifier_output, + secondary_dns_messages_output, + secondary_dns_name_output, + secondary_dns_peers_output, + secondary_dns_soa_serial_output, + secondary_dns_time_output, +} from "../outputs.js"; import { secondary_dns_identifier, secondary_dns_name, secondary_dns_peers, } from "../schemas.js"; +import { + secondary_dns_auto_refresh_seconds_output, + secondary_dns_single_response_incoming_output, + secondary_dns_single_response_incoming_result_output, +} from "./outputs.js"; import { secondary_dns_auto_refresh_seconds, secondary_dns_dns_secondary_secondary_zone, @@ -64,6 +80,61 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "auto_refresh_seconds": { + "$ref": "#/$defs/secondary-dns_auto_refresh_seconds" + }, + "checked_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "created_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + }, + "modified_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name" + }, + "peers": { + "$ref": "#/$defs/secondary-dns_peers" + }, + "soa_serial": { + "$ref": "#/$defs/secondary-dns_soa_serial" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response_incoming" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds_output, + "secondary-dns_identifier": secondary_dns_identifier_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name": secondary_dns_name_output, + "secondary-dns_peers": secondary_dns_peers_output, + "secondary-dns_single_response_incoming": secondary_dns_single_response_incoming_output, + "secondary-dns_single_response_incoming_result": secondary_dns_single_response_incoming_result_output, + "secondary-dns_soa_serial": secondary_dns_soa_serial_output, + "secondary-dns_time": secondary_dns_time_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/incoming`, body: { value: args["body"], mediaType: "application/json" }, @@ -106,6 +177,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_id_response" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_id_response": secondary_dns_id_response_output, + "secondary-dns_id_response_result": secondary_dns_id_response_result_output, + "secondary-dns_identifier": secondary_dns_identifier_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/incoming`, }), @@ -149,6 +249,61 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "auto_refresh_seconds": { + "$ref": "#/$defs/secondary-dns_auto_refresh_seconds" + }, + "checked_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "created_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + }, + "modified_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name" + }, + "peers": { + "$ref": "#/$defs/secondary-dns_peers" + }, + "soa_serial": { + "$ref": "#/$defs/secondary-dns_soa_serial" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response_incoming" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds_output, + "secondary-dns_identifier": secondary_dns_identifier_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name": secondary_dns_name_output, + "secondary-dns_peers": secondary_dns_peers_output, + "secondary-dns_single_response_incoming": secondary_dns_single_response_incoming_output, + "secondary-dns_single_response_incoming_result": secondary_dns_single_response_incoming_result_output, + "secondary-dns_soa_serial": secondary_dns_soa_serial_output, + "secondary-dns_time": secondary_dns_time_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/incoming`, }), @@ -201,6 +356,61 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "auto_refresh_seconds": { + "$ref": "#/$defs/secondary-dns_auto_refresh_seconds" + }, + "checked_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "created_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + }, + "modified_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name" + }, + "peers": { + "$ref": "#/$defs/secondary-dns_peers" + }, + "soa_serial": { + "$ref": "#/$defs/secondary-dns_soa_serial" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response_incoming" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds_output, + "secondary-dns_identifier": secondary_dns_identifier_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name": secondary_dns_name_output, + "secondary-dns_peers": secondary_dns_peers_output, + "secondary-dns_single_response_incoming": secondary_dns_single_response_incoming_output, + "secondary-dns_single_response_incoming_result": secondary_dns_single_response_incoming_result_output, + "secondary-dns_soa_serial": secondary_dns_soa_serial_output, + "secondary-dns_time": secondary_dns_time_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/incoming`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts new file mode 100644 index 00000000..103cecd9 --- /dev/null +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts @@ -0,0 +1,171 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `secondary-dns_disable_transfer_response` in responses. + */ +export const secondary_dns_disable_transfer_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_disable_transfer_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_disable_transfer_result` in responses. + */ +export const secondary_dns_disable_transfer_result_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_enable_transfer_response` in responses. + */ +export const secondary_dns_enable_transfer_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_enable_transfer_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_enable_transfer_result` in responses. + */ +export const secondary_dns_enable_transfer_result_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_force_response-2` in responses. + */ +export const secondary_dns_force_response_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_force_result-2" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_force_result-2` in responses. + */ +export const secondary_dns_force_result_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_single_response_outgoing` in responses. + */ +export const secondary_dns_single_response_outgoing_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_single_response_outgoing_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_single_response_outgoing_result` in responses. + */ +export const secondary_dns_single_response_outgoing_result_output: JsonSchema = { + "properties": { + "checked_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "created_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + }, + "last_transferred_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name" + }, + "peers": { + "$ref": "#/$defs/secondary-dns_peers" + }, + "soa_serial": { + "$ref": "#/$defs/secondary-dns_soa_serial" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts index 9fb77e35..d1676f7d 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + secondary_dns_api_response_common_failure_output, + secondary_dns_messages_output, +} from "../../outputs.js"; +import { + secondary_dns_enable_transfer_response_output, + secondary_dns_enable_transfer_result_output, +} from "../outputs.js"; /** * The tools of `dns.zone_transfers.outgoing.status`. @@ -46,6 +54,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_enable_transfer_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_enable_transfer_response" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_enable_transfer_response": secondary_dns_enable_transfer_response_output, + "secondary-dns_enable_transfer_result": secondary_dns_enable_transfer_result_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/outgoing/status`, }), diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts index d45d42c2..79a11843 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts @@ -2,11 +2,32 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + secondary_dns_api_response_common_failure_output, + secondary_dns_id_response_output, + secondary_dns_id_response_result_output, + secondary_dns_identifier_output, + secondary_dns_messages_output, + secondary_dns_name_output, + secondary_dns_peers_output, + secondary_dns_soa_serial_output, + secondary_dns_time_output, +} from "../outputs.js"; import { secondary_dns_identifier, secondary_dns_name, secondary_dns_peers, } from "../schemas.js"; +import { + secondary_dns_disable_transfer_response_output, + secondary_dns_disable_transfer_result_output, + secondary_dns_enable_transfer_response_output, + secondary_dns_enable_transfer_result_output, + secondary_dns_force_response_2_output, + secondary_dns_force_result_2_output, + secondary_dns_single_response_outgoing_output, + secondary_dns_single_response_outgoing_result_output, +} from "./outputs.js"; import { secondary_dns_single_request_outgoing } from "./schemas.js"; /** @@ -60,6 +81,57 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "checked_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "created_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + }, + "last_transferred_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name" + }, + "peers": { + "$ref": "#/$defs/secondary-dns_peers" + }, + "soa_serial": { + "$ref": "#/$defs/secondary-dns_soa_serial" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response_outgoing" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier": secondary_dns_identifier_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name": secondary_dns_name_output, + "secondary-dns_peers": secondary_dns_peers_output, + "secondary-dns_single_response_outgoing": secondary_dns_single_response_outgoing_output, + "secondary-dns_single_response_outgoing_result": secondary_dns_single_response_outgoing_result_output, + "secondary-dns_soa_serial": secondary_dns_soa_serial_output, + "secondary-dns_time": secondary_dns_time_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/outgoing`, body: { value: args["body"], mediaType: "application/json" }, @@ -102,6 +174,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_id_response" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_id_response": secondary_dns_id_response_output, + "secondary-dns_id_response_result": secondary_dns_id_response_result_output, + "secondary-dns_identifier": secondary_dns_identifier_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/outgoing`, }), @@ -143,6 +244,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_disable_transfer_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_disable_transfer_response" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_disable_transfer_response": secondary_dns_disable_transfer_response_output, + "secondary-dns_disable_transfer_result": secondary_dns_disable_transfer_result_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/outgoing/disable`, }), @@ -184,6 +308,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_enable_transfer_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_enable_transfer_response" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_enable_transfer_response": secondary_dns_enable_transfer_response_output, + "secondary-dns_enable_transfer_result": secondary_dns_enable_transfer_result_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/outgoing/enable`, }), @@ -225,6 +372,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_force_result-2" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_force_response-2" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_force_response-2": secondary_dns_force_response_2_output, + "secondary-dns_force_result-2": secondary_dns_force_result_2_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/outgoing/force_notify`, }), @@ -268,6 +438,57 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "checked_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "created_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + }, + "last_transferred_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name" + }, + "peers": { + "$ref": "#/$defs/secondary-dns_peers" + }, + "soa_serial": { + "$ref": "#/$defs/secondary-dns_soa_serial" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response_outgoing" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier": secondary_dns_identifier_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name": secondary_dns_name_output, + "secondary-dns_peers": secondary_dns_peers_output, + "secondary-dns_single_response_outgoing": secondary_dns_single_response_outgoing_output, + "secondary-dns_single_response_outgoing_result": secondary_dns_single_response_outgoing_result_output, + "secondary-dns_soa_serial": secondary_dns_soa_serial_output, + "secondary-dns_time": secondary_dns_time_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/outgoing`, }), @@ -319,6 +540,57 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "checked_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "created_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + }, + "last_transferred_time": { + "$ref": "#/$defs/secondary-dns_time" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name" + }, + "peers": { + "$ref": "#/$defs/secondary-dns_peers" + }, + "soa_serial": { + "$ref": "#/$defs/secondary-dns_soa_serial" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response_outgoing" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier": secondary_dns_identifier_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name": secondary_dns_name_output, + "secondary-dns_peers": secondary_dns_peers_output, + "secondary-dns_single_response_outgoing": secondary_dns_single_response_outgoing_output, + "secondary-dns_single_response_outgoing_result": secondary_dns_single_response_outgoing_result_output, + "secondary-dns_soa_serial": secondary_dns_soa_serial_output, + "secondary-dns_time": secondary_dns_time_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/secondary_dns/outgoing`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts new file mode 100644 index 00000000..0a8e73cb --- /dev/null +++ b/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts @@ -0,0 +1,194 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `secondary-dns_api-response-common-failure` in responses. + */ +export const secondary_dns_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_id_response` in responses. + */ +export const secondary_dns_id_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_id_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_id_response-3` in responses. + */ +export const secondary_dns_id_response_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_id_response-3_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_id_response-3_result` in responses. + */ +export const secondary_dns_id_response_3_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + } + }, + "type": "object" +}; + +/** + * The schema of `secondary-dns_id_response_result` in responses. + */ +export const secondary_dns_id_response_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `secondary-dns_identifier` in responses. + */ +export const secondary_dns_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_identifier-3` in responses. + */ +export const secondary_dns_identifier_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_messages` in responses. + */ +export const secondary_dns_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `secondary-dns_name` in responses. + */ +export const secondary_dns_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_peers` in responses. + */ +export const secondary_dns_peers_output: JsonSchema = { + "items": { + "$ref": "#/$defs/secondary-dns_identifier" + }, + "type": "array" +}; + +/** + * The schema of `secondary-dns_soa_serial` in responses. + */ +export const secondary_dns_soa_serial_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `secondary-dns_time` in responses. + */ +export const secondary_dns_time_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts new file mode 100644 index 00000000..6ac72959 --- /dev/null +++ b/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts @@ -0,0 +1,158 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `secondary-dns_ip` in responses. + */ +export const secondary_dns_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_ixfr_enable` in responses. + */ +export const secondary_dns_ixfr_enable_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `secondary-dns_name-3` in responses. + */ +export const secondary_dns_name_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_peer` in responses. + */ +export const secondary_dns_peer_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + }, + "ip": { + "$ref": "#/$defs/secondary-dns_ip" + }, + "ixfr_enable": { + "$ref": "#/$defs/secondary-dns_ixfr_enable" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name-3" + }, + "port": { + "$ref": "#/$defs/secondary-dns_port" + }, + "tsig_id": { + "$ref": "#/$defs/secondary-dns_tsig_id" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_port` in responses. + */ +export const secondary_dns_port_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `secondary-dns_response_collection-2` in responses. + */ +export const secondary_dns_response_collection_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/secondary-dns_peer" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/secondary-dns_response_collection-2_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_response_collection-2_result_info` in responses. + */ +export const secondary_dns_response_collection_2_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `secondary-dns_single_response-2` in responses. + */ +export const secondary_dns_single_response_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_peer" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_tsig_id` in responses. + */ +export const secondary_dns_tsig_id_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts index 7efe7b5c..953b9b13 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts @@ -2,6 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + secondary_dns_api_response_common_failure_output, + secondary_dns_id_response_3_output, + secondary_dns_id_response_3_result_output, + secondary_dns_identifier_3_output, + secondary_dns_messages_output, +} from "../outputs.js"; +import { + secondary_dns_ip_output, + secondary_dns_ixfr_enable_output, + secondary_dns_name_3_output, + secondary_dns_peer_output, + secondary_dns_port_output, + secondary_dns_response_collection_2_output, + secondary_dns_response_collection_2_result_info_output, + secondary_dns_single_response_2_output, + secondary_dns_tsig_id_output, +} from "./outputs.js"; import { secondary_dns_ip, secondary_dns_ixfr_enable, @@ -66,6 +84,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_peer" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response-2" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_ip": secondary_dns_ip_output, + "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-3": secondary_dns_name_3_output, + "secondary-dns_peer": secondary_dns_peer_output, + "secondary-dns_port": secondary_dns_port_output, + "secondary-dns_single_response-2": secondary_dns_single_response_2_output, + "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/peers`, body: { value: args["body"], mediaType: "application/json" }, @@ -110,6 +157,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_id_response-3" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_id_response-3": secondary_dns_id_response_3_output, + "secondary-dns_id_response-3_result": secondary_dns_id_response_3_result_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/peers/${pathParam(args, "peer_id")}`, }), @@ -154,6 +230,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_peer" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response-2" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_ip": secondary_dns_ip_output, + "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-3": secondary_dns_name_3_output, + "secondary-dns_peer": secondary_dns_peer_output, + "secondary-dns_port": secondary_dns_port_output, + "secondary-dns_single_response-2": secondary_dns_single_response_2_output, + "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/peers/${pathParam(args, "peer_id")}`, }), @@ -194,6 +299,67 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/secondary-dns_peer" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_response_collection-2" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_ip": secondary_dns_ip_output, + "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-3": secondary_dns_name_3_output, + "secondary-dns_peer": secondary_dns_peer_output, + "secondary-dns_port": secondary_dns_port_output, + "secondary-dns_response_collection-2": secondary_dns_response_collection_2_output, + "secondary-dns_response_collection-2_result_info": secondary_dns_response_collection_2_result_info_output, + "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/peers`, }), @@ -249,6 +415,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_peer" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response-2" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-3": secondary_dns_identifier_3_output, + "secondary-dns_ip": secondary_dns_ip_output, + "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-3": secondary_dns_name_3_output, + "secondary-dns_peer": secondary_dns_peer_output, + "secondary-dns_port": secondary_dns_port_output, + "secondary-dns_single_response-2": secondary_dns_single_response_2_output, + "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/peers/${pathParam(args, "peer_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts new file mode 100644 index 00000000..eda6ebaa --- /dev/null +++ b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts @@ -0,0 +1,188 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `secondary-dns_algo` in responses. + */ +export const secondary_dns_algo_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_id_response-2` in responses. + */ +export const secondary_dns_id_response_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_id_response-2_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_id_response-2_result` in responses. + */ +export const secondary_dns_id_response_2_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier-2" + } + }, + "type": "object" +}; + +/** + * The schema of `secondary-dns_identifier-2` in responses. + */ +export const secondary_dns_identifier_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_name-2` in responses. + */ +export const secondary_dns_name_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_response_collection` in responses. + */ +export const secondary_dns_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/secondary-dns_tsig" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/secondary-dns_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_response_collection_result_info` in responses. + */ +export const secondary_dns_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `secondary-dns_secret` in responses. + */ +export const secondary_dns_secret_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secondary-dns_single_response` in responses. + */ +export const secondary_dns_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "messages": { + "$ref": "#/$defs/secondary-dns_messages" + }, + "result": { + "$ref": "#/$defs/secondary-dns_tsig" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secondary-dns_tsig` in responses. + */ +export const secondary_dns_tsig_output: JsonSchema = { + "properties": { + "algo": { + "$ref": "#/$defs/secondary-dns_algo" + }, + "id": { + "$ref": "#/$defs/secondary-dns_identifier-2" + }, + "name": { + "$ref": "#/$defs/secondary-dns_name-2" + }, + "secret": { + "$ref": "#/$defs/secondary-dns_secret" + } + }, + "required": [ + "algo", + "id", + "name", + "secret" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts index fcbed97f..838640d8 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + secondary_dns_api_response_common_failure_output, + secondary_dns_messages_output, +} from "../outputs.js"; +import { + secondary_dns_algo_output, + secondary_dns_id_response_2_output, + secondary_dns_id_response_2_result_output, + secondary_dns_identifier_2_output, + secondary_dns_name_2_output, + secondary_dns_response_collection_output, + secondary_dns_response_collection_result_info_output, + secondary_dns_secret_output, + secondary_dns_single_response_output, + secondary_dns_tsig_output, +} from "./outputs.js"; import { secondary_dns_algo, secondary_dns_name_2, @@ -58,6 +74,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_tsig" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_algo": secondary_dns_algo_output, + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-2": secondary_dns_identifier_2_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-2": secondary_dns_name_2_output, + "secondary-dns_secret": secondary_dns_secret_output, + "secondary-dns_single_response": secondary_dns_single_response_output, + "secondary-dns_tsig": secondary_dns_tsig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/tsigs`, body: { value: args["body"], mediaType: "application/json" }, @@ -102,6 +145,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/secondary-dns_identifier-2" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_id_response-2" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_id_response-2": secondary_dns_id_response_2_output, + "secondary-dns_id_response-2_result": secondary_dns_id_response_2_result_output, + "secondary-dns_identifier-2": secondary_dns_identifier_2_output, + "secondary-dns_messages": secondary_dns_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/tsigs/${pathParam(args, "tsig_id")}`, }), @@ -146,6 +218,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_tsig" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_algo": secondary_dns_algo_output, + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-2": secondary_dns_identifier_2_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-2": secondary_dns_name_2_output, + "secondary-dns_secret": secondary_dns_secret_output, + "secondary-dns_single_response": secondary_dns_single_response_output, + "secondary-dns_tsig": secondary_dns_tsig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/tsigs/${pathParam(args, "tsig_id")}`, }), @@ -186,6 +285,65 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/secondary-dns_tsig" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_response_collection" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_algo": secondary_dns_algo_output, + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-2": secondary_dns_identifier_2_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-2": secondary_dns_name_2_output, + "secondary-dns_response_collection": secondary_dns_response_collection_output, + "secondary-dns_response_collection_result_info": secondary_dns_response_collection_result_info_output, + "secondary-dns_secret": secondary_dns_secret_output, + "secondary-dns_tsig": secondary_dns_tsig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/tsigs`, }), @@ -239,6 +397,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secondary-dns_tsig" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/secondary-dns_single_response" + }, + { + "$ref": "#/$defs/secondary-dns_api-response-common-failure" + } + ] + } + }, + $defs: { + "secondary-dns_algo": secondary_dns_algo_output, + "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, + "secondary-dns_identifier-2": secondary_dns_identifier_2_output, + "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_name-2": secondary_dns_name_2_output, + "secondary-dns_secret": secondary_dns_secret_output, + "secondary-dns_single_response": secondary_dns_single_response_output, + "secondary-dns_tsig": secondary_dns_tsig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secondary_dns/tsigs/${pathParam(args, "tsig_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/dnsFirewall/outputs.ts b/src/generated/forge-mcp/dnsFirewall/outputs.ts new file mode 100644 index 00000000..0cbfb679 --- /dev/null +++ b/src/generated/forge-mcp/dnsFirewall/outputs.ts @@ -0,0 +1,371 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `dns-firewall_api-response-common` in responses. + */ +export const dns_firewall_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "messages": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-firewall_api-response-common-failure` in responses. + */ +export const dns_firewall_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "messages": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-firewall_attack_mitigation` in responses. + */ +export const dns_firewall_attack_mitigation_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "only_when_upstream_unhealthy": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dns-firewall_deprecate_any_requests` in responses. + */ +export const dns_firewall_deprecate_any_requests_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dns-firewall_dns-firewall-cluster-response` in responses. + */ +export const dns_firewall_dns_firewall_cluster_response_output: JsonSchema = { + "properties": { + "attack_mitigation": { + "$ref": "#/$defs/dns-firewall_attack_mitigation" + }, + "deprecate_any_requests": { + "$ref": "#/$defs/dns-firewall_deprecate_any_requests" + }, + "dns_firewall_ips": { + "$ref": "#/$defs/dns-firewall_dns_firewall_ips" + }, + "ecs_fallback": { + "$ref": "#/$defs/dns-firewall_ecs_fallback" + }, + "id": { + "$ref": "#/$defs/dns-firewall_identifier" + }, + "maximum_cache_ttl": { + "$ref": "#/$defs/dns-firewall_maximum_cache_ttl" + }, + "minimum_cache_ttl": { + "$ref": "#/$defs/dns-firewall_minimum_cache_ttl" + }, + "modified_on": { + "$ref": "#/$defs/dns-firewall_modified_on" + }, + "name": { + "$ref": "#/$defs/dns-firewall_name" + }, + "negative_cache_ttl": { + "$ref": "#/$defs/dns-firewall_negative_cache_ttl" + }, + "ratelimit": { + "$ref": "#/$defs/dns-firewall_ratelimit" + }, + "retries": { + "$ref": "#/$defs/dns-firewall_retries" + }, + "upstream_ips": { + "$ref": "#/$defs/dns-firewall_upstream_ips" + } + }, + "required": [ + "deprecate_any_requests", + "ecs_fallback", + "maximum_cache_ttl", + "minimum_cache_ttl", + "name", + "negative_cache_ttl", + "ratelimit", + "retries", + "upstream_ips", + "dns_firewall_ips", + "id", + "modified_on" + ], + "type": "object" +}; + +/** + * The schema of `dns-firewall_dns_firewall_ips` in responses. + */ +export const dns_firewall_dns_firewall_ips_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `dns-firewall_dns_firewall_response_collection` in responses. + */ +export const dns_firewall_dns_firewall_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "messages": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/dns-firewall_dns_firewall_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-firewall_dns_firewall_response_collection_result_info` in + * responses. + */ +export const dns_firewall_dns_firewall_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-firewall_dns_firewall_single_response` in responses. + */ +export const dns_firewall_dns_firewall_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "messages": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "result": { + "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-firewall_ecs_fallback` in responses. + */ +export const dns_firewall_ecs_fallback_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `dns-firewall_identifier` in responses. + */ +export const dns_firewall_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-firewall_maximum_cache_ttl` in responses. + */ +export const dns_firewall_maximum_cache_ttl_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `dns-firewall_messages` in responses. + */ +export const dns_firewall_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `dns-firewall_minimum_cache_ttl` in responses. + */ +export const dns_firewall_minimum_cache_ttl_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `dns-firewall_modified_on` in responses. + */ +export const dns_firewall_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `dns-firewall_name` in responses. + */ +export const dns_firewall_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-firewall_negative_cache_ttl` in responses. + */ +export const dns_firewall_negative_cache_ttl_output: JsonSchema = { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dns-firewall_ratelimit` in responses. + */ +export const dns_firewall_ratelimit_output: JsonSchema = { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dns-firewall_retries` in responses. + */ +export const dns_firewall_retries_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `dns-firewall_upstream_ips` in responses. + */ +export const dns_firewall_upstream_ips_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts b/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts new file mode 100644 index 00000000..13c44edf --- /dev/null +++ b/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `dns-firewall_dns-firewall-reverse-dns-response` in responses. + */ +export const dns_firewall_dns_firewall_reverse_dns_response_output: JsonSchema = { + "properties": { + "ptr": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "ptr" + ], + "type": "object" +}; + +/** + * The schema of `dns-firewall_dns_firewall_reverse_dns_response_alt` in + * responses. + */ +export const dns_firewall_dns_firewall_reverse_dns_response_alt_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "messages": { + "$ref": "#/$defs/dns-firewall_messages" + }, + "result": { + "$ref": "#/$defs/dns-firewall_dns-firewall-reverse-dns-response" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts b/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts index 7d620792..6242f7fa 100644 --- a/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts +++ b/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + dns_firewall_api_response_common_failure_output, + dns_firewall_messages_output, +} from "../outputs.js"; +import { + dns_firewall_dns_firewall_reverse_dns_response_alt_output, + dns_firewall_dns_firewall_reverse_dns_response_output, +} from "./outputs.js"; import { dns_firewall_dns_firewall_reverse_dns } from "./schemas.js"; /** @@ -66,6 +74,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-firewall_dns-firewall-reverse-dns-response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-firewall_dns_firewall_reverse_dns_response_alt" + }, + { + "$ref": "#/$defs/dns-firewall_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, + "dns-firewall_dns-firewall-reverse-dns-response": dns_firewall_dns_firewall_reverse_dns_response_output, + "dns-firewall_dns_firewall_reverse_dns_response_alt": dns_firewall_dns_firewall_reverse_dns_response_alt_output, + "dns-firewall_messages": dns_firewall_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_firewall/${pathParam(args, "dns_firewall_id")}/reverse_dns`, body: { value: args["body"], mediaType: "application/json" }, @@ -123,6 +154,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-firewall_dns-firewall-reverse-dns-response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-firewall_dns_firewall_reverse_dns_response_alt" + }, + { + "$ref": "#/$defs/dns-firewall_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, + "dns-firewall_dns-firewall-reverse-dns-response": dns_firewall_dns_firewall_reverse_dns_response_output, + "dns-firewall_dns_firewall_reverse_dns_response_alt": dns_firewall_dns_firewall_reverse_dns_response_alt_output, + "dns-firewall_messages": dns_firewall_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_firewall/${pathParam(args, "dns_firewall_id")}/reverse_dns`, }), diff --git a/src/generated/forge-mcp/dnsFirewall/tools.ts b/src/generated/forge-mcp/dnsFirewall/tools.ts index 9e8b5643..2b045443 100644 --- a/src/generated/forge-mcp/dnsFirewall/tools.ts +++ b/src/generated/forge-mcp/dnsFirewall/tools.ts @@ -2,6 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + dns_firewall_api_response_common_failure_output, + dns_firewall_api_response_common_output, + dns_firewall_attack_mitigation_output, + dns_firewall_deprecate_any_requests_output, + dns_firewall_dns_firewall_cluster_response_output, + dns_firewall_dns_firewall_ips_output, + dns_firewall_dns_firewall_response_collection_output, + dns_firewall_dns_firewall_response_collection_result_info_output, + dns_firewall_dns_firewall_single_response_output, + dns_firewall_ecs_fallback_output, + dns_firewall_identifier_output, + dns_firewall_maximum_cache_ttl_output, + dns_firewall_messages_output, + dns_firewall_minimum_cache_ttl_output, + dns_firewall_modified_on_output, + dns_firewall_name_output, + dns_firewall_negative_cache_ttl_output, + dns_firewall_ratelimit_output, + dns_firewall_retries_output, + dns_firewall_upstream_ips_output, +} from "./outputs.js"; import { dns_firewall_attack_mitigation, dns_firewall_deprecate_any_requests, @@ -86,6 +108,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-firewall_dns_firewall_single_response" + }, + { + "$ref": "#/$defs/dns-firewall_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, + "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, + "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, + "dns-firewall_dns-firewall-cluster-response": dns_firewall_dns_firewall_cluster_response_output, + "dns-firewall_dns_firewall_ips": dns_firewall_dns_firewall_ips_output, + "dns-firewall_dns_firewall_single_response": dns_firewall_dns_firewall_single_response_output, + "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback_output, + "dns-firewall_identifier": dns_firewall_identifier_output, + "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl_output, + "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, + "dns-firewall_modified_on": dns_firewall_modified_on_output, + "dns-firewall_name": dns_firewall_name_output, + "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, + "dns-firewall_ratelimit": dns_firewall_ratelimit_output, + "dns-firewall_retries": dns_firewall_retries_output, + "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_firewall`, body: { value: args["body"], mediaType: "application/json" }, @@ -142,6 +200,47 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/dns-firewall_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-firewall_api-response-common" + }, + { + "properties": { + "result": { + "properties": { + "id": { + "$ref": "#/$defs/dns-firewall_identifier" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/dns-firewall_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-firewall_api-response-common": dns_firewall_api_response_common_output, + "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, + "dns-firewall_identifier": dns_firewall_identifier_output, + "dns-firewall_messages": dns_firewall_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_firewall/${pathParam(args, "dns_firewall_id")}`, }), @@ -214,6 +313,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-firewall_dns_firewall_single_response" + }, + { + "$ref": "#/$defs/dns-firewall_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, + "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, + "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, + "dns-firewall_dns-firewall-cluster-response": dns_firewall_dns_firewall_cluster_response_output, + "dns-firewall_dns_firewall_ips": dns_firewall_dns_firewall_ips_output, + "dns-firewall_dns_firewall_single_response": dns_firewall_dns_firewall_single_response_output, + "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback_output, + "dns-firewall_identifier": dns_firewall_identifier_output, + "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl_output, + "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, + "dns-firewall_modified_on": dns_firewall_modified_on_output, + "dns-firewall_name": dns_firewall_name_output, + "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, + "dns-firewall_ratelimit": dns_firewall_ratelimit_output, + "dns-firewall_retries": dns_firewall_retries_output, + "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_firewall/${pathParam(args, "dns_firewall_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -271,6 +406,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-firewall_dns_firewall_single_response" + }, + { + "$ref": "#/$defs/dns-firewall_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, + "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, + "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, + "dns-firewall_dns-firewall-cluster-response": dns_firewall_dns_firewall_cluster_response_output, + "dns-firewall_dns_firewall_ips": dns_firewall_dns_firewall_ips_output, + "dns-firewall_dns_firewall_single_response": dns_firewall_dns_firewall_single_response_output, + "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback_output, + "dns-firewall_identifier": dns_firewall_identifier_output, + "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl_output, + "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, + "dns-firewall_modified_on": dns_firewall_modified_on_output, + "dns-firewall_name": dns_firewall_name_output, + "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, + "dns-firewall_ratelimit": dns_firewall_ratelimit_output, + "dns-firewall_retries": dns_firewall_retries_output, + "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_firewall/${pathParam(args, "dns_firewall_id")}`, }), @@ -332,6 +503,74 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-firewall_dns_firewall_response_collection" + }, + { + "$ref": "#/$defs/dns-firewall_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, + "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, + "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, + "dns-firewall_dns-firewall-cluster-response": dns_firewall_dns_firewall_cluster_response_output, + "dns-firewall_dns_firewall_ips": dns_firewall_dns_firewall_ips_output, + "dns-firewall_dns_firewall_response_collection": dns_firewall_dns_firewall_response_collection_output, + "dns-firewall_dns_firewall_response_collection_result_info": dns_firewall_dns_firewall_response_collection_result_info_output, + "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback_output, + "dns-firewall_identifier": dns_firewall_identifier_output, + "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl_output, + "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, + "dns-firewall_modified_on": dns_firewall_modified_on_output, + "dns-firewall_name": dns_firewall_name_output, + "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, + "dns-firewall_ratelimit": dns_firewall_ratelimit_output, + "dns-firewall_retries": dns_firewall_retries_output, + "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_firewall`, query: [ diff --git a/src/generated/forge-mcp/domainInfo/tools.ts b/src/generated/forge-mcp/domainInfo/tools.ts index 47119ee4..2b7a1272 100644 --- a/src/generated/forge-mcp/domainInfo/tools.ts +++ b/src/generated/forge-mcp/domainInfo/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `domain_info`. @@ -37,6 +38,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/domain-info`, }), diff --git a/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts b/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts new file mode 100644 index 00000000..63678ee6 --- /dev/null +++ b/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts @@ -0,0 +1,26 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `workers_cursor` in responses. + */ +export const workers_cursor_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers_object` in responses. + */ +export const workers_object_output: JsonSchema = { + "properties": { + "hasStoredData": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts b/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts index 82422f22..ac112f5b 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../../outputs.js"; +import { + workers_api_response_collection_output, + workers_api_response_collection_result_info_output, +} from "../outputs.js"; +import { workers_cursor_output, workers_object_output } from "./outputs.js"; /** * The tools of `durable_objects.namespaces.objects`. @@ -60,6 +69,75 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "$ref": "#/$defs/workers_cursor" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "$ref": "#/$defs/workers_cursor" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/workers_api-response-common-failure" + } + ] + } + }, + $defs: { + "workers_api-response-collection": workers_api_response_collection_output, + "workers_api-response-collection_result_info": workers_api_response_collection_result_info_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_cursor": workers_cursor_output, + "workers_messages": workers_messages_output, + "workers_object": workers_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/durable_objects/namespaces/${pathParam(args, "id")}/objects`, query: [ diff --git a/src/generated/forge-mcp/durableObjects/namespaces/outputs.ts b/src/generated/forge-mcp/durableObjects/namespaces/outputs.ts new file mode 100644 index 00000000..65887abb --- /dev/null +++ b/src/generated/forge-mcp/durableObjects/namespaces/outputs.ts @@ -0,0 +1,172 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_api-response-collection` in responses. + */ +export const workers_api_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers_messages" + }, + "messages": { + "$ref": "#/$defs/workers_messages" + }, + "result_info": { + "$ref": "#/$defs/workers_api-response-collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `workers_api-response-collection_result_info` in responses. + */ +export const workers_api_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_namespace` in responses. + */ +export const workers_namespace_output: JsonSchema = { + "properties": { + "class": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "script": { + "type": "string" + }, + "use_sqlite": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_query-result` in responses. + */ +export const workers_query_result_output: JsonSchema = { + "properties": { + "error": { + "type": "string" + }, + "results": { + "items": { + "$ref": "#/$defs/workers_query-result_resultsItem" + }, + "type": "array" + } + }, + "required": [ + "results" + ], + "type": "object" +}; + +/** + * The schema of `workers_query-result_resultsItem` in responses. + */ +export const workers_query_result_resultsItem_output: JsonSchema = { + "properties": { + "columns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "meta": { + "$ref": "#/$defs/workers_query-result_resultsItem_meta" + }, + "rows": { + "items": { + "items": { + "$ref": "#/$defs/workers_query-value" + }, + "type": "array" + }, + "type": "array" + } + }, + "required": [ + "columns", + "meta", + "rows" + ], + "type": "object" +}; + +/** + * The schema of `workers_query-result_resultsItem_meta` in responses. + */ +export const workers_query_result_resultsItem_meta_output: JsonSchema = { + "properties": { + "rows_read": { + "type": "number" + }, + "rows_written": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_query-value` in responses. + */ +export const workers_query_value_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "items": { + "type": "integer" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/durableObjects/namespaces/tools.ts b/src/generated/forge-mcp/durableObjects/namespaces/tools.ts index cef0c6bf..b498c1bd 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/tools.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../outputs.js"; +import { + workers_api_response_collection_output, + workers_api_response_collection_result_info_output, + workers_namespace_output, + workers_query_result_output, + workers_query_result_resultsItem_meta_output, + workers_query_result_resultsItem_output, + workers_query_value_output, +} from "./outputs.js"; import { workers_query, workers_query_by_id, @@ -62,6 +75,72 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_namespace" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_namespace" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/workers_api-response-common-failure" + } + ] + } + }, + $defs: { + "workers_api-response-collection": workers_api_response_collection_output, + "workers_api-response-collection_result_info": workers_api_response_collection_result_info_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_namespace": workers_namespace_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/durable_objects/namespaces`, query: [ @@ -125,6 +204,24 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_query-result" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_query-result": workers_query_result_output, + "workers_query-result_resultsItem": workers_query_result_resultsItem_output, + "workers_query-result_resultsItem_meta": workers_query_result_resultsItem_meta_output, + "workers_query-value": workers_query_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/durable_objects/namespaces/${pathParam(args, "id")}/query/v2`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts b/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts new file mode 100644 index 00000000..7bc5f769 --- /dev/null +++ b/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts @@ -0,0 +1,222 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-auth_ApprovedSourceResponse` in responses. + */ +export const email_auth_ApprovedSourceResponse_output: JsonSchema = { + "properties": { + "created": { + "format": "date-time", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "domain": { + "type": "string" + }, + "ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "modified": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "tag": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email-auth_DmarcReportResponse` in responses. + */ +export const email_auth_DmarcReportResponse_output: JsonSchema = { + "properties": { + "approved_sources": { + "items": { + "$ref": "#/$defs/email-auth_ApprovedSourceResponse" + }, + "type": "array" + }, + "created": { + "format": "date-time", + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "modified": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "records": { + "$ref": "#/$defs/email-auth_ZoneDnsRecords" + }, + "rua_prefix": { + "type": "string" + }, + "skip_wizard": { + "type": "boolean" + }, + "status": { + "$ref": "#/$defs/email-auth_DmarcStatus" + }, + "tag": { + "type": "string" + }, + "zone_id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email-auth_DmarcStatus` in responses. + */ +export const email_auth_DmarcStatus_output: JsonSchema = { + "enum": [ + "missing-dmarc-report", + "multiple-dmarc-reports", + "missing-dmarc-rua", + "cname-on-dmarc-record", + "unauthorized-reporting-domain" + ], + "type": "string" +}; + +/** + * The schema of `email-auth_DnsRecordInfo` in responses. + */ +export const email_auth_DnsRecordInfo_output: JsonSchema = { + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "resolved": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "ttl": { + "type": "integer" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email-auth_ResolvedDmarcRecord` in responses. + */ +export const email_auth_ResolvedDmarcRecord_output: JsonSchema = { + "properties": { + "content": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email-auth_ZoneDnsRecords` in responses. + */ +export const email_auth_ZoneDnsRecords_output: JsonSchema = { + "properties": { + "bimi_records": { + "items": { + "$ref": "#/$defs/email-auth_DnsRecordInfo" + }, + "type": "array" + }, + "cname_dkim_records": { + "items": { + "$ref": "#/$defs/email-auth_DnsRecordInfo" + }, + "type": "array" + }, + "cname_dmarc_records": { + "items": { + "$ref": "#/$defs/email-auth_DnsRecordInfo" + }, + "type": "array" + }, + "cname_spf_records": { + "items": { + "$ref": "#/$defs/email-auth_DnsRecordInfo" + }, + "type": "array" + }, + "dkim_records": { + "items": { + "$ref": "#/$defs/email-auth_DnsRecordInfo" + }, + "type": "array" + }, + "dmarc_records": { + "items": { + "$ref": "#/$defs/email-auth_DnsRecordInfo" + }, + "type": "array" + }, + "resolved_dmarc_records": { + "items": { + "$ref": "#/$defs/email-auth_ResolvedDmarcRecord" + }, + "type": "array" + }, + "spf_records": { + "items": { + "$ref": "#/$defs/email-auth_DnsRecordInfo" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts b/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts index c1579a2c..3f8853f1 100644 --- a/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts +++ b/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts @@ -2,7 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_auth_api_response_common_failure_output, + email_auth_messages_output, +} from "../outputs.js"; import { email_auth_identifier } from "../schemas.js"; +import { + email_auth_ApprovedSourceResponse_output, + email_auth_DmarcReportResponse_output, + email_auth_DmarcStatus_output, + email_auth_DnsRecordInfo_output, + email_auth_ResolvedDmarcRecord_output, + email_auth_ZoneDnsRecords_output, +} from "./outputs.js"; import { email_auth_ConfigureDmarcReportsRequest } from "./schemas.js"; /** @@ -42,6 +54,26 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/zones/{zone_id}/email/auth/dmarc-reports", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-auth_DmarcReportResponse" + }, + "4XX": { + "$ref": "#/$defs/email-auth_api-response-common-failure" + } + }, + $defs: { + "email-auth_ApprovedSourceResponse": email_auth_ApprovedSourceResponse_output, + "email-auth_DmarcReportResponse": email_auth_DmarcReportResponse_output, + "email-auth_DmarcStatus": email_auth_DmarcStatus_output, + "email-auth_DnsRecordInfo": email_auth_DnsRecordInfo_output, + "email-auth_ResolvedDmarcRecord": email_auth_ResolvedDmarcRecord_output, + "email-auth_ZoneDnsRecords": email_auth_ZoneDnsRecords_output, + "email-auth_api-response-common-failure": email_auth_api_response_common_failure_output, + "email-auth_messages": email_auth_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/auth/dmarc-reports`, body: { value: args["body"], mediaType: "application/json" }, @@ -75,6 +107,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/zones/{zone_id}/email/auth/dmarc-reports", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-auth_DmarcReportResponse" + }, + "4XX": { + "$ref": "#/$defs/email-auth_api-response-common-failure" + } + }, + $defs: { + "email-auth_ApprovedSourceResponse": email_auth_ApprovedSourceResponse_output, + "email-auth_DmarcReportResponse": email_auth_DmarcReportResponse_output, + "email-auth_DmarcStatus": email_auth_DmarcStatus_output, + "email-auth_DnsRecordInfo": email_auth_DnsRecordInfo_output, + "email-auth_ResolvedDmarcRecord": email_auth_ResolvedDmarcRecord_output, + "email-auth_ZoneDnsRecords": email_auth_ZoneDnsRecords_output, + "email-auth_api-response-common-failure": email_auth_api_response_common_failure_output, + "email-auth_messages": email_auth_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/auth/dmarc-reports`, }), diff --git a/src/generated/forge-mcp/emailAuth/outputs.ts b/src/generated/forge-mcp/emailAuth/outputs.ts new file mode 100644 index 00000000..c311d547 --- /dev/null +++ b/src/generated/forge-mcp/emailAuth/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `email-auth_api-response-common-failure` in responses. + */ +export const email_auth_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/email-auth_messages" + }, + "messages": { + "$ref": "#/$defs/email-auth_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `email-auth_messages` in responses. + */ +export const email_auth_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/emailAuth/spf/outputs.ts b/src/generated/forge-mcp/emailAuth/spf/outputs.ts new file mode 100644 index 00000000..e1838f74 --- /dev/null +++ b/src/generated/forge-mcp/emailAuth/spf/outputs.ts @@ -0,0 +1,123 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-auth_InspectError` in responses. + */ +export const email_auth_InspectError_output: JsonSchema = { + "properties": { + "code": { + "type": "string" + }, + "details": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "domain", + "message" + ], + "type": "object" +}; + +/** + * The schema of `email-auth_SpfComponent` in responses. + */ +export const email_auth_SpfComponent_output: JsonSchema = { + "properties": { + "lookup_count": { + "type": "integer" + }, + "nested": { + "$ref": "#/$defs/email-auth_SpfTree" + }, + "result": { + "$ref": "#/$defs/email-auth_SpfResult" + }, + "type": { + "enum": [ + "ALL", + "A", + "MX", + "IP4", + "IP6", + "EXISTS", + "INCLUDE", + "PTR", + "REDIRECT" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "lookup_count", + "result", + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `email-auth_SpfResult` in responses. + */ +export const email_auth_SpfResult_output: JsonSchema = { + "enum": [ + "pass", + "neutral", + "fail", + "soft_fail", + "none", + "temp_error", + "perm_error" + ], + "type": "string" +}; + +/** + * The schema of `email-auth_SpfTree` in responses. + */ +export const email_auth_SpfTree_output: JsonSchema = { + "properties": { + "components": { + "items": { + "$ref": "#/$defs/email-auth_SpfComponent" + }, + "type": "array" + }, + "domain": { + "type": "string" + }, + "errors": { + "items": { + "$ref": "#/$defs/email-auth_InspectError" + }, + "type": "array" + }, + "record": { + "type": "string" + }, + "total_lookups": { + "type": "integer" + } + }, + "required": [ + "components", + "domain", + "record", + "total_lookups" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailAuth/spf/tools.ts b/src/generated/forge-mcp/emailAuth/spf/tools.ts index b8d26376..703d87c4 100644 --- a/src/generated/forge-mcp/emailAuth/spf/tools.ts +++ b/src/generated/forge-mcp/emailAuth/spf/tools.ts @@ -2,7 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_auth_api_response_common_failure_output, + email_auth_messages_output, +} from "../outputs.js"; import { email_auth_identifier } from "../schemas.js"; +import { + email_auth_InspectError_output, + email_auth_SpfComponent_output, + email_auth_SpfResult_output, + email_auth_SpfTree_output, +} from "./outputs.js"; /** * The tools of `email_auth.spf`. @@ -41,6 +51,24 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/zones/{zone_id}/email/auth/spf/inspect", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-auth_SpfTree" + }, + "4XX": { + "$ref": "#/$defs/email-auth_api-response-common-failure" + } + }, + $defs: { + "email-auth_InspectError": email_auth_InspectError_output, + "email-auth_SpfComponent": email_auth_SpfComponent_output, + "email-auth_SpfResult": email_auth_SpfResult_output, + "email-auth_SpfTree": email_auth_SpfTree_output, + "email-auth_api-response-common-failure": email_auth_api_response_common_failure_output, + "email-auth_messages": email_auth_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/auth/spf/inspect`, query: [ diff --git a/src/generated/forge-mcp/emailRouting/addresses/outputs.ts b/src/generated/forge-mcp/emailRouting/addresses/outputs.ts new file mode 100644 index 00000000..d1eca121 --- /dev/null +++ b/src/generated/forge-mcp/emailRouting/addresses/outputs.ts @@ -0,0 +1,60 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email_destination_address_identifier` in responses. + */ +export const email_destination_address_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_destination_address_properties` in responses. + */ +export const email_destination_address_properties_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/email_created" + }, + "email": { + "$ref": "#/$defs/email_email" + }, + "id": { + "$ref": "#/$defs/email_destination_address_identifier" + }, + "modified": { + "$ref": "#/$defs/email_modified" + }, + "tag": { + "$ref": "#/$defs/email_destination_address_tag" + }, + "verified": { + "$ref": "#/$defs/email_verified" + } + }, + "type": "object" +}; + +/** + * The schema of `email_destination_address_tag` in responses. + */ +export const email_destination_address_tag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_email` in responses. + */ +export const email_email_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_verified` in responses. + */ +export const email_verified_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/emailRouting/addresses/tools.ts b/src/generated/forge-mcp/emailRouting/addresses/tools.ts index ceb20abf..fb1808cf 100644 --- a/src/generated/forge-mcp/emailRouting/addresses/tools.ts +++ b/src/generated/forge-mcp/emailRouting/addresses/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { email_created_output, email_modified_output } from "../../outputs.js"; +import { + email_destination_address_identifier_output, + email_destination_address_properties_output, + email_destination_address_tag_output, + email_email_output, + email_verified_output, +} from "./outputs.js"; import { email_create_destination_address_properties, email_email, @@ -66,6 +74,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_destination_address_properties" + }, + "422": null + }, + $defs: { + "email_created": email_created_output, + "email_destination_address_identifier": email_destination_address_identifier_output, + "email_destination_address_properties": email_destination_address_properties_output, + "email_destination_address_tag": email_destination_address_tag_output, + "email_email": email_email_output, + "email_modified": email_modified_output, + "email_verified": email_verified_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/routing/addresses`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +147,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_destination_address_properties" + }, + "404": null + }, + $defs: { + "email_created": email_created_output, + "email_destination_address_identifier": email_destination_address_identifier_output, + "email_destination_address_properties": email_destination_address_properties_output, + "email_destination_address_tag": email_destination_address_tag_output, + "email_email": email_email_output, + "email_modified": email_modified_output, + "email_verified": email_verified_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/routing/addresses/${pathParam(args, "destination_address_identifier")}`, }), @@ -178,6 +220,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_destination_address_properties" + }, + "404": null + }, + $defs: { + "email_created": email_created_output, + "email_destination_address_identifier": email_destination_address_identifier_output, + "email_destination_address_properties": email_destination_address_properties_output, + "email_destination_address_tag": email_destination_address_tag_output, + "email_email": email_email_output, + "email_modified": email_modified_output, + "email_verified": email_verified_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/routing/addresses/${pathParam(args, "destination_address_identifier")}`, }), @@ -257,6 +316,51 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email_destination_address_properties" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "403": null + }, + $defs: { + "email_created": email_created_output, + "email_destination_address_identifier": email_destination_address_identifier_output, + "email_destination_address_properties": email_destination_address_properties_output, + "email_destination_address_tag": email_destination_address_tag_output, + "email_email": email_email_output, + "email_modified": email_modified_output, + "email_verified": email_verified_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/routing/addresses`, query: [ @@ -325,6 +429,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_destination_address_properties" + }, + "404": null + }, + $defs: { + "email_created": email_created_output, + "email_destination_address_identifier": email_destination_address_identifier_output, + "email_destination_address_properties": email_destination_address_properties_output, + "email_destination_address_tag": email_destination_address_tag_output, + "email_email": email_email_output, + "email_modified": email_modified_output, + "email_verified": email_verified_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/routing/addresses/${pathParam(args, "destination_address_identifier")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailRouting/dns/tools.ts b/src/generated/forge-mcp/emailRouting/dns/tools.ts index 74ecdd75..f10456a5 100644 --- a/src/generated/forge-mcp/emailRouting/dns/tools.ts +++ b/src/generated/forge-mcp/emailRouting/dns/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_dns_record_output, + email_dns_record_ttl_output, +} from "../../outputs.js"; +import { + email_email_setting_created_output, + email_email_setting_enabled_output, + email_email_setting_identifier_output, + email_email_setting_modified_output, + email_email_setting_name_output, + email_email_setting_skip_wizard_output, + email_email_setting_status_output, + email_email_setting_support_subaddress_output, + email_email_setting_tag_output, + email_email_settings_properties_output, +} from "../outputs.js"; import { email_email_setting_dns_request_body, email_email_setting_name, @@ -66,6 +82,49 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email_dns_record" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "403": null + }, + $defs: { + "email_dns_record": email_dns_record_output, + "email_dns_record_ttl": email_dns_record_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/dns`, query: [ @@ -126,6 +185,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_email_settings_properties" + }, + "403": null + }, + $defs: { + "email_email_setting_created": email_email_setting_created_output, + "email_email_setting_enabled": email_email_setting_enabled_output, + "email_email_setting_identifier": email_email_setting_identifier_output, + "email_email_setting_modified": email_email_setting_modified_output, + "email_email_setting_name": email_email_setting_name_output, + "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, + "email_email_setting_status": email_email_setting_status_output, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, + "email_email_setting_tag": email_email_setting_tag_output, + "email_email_settings_properties": email_email_settings_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/dns`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailRouting/outputs.ts b/src/generated/forge-mcp/emailRouting/outputs.ts new file mode 100644 index 00000000..ccd27be6 --- /dev/null +++ b/src/generated/forge-mcp/emailRouting/outputs.ts @@ -0,0 +1,129 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `email_email_setting_created` in responses. + */ +export const email_email_setting_created_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `email_email_setting_enabled` in responses. + */ +export const email_email_setting_enabled_output: JsonSchema = { + "enum": [ + true, + false + ], + "type": "boolean" +}; + +/** + * The schema of `email_email_setting_identifier` in responses. + */ +export const email_email_setting_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_email_setting_modified` in responses. + */ +export const email_email_setting_modified_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `email_email_setting_name` in responses. + */ +export const email_email_setting_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_email_setting_skip-wizard` in responses. + */ +export const email_email_setting_skip_wizard_output: JsonSchema = { + "enum": [ + true, + false + ], + "type": "boolean" +}; + +/** + * The schema of `email_email_setting_status` in responses. + */ +export const email_email_setting_status_output: JsonSchema = { + "enum": [ + "ready", + "unconfigured", + "misconfigured", + "misconfigured/locked", + "unlocked" + ], + "type": "string" +}; + +/** + * The schema of `email_email_setting_support_subaddress` in responses. + */ +export const email_email_setting_support_subaddress_output: JsonSchema = { + "enum": [ + true, + false + ], + "type": "boolean" +}; + +/** + * The schema of `email_email_setting_tag` in responses. + */ +export const email_email_setting_tag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_email_settings_properties` in responses. + */ +export const email_email_settings_properties_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/email_email_setting_created" + }, + "enabled": { + "$ref": "#/$defs/email_email_setting_enabled" + }, + "id": { + "$ref": "#/$defs/email_email_setting_identifier" + }, + "modified": { + "$ref": "#/$defs/email_email_setting_modified" + }, + "name": { + "$ref": "#/$defs/email_email_setting_name" + }, + "skip_wizard": { + "$ref": "#/$defs/email_email_setting_skip-wizard" + }, + "status": { + "$ref": "#/$defs/email_email_setting_status" + }, + "support_subaddress": { + "$ref": "#/$defs/email_email_setting_support_subaddress" + }, + "tag": { + "$ref": "#/$defs/email_email_setting_tag" + } + }, + "required": [ + "enabled", + "id", + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts b/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts new file mode 100644 index 00000000..12c9d83b --- /dev/null +++ b/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email_catch_all_rule` in responses. + */ +export const email_catch_all_rule_output: JsonSchema = { + "properties": { + "actions": { + "$ref": "#/$defs/email_rule_catchall-actions" + }, + "enabled": { + "$ref": "#/$defs/email_rule_enabled" + }, + "id": { + "$ref": "#/$defs/email_rule_identifier" + }, + "matchers": { + "$ref": "#/$defs/email_rule_catchall-matchers" + }, + "name": { + "$ref": "#/$defs/email_rule_name" + }, + "source": { + "$ref": "#/$defs/email_rule_source" + }, + "tag": { + "$ref": "#/$defs/email_rule_tag" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts b/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts index c8d45d80..11f2e16e 100644 --- a/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts +++ b/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_rule_catchall_action_output, + email_rule_catchall_actions_output, + email_rule_catchall_matcher_output, + email_rule_catchall_matchers_output, + email_rule_enabled_output, + email_rule_identifier_output, + email_rule_name_output, + email_rule_source_output, + email_rule_tag_output, +} from "../outputs.js"; import { email_rule_catchall_action, email_rule_catchall_actions, @@ -12,6 +23,7 @@ import { email_rule_owner_worker_tag, email_rule_source, } from "../schemas.js"; +import { email_catch_all_rule_output } from "./outputs.js"; import { email_update_catch_all_rule_properties } from "./schemas.js"; /** @@ -65,6 +77,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_catch_all_rule" + }, + "403": null + }, + $defs: { + "email_catch_all_rule": email_catch_all_rule_output, + "email_rule_catchall-action": email_rule_catchall_action_output, + "email_rule_catchall-actions": email_rule_catchall_actions_output, + "email_rule_catchall-matcher": email_rule_catchall_matcher_output, + "email_rule_catchall-matchers": email_rule_catchall_matchers_output, + "email_rule_enabled": email_rule_enabled_output, + "email_rule_identifier": email_rule_identifier_output, + "email_rule_name": email_rule_name_output, + "email_rule_source": email_rule_source_output, + "email_rule_tag": email_rule_tag_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/rules/catch_all`, }), @@ -130,6 +162,27 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_catch_all_rule" + }, + "400": null, + "422": null + }, + $defs: { + "email_catch_all_rule": email_catch_all_rule_output, + "email_rule_catchall-action": email_rule_catchall_action_output, + "email_rule_catchall-actions": email_rule_catchall_actions_output, + "email_rule_catchall-matcher": email_rule_catchall_matcher_output, + "email_rule_catchall-matchers": email_rule_catchall_matchers_output, + "email_rule_enabled": email_rule_enabled_output, + "email_rule_identifier": email_rule_identifier_output, + "email_rule_name": email_rule_name_output, + "email_rule_source": email_rule_source_output, + "email_rule_tag": email_rule_tag_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/rules/catch_all`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailRouting/rules/outputs.ts b/src/generated/forge-mcp/emailRouting/rules/outputs.ts new file mode 100644 index 00000000..4749e93f --- /dev/null +++ b/src/generated/forge-mcp/emailRouting/rules/outputs.ts @@ -0,0 +1,376 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email_account_rule` in responses. + */ +export const email_account_rule_output: JsonSchema = { + "properties": { + "actions": { + "$ref": "#/$defs/email_rule_actions" + }, + "enabled": { + "$ref": "#/$defs/email_rule_enabled" + }, + "id": { + "$ref": "#/$defs/email_rule_identifier" + }, + "matchers": { + "$ref": "#/$defs/email_rule_matchers" + }, + "name": { + "$ref": "#/$defs/email_rule_name" + }, + "priority": { + "$ref": "#/$defs/email_rule_priority" + }, + "source": { + "$ref": "#/$defs/email_rule_source" + }, + "tag": { + "$ref": "#/$defs/email_rule_tag" + }, + "zone": { + "$ref": "#/$defs/email_account_rule_zone" + } + }, + "type": "object" +}; + +/** + * The schema of `email_account_rule_zone` in responses. + */ +export const email_account_rule_zone_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email_account_rules_plan` in responses. + */ +export const email_account_rules_plan_output: JsonSchema = { + "properties": { + "zones": { + "items": { + "$ref": "#/$defs/email_account_rules_plan_zone" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `email_account_rules_plan_change` in responses. + */ +export const email_account_rules_plan_change_output: JsonSchema = { + "properties": { + "remote": { + "$ref": "#/$defs/email_account_rules_plan_remote_rule" + }, + "target": { + "type": "string" + }, + "type": { + "enum": [ + "added", + "updated", + "deleted", + "conflict" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email_account_rules_plan_remote_rule` in responses. + */ +export const email_account_rules_plan_remote_rule_output: JsonSchema = { + "properties": { + "actions": { + "$ref": "#/$defs/email_rule_actions" + }, + "enabled": { + "$ref": "#/$defs/email_rule_enabled" + }, + "id": { + "$ref": "#/$defs/email_rule_identifier" + }, + "matchers": { + "$ref": "#/$defs/email_rule_matchers" + }, + "owner_worker_name": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/email_rule_source" + } + }, + "type": "object" +}; + +/** + * The schema of `email_account_rules_plan_zone` in responses. + */ +export const email_account_rules_plan_zone_output: JsonSchema = { + "properties": { + "changes": { + "items": { + "$ref": "#/$defs/email_account_rules_plan_change" + }, + "type": "array" + }, + "zone_id": { + "$ref": "#/$defs/email_identifier" + }, + "zone_name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email_identifier` in responses. + */ +export const email_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_rule_action` in responses. + */ +export const email_rule_action_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "drop", + "forward", + "worker" + ], + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `email_rule_actions` in responses. + */ +export const email_rule_actions_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email_rule_action" + }, + "maxItems": 1, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `email_rule_catchall-action` in responses. + */ +export const email_rule_catchall_action_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "drop", + "forward", + "worker" + ], + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "maxItems": 1, + "type": "array" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `email_rule_catchall-actions` in responses. + */ +export const email_rule_catchall_actions_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email_rule_catchall-action" + }, + "maxItems": 1, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `email_rule_catchall-matcher` in responses. + */ +export const email_rule_catchall_matcher_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "all" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `email_rule_catchall-matchers` in responses. + */ +export const email_rule_catchall_matchers_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email_rule_catchall-matcher" + }, + "type": "array" +}; + +/** + * The schema of `email_rule_enabled` in responses. + */ +export const email_rule_enabled_output: JsonSchema = { + "enum": [ + true, + false + ], + "type": "boolean" +}; + +/** + * The schema of `email_rule_identifier` in responses. + */ +export const email_rule_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_rule_matcher` in responses. + */ +export const email_rule_matcher_output: JsonSchema = { + "properties": { + "field": { + "enum": [ + "to" + ], + "type": "string" + }, + "type": { + "enum": [ + "all", + "literal" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `email_rule_matchers` in responses. + */ +export const email_rule_matchers_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email_rule_matcher" + }, + "type": "array" +}; + +/** + * The schema of `email_rule_name` in responses. + */ +export const email_rule_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_rule_priority` in responses. + */ +export const email_rule_priority_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `email_rule_properties` in responses. + */ +export const email_rule_properties_output: JsonSchema = { + "properties": { + "actions": { + "$ref": "#/$defs/email_rule_actions" + }, + "enabled": { + "$ref": "#/$defs/email_rule_enabled" + }, + "id": { + "$ref": "#/$defs/email_rule_identifier" + }, + "matchers": { + "$ref": "#/$defs/email_rule_matchers" + }, + "name": { + "$ref": "#/$defs/email_rule_name" + }, + "priority": { + "$ref": "#/$defs/email_rule_priority" + }, + "source": { + "$ref": "#/$defs/email_rule_source" + }, + "tag": { + "$ref": "#/$defs/email_rule_tag" + } + }, + "type": "object" +}; + +/** + * The schema of `email_rule_source` in responses. + */ +export const email_rule_source_output: JsonSchema = { + "enum": [ + "api", + "wrangler" + ], + "type": "string" +}; + +/** + * The schema of `email_rule_tag` in responses. + */ +export const email_rule_tag_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/emailRouting/rules/tools.ts b/src/generated/forge-mcp/emailRouting/rules/tools.ts index b5cbf2c5..833a3f78 100644 --- a/src/generated/forge-mcp/emailRouting/rules/tools.ts +++ b/src/generated/forge-mcp/emailRouting/rules/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_account_rule_output, + email_account_rule_zone_output, + email_account_rules_plan_change_output, + email_account_rules_plan_output, + email_account_rules_plan_remote_rule_output, + email_account_rules_plan_zone_output, + email_identifier_output, + email_rule_action_output, + email_rule_actions_output, + email_rule_enabled_output, + email_rule_identifier_output, + email_rule_matcher_output, + email_rule_matchers_output, + email_rule_name_output, + email_rule_priority_output, + email_rule_properties_output, + email_rule_source_output, + email_rule_tag_output, +} from "./outputs.js"; import { email_account_rules_plan_catch_all_entry, email_account_rules_plan_catch_all_rule, @@ -90,6 +110,28 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_rule_properties" + }, + "400": null, + "422": null + }, + $defs: { + "email_rule_action": email_rule_action_output, + "email_rule_actions": email_rule_actions_output, + "email_rule_enabled": email_rule_enabled_output, + "email_rule_identifier": email_rule_identifier_output, + "email_rule_matcher": email_rule_matcher_output, + "email_rule_matchers": email_rule_matchers_output, + "email_rule_name": email_rule_name_output, + "email_rule_priority": email_rule_priority_output, + "email_rule_properties": email_rule_properties_output, + "email_rule_source": email_rule_source_output, + "email_rule_tag": email_rule_tag_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -146,6 +188,27 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_rule_properties" + }, + "404": null + }, + $defs: { + "email_rule_action": email_rule_action_output, + "email_rule_actions": email_rule_actions_output, + "email_rule_enabled": email_rule_enabled_output, + "email_rule_identifier": email_rule_identifier_output, + "email_rule_matcher": email_rule_matcher_output, + "email_rule_matchers": email_rule_matchers_output, + "email_rule_name": email_rule_name_output, + "email_rule_priority": email_rule_priority_output, + "email_rule_properties": email_rule_properties_output, + "email_rule_source": email_rule_source_output, + "email_rule_tag": email_rule_tag_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/rules/${pathParam(args, "rule_identifier")}`, }), @@ -202,6 +265,27 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_rule_properties" + }, + "404": null + }, + $defs: { + "email_rule_action": email_rule_action_output, + "email_rule_actions": email_rule_actions_output, + "email_rule_enabled": email_rule_enabled_output, + "email_rule_identifier": email_rule_identifier_output, + "email_rule_matcher": email_rule_matcher_output, + "email_rule_matchers": email_rule_matchers_output, + "email_rule_name": email_rule_name_output, + "email_rule_priority": email_rule_priority_output, + "email_rule_properties": email_rule_properties_output, + "email_rule_source": email_rule_source_output, + "email_rule_tag": email_rule_tag_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/rules/${pathParam(args, "rule_identifier")}`, }), @@ -267,6 +351,56 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email_account_rule" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "403": null + }, + $defs: { + "email_account_rule": email_account_rule_output, + "email_account_rule_zone": email_account_rule_zone_output, + "email_rule_action": email_rule_action_output, + "email_rule_actions": email_rule_actions_output, + "email_rule_enabled": email_rule_enabled_output, + "email_rule_identifier": email_rule_identifier_output, + "email_rule_matcher": email_rule_matcher_output, + "email_rule_matchers": email_rule_matchers_output, + "email_rule_name": email_rule_name_output, + "email_rule_priority": email_rule_priority_output, + "email_rule_source": email_rule_source_output, + "email_rule_tag": email_rule_tag_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/email/routing/rules`, query: [ @@ -330,6 +464,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_account_rules_plan" + }, + "400": null, + "403": null, + "422": null + }, + $defs: { + "email_account_rules_plan": email_account_rules_plan_output, + "email_account_rules_plan_change": email_account_rules_plan_change_output, + "email_account_rules_plan_remote_rule": email_account_rules_plan_remote_rule_output, + "email_account_rules_plan_zone": email_account_rules_plan_zone_output, + "email_identifier": email_identifier_output, + "email_rule_action": email_rule_action_output, + "email_rule_actions": email_rule_actions_output, + "email_rule_enabled": email_rule_enabled_output, + "email_rule_identifier": email_rule_identifier_output, + "email_rule_matcher": email_rule_matcher_output, + "email_rule_matchers": email_rule_matchers_output, + "email_rule_source": email_rule_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/routing/rules/plan`, body: { value: args["body"], mediaType: "application/json" }, @@ -402,6 +560,28 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_rule_properties" + }, + "400": null, + "422": null + }, + $defs: { + "email_rule_action": email_rule_action_output, + "email_rule_actions": email_rule_actions_output, + "email_rule_enabled": email_rule_enabled_output, + "email_rule_identifier": email_rule_identifier_output, + "email_rule_matcher": email_rule_matcher_output, + "email_rule_matchers": email_rule_matchers_output, + "email_rule_name": email_rule_name_output, + "email_rule_priority": email_rule_priority_output, + "email_rule_properties": email_rule_properties_output, + "email_rule_source": email_rule_source_output, + "email_rule_tag": email_rule_tag_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/rules/${pathParam(args, "rule_identifier")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailRouting/settings/tools.ts b/src/generated/forge-mcp/emailRouting/settings/tools.ts index 2407adce..5c9fe8ca 100644 --- a/src/generated/forge-mcp/emailRouting/settings/tools.ts +++ b/src/generated/forge-mcp/emailRouting/settings/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_email_setting_created_output, + email_email_setting_enabled_output, + email_email_setting_identifier_output, + email_email_setting_modified_output, + email_email_setting_name_output, + email_email_setting_skip_wizard_output, + email_email_setting_status_output, + email_email_setting_support_subaddress_output, + email_email_setting_tag_output, + email_email_settings_properties_output, +} from "../outputs.js"; import { email_update_email_routing_settings_properties } from "./schemas.js"; /** @@ -61,6 +73,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_email_settings_properties" + }, + "403": null + }, + $defs: { + "email_email_setting_created": email_email_setting_created_output, + "email_email_setting_enabled": email_email_setting_enabled_output, + "email_email_setting_identifier": email_email_setting_identifier_output, + "email_email_setting_modified": email_email_setting_modified_output, + "email_email_setting_name": email_email_setting_name_output, + "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, + "email_email_setting_status": email_email_setting_status_output, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, + "email_email_setting_tag": email_email_setting_tag_output, + "email_email_settings_properties": email_email_settings_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing`, body: { value: args["body"], mediaType: "application/json" }, @@ -113,6 +145,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_email_settings_properties" + }, + "403": null + }, + $defs: { + "email_email_setting_created": email_email_setting_created_output, + "email_email_setting_enabled": email_email_setting_enabled_output, + "email_email_setting_identifier": email_email_setting_identifier_output, + "email_email_setting_modified": email_email_setting_modified_output, + "email_email_setting_name": email_email_setting_name_output, + "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, + "email_email_setting_status": email_email_setting_status_output, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, + "email_email_setting_tag": email_email_setting_tag_output, + "email_email_settings_properties": email_email_settings_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing`, }), @@ -170,6 +222,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_email_settings_properties" + }, + "403": null + }, + $defs: { + "email_email_setting_created": email_email_setting_created_output, + "email_email_setting_enabled": email_email_setting_enabled_output, + "email_email_setting_identifier": email_email_setting_identifier_output, + "email_email_setting_modified": email_email_setting_modified_output, + "email_email_setting_name": email_email_setting_name_output, + "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, + "email_email_setting_status": email_email_setting_status_output, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, + "email_email_setting_tag": email_email_setting_tag_output, + "email_email_settings_properties": email_email_settings_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailRouting/tools.ts b/src/generated/forge-mcp/emailRouting/tools.ts index b238b486..a5c9d97b 100644 --- a/src/generated/forge-mcp/emailRouting/tools.ts +++ b/src/generated/forge-mcp/emailRouting/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + email_email_setting_created_output, + email_email_setting_enabled_output, + email_email_setting_identifier_output, + email_email_setting_modified_output, + email_email_setting_name_output, + email_email_setting_skip_wizard_output, + email_email_setting_status_output, + email_email_setting_support_subaddress_output, + email_email_setting_tag_output, + email_email_settings_properties_output, +} from "./outputs.js"; import { email_email_setting_dns_request_body, email_email_setting_name, @@ -54,6 +66,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_email_settings_properties" + }, + "403": null + }, + $defs: { + "email_email_setting_created": email_email_setting_created_output, + "email_email_setting_enabled": email_email_setting_enabled_output, + "email_email_setting_identifier": email_email_setting_identifier_output, + "email_email_setting_modified": email_email_setting_modified_output, + "email_email_setting_name": email_email_setting_name_output, + "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, + "email_email_setting_status": email_email_setting_status_output, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, + "email_email_setting_tag": email_email_setting_tag_output, + "email_email_settings_properties": email_email_settings_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/dns`, body: { value: args["body"], mediaType: "application/json" }, @@ -112,6 +144,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_email_settings_properties" + }, + "403": null + }, + $defs: { + "email_email_setting_created": email_email_setting_created_output, + "email_email_setting_enabled": email_email_setting_enabled_output, + "email_email_setting_identifier": email_email_setting_identifier_output, + "email_email_setting_modified": email_email_setting_modified_output, + "email_email_setting_name": email_email_setting_name_output, + "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, + "email_email_setting_status": email_email_setting_status_output, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, + "email_email_setting_tag": email_email_setting_tag_output, + "email_email_settings_properties": email_email_settings_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/dns`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts b/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts new file mode 100644 index 00000000..0f2a2533 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts @@ -0,0 +1,114 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_AllowPolicy` in responses. + */ +export const email_security_AllowPolicy_output: JsonSchema = { + "properties": { + "comments": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "$ref": "#/$defs/email-security_AllowPolicyId" + }, + "is_acceptable_sender": { + "type": "boolean" + }, + "is_exempt_recipient": { + "type": "boolean" + }, + "is_recipient": { + "type": "boolean" + }, + "is_regex": { + "type": "boolean" + }, + "is_sender": { + "type": "boolean" + }, + "is_spoof": { + "type": "boolean" + }, + "is_trusted_sender": { + "type": "boolean" + }, + "last_modified": { + "$ref": "#/$defs/email-security_timestamp" + }, + "modified_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "pattern": { + "type": "string" + }, + "pattern_type": { + "$ref": "#/$defs/email-security_PatternType" + }, + "verify_sender": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "id", + "last_modified" + ], + "type": "object" +}; + +/** + * The schema of `email-security_AllowPolicyId` in responses. + */ +export const email_security_AllowPolicyId_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `email-security_AllowPolicyList` in responses. + */ +export const email_security_AllowPolicyList_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email-security_AllowPolicy" + }, + "type": "array" +}; + +/** + * The schema of `email-security_DeletedAllowPolicy` in responses. + */ +export const email_security_DeletedAllowPolicy_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/email-security_AllowPolicyId" + } + }, + "required": [ + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts b/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts index 8532d2ae..f4500adb 100644 --- a/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts @@ -2,10 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_PatternType_output, + email_security_api_response_common_failure_output, + email_security_messages_output, + email_security_timestamp_output, +} from "../outputs.js"; import { email_security_PatternType, email_security_identifier, } from "../schemas.js"; +import { + email_security_AllowPolicyId_output, + email_security_AllowPolicyList_output, + email_security_AllowPolicy_output, + email_security_DeletedAllowPolicy_output, +} from "./outputs.js"; import { email_security_AllowPolicyId, email_security_CreateAllowPolicy, @@ -139,6 +151,43 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "deletes": { + "items": { + "$ref": "#/$defs/email-security_DeletedAllowPolicy" + }, + "type": "array" + }, + "patches": { + "$ref": "#/$defs/email-security_AllowPolicyList" + }, + "posts": { + "$ref": "#/$defs/email-security_AllowPolicyList" + }, + "puts": { + "$ref": "#/$defs/email-security_AllowPolicyList" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_AllowPolicy": email_security_AllowPolicy_output, + "email-security_AllowPolicyId": email_security_AllowPolicyId_output, + "email-security_AllowPolicyList": email_security_AllowPolicyList_output, + "email-security_DeletedAllowPolicy": email_security_DeletedAllowPolicy_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/allow_policies/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -184,6 +233,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email-security_AllowPolicy" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_AllowPolicy": email_security_AllowPolicy_output, + "email-security_AllowPolicyId": email_security_AllowPolicyId_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/allow_policies`, body: { value: args["body"], mediaType: "application/json" }, @@ -229,6 +296,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_DeletedAllowPolicy" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_AllowPolicyId": email_security_AllowPolicyId_output, + "email-security_DeletedAllowPolicy": email_security_DeletedAllowPolicy_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/allow_policies/${pathParam(args, "policy_id")}`, }), @@ -279,6 +362,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_AllowPolicy" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_AllowPolicy": email_security_AllowPolicy_output, + "email-security_AllowPolicyId": email_security_AllowPolicyId_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/allow_policies/${pathParam(args, "policy_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -325,6 +426,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_AllowPolicy" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_AllowPolicy": email_security_AllowPolicy_output, + "email-security_AllowPolicyId": email_security_AllowPolicyId_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/allow_policies/${pathParam(args, "policy_id")}`, }), @@ -423,6 +542,50 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/email-security_AllowPolicyList" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_AllowPolicy": email_security_AllowPolicy_output, + "email-security_AllowPolicyId": email_security_AllowPolicyId_output, + "email-security_AllowPolicyList": email_security_AllowPolicyList_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/allow_policies`, query: [ @@ -484,6 +647,24 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_AllowPolicy" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_AllowPolicy": email_security_AllowPolicy_output, + "email-security_AllowPolicyId": email_security_AllowPolicyId_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/allow_policies/${pathParam(args, "policy_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts b/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts index 6a4b2ff4..dc544525 100644 --- a/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../../outputs.js"; import { email_security_identifier } from "../../schemas.js"; /** @@ -40,6 +44,39 @@ export const tools: readonly Tool[] = [ "x-api-token-group": null, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "by_month": { + "additionalProperties": { + "items": { + "properties": { + "disposition": { + "type": "string" + }, + "total": { + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/analytics/monthly_report`, }), diff --git a/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts b/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts new file mode 100644 index 00000000..ae18592c --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts @@ -0,0 +1,88 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_BlockedSender` in responses. + */ +export const email_security_BlockedSender_output: JsonSchema = { + "properties": { + "comments": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "$ref": "#/$defs/email-security_BlockedSenderId" + }, + "is_regex": { + "type": "boolean" + }, + "last_modified": { + "$ref": "#/$defs/email-security_timestamp" + }, + "modified_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "pattern": { + "type": "string" + }, + "pattern_type": { + "$ref": "#/$defs/email-security_PatternType" + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_BlockedSenderId` in responses. + */ +export const email_security_BlockedSenderId_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `email-security_BlockedSenderList` in responses. + */ +export const email_security_BlockedSenderList_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email-security_BlockedSender" + }, + "type": "array" +}; + +/** + * The schema of `email-security_DeletedBlockedSender` in responses. + */ +export const email_security_DeletedBlockedSender_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/email-security_BlockedSenderId" + } + }, + "required": [ + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts b/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts index 1d04635b..ba685260 100644 --- a/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts @@ -2,10 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_PatternType_output, + email_security_api_response_common_failure_output, + email_security_messages_output, + email_security_timestamp_output, +} from "../outputs.js"; import { email_security_PatternType, email_security_identifier, } from "../schemas.js"; +import { + email_security_BlockedSenderId_output, + email_security_BlockedSenderList_output, + email_security_BlockedSender_output, + email_security_DeletedBlockedSender_output, +} from "./outputs.js"; import { email_security_BlockedSenderId, email_security_CreateBlockedSender, @@ -139,6 +151,43 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "deletes": { + "items": { + "$ref": "#/$defs/email-security_DeletedBlockedSender" + }, + "type": "array" + }, + "patches": { + "$ref": "#/$defs/email-security_BlockedSenderList" + }, + "posts": { + "$ref": "#/$defs/email-security_BlockedSenderList" + }, + "puts": { + "$ref": "#/$defs/email-security_BlockedSenderList" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BlockedSender": email_security_BlockedSender_output, + "email-security_BlockedSenderId": email_security_BlockedSenderId_output, + "email-security_BlockedSenderList": email_security_BlockedSenderList_output, + "email-security_DeletedBlockedSender": email_security_DeletedBlockedSender_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/block_senders/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -184,6 +233,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email-security_BlockedSender" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BlockedSender": email_security_BlockedSender_output, + "email-security_BlockedSenderId": email_security_BlockedSenderId_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/block_senders`, body: { value: args["body"], mediaType: "application/json" }, @@ -229,6 +296,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_DeletedBlockedSender" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BlockedSenderId": email_security_BlockedSenderId_output, + "email-security_DeletedBlockedSender": email_security_DeletedBlockedSender_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/block_senders/${pathParam(args, "pattern_id")}`, }), @@ -279,6 +362,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_BlockedSender" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BlockedSender": email_security_BlockedSender_output, + "email-security_BlockedSenderId": email_security_BlockedSenderId_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/block_senders/${pathParam(args, "pattern_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -325,6 +426,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_BlockedSender" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BlockedSender": email_security_BlockedSender_output, + "email-security_BlockedSenderId": email_security_BlockedSenderId_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/block_senders/${pathParam(args, "pattern_id")}`, }), @@ -407,6 +526,50 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/email-security_BlockedSenderList" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BlockedSender": email_security_BlockedSender_output, + "email-security_BlockedSenderId": email_security_BlockedSenderId_output, + "email-security_BlockedSenderList": email_security_BlockedSenderList_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/block_senders`, query: [ @@ -464,6 +627,24 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_BlockedSender" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BlockedSender": email_security_BlockedSender_output, + "email-security_BlockedSenderId": email_security_BlockedSenderId_output, + "email-security_PatternType": email_security_PatternType_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/block_senders/${pathParam(args, "pattern_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts new file mode 100644 index 00000000..2ca89f33 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts @@ -0,0 +1,177 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email-security_BulkActionMessageDetail` in responses. + */ +export const email_security_BulkActionMessageDetail_output: JsonSchema = { + "properties": { + "action_params": { + "$ref": "#/$defs/email-security_BulkMessageActionParams" + }, + "action_type": { + "enum": [ + "MOVE", + "RELEASE" + ], + "type": "string" + }, + "alert_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "email_message_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "message": { + "$ref": "#/$defs/email-security_MessageDetails" + }, + "message_id": { + "format": "uuid", + "type": "string" + }, + "postfix_id": { + "type": "string" + }, + "processed_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_after": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "retry_count": { + "type": "integer" + }, + "status": { + "$ref": "#/$defs/email-security_BulkActionMessageStatus" + }, + "status_message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "action_params", + "action_type", + "created_at", + "message_id", + "postfix_id", + "retry_count", + "status" + ], + "type": "object" +}; + +/** + * The schema of `email-security_BulkActionMessageStatus` in responses. + */ +export const email_security_BulkActionMessageStatus_output: JsonSchema = { + "enum": [ + "PENDING", + "PROCESSING", + "COMPLETED", + "FAILED", + "CANCELLED", + "SKIPPED" + ], + "type": "string" +}; + +/** + * The schema of `email-security_BulkMessageActionParams` in responses. + */ +export const email_security_BulkMessageActionParams_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "client_recipient": { + "type": "string" + }, + "destination": { + "$ref": "#/$defs/email-security_MailboxDestination" + }, + "expected_disposition": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + { + "type": "null" + } + ] + }, + "type": { + "enum": [ + "MOVE" + ], + "type": "string" + } + }, + "required": [ + "client_recipient", + "destination", + "type" + ], + "type": "object" + }, + { + "properties": { + "client_recipient": { + "type": "string" + }, + "type": { + "enum": [ + "RELEASE" + ], + "type": "string" + } + }, + "required": [ + "client_recipient", + "type" + ], + "type": "object" + } + ] +}; diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts index 0ec46119..b8395ac7 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts @@ -2,8 +2,32 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_security_ActionLogEntry_output, + email_security_ActionLogEntry_properties_output, + email_security_CursorResultInfo_output, + email_security_DispositionLabel_output, + email_security_InvestigateId_output, + email_security_MailboxDestination_output, + email_security_MessageDeliveryMode_output, + email_security_MessageDeliveryStatus_output, + email_security_MessageDetails_findingsItem_output, + email_security_MessageDetails_output, + email_security_MessageDetails_properties_output, + email_security_MessageDetails_validation_output, + email_security_PostfixId_output, + email_security_ValidationStatus_output, + email_security_Validation_output, + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../../outputs.js"; import { email_security_identifier } from "../../schemas.js"; import { email_security_BulkJobId } from "../schemas.js"; +import { + email_security_BulkActionMessageDetail_output, + email_security_BulkActionMessageStatus_output, + email_security_BulkMessageActionParams_output, +} from "./outputs.js"; import { email_security_BulkActionMessageStatus } from "./schemas.js"; /** @@ -66,6 +90,52 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email-security_BulkActionMessageDetail" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/email-security_CursorResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ActionLogEntry": email_security_ActionLogEntry_output, + "email-security_ActionLogEntry_properties": email_security_ActionLogEntry_properties_output, + "email-security_BulkActionMessageDetail": email_security_BulkActionMessageDetail_output, + "email-security_BulkActionMessageStatus": email_security_BulkActionMessageStatus_output, + "email-security_BulkMessageActionParams": email_security_BulkMessageActionParams_output, + "email-security_CursorResultInfo": email_security_CursorResultInfo_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_InvestigateId": email_security_InvestigateId_output, + "email-security_MailboxDestination": email_security_MailboxDestination_output, + "email-security_MessageDeliveryMode": email_security_MessageDeliveryMode_output, + "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, + "email-security_MessageDetails": email_security_MessageDetails_output, + "email-security_MessageDetails_findingsItem": email_security_MessageDetails_findingsItem_output, + "email-security_MessageDetails_properties": email_security_MessageDetails_properties_output, + "email-security_MessageDetails_validation": email_security_MessageDetails_validation_output, + "email-security_PostfixId": email_security_PostfixId_output, + "email-security_Validation": email_security_Validation_output, + "email-security_ValidationStatus": email_security_ValidationStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/bulk/${pathParam(args, "job_id")}/messages`, query: [ diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts new file mode 100644 index 00000000..c8fd85f7 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts @@ -0,0 +1,337 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_BulkJobActionParams` in responses. + */ +export const email_security_BulkJobActionParams_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "destination": { + "$ref": "#/$defs/email-security_MailboxDestination" + }, + "expected_disposition": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + { + "type": "null" + } + ] + }, + "type": { + "enum": [ + "MOVE" + ], + "type": "string" + } + }, + "required": [ + "destination", + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "enum": [ + "RELEASE" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `email-security_BulkJobDetail` in responses. + */ +export const email_security_BulkJobDetail_output: JsonSchema = { + "properties": { + "action_params": { + "$ref": "#/$defs/email-security_BulkJobActionParams" + }, + "action_type": { + "enum": [ + "MOVE", + "RELEASE" + ], + "type": "string" + }, + "comment": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "completed_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "job_id": { + "format": "uuid", + "type": "string" + }, + "messages_cancelled": { + "type": "integer" + }, + "messages_failed": { + "type": "integer" + }, + "messages_pending": { + "type": "integer" + }, + "messages_skipped": { + "type": "integer" + }, + "messages_successful": { + "type": "integer" + }, + "search_params": { + "$ref": "#/$defs/email-security_BulkSearchParams" + }, + "started_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "$ref": "#/$defs/email-security_BulkJobStatus" + }, + "status_message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "total_messages_discovered": { + "type": "integer" + } + }, + "required": [ + "action_params", + "action_type", + "created_at", + "job_id", + "messages_cancelled", + "messages_failed", + "messages_pending", + "messages_skipped", + "messages_successful", + "search_params", + "status", + "total_messages_discovered" + ], + "type": "object" +}; + +/** + * The schema of `email-security_BulkJobStatus` in responses. + */ +export const email_security_BulkJobStatus_output: JsonSchema = { + "enum": [ + "PENDING", + "DISCOVERING", + "PROCESSING", + "COMPLETED", + "FAILED", + "CANCELLED" + ], + "type": "string" +}; + +/** + * The schema of `email-security_BulkSearchParams` in responses. + */ +export const email_security_BulkSearchParams_output: JsonSchema = { + "properties": { + "action_log": { + "type": "boolean" + }, + "alert_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "delivery_status": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_MessageDeliveryStatus" + }, + { + "type": "null" + } + ] + }, + "detections_only": { + "type": "boolean" + }, + "domain": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "end": { + "format": "date-time", + "type": "string" + }, + "exact_subject": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "final_disposition": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + { + "type": "null" + } + ] + }, + "message_action": { + "oneOf": [ + { + "enum": [ + "PREVIEW", + "QUARANTINE_RELEASED", + "MOVED" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "message_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "metric": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "query": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "recipient": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sender": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "smtp_helo_ip": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "start": { + "format": "date-time", + "type": "string" + }, + "subject": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "submissions": { + "type": "boolean" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts index 7e8d9797..087d9427 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts @@ -2,12 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_CursorResultInfo_output, + email_security_DispositionLabel_output, + email_security_MailboxDestination_output, + email_security_MessageDeliveryStatus_output, + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../outputs.js"; import { email_security_DispositionLabel, email_security_MailboxDestination, email_security_MessageDeliveryStatus, email_security_identifier, } from "../schemas.js"; +import { + email_security_BulkJobActionParams_output, + email_security_BulkJobDetail_output, + email_security_BulkJobStatus_output, + email_security_BulkSearchParams_output, +} from "./outputs.js"; import { email_security_BulkActionRequest, email_security_BulkJobId, @@ -59,6 +73,27 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_BulkJobDetail" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, + "email-security_BulkJobDetail": email_security_BulkJobDetail_output, + "email-security_BulkJobStatus": email_security_BulkJobStatus_output, + "email-security_BulkSearchParams": email_security_BulkSearchParams_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_MailboxDestination": email_security_MailboxDestination_output, + "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/bulk/${pathParam(args, "job_id")}/cancel`, }), @@ -106,6 +141,27 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email-security_BulkJobDetail" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, + "email-security_BulkJobDetail": email_security_BulkJobDetail_output, + "email-security_BulkJobStatus": email_security_BulkJobStatus_output, + "email-security_BulkSearchParams": email_security_BulkSearchParams_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_MailboxDestination": email_security_MailboxDestination_output, + "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -148,6 +204,29 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/bulk/${pathParam(args, "job_id")}`, }), @@ -193,6 +272,27 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_BulkJobDetail" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, + "email-security_BulkJobDetail": email_security_BulkJobDetail_output, + "email-security_BulkJobStatus": email_security_BulkJobStatus_output, + "email-security_BulkSearchParams": email_security_BulkSearchParams_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_MailboxDestination": email_security_MailboxDestination_output, + "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/bulk/${pathParam(args, "job_id")}`, }), @@ -255,6 +355,42 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email-security_BulkJobDetail" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/email-security_CursorResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, + "email-security_BulkJobDetail": email_security_BulkJobDetail_output, + "email-security_BulkJobStatus": email_security_BulkJobStatus_output, + "email-security_BulkSearchParams": email_security_BulkSearchParams_output, + "email-security_CursorResultInfo": email_security_CursorResultInfo_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_MailboxDestination": email_security_MailboxDestination_output, + "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/bulk`, query: [ diff --git a/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts b/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts new file mode 100644 index 00000000..44b241b8 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts @@ -0,0 +1,103 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_ContentPolicy` in responses. + */ +export const email_security_ContentPolicy_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "enabled": { + "type": "boolean" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "$ref": "#/$defs/email-security_ContentPolicyId" + }, + "modified_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "name": { + "type": "string" + }, + "notes": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "pattern": { + "type": "string" + }, + "targets": { + "items": { + "$ref": "#/$defs/email-security_ContentPolicyTarget" + }, + "minItems": 1, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_ContentPolicyId` in responses. + */ +export const email_security_ContentPolicyId_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `email-security_ContentPolicyList` in responses. + */ +export const email_security_ContentPolicyList_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email-security_ContentPolicy" + }, + "type": "array" +}; + +/** + * The schema of `email-security_ContentPolicyTarget` in responses. + */ +export const email_security_ContentPolicyTarget_output: JsonSchema = { + "enum": [ + "SUBJECT", + "BODY" + ], + "type": "string" +}; + +/** + * The schema of `email-security_DeletedContentPolicy` in responses. + */ +export const email_security_DeletedContentPolicy_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/email-security_ContentPolicyId" + } + }, + "required": [ + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts b/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts index 5c1c8315..1d991bdf 100644 --- a/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts @@ -2,7 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, + email_security_timestamp_output, +} from "../outputs.js"; import { email_security_identifier } from "../schemas.js"; +import { + email_security_ContentPolicyId_output, + email_security_ContentPolicyList_output, + email_security_ContentPolicyTarget_output, + email_security_ContentPolicy_output, + email_security_DeletedContentPolicy_output, +} from "./outputs.js"; import { email_security_ContentPolicyId, email_security_ContentPolicyTarget, @@ -137,6 +149,43 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "deletes": { + "items": { + "$ref": "#/$defs/email-security_DeletedContentPolicy" + }, + "type": "array" + }, + "patches": { + "$ref": "#/$defs/email-security_ContentPolicyList" + }, + "posts": { + "$ref": "#/$defs/email-security_ContentPolicyList" + }, + "puts": { + "$ref": "#/$defs/email-security_ContentPolicyList" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ContentPolicy": email_security_ContentPolicy_output, + "email-security_ContentPolicyId": email_security_ContentPolicyId_output, + "email-security_ContentPolicyList": email_security_ContentPolicyList_output, + "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, + "email-security_DeletedContentPolicy": email_security_DeletedContentPolicy_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/content_policies/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -182,6 +231,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email-security_ContentPolicy" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ContentPolicy": email_security_ContentPolicy_output, + "email-security_ContentPolicyId": email_security_ContentPolicyId_output, + "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/content_policies`, body: { value: args["body"], mediaType: "application/json" }, @@ -227,6 +294,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_DeletedContentPolicy" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ContentPolicyId": email_security_ContentPolicyId_output, + "email-security_DeletedContentPolicy": email_security_DeletedContentPolicy_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/content_policies/${pathParam(args, "policy_id")}`, }), @@ -277,6 +360,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_ContentPolicy" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ContentPolicy": email_security_ContentPolicy_output, + "email-security_ContentPolicyId": email_security_ContentPolicyId_output, + "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/content_policies/${pathParam(args, "policy_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -323,6 +424,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_ContentPolicy" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ContentPolicy": email_security_ContentPolicy_output, + "email-security_ContentPolicyId": email_security_ContentPolicyId_output, + "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/content_policies/${pathParam(args, "policy_id")}`, }), @@ -404,6 +523,50 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/email-security_ContentPolicyList" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ContentPolicy": email_security_ContentPolicy_output, + "email-security_ContentPolicyId": email_security_ContentPolicyId_output, + "email-security_ContentPolicyList": email_security_ContentPolicyList_output, + "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/content_policies`, query: [ diff --git a/src/generated/forge-mcp/emailSecurity/domains/outputs.ts b/src/generated/forge-mcp/emailSecurity/domains/outputs.ts new file mode 100644 index 00000000..0e8116e8 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/domains/outputs.ts @@ -0,0 +1,352 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_DeletedDomain` in responses. + */ +export const email_security_DeletedDomain_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/email-security_DomainId" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `email-security_DeliveryMode` in responses. + */ +export const email_security_DeliveryMode_output: JsonSchema = { + "enum": [ + "DIRECT", + "BCC", + "JOURNAL", + "API", + "RETRO_SCAN" + ], + "type": "string" +}; + +/** + * The schema of `email-security_DmarcStatus` in responses. + */ +export const email_security_DmarcStatus_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "none", + "good", + "invalid" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_Domain` in responses. + */ +export const email_security_Domain_output: JsonSchema = { + "properties": { + "allowed_delivery_modes": { + "items": { + "$ref": "#/$defs/email-security_DeliveryMode" + }, + "type": "array" + }, + "authorization": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_DomainAuthorization" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "dmarc_status": { + "$ref": "#/$defs/email-security_DmarcStatus" + }, + "domain": { + "type": "string" + }, + "drop_dispositions": { + "items": { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + "type": "array" + }, + "emails_processed": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_EmailsProcessed" + }, + { + "type": "null" + } + ] + }, + "folder": { + "$ref": "#/$defs/email-security_ScannableFolder" + }, + "id": { + "$ref": "#/$defs/email-security_DomainId" + }, + "inbox_provider": { + "oneOf": [ + { + "enum": [ + "Microsoft", + "Google" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "integration_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ip_restrictions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "last_modified": { + "$ref": "#/$defs/email-security_timestamp" + }, + "lookback_hops": { + "type": "integer" + }, + "modified_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "o365_tenant_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "regions": { + "items": { + "$ref": "#/$defs/email-security_Region" + }, + "type": "array" + }, + "require_tls_inbound": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "require_tls_outbound": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "spf_status": { + "$ref": "#/$defs/email-security_SpfStatus" + }, + "status": { + "$ref": "#/$defs/email-security_DomainStatus" + }, + "transport": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_DomainAuthorization` in responses. + */ +export const email_security_DomainAuthorization_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "authorized": { + "type": "boolean" + }, + "status_message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "authorized", + "timestamp" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_DomainId` in responses. + */ +export const email_security_DomainId_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `email-security_DomainList` in responses. + */ +export const email_security_DomainList_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email-security_Domain" + }, + "type": "array" +}; + +/** + * The schema of `email-security_DomainStatus` in responses. + */ +export const email_security_DomainStatus_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "PENDING", + "ACTIVE", + "FAILED", + "TIMEOUT" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_EmailsProcessed` in responses. + */ +export const email_security_EmailsProcessed_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "timestamp": { + "format": "date-time", + "type": "string" + }, + "total_emails_processed": { + "type": "integer" + }, + "total_emails_processed_previous": { + "type": "integer" + } + }, + "required": [ + "timestamp", + "total_emails_processed", + "total_emails_processed_previous" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_Region` in responses. + */ +export const email_security_Region_output: JsonSchema = { + "enum": [ + "GLOBAL", + "AU", + "DE", + "IN", + "US" + ], + "type": "string" +}; + +/** + * The schema of `email-security_ScannableFolder` in responses. + */ +export const email_security_ScannableFolder_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "AllItems", + "Inbox" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_SpfStatus` in responses. + */ +export const email_security_SpfStatus_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "none", + "good", + "neutral", + "open", + "invalid" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/emailSecurity/domains/tools.ts b/src/generated/forge-mcp/emailSecurity/domains/tools.ts index d7cdf7ce..73453d55 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/tools.ts @@ -2,10 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_DispositionLabel_output, + email_security_api_response_common_failure_output, + email_security_messages_output, + email_security_timestamp_output, +} from "../outputs.js"; import { email_security_DispositionLabel, email_security_identifier, } from "../schemas.js"; +import { + email_security_DeletedDomain_output, + email_security_DeliveryMode_output, + email_security_DmarcStatus_output, + email_security_DomainAuthorization_output, + email_security_DomainId_output, + email_security_DomainList_output, + email_security_DomainStatus_output, + email_security_Domain_output, + email_security_EmailsProcessed_output, + email_security_Region_output, + email_security_ScannableFolder_output, + email_security_SpfStatus_output, +} from "./outputs.js"; import { email_security_CreateDomain, email_security_DeliveryMode, @@ -148,6 +168,57 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "deletes": { + "items": { + "$ref": "#/$defs/email-security_DeletedDomain" + }, + "type": "array" + }, + "patches": { + "$ref": "#/$defs/email-security_DomainList" + }, + "posts": { + "$ref": "#/$defs/email-security_DomainList" + }, + "puts": { + "$ref": "#/$defs/email-security_DomainList" + } + }, + "required": [ + "deletes", + "patches", + "posts", + "puts" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeletedDomain": email_security_DeletedDomain_output, + "email-security_DeliveryMode": email_security_DeliveryMode_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_DmarcStatus": email_security_DmarcStatus_output, + "email-security_Domain": email_security_Domain_output, + "email-security_DomainAuthorization": email_security_DomainAuthorization_output, + "email-security_DomainId": email_security_DomainId_output, + "email-security_DomainList": email_security_DomainList_output, + "email-security_DomainStatus": email_security_DomainStatus_output, + "email-security_EmailsProcessed": email_security_EmailsProcessed_output, + "email-security_Region": email_security_Region_output, + "email-security_ScannableFolder": email_security_ScannableFolder_output, + "email-security_SpfStatus": email_security_SpfStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/domains/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -196,6 +267,32 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email-security_Domain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeliveryMode": email_security_DeliveryMode_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_DmarcStatus": email_security_DmarcStatus_output, + "email-security_Domain": email_security_Domain_output, + "email-security_DomainAuthorization": email_security_DomainAuthorization_output, + "email-security_DomainId": email_security_DomainId_output, + "email-security_DomainStatus": email_security_DomainStatus_output, + "email-security_EmailsProcessed": email_security_EmailsProcessed_output, + "email-security_Region": email_security_Region_output, + "email-security_ScannableFolder": email_security_ScannableFolder_output, + "email-security_SpfStatus": email_security_SpfStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/domains`, body: { value: args["body"], mediaType: "application/json" }, @@ -241,6 +338,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_DeletedDomain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeletedDomain": email_security_DeletedDomain_output, + "email-security_DomainId": email_security_DomainId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/domains/${pathParam(args, "domain_id")}`, }), @@ -294,6 +407,32 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_Domain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeliveryMode": email_security_DeliveryMode_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_DmarcStatus": email_security_DmarcStatus_output, + "email-security_Domain": email_security_Domain_output, + "email-security_DomainAuthorization": email_security_DomainAuthorization_output, + "email-security_DomainId": email_security_DomainId_output, + "email-security_DomainStatus": email_security_DomainStatus_output, + "email-security_EmailsProcessed": email_security_EmailsProcessed_output, + "email-security_Region": email_security_Region_output, + "email-security_ScannableFolder": email_security_ScannableFolder_output, + "email-security_SpfStatus": email_security_SpfStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/domains/${pathParam(args, "domain_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -340,6 +479,32 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_Domain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeliveryMode": email_security_DeliveryMode_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_DmarcStatus": email_security_DmarcStatus_output, + "email-security_Domain": email_security_Domain_output, + "email-security_DomainAuthorization": email_security_DomainAuthorization_output, + "email-security_DomainId": email_security_DomainId_output, + "email-security_DomainStatus": email_security_DomainStatus_output, + "email-security_EmailsProcessed": email_security_EmailsProcessed_output, + "email-security_Region": email_security_Region_output, + "email-security_ScannableFolder": email_security_ScannableFolder_output, + "email-security_SpfStatus": email_security_SpfStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/domains/${pathParam(args, "domain_id")}`, }), @@ -435,6 +600,58 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/email-security_DomainList" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeliveryMode": email_security_DeliveryMode_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_DmarcStatus": email_security_DmarcStatus_output, + "email-security_Domain": email_security_Domain_output, + "email-security_DomainAuthorization": email_security_DomainAuthorization_output, + "email-security_DomainId": email_security_DomainId_output, + "email-security_DomainList": email_security_DomainList_output, + "email-security_DomainStatus": email_security_DomainStatus_output, + "email-security_EmailsProcessed": email_security_EmailsProcessed_output, + "email-security_Region": email_security_Region_output, + "email-security_ScannableFolder": email_security_ScannableFolder_output, + "email-security_SpfStatus": email_security_SpfStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/domains`, query: [ @@ -497,6 +714,32 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_Domain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeliveryMode": email_security_DeliveryMode_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_DmarcStatus": email_security_DmarcStatus_output, + "email-security_Domain": email_security_Domain_output, + "email-security_DomainAuthorization": email_security_DomainAuthorization_output, + "email-security_DomainId": email_security_DomainId_output, + "email-security_DomainStatus": email_security_DomainStatus_output, + "email-security_EmailsProcessed": email_security_EmailsProcessed_output, + "email-security_Region": email_security_Region_output, + "email-security_ScannableFolder": email_security_ScannableFolder_output, + "email-security_SpfStatus": email_security_SpfStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/domains/${pathParam(args, "domain_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts b/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts new file mode 100644 index 00000000..6a0cfd67 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts @@ -0,0 +1,36 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email-security_DomainVerificationInfo` in responses. + */ +export const email_security_DomainVerificationInfo_output: JsonSchema = { + "properties": { + "last_checked_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "$ref": "#/$defs/email-security_DomainStatus" + }, + "txt_record_name": { + "type": "string" + }, + "txt_record_value": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts b/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts index 6efefbd7..643c0c29 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts @@ -2,8 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../../outputs.js"; import { email_security_identifier } from "../../schemas.js"; +import { email_security_DomainStatus_output } from "../outputs.js"; import { email_security_DomainId } from "../schemas.js"; +import { email_security_DomainVerificationInfo_output } from "./outputs.js"; /** * The tools of `email_security.domains.verification`. @@ -50,6 +56,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_DomainVerificationInfo" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DomainStatus": email_security_DomainStatus_output, + "email-security_DomainVerificationInfo": email_security_DomainVerificationInfo_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/domains/${pathParam(args, "domain_id")}/verification`, }), diff --git a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts new file mode 100644 index 00000000..1a706a9a --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts @@ -0,0 +1,130 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_DeletedImpersonationRegistry` in responses. + */ +export const email_security_DeletedImpersonationRegistry_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/email-security_ImpersonationRegistryId" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `email-security_ImpersonationRegistry` in responses. + */ +export const email_security_ImpersonationRegistry_output: JsonSchema = { + "properties": { + "comments": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "directory_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "directory_node_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "email": { + "type": "string" + }, + "external_directory_node_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "$ref": "#/$defs/email-security_ImpersonationRegistryId" + }, + "is_email_regex": { + "type": "boolean" + }, + "last_modified": { + "$ref": "#/$defs/email-security_timestamp" + }, + "modified_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "name": { + "type": "string" + }, + "provenance": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_Provenance" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_ImpersonationRegistryId` in responses. + */ +export const email_security_ImpersonationRegistryId_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `email-security_ImpersonationRegistryList` in responses. + */ +export const email_security_ImpersonationRegistryList_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email-security_ImpersonationRegistry" + }, + "type": "array" +}; + +/** + * The schema of `email-security_Provenance` in responses. + */ +export const email_security_Provenance_output: JsonSchema = { + "enum": [ + "A1S_INTERNAL", + "SNOOPY-CASB_OFFICE_365", + "SNOOPY-OFFICE_365", + "SNOOPY-GOOGLE_DIRECTORY" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts index 77c73fc9..2fc72584 100644 --- a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts @@ -2,7 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, + email_security_timestamp_output, +} from "../outputs.js"; import { email_security_identifier } from "../schemas.js"; +import { + email_security_DeletedImpersonationRegistry_output, + email_security_ImpersonationRegistryId_output, + email_security_ImpersonationRegistryList_output, + email_security_ImpersonationRegistry_output, + email_security_Provenance_output, +} from "./outputs.js"; import { email_security_CreateImpersonationRegistry, email_security_ImpersonationRegistryId, @@ -54,6 +66,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email-security_ImpersonationRegistry" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, + "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, + "email-security_Provenance": email_security_Provenance_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/impersonation_registry`, body: { value: args["body"], mediaType: "application/json" }, @@ -99,6 +129,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_DeletedImpersonationRegistry" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeletedImpersonationRegistry": email_security_DeletedImpersonationRegistry_output, + "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/impersonation_registry/${pathParam(args, "impersonation_registry_id")}`, }), @@ -149,6 +195,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_ImpersonationRegistry" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, + "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, + "email-security_Provenance": email_security_Provenance_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/impersonation_registry/${pathParam(args, "impersonation_registry_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -195,6 +259,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_ImpersonationRegistry" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, + "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, + "email-security_Provenance": email_security_Provenance_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/impersonation_registry/${pathParam(args, "impersonation_registry_id")}`, }), @@ -269,6 +351,50 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/email-security_ImpersonationRegistryList" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, + "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, + "email-security_ImpersonationRegistryList": email_security_ImpersonationRegistryList_output, + "email-security_Provenance": email_security_Provenance_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/impersonation_registry`, query: [ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/actionLog/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/outputs.ts new file mode 100644 index 00000000..7cfb45b0 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/outputs.ts @@ -0,0 +1,146 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email-security_ActionEntry` in responses. + */ +export const email_security_ActionEntry_output: JsonSchema = { + "properties": { + "completed_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "operation": { + "enum": [ + "PREVIEW", + "QUARANTINE_RELEASE", + "SUBMISSION", + "MOVE" + ], + "type": "string" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_ActionEntryProperties" + }, + { + "type": "null" + } + ] + }, + "started_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "success": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "operation" + ], + "type": "object" +}; + +/** + * The schema of `email-security_ActionEntryProperties` in responses. + */ +export const email_security_ActionEntryProperties_output: JsonSchema = { + "properties": { + "folder": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "requested_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "requested_disposition": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "service": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "submission_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "submission_type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts index 78a91ae1..7dcdc786 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts @@ -2,10 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../../outputs.js"; import { email_security_InvestigateId, email_security_identifier, } from "../../schemas.js"; +import { + email_security_ActionEntryProperties_output, + email_security_ActionEntry_output, +} from "./outputs.js"; /** * The tools of `email_security.investigate.action_log`. @@ -62,6 +70,50 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email-security_ActionEntry" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ActionEntry": email_security_ActionEntry_output, + "email-security_ActionEntryProperties": email_security_ActionEntryProperties_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/${pathParam(args, "investigate_id")}/action_log`, query: [ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts new file mode 100644 index 00000000..4a19b7af --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts @@ -0,0 +1,409 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email-security_Attachment` in responses. + */ +export const email_security_Attachment_output: JsonSchema = { + "properties": { + "content_type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "detection": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + { + "type": "null" + } + ] + }, + "encrypted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "filename": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "md5": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sha1": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sha256": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "size": { + "type": "integer" + } + }, + "required": [ + "size" + ], + "type": "object" +}; + +/** + * The schema of `email-security_Finding` in responses. + */ +export const email_security_Finding_output: JsonSchema = { + "properties": { + "attachment": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "detail": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "detection": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + { + "type": "null" + } + ] + }, + "field": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "portion": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "score": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_Link` in responses. + */ +export const email_security_Link_output: JsonSchema = { + "properties": { + "href": { + "type": "string" + }, + "text": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "href" + ], + "type": "object" +}; + +/** + * The schema of `email-security_MessageDetectionDetails` in responses. + */ +export const email_security_MessageDetectionDetails_output: JsonSchema = { + "properties": { + "action": { + "type": "string" + }, + "attachments": { + "items": { + "$ref": "#/$defs/email-security_Attachment" + }, + "type": "array" + }, + "final_disposition": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + { + "type": "null" + } + ] + }, + "findings": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/email-security_Finding" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "headers": { + "items": { + "$ref": "#/$defs/email-security_MessageHeader" + }, + "type": "array" + }, + "links": { + "items": { + "$ref": "#/$defs/email-security_Link" + }, + "type": "array" + }, + "sender_info": { + "$ref": "#/$defs/email-security_MessageDetectionDetails_sender_info" + }, + "threat_categories": { + "items": { + "$ref": "#/$defs/email-security_ThreatCategory" + }, + "type": "array" + }, + "validation": { + "$ref": "#/$defs/email-security_Validation" + } + }, + "required": [ + "action", + "attachments", + "findings", + "headers", + "links", + "sender_info", + "threat_categories", + "validation" + ], + "type": "object" +}; + +/** + * The schema of `email-security_MessageDetectionDetails_sender_info` in + * responses. + */ +export const email_security_MessageDetectionDetails_sender_info_output: JsonSchema = { + "properties": { + "as_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "as_number": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "geo": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ip": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "pld": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_MessageHeader` in responses. + */ +export const email_security_MessageHeader_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" +}; + +/** + * The schema of `email-security_ThreatCategory` in responses. + */ +export const email_security_ThreatCategory_output: JsonSchema = { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "integer" + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts index 787a1021..e6b59616 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts @@ -2,10 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_security_DispositionLabel_output, + email_security_ValidationStatus_output, + email_security_Validation_output, + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../../outputs.js"; import { email_security_InvestigateId, email_security_identifier, } from "../../schemas.js"; +import { + email_security_Attachment_output, + email_security_Finding_output, + email_security_Link_output, + email_security_MessageDetectionDetails_output, + email_security_MessageDetectionDetails_sender_info_output, + email_security_MessageHeader_output, + email_security_ThreatCategory_output, +} from "./outputs.js"; /** * The tools of `email_security.investigate.detections`. @@ -52,6 +68,30 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_MessageDetectionDetails" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_Attachment": email_security_Attachment_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_Finding": email_security_Finding_output, + "email-security_Link": email_security_Link_output, + "email-security_MessageDetectionDetails": email_security_MessageDetectionDetails_output, + "email-security_MessageDetectionDetails_sender_info": email_security_MessageDetectionDetails_sender_info_output, + "email-security_MessageHeader": email_security_MessageHeader_output, + "email-security_ThreatCategory": email_security_ThreatCategory_output, + "email-security_Validation": email_security_Validation_output, + "email-security_ValidationStatus": email_security_ValidationStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/${pathParam(args, "investigate_id")}/detections`, }), diff --git a/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts new file mode 100644 index 00000000..ba397a65 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts @@ -0,0 +1,144 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_MoveResponseItem` in responses. + */ +export const email_security_MoveResponseItem_output: JsonSchema = { + "properties": { + "completed_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "completed_timestamp": { + "format": "date-time", + "type": "string" + }, + "destination": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "item_count": { + "type": "integer" + }, + "message_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "operation": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "recipient": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" +}; + +/** + * The schema of `email-security_ReleaseResponse` in responses. + */ +export const email_security_ReleaseResponse_output: JsonSchema = { + "properties": { + "delivered": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "failed": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "id": { + "$ref": "#/$defs/email-security_InvestigateId" + }, + "postfix_id": { + "$ref": "#/$defs/email-security_PostfixId" + }, + "undelivered": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/investigate/preview/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/preview/outputs.ts new file mode 100644 index 00000000..6214e262 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/investigate/preview/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email-security_MessagePreview` in responses. + */ +export const email_security_MessagePreview_output: JsonSchema = { + "properties": { + "screenshot": { + "type": "string" + } + }, + "required": [ + "screenshot" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts index 73153178..54c22cc9 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts @@ -2,10 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../../outputs.js"; import { email_security_InvestigateId, email_security_identifier, } from "../../schemas.js"; +import { email_security_MessagePreview_output } from "./outputs.js"; /** * The tools of `email_security.investigate.preview`. @@ -59,6 +64,21 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_MessagePreview" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_MessagePreview": email_security_MessagePreview_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/preview`, body: { value: args["body"], mediaType: "application/json" }, @@ -105,6 +125,21 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_MessagePreview" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_MessagePreview": email_security_MessagePreview_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/${pathParam(args, "investigate_id")}/preview`, }), diff --git a/src/generated/forge-mcp/emailSecurity/investigate/raw/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/raw/outputs.ts new file mode 100644 index 00000000..225359d0 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/investigate/raw/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email-security_MessageRaw` in responses. + */ +export const email_security_MessageRaw_output: JsonSchema = { + "properties": { + "raw": { + "type": "string" + } + }, + "required": [ + "raw" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts index 7df9afc2..4c181210 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts @@ -2,10 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../../outputs.js"; import { email_security_InvestigateId, email_security_identifier, } from "../../schemas.js"; +import { email_security_MessageRaw_output } from "./outputs.js"; /** * The tools of `email_security.investigate.raw`. @@ -52,6 +57,21 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_MessageRaw" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_MessageRaw": email_security_MessageRaw_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/${pathParam(args, "investigate_id")}/raw`, }), diff --git a/src/generated/forge-mcp/emailSecurity/investigate/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/tools.ts index afec31bb..5655ae1a 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/tools.ts @@ -2,6 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_ActionLogEntry_output, + email_security_ActionLogEntry_properties_output, + email_security_CursorResultInfo_output, + email_security_DispositionLabel_output, + email_security_InvestigateId_output, + email_security_MessageDeliveryMode_output, + email_security_MessageDeliveryStatus_output, + email_security_MessageDetails_findingsItem_output, + email_security_MessageDetails_output, + email_security_MessageDetails_properties_output, + email_security_MessageDetails_validation_output, + email_security_PostfixId_output, + email_security_ValidationStatus_output, + email_security_Validation_output, + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../outputs.js"; import { email_security_DispositionLabel, email_security_InvestigateId, @@ -10,6 +28,10 @@ import { email_security_PostfixId, email_security_identifier, } from "../schemas.js"; +import { + email_security_MoveResponseItem_output, + email_security_ReleaseResponse_output, +} from "./outputs.js"; /** * The tools of `email_security.investigate`. @@ -60,6 +82,33 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_MessageDetails" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ActionLogEntry": email_security_ActionLogEntry_output, + "email-security_ActionLogEntry_properties": email_security_ActionLogEntry_properties_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_InvestigateId": email_security_InvestigateId_output, + "email-security_MessageDeliveryMode": email_security_MessageDeliveryMode_output, + "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, + "email-security_MessageDetails": email_security_MessageDetails_output, + "email-security_MessageDetails_findingsItem": email_security_MessageDetails_findingsItem_output, + "email-security_MessageDetails_properties": email_security_MessageDetails_properties_output, + "email-security_MessageDetails_validation": email_security_MessageDetails_validation_output, + "email-security_PostfixId": email_security_PostfixId_output, + "email-security_Validation": email_security_Validation_output, + "email-security_ValidationStatus": email_security_ValidationStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/${pathParam(args, "investigate_id")}`, query: [ @@ -201,6 +250,66 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email-security_MessageDetails" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/email-security_CursorResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "202": { + "properties": { + "result": { + "items": { + "type": "string" + }, + "maxItems": 0, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/email-security_CursorResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_ActionLogEntry": email_security_ActionLogEntry_output, + "email-security_ActionLogEntry_properties": email_security_ActionLogEntry_properties_output, + "email-security_CursorResultInfo": email_security_CursorResultInfo_output, + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_InvestigateId": email_security_InvestigateId_output, + "email-security_MessageDeliveryMode": email_security_MessageDeliveryMode_output, + "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, + "email-security_MessageDetails": email_security_MessageDetails_output, + "email-security_MessageDetails_findingsItem": email_security_MessageDetails_findingsItem_output, + "email-security_MessageDetails_properties": email_security_MessageDetails_properties_output, + "email-security_MessageDetails_validation": email_security_MessageDetails_validation_output, + "email-security_PostfixId": email_security_PostfixId_output, + "email-security_Validation": email_security_Validation_output, + "email-security_ValidationStatus": email_security_ValidationStatus_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate`, query: [ @@ -306,6 +415,35 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email-security_MoveResponseItem" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_MoveResponseItem": email_security_MoveResponseItem_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/move`, body: { value: args["body"], mediaType: "application/json" }, @@ -364,6 +502,37 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email-security_ReleaseResponse" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_InvestigateId": email_security_InvestigateId_output, + "email-security_PostfixId": email_security_PostfixId_output, + "email-security_ReleaseResponse": email_security_ReleaseResponse_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/release`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailSecurity/investigate/trace/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/trace/outputs.ts new file mode 100644 index 00000000..182e6bdc --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/investigate/trace/outputs.ts @@ -0,0 +1,116 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email-security_MessageTrace` in responses. + */ +export const email_security_MessageTrace_output: JsonSchema = { + "properties": { + "inbound": { + "$ref": "#/$defs/email-security_MessageTrace_inbound" + }, + "outbound": { + "$ref": "#/$defs/email-security_MessageTrace_outbound" + } + }, + "required": [ + "inbound", + "outbound" + ], + "type": "object" +}; + +/** + * The schema of `email-security_MessageTrace_inbound` in responses. + */ +export const email_security_MessageTrace_inbound_output: JsonSchema = { + "properties": { + "lines": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/email-security_TraceLine" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "pending": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_MessageTrace_outbound` in responses. + */ +export const email_security_MessageTrace_outbound_output: JsonSchema = { + "properties": { + "lines": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/email-security_TraceLine" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "pending": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_TraceLine` in responses. + */ +export const email_security_TraceLine_output: JsonSchema = { + "properties": { + "lineno": { + "type": "integer" + }, + "logged_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "message": { + "type": "string" + }, + "ts": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts index 8f9817c1..8918ab37 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts @@ -2,10 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../../outputs.js"; import { email_security_InvestigateId, email_security_identifier, } from "../../schemas.js"; +import { + email_security_MessageTrace_inbound_output, + email_security_MessageTrace_outbound_output, + email_security_MessageTrace_output, + email_security_TraceLine_output, +} from "./outputs.js"; /** * The tools of `email_security.investigate.trace`. @@ -52,6 +62,24 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_MessageTrace" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_MessageTrace": email_security_MessageTrace_output, + "email-security_MessageTrace_inbound": email_security_MessageTrace_inbound_output, + "email-security_MessageTrace_outbound": email_security_MessageTrace_outbound_output, + "email-security_TraceLine": email_security_TraceLine_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/${pathParam(args, "investigate_id")}/trace`, }), diff --git a/src/generated/forge-mcp/emailSecurity/outputs.ts b/src/generated/forge-mcp/emailSecurity/outputs.ts new file mode 100644 index 00000000..4aa6e662 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/outputs.ts @@ -0,0 +1,884 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `email-security_ActionLogEntry` in responses. + */ +export const email_security_ActionLogEntry_output: JsonSchema = { + "properties": { + "completed_at": { + "format": "date-time", + "type": "string" + }, + "completed_timestamp": { + "type": "string" + }, + "operation": { + "enum": [ + "MOVE", + "RELEASE", + "RECLASSIFY", + "SUBMISSION", + "QUARANTINE_RELEASE", + "PREVIEW" + ], + "type": "string" + }, + "properties": { + "$ref": "#/$defs/email-security_ActionLogEntry_properties" + }, + "status": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "completed_at", + "operation" + ], + "type": "object" +}; + +/** + * The schema of `email-security_ActionLogEntry_properties` in responses. + */ +export const email_security_ActionLogEntry_properties_output: JsonSchema = { + "properties": { + "folder": { + "type": "string" + }, + "requested_by": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_CursorResultInfo` in responses. + */ +export const email_security_CursorResultInfo_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "next": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "previous": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "count", + "per_page", + "total_count" + ], + "type": "object" +}; + +/** + * The schema of `email-security_DispositionLabel` in responses. + */ +export const email_security_DispositionLabel_output: JsonSchema = { + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" +}; + +/** + * The schema of `email-security_InvestigateId` in responses. + */ +export const email_security_InvestigateId_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email-security_MailboxDestination` in responses. + */ +export const email_security_MailboxDestination_output: JsonSchema = { + "enum": [ + "Inbox", + "JunkEmail", + "DeletedItems", + "RecoverableItemsDeletions", + "RecoverableItemsPurges" + ], + "type": "string" +}; + +/** + * The schema of `email-security_MessageDeliveryMode` in responses. + */ +export const email_security_MessageDeliveryMode_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "DIRECT", + "BCC", + "JOURNAL", + "REVIEW_SUBMISSION", + "DMARC_UNVERIFIED", + "DMARC_FAILURE_REPORT", + "DMARC_AGGREGATE_REPORT", + "THREAT_INTEL_SUBMISSION", + "SIMULATION_SUBMISSION", + "API", + "RETRO_SCAN" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_MessageDeliveryStatus` in responses. + */ +export const email_security_MessageDeliveryStatus_output: JsonSchema = { + "enum": [ + "delivered", + "moved", + "quarantined", + "rejected", + "deferred", + "bounced", + "queued", + "move_failed" + ], + "type": "string" +}; + +/** + * The schema of `email-security_MessageDetails` in responses. + */ +export const email_security_MessageDetails_output: JsonSchema = { + "properties": { + "action_log": { + "items": { + "$ref": "#/$defs/email-security_ActionLogEntry" + }, + "type": "array" + }, + "alert_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "client_recipients": { + "items": { + "type": "string" + }, + "type": "array" + }, + "delivery_mode": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_MessageDeliveryMode" + }, + { + "type": "null" + } + ] + }, + "delivery_status": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/email-security_MessageDeliveryStatus" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "detection_reasons": { + "items": { + "type": "string" + }, + "type": "array" + }, + "edf_hash": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "envelope_from": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "envelope_to": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "final_disposition": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + { + "type": "null" + } + ] + }, + "findings": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/email-security_MessageDetails_findingsItem" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "from": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "from_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "htmltext_structure_hash": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "$ref": "#/$defs/email-security_InvestigateId" + }, + "is_phish_submission": { + "type": "boolean" + }, + "is_quarantined": { + "type": "boolean" + }, + "message_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "post_delivery_operations": { + "oneOf": [ + { + "items": { + "enum": [ + "PREVIEW", + "QUARANTINE_RELEASE", + "SUBMISSION", + "MOVE" + ], + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "postfix_id": { + "$ref": "#/$defs/email-security_PostfixId" + }, + "postfix_id_outbound": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "properties": { + "$ref": "#/$defs/email-security_MessageDetails_properties" + }, + "replyto": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "scanned_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sent_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sent_date": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "smtp_helo_server_ip": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "smtp_previous_hop_ip": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "subject": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "threat_categories": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "to": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "to_name": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "ts": { + "type": "string" + }, + "validation": { + "$ref": "#/$defs/email-security_MessageDetails_validation" + }, + "x_originating_ip": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "action_log", + "client_recipients", + "detection_reasons", + "id", + "is_phish_submission", + "is_quarantined", + "postfix_id", + "properties", + "ts" + ], + "type": "object" +}; + +/** + * The schema of `email-security_MessageDetails_findingsItem` in responses. + */ +export const email_security_MessageDetails_findingsItem_output: JsonSchema = { + "properties": { + "attachment": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "detail": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "detection": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + { + "type": "null" + } + ] + }, + "field": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "portion": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "score": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_MessageDetails_properties` in responses. + */ +export const email_security_MessageDetails_properties_output: JsonSchema = { + "properties": { + "allowlisted_pattern": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "allowlisted_pattern_type": { + "oneOf": [ + { + "enum": [ + "quarantine_release", + "acceptable_sender", + "allowed_sender", + "allowed_recipient", + "domain_similarity", + "domain_recency", + "managed_acceptable_sender", + "outbound_ndr" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "blocklisted_message": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "blocklisted_pattern": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "whitelisted_pattern_type": { + "oneOf": [ + { + "enum": [ + "quarantine_release", + "acceptable_sender", + "allowed_sender", + "allowed_recipient", + "domain_similarity", + "domain_recency", + "managed_acceptable_sender", + "outbound_ndr" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_MessageDetails_validation` in responses. + */ +export const email_security_MessageDetails_validation_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/email-security_Validation" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_PatternType` in responses. + */ +export const email_security_PatternType_output: JsonSchema = { + "enum": [ + "EMAIL", + "DOMAIN", + "IP", + "UNKNOWN" + ], + "type": "string" +}; + +/** + * The schema of `email-security_PostfixId` in responses. + */ +export const email_security_PostfixId_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email-security_Validation` in responses. + */ +export const email_security_Validation_output: JsonSchema = { + "properties": { + "comment": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "dkim": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_ValidationStatus" + }, + { + "type": "null" + } + ] + }, + "dmarc": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_ValidationStatus" + }, + { + "type": "null" + } + ] + }, + "spf": { + "oneOf": [ + { + "$ref": "#/$defs/email-security_ValidationStatus" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_ValidationStatus` in responses. + */ +export const email_security_ValidationStatus_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "pass", + "neutral", + "fail", + "error", + "none" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_api-response-common-failure` in responses. + */ +export const email_security_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/email-security_messages" + }, + "messages": { + "$ref": "#/$defs/email-security_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `email-security_messages` in responses. + */ +export const email_security_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `email-security_timestamp` in responses. + */ +export const email_security_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts b/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts new file mode 100644 index 00000000..9081fd7c --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts @@ -0,0 +1,143 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email-security_PhishGuardReport` in responses. + */ +export const email_security_PhishGuardReport_output: JsonSchema = { + "properties": { + "content": { + "type": "string" + }, + "created_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "disposition": { + "$ref": "#/$defs/email-security_DispositionLabel" + }, + "fields": { + "$ref": "#/$defs/email-security_PhishGuardReport_fields" + }, + "id": { + "type": "integer" + }, + "priority": { + "type": "string" + }, + "tags": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/email-security_PhishGuardReportTag" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "title": { + "type": "string" + }, + "ts": { + "format": "date-time", + "type": "string" + }, + "updated_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "content", + "disposition", + "fields", + "id", + "priority", + "title" + ], + "type": "object" +}; + +/** + * The schema of `email-security_PhishGuardReportTag` in responses. + */ +export const email_security_PhishGuardReportTag_output: JsonSchema = { + "properties": { + "category": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "category", + "value" + ], + "type": "object" +}; + +/** + * The schema of `email-security_PhishGuardReport_fields` in responses. + */ +export const email_security_PhishGuardReport_fields_output: JsonSchema = { + "properties": { + "from": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "occurred_at": { + "format": "date-time", + "type": "string" + }, + "postfix_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "to": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ts": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "to" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts b/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts index 7486c468..76d71458 100644 --- a/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts @@ -2,7 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_security_DispositionLabel_output, + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../../outputs.js"; import { email_security_identifier } from "../../schemas.js"; +import { + email_security_PhishGuardReportTag_output, + email_security_PhishGuardReport_fields_output, + email_security_PhishGuardReport_output, +} from "./outputs.js"; /** * The tools of `email_security.phishguard.reports`. @@ -75,6 +85,52 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email-security_PhishGuardReport" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DispositionLabel": email_security_DispositionLabel_output, + "email-security_PhishGuardReport": email_security_PhishGuardReport_output, + "email-security_PhishGuardReportTag": email_security_PhishGuardReportTag_output, + "email-security_PhishGuardReport_fields": email_security_PhishGuardReport_fields_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/phishguard/reports`, query: [ diff --git a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts new file mode 100644 index 00000000..57de100b --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts @@ -0,0 +1,77 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_DeletedSendingDomainRestriction` in responses. + */ +export const email_security_DeletedSendingDomainRestriction_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/email-security_SendingDomainRestrictionId" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `email-security_SendingDomainRestriction` in responses. + */ +export const email_security_SendingDomainRestriction_output: JsonSchema = { + "properties": { + "comments": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "domain": { + "type": "string" + }, + "exclude": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "$ref": "#/$defs/email-security_SendingDomainRestrictionId" + }, + "last_modified": { + "$ref": "#/$defs/email-security_timestamp" + }, + "modified_at": { + "$ref": "#/$defs/email-security_timestamp" + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_SendingDomainRestrictionId` in responses. + */ +export const email_security_SendingDomainRestrictionId_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `email-security_SendingDomainRestrictionList` in responses. + */ +export const email_security_SendingDomainRestrictionList_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email-security_SendingDomainRestriction" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts index 0ee929b7..7835dbc1 100644 --- a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts @@ -2,7 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, + email_security_timestamp_output, +} from "../outputs.js"; import { email_security_identifier } from "../schemas.js"; +import { + email_security_DeletedSendingDomainRestriction_output, + email_security_SendingDomainRestrictionId_output, + email_security_SendingDomainRestrictionList_output, + email_security_SendingDomainRestriction_output, +} from "./outputs.js"; import { email_security_CreateSendingDomainRestriction, email_security_SendingDomainRestrictionId, @@ -52,6 +63,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email-security_SendingDomainRestriction" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, + "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/sending_domain_restrictions`, body: { value: args["body"], mediaType: "application/json" }, @@ -97,6 +125,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_DeletedSendingDomainRestriction" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeletedSendingDomainRestriction": email_security_DeletedSendingDomainRestriction_output, + "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/sending_domain_restrictions/${pathParam(args, "sending_domain_restriction_id")}`, }), @@ -146,6 +190,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_SendingDomainRestriction" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, + "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/sending_domain_restrictions/${pathParam(args, "sending_domain_restriction_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -192,6 +253,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_SendingDomainRestriction" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, + "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/sending_domain_restrictions/${pathParam(args, "sending_domain_restriction_id")}`, }), @@ -261,6 +339,49 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/email-security_SendingDomainRestrictionList" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, + "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, + "email-security_SendingDomainRestrictionList": email_security_SendingDomainRestrictionList_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/sending_domain_restrictions`, query: [ diff --git a/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts b/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts new file mode 100644 index 00000000..9fc75859 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts @@ -0,0 +1,224 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_CustomerStatus` in responses. + */ +export const email_security_CustomerStatus_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "escalated", + "reviewed", + "unreviewed" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_OptionalSubmissionDisposition` in responses. + */ +export const email_security_OptionalSubmissionDisposition_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/email-security_SubmissionDisposition" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email-security_Submission` in responses. + */ +export const email_security_Submission_output: JsonSchema = { + "properties": { + "customer_status": { + "$ref": "#/$defs/email-security_CustomerStatus" + }, + "escalated_as": { + "$ref": "#/$defs/email-security_OptionalSubmissionDisposition" + }, + "escalated_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "escalated_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "escalated_submission_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "original_disposition": { + "$ref": "#/$defs/email-security_OptionalSubmissionDisposition" + }, + "original_edf_hash": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "original_postfix_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "outcome": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "outcome_disposition": { + "$ref": "#/$defs/email-security_OptionalSubmissionDisposition" + }, + "requested_at": { + "format": "date-time", + "type": "string" + }, + "requested_by": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "requested_disposition": { + "$ref": "#/$defs/email-security_OptionalSubmissionDisposition" + }, + "requested_ts": { + "type": "string" + }, + "status": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "subject": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "submission_id": { + "type": "string" + }, + "type": { + "oneOf": [ + { + "enum": [ + "Team", + "User" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "requested_at", + "submission_id" + ], + "type": "object" +}; + +/** + * The schema of `email-security_SubmissionDisposition` in responses. + */ +export const email_security_SubmissionDisposition_output: JsonSchema = { + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" +}; + +/** + * The schema of `email-security_SubmissionResult` in responses. + */ +export const email_security_SubmissionResult_output: JsonSchema = { + "properties": { + "accepted": { + "type": "boolean" + }, + "error": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "accepted", + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSecurity/submissions/tools.ts b/src/generated/forge-mcp/emailSecurity/submissions/tools.ts index b0f52cf4..01b65016 100644 --- a/src/generated/forge-mcp/emailSecurity/submissions/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/submissions/tools.ts @@ -2,10 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../outputs.js"; import { email_security_PostfixId, email_security_identifier, } from "../schemas.js"; +import { + email_security_CustomerStatus_output, + email_security_OptionalSubmissionDisposition_output, + email_security_SubmissionDisposition_output, + email_security_SubmissionResult_output, + email_security_Submission_output, +} from "./outputs.js"; import { email_security_MissedDetectionSubmission, email_security_ReclassificationSubmission, @@ -98,6 +109,32 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "202": { + "properties": { + "results": { + "items": { + "$ref": "#/$defs/email-security_SubmissionResult" + }, + "type": "array" + } + }, + "required": [ + "results" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_SubmissionResult": email_security_SubmissionResult_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/submissions`, body: { value: args["body"], mediaType: "application/json" }, @@ -220,6 +257,52 @@ export const tools: readonly Tool[] = [ "x-api-token-group": null, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email-security_Submission" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_CustomerStatus": email_security_CustomerStatus_output, + "email-security_OptionalSubmissionDisposition": email_security_OptionalSubmissionDisposition_output, + "email-security_Submission": email_security_Submission_output, + "email-security_SubmissionDisposition": email_security_SubmissionDisposition_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/submissions`, query: [ diff --git a/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts b/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts new file mode 100644 index 00000000..ffa71a1f --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts @@ -0,0 +1,80 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_DeletedTrustedDomain` in responses. + */ +export const email_security_DeletedTrustedDomain_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/email-security_TrustedDomainId" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `email-security_TrustedDomain` in responses. + */ +export const email_security_TrustedDomain_output: JsonSchema = { + "properties": { + "comments": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "id": { + "$ref": "#/$defs/email-security_TrustedDomainId" + }, + "is_recent": { + "type": "boolean" + }, + "is_regex": { + "type": "boolean" + }, + "is_similarity": { + "type": "boolean" + }, + "last_modified": { + "$ref": "#/$defs/email-security_timestamp" + }, + "modified_at": { + "$ref": "#/$defs/email-security_timestamp" + }, + "pattern": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email-security_TrustedDomainId` in responses. + */ +export const email_security_TrustedDomainId_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `email-security_TrustedDomainList` in responses. + */ +export const email_security_TrustedDomainList_output: JsonSchema = { + "items": { + "$ref": "#/$defs/email-security_TrustedDomain" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts b/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts index fa1f68df..0eba067c 100644 --- a/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts @@ -2,7 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, + email_security_timestamp_output, +} from "../outputs.js"; import { email_security_identifier } from "../schemas.js"; +import { + email_security_DeletedTrustedDomain_output, + email_security_TrustedDomainId_output, + email_security_TrustedDomainList_output, + email_security_TrustedDomain_output, +} from "./outputs.js"; import { email_security_CreateTrustedDomain, email_security_TrustedDomainId, @@ -135,6 +146,42 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "deletes": { + "items": { + "$ref": "#/$defs/email-security_DeletedTrustedDomain" + }, + "type": "array" + }, + "patches": { + "$ref": "#/$defs/email-security_TrustedDomainList" + }, + "posts": { + "$ref": "#/$defs/email-security_TrustedDomainList" + }, + "puts": { + "$ref": "#/$defs/email-security_TrustedDomainList" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeletedTrustedDomain": email_security_DeletedTrustedDomain_output, + "email-security_TrustedDomain": email_security_TrustedDomain_output, + "email-security_TrustedDomainId": email_security_TrustedDomainId_output, + "email-security_TrustedDomainList": email_security_TrustedDomainList_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/trusted_domains/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -179,6 +226,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email-security_TrustedDomain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_TrustedDomain": email_security_TrustedDomain_output, + "email-security_TrustedDomainId": email_security_TrustedDomainId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/trusted_domains`, body: { value: args["body"], mediaType: "application/json" }, @@ -224,6 +288,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_DeletedTrustedDomain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeletedTrustedDomain": email_security_DeletedTrustedDomain_output, + "email-security_TrustedDomainId": email_security_TrustedDomainId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/trusted_domains/${pathParam(args, "trusted_domain_id")}`, }), @@ -273,6 +353,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_TrustedDomain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_TrustedDomain": email_security_TrustedDomain_output, + "email-security_TrustedDomainId": email_security_TrustedDomainId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/trusted_domains/${pathParam(args, "trusted_domain_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -319,6 +416,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_TrustedDomain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_TrustedDomain": email_security_TrustedDomain_output, + "email-security_TrustedDomainId": email_security_TrustedDomainId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/trusted_domains/${pathParam(args, "trusted_domain_id")}`, }), @@ -399,6 +513,49 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/email-security_TrustedDomainList" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_TrustedDomain": email_security_TrustedDomain_output, + "email-security_TrustedDomainId": email_security_TrustedDomainId_output, + "email-security_TrustedDomainList": email_security_TrustedDomainList_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/trusted_domains`, query: [ @@ -455,6 +612,23 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_TrustedDomain" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_TrustedDomain": email_security_TrustedDomain_output, + "email-security_TrustedDomainId": email_security_TrustedDomainId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + "email-security_timestamp": email_security_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/trusted_domains/${pathParam(args, "trusted_domain_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts new file mode 100644 index 00000000..19e38d96 --- /dev/null +++ b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts @@ -0,0 +1,69 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email-security_DeletedUrlIgnorePattern` in responses. + */ +export const email_security_DeletedUrlIgnorePattern_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/email-security_UrlIgnorePatternId" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `email-security_UrlIgnorePattern` in responses. + */ +export const email_security_UrlIgnorePattern_output: JsonSchema = { + "properties": { + "comments": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/email-security_UrlIgnorePatternId" + }, + "last_modified": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "pattern": { + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "pattern" + ], + "type": "object" +}; + +/** + * The schema of `email-security_UrlIgnorePatternId` in responses. + */ +export const email_security_UrlIgnorePatternId_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; diff --git a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts index 2571ce9d..a35bce7b 100644 --- a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts @@ -2,7 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_security_api_response_common_failure_output, + email_security_messages_output, +} from "../outputs.js"; import { email_security_identifier } from "../schemas.js"; +import { + email_security_DeletedUrlIgnorePattern_output, + email_security_UrlIgnorePatternId_output, + email_security_UrlIgnorePattern_output, +} from "./outputs.js"; import { email_security_CreateUrlIgnorePattern, email_security_UpdateUrlIgnorePattern, @@ -135,6 +144,55 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "deletes": { + "items": { + "$ref": "#/$defs/email-security_DeletedUrlIgnorePattern" + }, + "type": "array" + }, + "patches": { + "items": { + "$ref": "#/$defs/email-security_UrlIgnorePattern" + }, + "type": "array" + }, + "posts": { + "items": { + "$ref": "#/$defs/email-security_UrlIgnorePattern" + }, + "type": "array" + }, + "puts": { + "items": { + "$ref": "#/$defs/email-security_UrlIgnorePattern" + }, + "type": "array" + } + }, + "required": [ + "deletes", + "patches", + "posts", + "puts" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeletedUrlIgnorePattern": email_security_DeletedUrlIgnorePattern_output, + "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, + "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/url_ignore_patterns/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -179,6 +237,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email-security_UrlIgnorePattern" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, + "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/url_ignore_patterns`, body: { value: args["body"], mediaType: "application/json" }, @@ -224,6 +298,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_DeletedUrlIgnorePattern" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_DeletedUrlIgnorePattern": email_security_DeletedUrlIgnorePattern_output, + "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/url_ignore_patterns/${pathParam(args, "pattern_id")}`, }), @@ -273,6 +363,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_UrlIgnorePattern" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, + "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/url_ignore_patterns/${pathParam(args, "pattern_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -319,6 +425,22 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-security_UrlIgnorePattern" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, + "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/url_ignore_patterns/${pathParam(args, "pattern_id")}`, }), @@ -368,6 +490,50 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email-security_UrlIgnorePattern" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/email-security_api-response-common-failure" + } + }, + $defs: { + "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, + "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, + "email-security_api-response-common-failure": email_security_api_response_common_failure_output, + "email-security_messages": email_security_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/url_ignore_patterns`, query: [ diff --git a/src/generated/forge-mcp/emailSending/limits/outputs.ts b/src/generated/forge-mcp/emailSending/limits/outputs.ts new file mode 100644 index 00000000..5eef9d3e --- /dev/null +++ b/src/generated/forge-mcp/emailSending/limits/outputs.ts @@ -0,0 +1,78 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email_sending_limits_properties` in responses. + */ +export const email_sending_limits_properties_output: JsonSchema = { + "properties": { + "quota": { + "$ref": "#/$defs/email_sending_limits_properties_quota" + }, + "usage": { + "$ref": "#/$defs/email_sending_limits_properties_usage" + } + }, + "type": "object" +}; + +/** + * The schema of `email_sending_limits_properties_quota` in responses. + */ +export const email_sending_limits_properties_quota_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "unit": { + "enum": [ + "day", + "hour" + ], + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `email_sending_limits_properties_usage` in responses. + */ +export const email_sending_limits_properties_usage_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "over_quota": { + "type": "boolean" + }, + "resets_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sent": { + "type": "integer" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/emailSending/limits/tools.ts b/src/generated/forge-mcp/emailSending/limits/tools.ts index a2557626..99d1fa4a 100644 --- a/src/generated/forge-mcp/emailSending/limits/tools.ts +++ b/src/generated/forge-mcp/emailSending/limits/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_sending_limits_properties_output, + email_sending_limits_properties_quota_output, + email_sending_limits_properties_usage_output, +} from "./outputs.js"; /** * The tools of `email_sending.limits`. @@ -50,6 +55,19 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_sending_limits_properties" + }, + "403": null + }, + $defs: { + "email_sending_limits_properties": email_sending_limits_properties_output, + "email_sending_limits_properties_quota": email_sending_limits_properties_quota_output, + "email_sending_limits_properties_usage": email_sending_limits_properties_usage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/limits`, }), diff --git a/src/generated/forge-mcp/emailSending/outputs.ts b/src/generated/forge-mcp/emailSending/outputs.ts new file mode 100644 index 00000000..3389cfcd --- /dev/null +++ b/src/generated/forge-mcp/emailSending/outputs.ts @@ -0,0 +1,122 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `email-sending_EmailApiError` in responses. + */ +export const email_sending_EmailApiError_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/email-sending_EmailApiError_errorsItem" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/email-sending_EmailApiError_messagesItem" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `email-sending_EmailApiError_errorsItem` in responses. + */ +export const email_sending_EmailApiError_errorsItem_output: JsonSchema = { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `email-sending_EmailApiError_messagesItem` in responses. + */ +export const email_sending_EmailApiError_messagesItem_output: JsonSchema = { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `email-sending_EmailSendResponse` in responses. + */ +export const email_sending_EmailSendResponse_output: JsonSchema = { + "properties": { + "delivered": { + "items": { + "type": "string" + }, + "type": "array" + }, + "message_id": { + "type": "string" + }, + "permanent_bounces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "queued": { + "items": { + "type": "string" + }, + "type": "array" + }, + "suppressed_recipients": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "delivered", + "message_id", + "permanent_bounces", + "queued", + "suppressed_recipients" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSending/reputation/outputs.ts b/src/generated/forge-mcp/emailSending/reputation/outputs.ts new file mode 100644 index 00000000..e25c79d1 --- /dev/null +++ b/src/generated/forge-mcp/emailSending/reputation/outputs.ts @@ -0,0 +1,115 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email_ReputationPolicy` in responses. + */ +export const email_ReputationPolicy_output: JsonSchema = { + "properties": { + "complaint": { + "$ref": "#/$defs/email_ReputationThreshold" + }, + "customer_bounce": { + "$ref": "#/$defs/email_ReputationThreshold" + }, + "spam_rejection": { + "$ref": "#/$defs/email_ReputationThreshold" + }, + "suspension_after_hours": { + "type": "integer" + } + }, + "required": [ + "complaint", + "customer_bounce", + "spam_rejection", + "suspension_after_hours" + ], + "type": "object" +}; + +/** + * The schema of `email_ReputationThreshold` in responses. + */ +export const email_ReputationThreshold_output: JsonSchema = { + "properties": { + "at_risk_at": { + "type": "number" + }, + "minimum_denominator": { + "type": "integer" + }, + "warning_at": { + "type": "number" + } + }, + "required": [ + "at_risk_at", + "minimum_denominator", + "warning_at" + ], + "type": "object" +}; + +/** + * The schema of `email_sending_reputation_properties` in responses. + */ +export const email_sending_reputation_properties_output: JsonSchema = { + "properties": { + "active_policy": { + "$ref": "#/$defs/email_ReputationPolicy" + }, + "evaluated_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "grace_started_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "healthy", + "warning", + "at_risk", + "suspended" + ], + "type": "string" + }, + "status_since": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "active_policy", + "evaluated_at", + "grace_started_at", + "status", + "status_since" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSending/reputation/tools.ts b/src/generated/forge-mcp/emailSending/reputation/tools.ts index 833e40fd..049b3c34 100644 --- a/src/generated/forge-mcp/emailSending/reputation/tools.ts +++ b/src/generated/forge-mcp/emailSending/reputation/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_ReputationPolicy_output, + email_ReputationThreshold_output, + email_sending_reputation_properties_output, +} from "./outputs.js"; /** * The tools of `email_sending.reputation`. @@ -50,6 +55,19 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_sending_reputation_properties" + }, + "403": null + }, + $defs: { + "email_ReputationPolicy": email_ReputationPolicy_output, + "email_ReputationThreshold": email_ReputationThreshold_output, + "email_sending_reputation_properties": email_sending_reputation_properties_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/reputation`, }), diff --git a/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts b/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts index 075eb7e4..4787aa04 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + email_dns_record_output, + email_dns_record_ttl_output, +} from "../../../outputs.js"; +import { email_sending_subdomain_config_error_output } from "../outputs.js"; /** * The tools of `email_sending.subdomains.dns`. @@ -55,6 +60,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/email_sending_subdomain_config_error" + }, + "type": "array" + }, + "records": { + "items": { + "$ref": "#/$defs/email_dns_record" + }, + "type": "array" + }, + "status": { + "enum": [ + "ready", + "unconfigured", + "unlocked", + "misconfigured" + ], + "type": "string" + } + }, + "type": "object" + }, + "400": null, + "403": null, + "404": null, + "409": null + }, + $defs: { + "email_dns_record": email_dns_record_output, + "email_dns_record_ttl": email_dns_record_ttl_output, + "email_sending_subdomain_config_error": email_sending_subdomain_config_error_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains/${pathParam(args, "subdomain_id")}/dns`, }), @@ -107,6 +151,49 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email_dns_record" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "404": null + }, + $defs: { + "email_dns_record": email_dns_record_output, + "email_dns_record_ttl": email_dns_record_ttl_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains/${pathParam(args, "subdomain_id")}/dns`, }), @@ -159,6 +246,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/email_sending_subdomain_config_error" + }, + "type": "array" + }, + "records": { + "items": { + "$ref": "#/$defs/email_dns_record" + }, + "type": "array" + }, + "status": { + "enum": [ + "ready", + "unconfigured", + "unlocked", + "misconfigured" + ], + "type": "string" + } + }, + "type": "object" + }, + "400": null, + "404": null + }, + $defs: { + "email_dns_record": email_dns_record_output, + "email_dns_record_ttl": email_dns_record_ttl_output, + "email_sending_subdomain_config_error": email_sending_subdomain_config_error_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains/${pathParam(args, "subdomain_id")}/dns/status`, }), diff --git a/src/generated/forge-mcp/emailSending/subdomains/outputs.ts b/src/generated/forge-mcp/emailSending/subdomains/outputs.ts new file mode 100644 index 00000000..7b004143 --- /dev/null +++ b/src/generated/forge-mcp/emailSending/subdomains/outputs.ts @@ -0,0 +1,155 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `email_api-response-common` in responses. + */ +export const email_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/email_messages" + }, + "messages": { + "$ref": "#/$defs/email_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `email_messages` in responses. + */ +export const email_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `email_sending_subdomain_config_error` in responses. + */ +export const email_sending_subdomain_config_error_output: JsonSchema = { + "properties": { + "code": { + "enum": [ + "mx.missing", + "mx.foreign", + "spf.missing", + "spf.foreign", + "spf.multiple", + "dkim.missing", + "dkim.conflict", + "dmarc.missing", + "dmarc.multiple", + "dmarc.incompatible", + "domainkey.delegated", + "sending_subdomain.conflict" + ], + "type": "string" + }, + "conflicting_subdomain": { + "type": "string" + }, + "existing": { + "$ref": "#/$defs/email_dns_record" + }, + "missing": { + "$ref": "#/$defs/email_dns_record" + }, + "multiple": { + "items": { + "$ref": "#/$defs/email_dns_record" + }, + "type": "array" + } + }, + "required": [ + "code" + ], + "type": "object" +}; + +/** + * The schema of `email_sending_subdomain_identifier` in responses. + */ +export const email_sending_subdomain_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `email_sending_subdomain_properties` in responses. + */ +export const email_sending_subdomain_properties_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/email_created" + }, + "dkim_selector": { + "type": "string" + }, + "drop_suppressed_recipients": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "modified": { + "$ref": "#/$defs/email_modified" + }, + "name": { + "type": "string" + }, + "preview_enabled": { + "type": "boolean" + }, + "return_path_domain": { + "type": "string" + }, + "tag": { + "$ref": "#/$defs/email_sending_subdomain_identifier" + } + }, + "required": [ + "enabled", + "name", + "tag" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSending/subdomains/reputation/outputs.ts b/src/generated/forge-mcp/emailSending/subdomains/reputation/outputs.ts new file mode 100644 index 00000000..d71a8ade --- /dev/null +++ b/src/generated/forge-mcp/emailSending/subdomains/reputation/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `email_sending_subdomain_reputation_complaints` in responses. + */ +export const email_sending_subdomain_reputation_complaints_output: JsonSchema = { + "properties": { + "complaints": { + "type": "integer" + } + }, + "required": [ + "complaints" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts b/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts index 732a860c..7dc28d73 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { email_sending_subdomain_reputation_complaints_output } from "./outputs.js"; /** * The tools of `email_sending.subdomains.reputation`. @@ -65,6 +66,20 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_sending_subdomain_reputation_complaints" + }, + "400": null, + "404": null, + "422": null, + "502": null + }, + $defs: { + "email_sending_subdomain_reputation_complaints": email_sending_subdomain_reputation_complaints_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains/${pathParam(args, "subdomain_id")}/reputation/complaints`, query: [ diff --git a/src/generated/forge-mcp/emailSending/subdomains/tools.ts b/src/generated/forge-mcp/emailSending/subdomains/tools.ts index 75d9acf0..08ddeeb6 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/tools.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + email_created_output, + email_dns_record_output, + email_dns_record_ttl_output, + email_modified_output, +} from "../../outputs.js"; +import { + email_api_response_common_output, + email_messages_output, + email_sending_subdomain_config_error_output, + email_sending_subdomain_identifier_output, + email_sending_subdomain_properties_output, +} from "./outputs.js"; import { email_create_sending_subdomain_properties, email_update_sending_subdomain_properties, @@ -61,6 +74,20 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_sending_subdomain_properties" + }, + "403": null + }, + $defs: { + "email_created": email_created_output, + "email_modified": email_modified_output, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, + "email_sending_subdomain_properties": email_sending_subdomain_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains`, body: { value: args["body"], mediaType: "application/json" }, @@ -114,6 +141,18 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_api-response-common" + }, + "404": null + }, + $defs: { + "email_api-response-common": email_api_response_common_output, + "email_messages": email_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains/${pathParam(args, "subdomain_id")}`, }), @@ -166,6 +205,20 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_sending_subdomain_properties" + }, + "404": null + }, + $defs: { + "email_created": email_created_output, + "email_modified": email_modified_output, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, + "email_sending_subdomain_properties": email_sending_subdomain_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains/${pathParam(args, "subdomain_id")}`, }), @@ -213,6 +266,51 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email_sending_subdomain_properties" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "403": null + }, + $defs: { + "email_created": email_created_output, + "email_modified": email_modified_output, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, + "email_sending_subdomain_properties": email_sending_subdomain_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains`, }), @@ -267,6 +365,33 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/email_sending_subdomain_config_error" + }, + "type": "array" + }, + "records": { + "items": { + "$ref": "#/$defs/email_dns_record" + }, + "type": "array" + } + }, + "type": "object" + }, + "403": null + }, + $defs: { + "email_dns_record": email_dns_record_output, + "email_dns_record_ttl": email_dns_record_ttl_output, + "email_sending_subdomain_config_error": email_sending_subdomain_config_error_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains/preview`, body: { value: args["body"], mediaType: "application/json" }, @@ -327,6 +452,20 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_sending_subdomain_properties" + }, + "404": null + }, + $defs: { + "email_created": email_created_output, + "email_modified": email_modified_output, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, + "email_sending_subdomain_properties": email_sending_subdomain_properties_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains/${pathParam(args, "subdomain_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/emailSending/suppressions/tools.ts b/src/generated/forge-mcp/emailSending/suppressions/tools.ts index f568efb0..885f0202 100644 --- a/src/generated/forge-mcp/emailSending/suppressions/tools.ts +++ b/src/generated/forge-mcp/emailSending/suppressions/tools.ts @@ -100,6 +100,238 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/email/sending/suppressions", + responses: { + schemas: { + "200": { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "scope": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "account" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "enum": [ + "sending_domain" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/suppressions`, body: { value: args["body"], mediaType: "application/json" }, @@ -134,8 +366,240 @@ export const tools: readonly Tool[] = [ "readOnlyHint": false, "title": "Delete account Email Sending suppression" }, - method: "DELETE", - path: "/accounts/{account_id}/email/sending/suppressions/{suppression_id}", + method: "DELETE", + path: "/accounts/{account_id}/email/sending/suppressions/{suppression_id}", + responses: { + schemas: { + "200": { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "scope": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "account" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "enum": [ + "sending_domain" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/suppressions/${pathParam(args, "suppression_id")}`, }), @@ -196,6 +660,232 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/email/sending/suppressions/{suppression_id}", + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "note": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "read_only": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "scope": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "account" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "enum": [ + "sending_domain" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" + } + ] + } + }, + "required": [ + "created_at", + "email", + "expires_at", + "id", + "read_only", + "reason" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/suppressions/${pathParam(args, "suppression_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -218,20 +908,156 @@ export const tools: readonly Tool[] = [ "type": "string" } }, - required: [ - "account_id", - "suppression_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Get account Email Sending suppression" + required: [ + "account_id", + "suppression_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get account Email Sending suppression" + }, + method: "GET", + path: "/accounts/{account_id}/email/sending/suppressions/{suppression_id}", + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "note": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "read_only": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "scope": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "account" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "enum": [ + "sending_domain" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" + } + ] + } + }, + "required": [ + "created_at", + "email", + "expires_at", + "id", + "read_only", + "reason" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, }, - method: "GET", - path: "/accounts/{account_id}/email/sending/suppressions/{suppression_id}", request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/suppressions/${pathParam(args, "suppression_id")}`, }), @@ -342,6 +1168,157 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/email/sending/suppressions/bulk", + responses: { + schemas: { + "200": { + "properties": { + "deduplicated": { + "type": "integer" + }, + "errors": { + "type": "integer" + }, + "invalid": { + "type": "integer" + }, + "items": { + "items": { + "properties": { + "email": { + "type": "string" + }, + "error": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "index": { + "type": "integer" + }, + "scope": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "account" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "enum": [ + "sending_domain" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" + } + ] + }, + "status": { + "enum": [ + "processed", + "invalid", + "error", + "skipped" + ], + "type": "string" + } + }, + "required": [ + "index", + "status" + ], + "type": "object" + }, + "type": "array" + }, + "processed": { + "type": "integer" + }, + "skipped": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "deduplicated", + "errors", + "invalid", + "items", + "processed", + "skipped", + "total" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/suppressions/bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -412,6 +1389,179 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/email/sending/suppressions", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "note": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "read_only": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "scope": { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "account" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "enum": [ + "sending_domain" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" + } + ] + } + }, + "required": [ + "created_at", + "email", + "expires_at", + "id", + "read_only", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "next_cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "next_cursor", + "per_page" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "enum": [ + "invalid_scope_value", + "scope_immutable", + "scope_value_requires_type" + ], + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/suppressions`, query: [ diff --git a/src/generated/forge-mcp/emailSending/tools.ts b/src/generated/forge-mcp/emailSending/tools.ts index beacebb4..f749f8f9 100644 --- a/src/generated/forge-mcp/emailSending/tools.ts +++ b/src/generated/forge-mcp/emailSending/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + email_sending_EmailApiError_errorsItem_output, + email_sending_EmailApiError_messagesItem_output, + email_sending_EmailApiError_output, + email_sending_EmailSendResponse_output, +} from "./outputs.js"; import { email_sending_EmailAddressObject, email_sending_EmailAddressString, @@ -66,6 +72,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": null, + "404": { + "$ref": "#/$defs/email-sending_EmailApiError" + }, + "500": { + "$ref": "#/$defs/email-sending_EmailApiError" + } + }, + $defs: { + "email-sending_EmailApiError": email_sending_EmailApiError_output, + "email-sending_EmailApiError_errorsItem": email_sending_EmailApiError_errorsItem_output, + "email-sending_EmailApiError_messagesItem": email_sending_EmailApiError_messagesItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/messages/${pathParam(args, "message_id")}`, }), @@ -129,6 +151,291 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-sending_EmailSendResponse" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.invalid_request_schema", + "email.sending.error.email.invalid", + "email.sending.error.email.no_content_length", + "email.sending.error.email.too_big", + "email.sending.error.email.recipient_suppressed" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.email.sending_disabled", + "email.sending.error.email.sender_not_configured" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.email.sending_not_ready" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.throttled" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.internal_server" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + $defs: { + "email-sending_EmailSendResponse": email_sending_EmailSendResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/send`, body: { value: args["body"], mediaType: "application/json" }, @@ -184,6 +491,291 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email-sending_EmailSendResponse" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.invalid_request_schema", + "email.sending.error.email.invalid", + "email.sending.error.email.no_content_length", + "email.sending.error.email.too_big", + "email.sending.error.email.recipient_suppressed" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.email.sending_disabled", + "email.sending.error.email.sender_not_configured" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.email.sending_not_ready" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.throttled" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "message": { + "enum": [ + "email.sending.error.internal_server" + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + $defs: { + "email-sending_EmailSendResponse": email_sending_EmailSendResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/send_raw`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/fieldExtractors/outputs.ts b/src/generated/forge-mcp/fieldExtractors/outputs.ts new file mode 100644 index 00000000..119ac4b0 --- /dev/null +++ b/src/generated/forge-mcp/fieldExtractors/outputs.ts @@ -0,0 +1,170 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `field-extractors_ApiError` in responses. + */ +export const field_extractors_ApiError_output: JsonSchema = { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/field-extractors_ApiError_source" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `field-extractors_ApiError_source` in responses. + */ +export const field_extractors_ApiError_source_output: JsonSchema = { + "properties": { + "pointer": { + "type": "string" + } + }, + "required": [ + "pointer" + ], + "type": "object" +}; + +/** + * The schema of `field-extractors_ErrorResponse` in responses. + */ +export const field_extractors_ErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/field-extractors_ApiError" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/field-extractors_ErrorResponse_messagesItem" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `field-extractors_ErrorResponse_messagesItem` in responses. + */ +export const field_extractors_ErrorResponse_messagesItem_output: JsonSchema = { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `field-extractors_ExtractorResult` in responses. + */ +export const field_extractors_ExtractorResult_output: JsonSchema = { + "properties": { + "extractor": { + "type": "string" + }, + "rules": { + "items": { + "$ref": "#/$defs/field-extractors_RuleOutput" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "extractor", + "rules" + ], + "type": "object" +}; + +/** + * The schema of `field-extractors_FieldOutput` in responses. + */ +export const field_extractors_FieldOutput_output: JsonSchema = { + "properties": { + "expression": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "expression", + "name" + ], + "type": "object" +}; + +/** + * The schema of `field-extractors_RuleOutput` in responses. + */ +export const field_extractors_RuleOutput_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "fields": { + "items": { + "$ref": "#/$defs/field-extractors_FieldOutput" + }, + "type": "array" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "fields", + "ref" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/fieldExtractors/tools.ts b/src/generated/forge-mcp/fieldExtractors/tools.ts index de00e72f..58cdd5ab 100644 --- a/src/generated/forge-mcp/fieldExtractors/tools.ts +++ b/src/generated/forge-mcp/fieldExtractors/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + field_extractors_ApiError_output, + field_extractors_ApiError_source_output, + field_extractors_ErrorResponse_messagesItem_output, + field_extractors_ErrorResponse_output, + field_extractors_ExtractorResult_output, + field_extractors_FieldOutput_output, + field_extractors_RuleOutput_output, +} from "./outputs.js"; /** * The tools of `field_extractors`. @@ -37,6 +46,29 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/field_extractors/{extractor}", + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "404": { + "$ref": "#/$defs/field-extractors_ErrorResponse" + } + }, + $defs: { + "field-extractors_ApiError": field_extractors_ApiError_output, + "field-extractors_ApiError_source": field_extractors_ApiError_source_output, + "field-extractors_ErrorResponse": field_extractors_ErrorResponse_output, + "field-extractors_ErrorResponse_messagesItem": field_extractors_ErrorResponse_messagesItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/field_extractors/${pathParam(args, "extractor")}`, }), @@ -71,6 +103,25 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/field_extractors/{extractor}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/field-extractors_ExtractorResult" + }, + "404": { + "$ref": "#/$defs/field-extractors_ErrorResponse" + } + }, + $defs: { + "field-extractors_ApiError": field_extractors_ApiError_output, + "field-extractors_ApiError_source": field_extractors_ApiError_source_output, + "field-extractors_ErrorResponse": field_extractors_ErrorResponse_output, + "field-extractors_ErrorResponse_messagesItem": field_extractors_ErrorResponse_messagesItem_output, + "field-extractors_ExtractorResult": field_extractors_ExtractorResult_output, + "field-extractors_FieldOutput": field_extractors_FieldOutput_output, + "field-extractors_RuleOutput": field_extractors_RuleOutput_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/field_extractors/${pathParam(args, "extractor")}`, }), @@ -153,6 +204,28 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/field_extractors/{extractor}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/field-extractors_ExtractorResult" + }, + "400": { + "$ref": "#/$defs/field-extractors_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/field-extractors_ErrorResponse" + } + }, + $defs: { + "field-extractors_ApiError": field_extractors_ApiError_output, + "field-extractors_ApiError_source": field_extractors_ApiError_source_output, + "field-extractors_ErrorResponse": field_extractors_ErrorResponse_output, + "field-extractors_ErrorResponse_messagesItem": field_extractors_ErrorResponse_messagesItem_output, + "field-extractors_ExtractorResult": field_extractors_ExtractorResult_output, + "field-extractors_FieldOutput": field_extractors_FieldOutput_output, + "field-extractors_RuleOutput": field_extractors_RuleOutput_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/field_extractors/${pathParam(args, "extractor")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/firewall/accessRules/outputs.ts b/src/generated/forge-mcp/firewall/accessRules/outputs.ts new file mode 100644 index 00000000..c05d7cff --- /dev/null +++ b/src/generated/forge-mcp/firewall/accessRules/outputs.ts @@ -0,0 +1,85 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `firewall_email` in responses. + */ +export const firewall_email_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `firewall_identifier` in responses. + */ +export const firewall_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `firewall_schemas-rule` in responses. + */ +export const firewall_schemas_rule_output: JsonSchema = { + "properties": { + "allowed_modes": { + "items": { + "$ref": "#/$defs/firewall_schemas-mode" + }, + "type": "array" + }, + "configuration": { + "$ref": "#/$defs/firewall_configuration" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/firewall_schemas-identifier" + }, + "mode": { + "$ref": "#/$defs/firewall_schemas-mode" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "notes": { + "$ref": "#/$defs/firewall_notes" + }, + "scope": { + "$ref": "#/$defs/firewall_schemas-rule_scope" + } + }, + "required": [ + "allowed_modes", + "configuration", + "id", + "mode", + "scope" + ], + "type": "object" +}; + +/** + * The schema of `firewall_schemas-rule_scope` in responses. + */ +export const firewall_schemas_rule_scope_output: JsonSchema = { + "properties": { + "email": { + "$ref": "#/$defs/firewall_email" + }, + "id": { + "$ref": "#/$defs/firewall_identifier" + }, + "type": { + "enum": [ + "user", + "organization" + ], + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/firewall/accessRules/tools.ts b/src/generated/forge-mcp/firewall/accessRules/tools.ts index 37006248..b6e6d9cd 100644 --- a/src/generated/forge-mcp/firewall/accessRules/tools.ts +++ b/src/generated/forge-mcp/firewall/accessRules/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + firewall_api_response_common_failure_output, + firewall_asn_configuration_output, + firewall_cidr_configuration_output, + firewall_configuration_output, + firewall_country_configuration_output, + firewall_ip_configuration_output, + firewall_ipv6_configuration_output, + firewall_messages_output, + firewall_notes_output, + firewall_result_info_output, + firewall_schemas_identifier_output, + firewall_schemas_mode_output, +} from "../../outputs.js"; import { firewall_asn_configuration, firewall_cidr_configuration, @@ -12,6 +26,12 @@ import { firewall_notes, firewall_schemas_mode, } from "../../schemas.js"; +import { + firewall_email_output, + firewall_identifier_output, + firewall_schemas_rule_output, + firewall_schemas_rule_scope_output, +} from "./outputs.js"; import { firewall_schemas_rule } from "./schemas.js"; /** @@ -104,6 +124,33 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/firewall_schemas-rule" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_asn_configuration": firewall_asn_configuration_output, + "firewall_cidr_configuration": firewall_cidr_configuration_output, + "firewall_configuration": firewall_configuration_output, + "firewall_country_configuration": firewall_country_configuration_output, + "firewall_email": firewall_email_output, + "firewall_identifier": firewall_identifier_output, + "firewall_ip_configuration": firewall_ip_configuration_output, + "firewall_ipv6_configuration": firewall_ipv6_configuration_output, + "firewall_messages": firewall_messages_output, + "firewall_notes": firewall_notes_output, + "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_schemas-rule_scope": firewall_schemas_rule_scope_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/firewall/access_rules/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -169,6 +216,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/firewall_identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_identifier": firewall_identifier_output, + "firewall_messages": firewall_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/firewall/access_rules/rules/${pathParam(args, "rule_id")}`, }), @@ -248,6 +325,33 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/firewall_schemas-rule" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_asn_configuration": firewall_asn_configuration_output, + "firewall_cidr_configuration": firewall_cidr_configuration_output, + "firewall_configuration": firewall_configuration_output, + "firewall_country_configuration": firewall_country_configuration_output, + "firewall_email": firewall_email_output, + "firewall_identifier": firewall_identifier_output, + "firewall_ip_configuration": firewall_ip_configuration_output, + "firewall_ipv6_configuration": firewall_ipv6_configuration_output, + "firewall_messages": firewall_messages_output, + "firewall_notes": firewall_notes_output, + "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_schemas-rule_scope": firewall_schemas_rule_scope_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/firewall/access_rules/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -314,6 +418,33 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/firewall_schemas-rule" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_asn_configuration": firewall_asn_configuration_output, + "firewall_cidr_configuration": firewall_cidr_configuration_output, + "firewall_configuration": firewall_configuration_output, + "firewall_country_configuration": firewall_country_configuration_output, + "firewall_email": firewall_email_output, + "firewall_identifier": firewall_identifier_output, + "firewall_ip_configuration": firewall_ip_configuration_output, + "firewall_ipv6_configuration": firewall_ipv6_configuration_output, + "firewall_messages": firewall_messages_output, + "firewall_notes": firewall_notes_output, + "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_schemas-rule_scope": firewall_schemas_rule_scope_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/firewall/access_rules/rules/${pathParam(args, "rule_id")}`, }), @@ -433,6 +564,48 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/firewall_schemas-rule" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/firewall_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_asn_configuration": firewall_asn_configuration_output, + "firewall_cidr_configuration": firewall_cidr_configuration_output, + "firewall_configuration": firewall_configuration_output, + "firewall_country_configuration": firewall_country_configuration_output, + "firewall_email": firewall_email_output, + "firewall_identifier": firewall_identifier_output, + "firewall_ip_configuration": firewall_ip_configuration_output, + "firewall_ipv6_configuration": firewall_ipv6_configuration_output, + "firewall_messages": firewall_messages_output, + "firewall_notes": firewall_notes_output, + "firewall_result_info": firewall_result_info_output, + "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_schemas-rule_scope": firewall_schemas_rule_scope_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/firewall/access_rules/rules`, query: [ diff --git a/src/generated/forge-mcp/firewall/lockdowns/outputs.ts b/src/generated/forge-mcp/firewall/lockdowns/outputs.ts new file mode 100644 index 00000000..b00cf1c3 --- /dev/null +++ b/src/generated/forge-mcp/firewall/lockdowns/outputs.ts @@ -0,0 +1,137 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `firewall_configurations` in responses. + */ +export const firewall_configurations_output: JsonSchema = { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/firewall_schemas-ip_configuration" + }, + { + "$ref": "#/$defs/firewall_schemas-cidr_configuration" + } + ] + }, + "type": "array" +}; + +/** + * The schema of `firewall_created_on` in responses. + */ +export const firewall_created_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `firewall_lockdowns_components-schemas-description` in + * responses. + */ +export const firewall_lockdowns_components_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `firewall_lockdowns_components-schemas-id` in responses. + */ +export const firewall_lockdowns_components_schemas_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `firewall_modified_on` in responses. + */ +export const firewall_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `firewall_schemas-cidr_configuration` in responses. + */ +export const firewall_schemas_cidr_configuration_output: JsonSchema = { + "properties": { + "target": { + "enum": [ + "ip_range" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `firewall_schemas-ip_configuration` in responses. + */ +export const firewall_schemas_ip_configuration_output: JsonSchema = { + "properties": { + "target": { + "enum": [ + "ip" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `firewall_schemas-urls` in responses. + */ +export const firewall_schemas_urls_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `firewall_zonelockdown` in responses. + */ +export const firewall_zonelockdown_output: JsonSchema = { + "properties": { + "configurations": { + "$ref": "#/$defs/firewall_configurations" + }, + "created_on": { + "$ref": "#/$defs/firewall_created_on" + }, + "description": { + "$ref": "#/$defs/firewall_lockdowns_components-schemas-description" + }, + "id": { + "$ref": "#/$defs/firewall_lockdowns_components-schemas-id" + }, + "modified_on": { + "$ref": "#/$defs/firewall_modified_on" + }, + "paused": { + "$ref": "#/$defs/firewall_schemas-paused" + }, + "urls": { + "$ref": "#/$defs/firewall_schemas-urls" + } + }, + "required": [ + "configurations", + "created_on", + "description", + "id", + "modified_on", + "paused", + "urls" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/firewall/lockdowns/tools.ts b/src/generated/forge-mcp/firewall/lockdowns/tools.ts index f1ad54b5..590ee169 100644 --- a/src/generated/forge-mcp/firewall/lockdowns/tools.ts +++ b/src/generated/forge-mcp/firewall/lockdowns/tools.ts @@ -2,7 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + firewall_api_response_common_failure_output, + firewall_messages_output, + firewall_result_info_output, +} from "../../outputs.js"; +import { firewall_schemas_paused_output } from "../outputs.js"; import { firewall_description, firewall_schemas_paused } from "../schemas.js"; +import { + firewall_configurations_output, + firewall_created_on_output, + firewall_lockdowns_components_schemas_description_output, + firewall_lockdowns_components_schemas_id_output, + firewall_modified_on_output, + firewall_schemas_cidr_configuration_output, + firewall_schemas_ip_configuration_output, + firewall_schemas_urls_output, + firewall_zonelockdown_output, +} from "./outputs.js"; import { firewall_configurations, firewall_ip_range_search, @@ -95,6 +112,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/firewall_zonelockdown" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_configurations": firewall_configurations_output, + "firewall_created_on": firewall_created_on_output, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, + "firewall_messages": firewall_messages_output, + "firewall_modified_on": firewall_modified_on_output, + "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, + "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, + "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_schemas-urls": firewall_schemas_urls_output, + "firewall_zonelockdown": firewall_zonelockdown_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/lockdowns`, body: { value: args["body"], mediaType: "application/json" }, @@ -141,6 +182,31 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "properties": { + "id": { + "$ref": "#/$defs/firewall_lockdowns_components-schemas-id" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, + "firewall_messages": firewall_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/lockdowns/${pathParam(args, "lock_downs_id")}`, }), @@ -187,6 +253,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/firewall_zonelockdown" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_configurations": firewall_configurations_output, + "firewall_created_on": firewall_created_on_output, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, + "firewall_messages": firewall_messages_output, + "firewall_modified_on": firewall_modified_on_output, + "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, + "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, + "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_schemas-urls": firewall_schemas_urls_output, + "firewall_zonelockdown": firewall_zonelockdown_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/lockdowns/${pathParam(args, "lock_downs_id")}`, }), @@ -283,6 +373,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/firewall_zonelockdown" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/firewall_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_configurations": firewall_configurations_output, + "firewall_created_on": firewall_created_on_output, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, + "firewall_messages": firewall_messages_output, + "firewall_modified_on": firewall_modified_on_output, + "firewall_result_info": firewall_result_info_output, + "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, + "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, + "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_schemas-urls": firewall_schemas_urls_output, + "firewall_zonelockdown": firewall_zonelockdown_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/lockdowns`, query: [ @@ -365,6 +494,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/firewall_zonelockdown" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_configurations": firewall_configurations_output, + "firewall_created_on": firewall_created_on_output, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, + "firewall_messages": firewall_messages_output, + "firewall_modified_on": firewall_modified_on_output, + "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, + "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, + "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_schemas-urls": firewall_schemas_urls_output, + "firewall_zonelockdown": firewall_zonelockdown_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/lockdowns/${pathParam(args, "lock_downs_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/firewall/outputs.ts b/src/generated/forge-mcp/firewall/outputs.ts new file mode 100644 index 00000000..45b766a7 --- /dev/null +++ b/src/generated/forge-mcp/firewall/outputs.ts @@ -0,0 +1,11 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `firewall_schemas-paused` in responses. + */ +export const firewall_schemas_paused_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/firewall/uaRules/tools.ts b/src/generated/forge-mcp/firewall/uaRules/tools.ts index 7b7e3701..44f1cdc3 100644 --- a/src/generated/forge-mcp/firewall/uaRules/tools.ts +++ b/src/generated/forge-mcp/firewall/uaRules/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + firewall_api_response_common_failure_output, + firewall_messages_output, + firewall_result_info_output, +} from "../../outputs.js"; import { firewall_asn_configuration, firewall_cidr_configuration, @@ -87,6 +92,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_messages": firewall_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/ua_rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -133,6 +162,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_messages": firewall_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/ua_rules/${pathParam(args, "ua_rule_id")}`, }), @@ -179,6 +232,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_messages": firewall_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/ua_rules/${pathParam(args, "ua_rule_id")}`, }), @@ -245,6 +322,42 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/firewall_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_messages": firewall_messages_output, + "firewall_result_info": firewall_result_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/ua_rules`, query: [ @@ -333,6 +446,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_messages": firewall_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/ua_rules/${pathParam(args, "ua_rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts b/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts new file mode 100644 index 00000000..9e33eaf2 --- /dev/null +++ b/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts @@ -0,0 +1,429 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `flagship_FlagDefinitions` in responses. + */ +export const flagship_FlagDefinitions_output: JsonSchema = { + "properties": { + "flags": { + "additionalProperties": { + "properties": { + "default_variation": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "key": { + "type": "string" + }, + "rules": { + "items": { + "properties": { + "conditions": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_JsonValue" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "rollout": { + "properties": { + "attribute": { + "type": "string" + }, + "percentage": { + "type": "number" + } + }, + "required": [ + "percentage" + ], + "type": "object" + }, + "serve_variation": { + "type": "string" + } + }, + "required": [ + "conditions", + "serve_variation" + ], + "type": "object" + }, + "type": "array" + }, + "variations": { + "additionalProperties": { + "$ref": "#/$defs/flagship_JsonValue" + }, + "type": "object" + } + }, + "required": [ + "default_variation", + "enabled", + "key", + "rules", + "variations" + ], + "type": "object" + }, + "type": "object" + } + }, + "required": [ + "flags" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/flagship/apps/definitions/tools.ts b/src/generated/forge-mcp/flagship/apps/definitions/tools.ts index 04bbbb4a..c3c466a7 100644 --- a/src/generated/forge-mcp/flagship/apps/definitions/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/definitions/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { flagship_JsonValue_output } from "../outputs.js"; +import { flagship_FlagDefinitions_output } from "./outputs.js"; /** * The tools of `flagship.apps.definitions`. @@ -63,6 +65,108 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_FlagDefinitions" + }, + "304": null, + "401": { + "properties": { + "error": { + "type": "string" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "error", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "error": { + "type": "string" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "error", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "error", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "error": { + "type": "string" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "error", + "success" + ], + "type": "object" + }, + "503": { + "properties": { + "error": { + "type": "string" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "error", + "success" + ], + "type": "object" + } + }, + $defs: { + "flagship_FlagDefinitions": flagship_FlagDefinitions_output, + "flagship_JsonValue": flagship_JsonValue_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/definitions`, headers: [ diff --git a/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts b/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts index da946451..e1ff9e15 100644 --- a/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + flagship_ApiMessage_output, + flagship_Error_output, + flagship_EvaluationResult_output, + flagship_JsonValue_output, +} from "../outputs.js"; /** * The tools of `flagship.apps.evaluate`. @@ -69,6 +75,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_EvaluationResult" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + }, + "503": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_Error": flagship_Error_output, + "flagship_EvaluationResult": flagship_EvaluationResult_output, + "flagship_JsonValue": flagship_JsonValue_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/evaluate`, query: [ diff --git a/src/generated/forge-mcp/flagship/apps/flags/changelog/outputs.ts b/src/generated/forge-mcp/flagship/apps/flags/changelog/outputs.ts new file mode 100644 index 00000000..62906cbe --- /dev/null +++ b/src/generated/forge-mcp/flagship/apps/flags/changelog/outputs.ts @@ -0,0 +1,103 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `flagship_ChangelogEntry` in responses. + */ +export const flagship_ChangelogEntry_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "after": { + "$ref": "#/$defs/flagship_Flag" + }, + "event": { + "enum": [ + "create" + ], + "type": "string" + }, + "flag_key": { + "type": "string" + } + }, + "required": [ + "after", + "event", + "flag_key" + ], + "type": "object" + }, + { + "properties": { + "after": { + "$ref": "#/$defs/flagship_Flag" + }, + "event": { + "enum": [ + "delete" + ], + "type": "string" + }, + "flag_key": { + "type": "string" + } + }, + "required": [ + "after", + "event", + "flag_key" + ], + "type": "object" + }, + { + "properties": { + "after": { + "$ref": "#/$defs/flagship_Flag" + }, + "diff": { + "additionalProperties": { + "properties": { + "from": { + "$ref": "#/$defs/flagship_JsonValue" + }, + "to": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "type": "object" + }, + "type": "object" + }, + "event": { + "enum": [ + "update" + ], + "type": "string" + }, + "flag_key": { + "type": "string" + } + }, + "required": [ + "after", + "diff", + "event", + "flag_key" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `flagship_ChangelogPage` in responses. + */ +export const flagship_ChangelogPage_output: JsonSchema = { + "items": { + "$ref": "#/$defs/flagship_ChangelogEntry" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts b/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts index f0efaf12..7c5dc2f4 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + flagship_ApiMessage_output, + flagship_Error_output, + flagship_JsonValue_output, +} from "../../outputs.js"; +import { + flagship_Flag_output, + flagship_Flag_rulesItem_output, + flagship_Flag_rulesItem_rollout_output, + flagship_ResultInfo_output, +} from "../outputs.js"; +import { + flagship_ChangelogEntry_output, + flagship_ChangelogPage_output, +} from "./outputs.js"; /** * The tools of `flagship.apps.flags.changelog`. @@ -72,6 +87,53 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/flagship_ChangelogPage" + }, + "result_info": { + "$ref": "#/$defs/flagship_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_ChangelogEntry": flagship_ChangelogEntry_output, + "flagship_ChangelogPage": flagship_ChangelogPage_output, + "flagship_Error": flagship_Error_output, + "flagship_Flag": flagship_Flag_output, + "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, + "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, + "flagship_JsonValue": flagship_JsonValue_output, + "flagship_ResultInfo": flagship_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/flags/${pathParam(args, "flag_key")}/changelog`, query: [ diff --git a/src/generated/forge-mcp/flagship/apps/flags/outputs.ts b/src/generated/forge-mcp/flagship/apps/flags/outputs.ts new file mode 100644 index 00000000..c1f0a38a --- /dev/null +++ b/src/generated/forge-mcp/flagship/apps/flags/outputs.ts @@ -0,0 +1,513 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `flagship_DeleteFlagResult` in responses. + */ +export const flagship_DeleteFlagResult_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" +}; + +/** + * The schema of `flagship_Flag` in responses. + */ +export const flagship_Flag_output: JsonSchema = { + "properties": { + "default_variation": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "key": { + "type": "string" + }, + "rules": { + "items": { + "$ref": "#/$defs/flagship_Flag_rulesItem" + }, + "type": "array" + }, + "type": { + "enum": [ + "boolean", + "string", + "number", + "json" + ], + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "updated_by": { + "type": "string" + }, + "variations": { + "additionalProperties": { + "$ref": "#/$defs/flagship_JsonValue" + }, + "type": "object" + } + }, + "required": [ + "default_variation", + "enabled", + "key", + "rules", + "type", + "variations" + ], + "type": "object" +}; + +/** + * The schema of `flagship_Flag_rulesItem` in responses. + */ +export const flagship_Flag_rulesItem_output: JsonSchema = { + "properties": { + "conditions": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "anyOf": [ + { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" + }, + { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_JsonValue" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "priority": { + "type": "integer" + }, + "rollout": { + "$ref": "#/$defs/flagship_Flag_rulesItem_rollout" + }, + "serve_variation": { + "type": "string" + } + }, + "required": [ + "conditions", + "priority", + "serve_variation" + ], + "type": "object" +}; + +/** + * The schema of `flagship_Flag_rulesItem_rollout` in responses. + */ +export const flagship_Flag_rulesItem_rollout_output: JsonSchema = { + "properties": { + "attribute": { + "type": "string" + }, + "percentage": { + "type": "number" + } + }, + "required": [ + "percentage" + ], + "type": "object" +}; + +/** + * The schema of `flagship_FlagsPage` in responses. + */ +export const flagship_FlagsPage_output: JsonSchema = { + "items": { + "$ref": "#/$defs/flagship_Flag" + }, + "type": "array" +}; + +/** + * The schema of `flagship_ResultInfo` in responses. + */ +export const flagship_ResultInfo_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "count", + "cursor" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/flagship/apps/flags/tools.ts b/src/generated/forge-mcp/flagship/apps/flags/tools.ts index 70a9ba48..3cfdda75 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/tools.ts @@ -2,7 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + flagship_ApiMessage_output, + flagship_Error_output, + flagship_EvaluationResult_output, + flagship_JsonValue_output, +} from "../outputs.js"; import { flagship_JsonValue } from "../schemas.js"; +import { + flagship_DeleteFlagResult_output, + flagship_Flag_output, + flagship_Flag_rulesItem_output, + flagship_Flag_rulesItem_rollout_output, + flagship_FlagsPage_output, + flagship_ResultInfo_output, +} from "./outputs.js"; /** * The tools of `flagship.apps.flags`. @@ -509,6 +523,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/flagship_Flag" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_Error": flagship_Error_output, + "flagship_Flag": flagship_Flag_output, + "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, + "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, + "flagship_JsonValue": flagship_JsonValue_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/flags`, body: { value: args["body"], mediaType: "application/json" }, @@ -570,6 +617,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_DeleteFlagResult" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_DeleteFlagResult": flagship_DeleteFlagResult_output, + "flagship_Error": flagship_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/flags/${pathParam(args, "flag_key")}`, }), @@ -651,6 +728,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_EvaluationResult" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + }, + "503": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_Error": flagship_Error_output, + "flagship_EvaluationResult": flagship_EvaluationResult_output, + "flagship_JsonValue": flagship_JsonValue_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/evaluate`, body: { value: args["body"], mediaType: "application/json" }, @@ -713,6 +821,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_Flag" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_Error": flagship_Error_output, + "flagship_Flag": flagship_Flag_output, + "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, + "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, + "flagship_JsonValue": flagship_JsonValue_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/flags/${pathParam(args, "flag_key")}`, }), @@ -777,6 +918,52 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/flagship_FlagsPage" + }, + "result_info": { + "$ref": "#/$defs/flagship_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_Error": flagship_Error_output, + "flagship_Flag": flagship_Flag_output, + "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, + "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, + "flagship_FlagsPage": flagship_FlagsPage_output, + "flagship_JsonValue": flagship_JsonValue_output, + "flagship_ResultInfo": flagship_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/flags`, query: [ @@ -1291,6 +1478,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_Flag" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_Error": flagship_Error_output, + "flagship_Flag": flagship_Flag_output, + "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, + "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, + "flagship_JsonValue": flagship_JsonValue_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/flags/${pathParam(args, "flag_key")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/flagship/apps/outputs.ts b/src/generated/forge-mcp/flagship/apps/outputs.ts new file mode 100644 index 00000000..e653ca1f --- /dev/null +++ b/src/generated/forge-mcp/flagship/apps/outputs.ts @@ -0,0 +1,163 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `flagship_ApiMessage` in responses. + */ +export const flagship_ApiMessage_output: JsonSchema = { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" +}; + +/** + * The schema of `flagship_App` in responses. + */ +export const flagship_App_output: JsonSchema = { + "properties": { + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "updated_by": { + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "updated_at", + "updated_by" + ], + "type": "object" +}; + +/** + * The schema of `flagship_DeleteAppResult` in responses. + */ +export const flagship_DeleteAppResult_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `flagship_Error` in responses. + */ +export const flagship_Error_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/flagship_ApiMessage" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/flagship_ApiMessage" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `flagship_EvaluationResult` in responses. + */ +export const flagship_EvaluationResult_output: JsonSchema = { + "properties": { + "flagKey": { + "type": "string" + }, + "reason": { + "enum": [ + "STATIC", + "TARGETING_MATCH", + "DEFAULT", + "DISABLED", + "SPLIT" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + }, + "variant": { + "type": "string" + } + }, + "required": [ + "flagKey", + "reason", + "variant" + ], + "type": "object" +}; + +/** + * The schema of `flagship_JsonValue` in responses. + */ +export const flagship_JsonValue_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/flagship/apps/tools.ts b/src/generated/forge-mcp/flagship/apps/tools.ts index 0c398e10..34c9b977 100644 --- a/src/generated/forge-mcp/flagship/apps/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + flagship_ApiMessage_output, + flagship_App_output, + flagship_DeleteAppResult_output, + flagship_Error_output, +} from "./outputs.js"; /** * The tools of `flagship.apps`. @@ -66,6 +72,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/flagship_App" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_App": flagship_App_output, + "flagship_Error": flagship_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +158,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_DeleteAppResult" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "409": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_DeleteAppResult": flagship_DeleteAppResult_output, + "flagship_Error": flagship_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}`, }), @@ -178,6 +247,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_App" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_App": flagship_App_output, + "flagship_Error": flagship_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}`, }), @@ -229,6 +328,50 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/flagship_App" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_App": flagship_App_output, + "flagship_Error": flagship_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps`, }), @@ -294,6 +437,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_App" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_App": flagship_App_output, + "flagship_Error": flagship_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/fraud/outputs.ts b/src/generated/forge-mcp/fraud/outputs.ts new file mode 100644 index 00000000..5fc1001a --- /dev/null +++ b/src/generated/forge-mcp/fraud/outputs.ts @@ -0,0 +1,176 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `fraud_api-response-common-failure` in responses. + */ +export const fraud_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/fraud_messages" + }, + "messages": { + "$ref": "#/$defs/fraud_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `fraud_auth_criteria` in responses. + */ +export const fraud_auth_criteria_output: JsonSchema = { + "properties": { + "kind": { + "enum": [ + "status_code" + ], + "type": "string" + }, + "status_codes": { + "items": { + "type": "integer" + }, + "maxItems": 10, + "type": "array" + } + }, + "required": [ + "kind" + ], + "type": "object" +}; + +/** + * The schema of `fraud_authentication_settings` in responses. + */ +export const fraud_authentication_settings_output: JsonSchema = { + "properties": { + "failure_criteria": { + "$ref": "#/$defs/fraud_auth_criteria" + }, + "success_criteria": { + "$ref": "#/$defs/fraud_auth_criteria" + } + }, + "type": "object" +}; + +/** + * The schema of `fraud_fraud_settings` in responses. + */ +export const fraud_fraud_settings_output: JsonSchema = { + "properties": { + "authentication_settings": { + "$ref": "#/$defs/fraud_authentication_settings" + }, + "user_profiles": { + "$ref": "#/$defs/fraud_user_profiles_status" + }, + "username_expressions": { + "$ref": "#/$defs/fraud_username_expressions" + } + }, + "type": "object" +}; + +/** + * The schema of `fraud_fraud_settings_response_body` in responses. + */ +export const fraud_fraud_settings_response_body_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/fraud_messages" + }, + "messages": { + "$ref": "#/$defs/fraud_messages" + }, + "result": { + "$ref": "#/$defs/fraud_fraud_settings" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `fraud_messages` in responses. + */ +export const fraud_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `fraud_user_profiles_status` in responses. + */ +export const fraud_user_profiles_status_output: JsonSchema = { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" +}; + +/** + * The schema of `fraud_username_expressions` in responses. + */ +export const fraud_username_expressions_output: JsonSchema = { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" +}; diff --git a/src/generated/forge-mcp/fraud/tools.ts b/src/generated/forge-mcp/fraud/tools.ts index df24d561..92801a81 100644 --- a/src/generated/forge-mcp/fraud/tools.ts +++ b/src/generated/forge-mcp/fraud/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + fraud_api_response_common_failure_output, + fraud_auth_criteria_output, + fraud_authentication_settings_output, + fraud_fraud_settings_output, + fraud_fraud_settings_response_body_output, + fraud_messages_output, + fraud_user_profiles_status_output, + fraud_username_expressions_output, +} from "./outputs.js"; import { fraud_auth_criteria, fraud_authentication_settings, @@ -45,6 +55,33 @@ export const tools: readonly Tool[] = [ "Fraud Detection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/fraud_fraud_settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/fraud_fraud_settings_response_body" + }, + { + "$ref": "#/$defs/fraud_api-response-common-failure" + } + ] + } + }, + $defs: { + "fraud_api-response-common-failure": fraud_api_response_common_failure_output, + "fraud_auth_criteria": fraud_auth_criteria_output, + "fraud_authentication_settings": fraud_authentication_settings_output, + "fraud_fraud_settings": fraud_fraud_settings_output, + "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body_output, + "fraud_messages": fraud_messages_output, + "fraud_user_profiles_status": fraud_user_profiles_status_output, + "fraud_username_expressions": fraud_username_expressions_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/fraud_detection/settings`, }), @@ -90,6 +127,33 @@ export const tools: readonly Tool[] = [ "Fraud Detection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/fraud_fraud_settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/fraud_fraud_settings_response_body" + }, + { + "$ref": "#/$defs/fraud_api-response-common-failure" + } + ] + } + }, + $defs: { + "fraud_api-response-common-failure": fraud_api_response_common_failure_output, + "fraud_auth_criteria": fraud_auth_criteria_output, + "fraud_authentication_settings": fraud_authentication_settings_output, + "fraud_fraud_settings": fraud_fraud_settings_output, + "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body_output, + "fraud_messages": fraud_messages_output, + "fraud_user_profiles_status": fraud_user_profiles_status_output, + "fraud_username_expressions": fraud_username_expressions_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/fraud_detection/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/googleTagGateway/config/outputs.ts b/src/generated/forge-mcp/googleTagGateway/config/outputs.ts new file mode 100644 index 00000000..69db365b --- /dev/null +++ b/src/generated/forge-mcp/googleTagGateway/config/outputs.ts @@ -0,0 +1,104 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `google-tag-gateway_api-response-common-failure` in responses. + */ +export const google_tag_gateway_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/google-tag-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/google-tag-gateway_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `google-tag-gateway_google-tag-gateway-config` in responses. + */ +export const google_tag_gateway_google_tag_gateway_config_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "endpoint": { + "type": "string" + }, + "hideOriginalIp": { + "type": "boolean" + }, + "measurementId": { + "type": "string" + }, + "setUpTag": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "enabled", + "endpoint", + "hideOriginalIp", + "measurementId" + ], + "type": "object" +}; + +/** + * The schema of `google-tag-gateway_messages` in responses. + */ +export const google_tag_gateway_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/googleTagGateway/config/tools.ts b/src/generated/forge-mcp/googleTagGateway/config/tools.ts index 08aad012..220ef009 100644 --- a/src/generated/forge-mcp/googleTagGateway/config/tools.ts +++ b/src/generated/forge-mcp/googleTagGateway/config/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + google_tag_gateway_api_response_common_failure_output, + google_tag_gateway_google_tag_gateway_config_output, + google_tag_gateway_messages_output, +} from "./outputs.js"; import { google_tag_gateway_google_tag_gateway_config } from "./schemas.js"; /** @@ -56,6 +61,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/google-tag-gateway_google-tag-gateway-config" + }, + "4XX": { + "$ref": "#/$defs/google-tag-gateway_api-response-common-failure" + } + }, + $defs: { + "google-tag-gateway_api-response-common-failure": google_tag_gateway_api_response_common_failure_output, + "google-tag-gateway_google-tag-gateway-config": google_tag_gateway_google_tag_gateway_config_output, + "google-tag-gateway_messages": google_tag_gateway_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/google-tag-gateway/config`, }), @@ -114,6 +134,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/google-tag-gateway_google-tag-gateway-config" + }, + "4XX": { + "$ref": "#/$defs/google-tag-gateway_api-response-common-failure" + } + }, + $defs: { + "google-tag-gateway_api-response-common-failure": google_tag_gateway_api_response_common_failure_output, + "google-tag-gateway_google-tag-gateway-config": google_tag_gateway_google_tag_gateway_config_output, + "google-tag-gateway_messages": google_tag_gateway_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/google-tag-gateway/config`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/healthchecks/outputs.ts b/src/generated/forge-mcp/healthchecks/outputs.ts new file mode 100644 index 00000000..92440f4d --- /dev/null +++ b/src/generated/forge-mcp/healthchecks/outputs.ts @@ -0,0 +1,478 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `healthchecks_address` in responses. + */ +export const healthchecks_address_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `healthchecks_api-response-common-failure` in responses. + */ +export const healthchecks_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/healthchecks_messages" + }, + "messages": { + "$ref": "#/$defs/healthchecks_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `healthchecks_check_regions` in responses. + */ +export const healthchecks_check_regions_output: JsonSchema = { + "oneOf": [ + { + "items": { + "enum": [ + "WNAM", + "ENAM", + "WEU", + "EEU", + "NSAM", + "SSAM", + "OC", + "ME", + "NAF", + "SAF", + "IN", + "SEAS", + "NEAS", + "ALL_REGIONS" + ], + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `healthchecks_consecutive_fails` in responses. + */ +export const healthchecks_consecutive_fails_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `healthchecks_consecutive_successes` in responses. + */ +export const healthchecks_consecutive_successes_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `healthchecks_description` in responses. + */ +export const healthchecks_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `healthchecks_failure_reason` in responses. + */ +export const healthchecks_failure_reason_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `healthchecks_healthchecks` in responses. + */ +export const healthchecks_healthchecks_output: JsonSchema = { + "properties": { + "address": { + "$ref": "#/$defs/healthchecks_address" + }, + "check_regions": { + "$ref": "#/$defs/healthchecks_check_regions" + }, + "consecutive_fails": { + "$ref": "#/$defs/healthchecks_consecutive_fails" + }, + "consecutive_successes": { + "$ref": "#/$defs/healthchecks_consecutive_successes" + }, + "created_on": { + "$ref": "#/$defs/healthchecks_timestamp" + }, + "description": { + "$ref": "#/$defs/healthchecks_description" + }, + "failure_reason": { + "$ref": "#/$defs/healthchecks_failure_reason" + }, + "http_config": { + "$ref": "#/$defs/healthchecks_http_config" + }, + "id": { + "$ref": "#/$defs/healthchecks_identifier" + }, + "interval": { + "$ref": "#/$defs/healthchecks_interval" + }, + "modified_on": { + "$ref": "#/$defs/healthchecks_timestamp" + }, + "name": { + "$ref": "#/$defs/healthchecks_name" + }, + "retries": { + "$ref": "#/$defs/healthchecks_retries" + }, + "status": { + "$ref": "#/$defs/healthchecks_status" + }, + "suspended": { + "$ref": "#/$defs/healthchecks_suspended" + }, + "tcp_config": { + "$ref": "#/$defs/healthchecks_tcp_config" + }, + "timeout": { + "$ref": "#/$defs/healthchecks_timeout" + }, + "type": { + "$ref": "#/$defs/healthchecks_type" + } + }, + "type": "object" +}; + +/** + * The schema of `healthchecks_http_config` in responses. + */ +export const healthchecks_http_config_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "allow_insecure": { + "type": "boolean" + }, + "expected_body": { + "type": "string" + }, + "expected_codes": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "follow_redirects": { + "type": "boolean" + }, + "header": { + "oneOf": [ + { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "method": { + "enum": [ + "GET", + "HEAD" + ], + "type": "string" + }, + "path": { + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `healthchecks_id_response` in responses. + */ +export const healthchecks_id_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/healthchecks_messages" + }, + "messages": { + "$ref": "#/$defs/healthchecks_messages" + }, + "result": { + "$ref": "#/$defs/healthchecks_id_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `healthchecks_id_response_result` in responses. + */ +export const healthchecks_id_response_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/healthchecks_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `healthchecks_identifier` in responses. + */ +export const healthchecks_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `healthchecks_interval` in responses. + */ +export const healthchecks_interval_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `healthchecks_messages` in responses. + */ +export const healthchecks_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `healthchecks_name` in responses. + */ +export const healthchecks_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `healthchecks_response_collection` in responses. + */ +export const healthchecks_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/healthchecks_messages" + }, + "messages": { + "$ref": "#/$defs/healthchecks_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/healthchecks_healthchecks" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/healthchecks_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `healthchecks_result_info` in responses. + */ +export const healthchecks_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `healthchecks_retries` in responses. + */ +export const healthchecks_retries_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `healthchecks_single_response` in responses. + */ +export const healthchecks_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/healthchecks_messages" + }, + "messages": { + "$ref": "#/$defs/healthchecks_messages" + }, + "result": { + "$ref": "#/$defs/healthchecks_healthchecks" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `healthchecks_status` in responses. + */ +export const healthchecks_status_output: JsonSchema = { + "enum": [ + "unknown", + "healthy", + "unhealthy", + "suspended" + ], + "type": "string" +}; + +/** + * The schema of `healthchecks_suspended` in responses. + */ +export const healthchecks_suspended_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `healthchecks_tcp_config` in responses. + */ +export const healthchecks_tcp_config_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "method": { + "enum": [ + "connection_established" + ], + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `healthchecks_timeout` in responses. + */ +export const healthchecks_timeout_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `healthchecks_timestamp` in responses. + */ +export const healthchecks_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `healthchecks_type` in responses. + */ +export const healthchecks_type_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/healthchecks/previews/tools.ts b/src/generated/forge-mcp/healthchecks/previews/tools.ts index 11769943..0ed43b68 100644 --- a/src/generated/forge-mcp/healthchecks/previews/tools.ts +++ b/src/generated/forge-mcp/healthchecks/previews/tools.ts @@ -2,6 +2,31 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + healthchecks_address_output, + healthchecks_api_response_common_failure_output, + healthchecks_check_regions_output, + healthchecks_consecutive_fails_output, + healthchecks_consecutive_successes_output, + healthchecks_description_output, + healthchecks_failure_reason_output, + healthchecks_healthchecks_output, + healthchecks_http_config_output, + healthchecks_id_response_output, + healthchecks_id_response_result_output, + healthchecks_identifier_output, + healthchecks_interval_output, + healthchecks_messages_output, + healthchecks_name_output, + healthchecks_retries_output, + healthchecks_single_response_output, + healthchecks_status_output, + healthchecks_suspended_output, + healthchecks_tcp_config_output, + healthchecks_timeout_output, + healthchecks_timestamp_output, + healthchecks_type_output, +} from "../outputs.js"; import { healthchecks_address, healthchecks_check_regions, @@ -79,6 +104,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/healthchecks_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/healthchecks_single_response" + }, + { + "$ref": "#/$defs/healthchecks_api-response-common-failure" + } + ] + } + }, + $defs: { + "healthchecks_address": healthchecks_address_output, + "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, + "healthchecks_check_regions": healthchecks_check_regions_output, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, + "healthchecks_description": healthchecks_description_output, + "healthchecks_failure_reason": healthchecks_failure_reason_output, + "healthchecks_healthchecks": healthchecks_healthchecks_output, + "healthchecks_http_config": healthchecks_http_config_output, + "healthchecks_identifier": healthchecks_identifier_output, + "healthchecks_interval": healthchecks_interval_output, + "healthchecks_messages": healthchecks_messages_output, + "healthchecks_name": healthchecks_name_output, + "healthchecks_retries": healthchecks_retries_output, + "healthchecks_single_response": healthchecks_single_response_output, + "healthchecks_status": healthchecks_status_output, + "healthchecks_suspended": healthchecks_suspended_output, + "healthchecks_tcp_config": healthchecks_tcp_config_output, + "healthchecks_timeout": healthchecks_timeout_output, + "healthchecks_timestamp": healthchecks_timestamp_output, + "healthchecks_type": healthchecks_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks/preview`, body: { value: args["body"], mediaType: "application/json" }, @@ -125,6 +190,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/healthchecks_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/healthchecks_id_response" + }, + { + "$ref": "#/$defs/healthchecks_api-response-common-failure" + } + ] + } + }, + $defs: { + "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, + "healthchecks_id_response": healthchecks_id_response_output, + "healthchecks_id_response_result": healthchecks_id_response_result_output, + "healthchecks_identifier": healthchecks_identifier_output, + "healthchecks_messages": healthchecks_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks/preview/${pathParam(args, "healthcheck_id")}`, }), @@ -171,6 +265,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/healthchecks_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/healthchecks_single_response" + }, + { + "$ref": "#/$defs/healthchecks_api-response-common-failure" + } + ] + } + }, + $defs: { + "healthchecks_address": healthchecks_address_output, + "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, + "healthchecks_check_regions": healthchecks_check_regions_output, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, + "healthchecks_description": healthchecks_description_output, + "healthchecks_failure_reason": healthchecks_failure_reason_output, + "healthchecks_healthchecks": healthchecks_healthchecks_output, + "healthchecks_http_config": healthchecks_http_config_output, + "healthchecks_identifier": healthchecks_identifier_output, + "healthchecks_interval": healthchecks_interval_output, + "healthchecks_messages": healthchecks_messages_output, + "healthchecks_name": healthchecks_name_output, + "healthchecks_retries": healthchecks_retries_output, + "healthchecks_single_response": healthchecks_single_response_output, + "healthchecks_status": healthchecks_status_output, + "healthchecks_suspended": healthchecks_suspended_output, + "healthchecks_tcp_config": healthchecks_tcp_config_output, + "healthchecks_timeout": healthchecks_timeout_output, + "healthchecks_timestamp": healthchecks_timestamp_output, + "healthchecks_type": healthchecks_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks/preview/${pathParam(args, "healthcheck_id")}`, }), diff --git a/src/generated/forge-mcp/healthchecks/tools.ts b/src/generated/forge-mcp/healthchecks/tools.ts index 9af6a9ca..33f2a314 100644 --- a/src/generated/forge-mcp/healthchecks/tools.ts +++ b/src/generated/forge-mcp/healthchecks/tools.ts @@ -2,6 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + healthchecks_address_output, + healthchecks_api_response_common_failure_output, + healthchecks_check_regions_output, + healthchecks_consecutive_fails_output, + healthchecks_consecutive_successes_output, + healthchecks_description_output, + healthchecks_failure_reason_output, + healthchecks_healthchecks_output, + healthchecks_http_config_output, + healthchecks_id_response_output, + healthchecks_id_response_result_output, + healthchecks_identifier_output, + healthchecks_interval_output, + healthchecks_messages_output, + healthchecks_name_output, + healthchecks_response_collection_output, + healthchecks_result_info_output, + healthchecks_retries_output, + healthchecks_single_response_output, + healthchecks_status_output, + healthchecks_suspended_output, + healthchecks_tcp_config_output, + healthchecks_timeout_output, + healthchecks_timestamp_output, + healthchecks_type_output, +} from "./outputs.js"; import { healthchecks_address, healthchecks_check_regions, @@ -79,6 +106,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/healthchecks_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/healthchecks_single_response" + }, + { + "$ref": "#/$defs/healthchecks_api-response-common-failure" + } + ] + } + }, + $defs: { + "healthchecks_address": healthchecks_address_output, + "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, + "healthchecks_check_regions": healthchecks_check_regions_output, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, + "healthchecks_description": healthchecks_description_output, + "healthchecks_failure_reason": healthchecks_failure_reason_output, + "healthchecks_healthchecks": healthchecks_healthchecks_output, + "healthchecks_http_config": healthchecks_http_config_output, + "healthchecks_identifier": healthchecks_identifier_output, + "healthchecks_interval": healthchecks_interval_output, + "healthchecks_messages": healthchecks_messages_output, + "healthchecks_name": healthchecks_name_output, + "healthchecks_retries": healthchecks_retries_output, + "healthchecks_single_response": healthchecks_single_response_output, + "healthchecks_status": healthchecks_status_output, + "healthchecks_suspended": healthchecks_suspended_output, + "healthchecks_tcp_config": healthchecks_tcp_config_output, + "healthchecks_timeout": healthchecks_timeout_output, + "healthchecks_timestamp": healthchecks_timestamp_output, + "healthchecks_type": healthchecks_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks`, body: { value: args["body"], mediaType: "application/json" }, @@ -125,6 +192,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/healthchecks_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/healthchecks_id_response" + }, + { + "$ref": "#/$defs/healthchecks_api-response-common-failure" + } + ] + } + }, + $defs: { + "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, + "healthchecks_id_response": healthchecks_id_response_output, + "healthchecks_id_response_result": healthchecks_id_response_result_output, + "healthchecks_identifier": healthchecks_identifier_output, + "healthchecks_messages": healthchecks_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks/${pathParam(args, "healthcheck_id")}`, }), @@ -190,6 +286,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/healthchecks_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/healthchecks_single_response" + }, + { + "$ref": "#/$defs/healthchecks_api-response-common-failure" + } + ] + } + }, + $defs: { + "healthchecks_address": healthchecks_address_output, + "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, + "healthchecks_check_regions": healthchecks_check_regions_output, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, + "healthchecks_description": healthchecks_description_output, + "healthchecks_failure_reason": healthchecks_failure_reason_output, + "healthchecks_healthchecks": healthchecks_healthchecks_output, + "healthchecks_http_config": healthchecks_http_config_output, + "healthchecks_identifier": healthchecks_identifier_output, + "healthchecks_interval": healthchecks_interval_output, + "healthchecks_messages": healthchecks_messages_output, + "healthchecks_name": healthchecks_name_output, + "healthchecks_retries": healthchecks_retries_output, + "healthchecks_single_response": healthchecks_single_response_output, + "healthchecks_status": healthchecks_status_output, + "healthchecks_suspended": healthchecks_suspended_output, + "healthchecks_tcp_config": healthchecks_tcp_config_output, + "healthchecks_timeout": healthchecks_timeout_output, + "healthchecks_timestamp": healthchecks_timestamp_output, + "healthchecks_type": healthchecks_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks/${pathParam(args, "healthcheck_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -237,6 +373,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/healthchecks_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/healthchecks_single_response" + }, + { + "$ref": "#/$defs/healthchecks_api-response-common-failure" + } + ] + } + }, + $defs: { + "healthchecks_address": healthchecks_address_output, + "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, + "healthchecks_check_regions": healthchecks_check_regions_output, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, + "healthchecks_description": healthchecks_description_output, + "healthchecks_failure_reason": healthchecks_failure_reason_output, + "healthchecks_healthchecks": healthchecks_healthchecks_output, + "healthchecks_http_config": healthchecks_http_config_output, + "healthchecks_identifier": healthchecks_identifier_output, + "healthchecks_interval": healthchecks_interval_output, + "healthchecks_messages": healthchecks_messages_output, + "healthchecks_name": healthchecks_name_output, + "healthchecks_retries": healthchecks_retries_output, + "healthchecks_single_response": healthchecks_single_response_output, + "healthchecks_status": healthchecks_status_output, + "healthchecks_suspended": healthchecks_suspended_output, + "healthchecks_tcp_config": healthchecks_tcp_config_output, + "healthchecks_timeout": healthchecks_timeout_output, + "healthchecks_timestamp": healthchecks_timestamp_output, + "healthchecks_type": healthchecks_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks/${pathParam(args, "healthcheck_id")}`, }), @@ -288,6 +464,61 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/healthchecks_healthchecks" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/healthchecks_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/healthchecks_response_collection" + }, + { + "$ref": "#/$defs/healthchecks_api-response-common-failure" + } + ] + } + }, + $defs: { + "healthchecks_address": healthchecks_address_output, + "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, + "healthchecks_check_regions": healthchecks_check_regions_output, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, + "healthchecks_description": healthchecks_description_output, + "healthchecks_failure_reason": healthchecks_failure_reason_output, + "healthchecks_healthchecks": healthchecks_healthchecks_output, + "healthchecks_http_config": healthchecks_http_config_output, + "healthchecks_identifier": healthchecks_identifier_output, + "healthchecks_interval": healthchecks_interval_output, + "healthchecks_messages": healthchecks_messages_output, + "healthchecks_name": healthchecks_name_output, + "healthchecks_response_collection": healthchecks_response_collection_output, + "healthchecks_result_info": healthchecks_result_info_output, + "healthchecks_retries": healthchecks_retries_output, + "healthchecks_status": healthchecks_status_output, + "healthchecks_suspended": healthchecks_suspended_output, + "healthchecks_tcp_config": healthchecks_tcp_config_output, + "healthchecks_timeout": healthchecks_timeout_output, + "healthchecks_timestamp": healthchecks_timestamp_output, + "healthchecks_type": healthchecks_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks`, query: [ @@ -357,6 +588,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/healthchecks_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/healthchecks_single_response" + }, + { + "$ref": "#/$defs/healthchecks_api-response-common-failure" + } + ] + } + }, + $defs: { + "healthchecks_address": healthchecks_address_output, + "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, + "healthchecks_check_regions": healthchecks_check_regions_output, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, + "healthchecks_description": healthchecks_description_output, + "healthchecks_failure_reason": healthchecks_failure_reason_output, + "healthchecks_healthchecks": healthchecks_healthchecks_output, + "healthchecks_http_config": healthchecks_http_config_output, + "healthchecks_identifier": healthchecks_identifier_output, + "healthchecks_interval": healthchecks_interval_output, + "healthchecks_messages": healthchecks_messages_output, + "healthchecks_name": healthchecks_name_output, + "healthchecks_retries": healthchecks_retries_output, + "healthchecks_single_response": healthchecks_single_response_output, + "healthchecks_status": healthchecks_status_output, + "healthchecks_suspended": healthchecks_suspended_output, + "healthchecks_tcp_config": healthchecks_tcp_config_output, + "healthchecks_timeout": healthchecks_timeout_output, + "healthchecks_timestamp": healthchecks_timestamp_output, + "healthchecks_type": healthchecks_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks/${pathParam(args, "healthcheck_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/hyperdrive/integration/planetscale/outputs.ts b/src/generated/forge-mcp/hyperdrive/integration/planetscale/outputs.ts new file mode 100644 index 00000000..7cf60231 --- /dev/null +++ b/src/generated/forge-mcp/hyperdrive/integration/planetscale/outputs.ts @@ -0,0 +1,28 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `hyperdrive_hyperdrive-database-signature-response` in + * responses. + */ +export const hyperdrive_hyperdrive_database_signature_response_output: JsonSchema = { + "properties": { + "account_id": { + "type": "string" + }, + "signature": { + "type": "string" + }, + "timestamp": { + "type": "string" + } + }, + "required": [ + "account_id", + "signature", + "timestamp" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts b/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts index 432eca59..e2fa4cd3 100644 --- a/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts +++ b/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + hyperdrive_api_response_common_failure_output, + hyperdrive_messages_output, +} from "../../outputs.js"; +import { hyperdrive_hyperdrive_database_signature_response_output } from "./outputs.js"; /** * The tools of `hyperdrive.integration.planetscale`. @@ -32,6 +37,21 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/hyperdrive/integrationsOperations/planetScale/createDatabaseSignature", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/hyperdrive_hyperdrive-database-signature-response" + }, + "4XX": { + "$ref": "#/$defs/hyperdrive_api-response-common-failure" + } + }, + $defs: { + "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, + "hyperdrive_hyperdrive-database-signature-response": hyperdrive_hyperdrive_database_signature_response_output, + "hyperdrive_messages": hyperdrive_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/hyperdrive/integrationsOperations/planetScale/createDatabaseSignature`, }), diff --git a/src/generated/forge-mcp/hyperdrive/outputs.ts b/src/generated/forge-mcp/hyperdrive/outputs.ts new file mode 100644 index 00000000..61f4ee91 --- /dev/null +++ b/src/generated/forge-mcp/hyperdrive/outputs.ts @@ -0,0 +1,349 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `hyperdrive_api-response-common-failure` in responses. + */ +export const hyperdrive_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/hyperdrive_messages" + }, + "messages": { + "$ref": "#/$defs/hyperdrive_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `hyperdrive_hyperdrive-caching-response` in responses. + */ +export const hyperdrive_hyperdrive_caching_response_output: JsonSchema = { + "properties": { + "disabled": { + "type": "boolean" + }, + "max_age": { + "type": "integer" + }, + "stale_while_revalidate": { + "type": "integer" + } + }, + "required": [ + "disabled" + ], + "type": "object" +}; + +/** + * The schema of `hyperdrive_hyperdrive-config-response` in responses. + */ +export const hyperdrive_hyperdrive_config_response_output: JsonSchema = { + "properties": { + "caching": { + "$ref": "#/$defs/hyperdrive_hyperdrive-caching-response" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/hyperdrive_identifier" + }, + "integration": { + "$ref": "#/$defs/hyperdrive_hyperdrive-planet-scale-integration" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "mtls": { + "$ref": "#/$defs/hyperdrive_hyperdrive-mtls" + }, + "name": { + "$ref": "#/$defs/hyperdrive_hyperdrive-name" + }, + "origin": { + "$ref": "#/$defs/hyperdrive_hyperdrive-origin-full" + }, + "origin_connection_limit": { + "$ref": "#/$defs/hyperdrive_hyperdrive-origin-connection-limit" + }, + "restarted_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "caching", + "id", + "name", + "origin" + ], + "type": "object" +}; + +/** + * The schema of `hyperdrive_hyperdrive-integration-provider` in responses. + */ +export const hyperdrive_hyperdrive_integration_provider_output: JsonSchema = { + "enum": [ + "planetscale" + ], + "type": "string" +}; + +/** + * The schema of `hyperdrive_hyperdrive-mtls` in responses. + */ +export const hyperdrive_hyperdrive_mtls_output: JsonSchema = { + "properties": { + "ca_certificate_id": { + "type": "string" + }, + "mtls_certificate_id": { + "type": "string" + }, + "sslmode": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `hyperdrive_hyperdrive-name` in responses. + */ +export const hyperdrive_hyperdrive_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `hyperdrive_hyperdrive-origin-connection-limit` in responses. + */ +export const hyperdrive_hyperdrive_origin_connection_limit_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `hyperdrive_hyperdrive-origin-full` in responses. + */ +export const hyperdrive_hyperdrive_origin_full_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "database": { + "type": "string" + }, + "host": { + "type": "string" + }, + "password": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "scheme": { + "$ref": "#/$defs/hyperdrive_hyperdrive-scheme" + }, + "user": { + "type": "string" + } + }, + "required": [ + "database", + "password", + "scheme", + "user", + "host", + "port" + ], + "type": "object" + }, + { + "properties": { + "access_client_id": { + "type": "string" + }, + "access_client_secret": { + "type": "string" + }, + "database": { + "type": "string" + }, + "host": { + "type": "string" + }, + "password": { + "type": "string" + }, + "scheme": { + "$ref": "#/$defs/hyperdrive_hyperdrive-scheme" + }, + "user": { + "type": "string" + } + }, + "required": [ + "database", + "password", + "scheme", + "user", + "access_client_id", + "access_client_secret", + "host" + ], + "type": "object" + }, + { + "properties": { + "database": { + "type": "string" + }, + "password": { + "type": "string" + }, + "scheme": { + "$ref": "#/$defs/hyperdrive_hyperdrive-scheme" + }, + "service_id": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "required": [ + "database", + "password", + "scheme", + "user", + "service_id" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `hyperdrive_hyperdrive-planet-scale-integration` in responses. + */ +export const hyperdrive_hyperdrive_planet_scale_integration_output: JsonSchema = { + "properties": { + "custom_database_name": { + "type": "string" + }, + "database_branch_name": { + "type": "string" + }, + "database_name": { + "type": "string" + }, + "organization_name": { + "type": "string" + }, + "provider": { + "$ref": "#/$defs/hyperdrive_hyperdrive-integration-provider" + }, + "scheme": { + "$ref": "#/$defs/hyperdrive_hyperdrive-scheme" + } + }, + "required": [ + "database_branch_name", + "database_name", + "organization_name", + "provider", + "scheme" + ], + "type": "object" +}; + +/** + * The schema of `hyperdrive_hyperdrive-scheme` in responses. + */ +export const hyperdrive_hyperdrive_scheme_output: JsonSchema = { + "enum": [ + "postgres", + "postgresql", + "mysql" + ], + "type": "string" +}; + +/** + * The schema of `hyperdrive_identifier` in responses. + */ +export const hyperdrive_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `hyperdrive_messages` in responses. + */ +export const hyperdrive_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `hyperdrive_result_info` in responses. + */ +export const hyperdrive_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/hyperdrive/tools.ts b/src/generated/forge-mcp/hyperdrive/tools.ts index e295d6dc..4ea3d299 100644 --- a/src/generated/forge-mcp/hyperdrive/tools.ts +++ b/src/generated/forge-mcp/hyperdrive/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + hyperdrive_api_response_common_failure_output, + hyperdrive_hyperdrive_caching_response_output, + hyperdrive_hyperdrive_config_response_output, + hyperdrive_hyperdrive_integration_provider_output, + hyperdrive_hyperdrive_mtls_output, + hyperdrive_hyperdrive_name_output, + hyperdrive_hyperdrive_origin_connection_limit_output, + hyperdrive_hyperdrive_origin_full_output, + hyperdrive_hyperdrive_planet_scale_integration_output, + hyperdrive_hyperdrive_scheme_output, + hyperdrive_identifier_output, + hyperdrive_messages_output, + hyperdrive_result_info_output, +} from "./outputs.js"; import { hyperdrive_hyperdrive_caching, hyperdrive_hyperdrive_caching_create, @@ -102,6 +117,30 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/hyperdrive_hyperdrive-config-response" + }, + "4XX": { + "$ref": "#/$defs/hyperdrive_api-response-common-failure" + } + }, + $defs: { + "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, + "hyperdrive_identifier": hyperdrive_identifier_output, + "hyperdrive_messages": hyperdrive_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/hyperdrive/configs`, body: { value: args["body"], mediaType: "application/json" }, @@ -152,6 +191,27 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/hyperdrive_api-response-common-failure" + } + }, + $defs: { + "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, + "hyperdrive_messages": hyperdrive_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/hyperdrive/configs/${pathParam(args, "hyperdrive_id")}`, }), @@ -202,6 +262,30 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/hyperdrive_hyperdrive-config-response" + }, + "4XX": { + "$ref": "#/$defs/hyperdrive_api-response-common-failure" + } + }, + $defs: { + "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, + "hyperdrive_identifier": hyperdrive_identifier_output, + "hyperdrive_messages": hyperdrive_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/hyperdrive/configs/${pathParam(args, "hyperdrive_id")}`, }), @@ -257,6 +341,45 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/hyperdrive_hyperdrive-config-response" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/hyperdrive_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/hyperdrive_api-response-common-failure" + } + }, + $defs: { + "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, + "hyperdrive_identifier": hyperdrive_identifier_output, + "hyperdrive_messages": hyperdrive_messages_output, + "hyperdrive_result_info": hyperdrive_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/hyperdrive/configs`, query: [ @@ -337,6 +460,30 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/hyperdrive_hyperdrive-config-response" + }, + "4XX": { + "$ref": "#/$defs/hyperdrive_api-response-common-failure" + } + }, + $defs: { + "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, + "hyperdrive_identifier": hyperdrive_identifier_output, + "hyperdrive_messages": hyperdrive_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/hyperdrive/configs/${pathParam(args, "hyperdrive_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -377,6 +524,30 @@ export const tools: readonly Tool[] = [ "Hyperdrive Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/hyperdrive_hyperdrive-config-response" + }, + "4XX": { + "$ref": "#/$defs/hyperdrive_api-response-common-failure" + } + }, + $defs: { + "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, + "hyperdrive_identifier": hyperdrive_identifier_output, + "hyperdrive_messages": hyperdrive_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/hyperdrive/configs/${pathParam(args, "hyperdrive_id")}/restart`, }), @@ -455,6 +626,30 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/hyperdrive_hyperdrive-config-response" + }, + "4XX": { + "$ref": "#/$defs/hyperdrive_api-response-common-failure" + } + }, + $defs: { + "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, + "hyperdrive_identifier": hyperdrive_identifier_output, + "hyperdrive_messages": hyperdrive_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/hyperdrive/configs/${pathParam(args, "hyperdrive_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/iam/permissionGroups/tools.ts b/src/generated/forge-mcp/iam/permissionGroups/tools.ts index c34c127d..0bb78d35 100644 --- a/src/generated/forge-mcp/iam/permissionGroups/tools.ts +++ b/src/generated/forge-mcp/iam/permissionGroups/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_messages_2_output, + iam_permission_group_meta_output, + iam_permission_group_output, + iam_permission_groups_output, + iam_result_info_output, +} from "../../outputs.js"; /** * The tools of `iam.permission_groups`. @@ -86,6 +94,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_permission_group" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/permission_groups/${pathParam(args, "permission_group_id")}`, }), @@ -186,6 +210,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/iam_permission_groups" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_result_info": iam_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/permission_groups`, query: [ diff --git a/src/generated/forge-mcp/iam/resourceGroups/tools.ts b/src/generated/forge-mcp/iam/resourceGroups/tools.ts index d4664b39..388544d3 100644 --- a/src/generated/forge-mcp/iam/resourceGroups/tools.ts +++ b/src/generated/forge-mcp/iam/resourceGroups/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_common_components_schemas_identifier_output, + iam_messages_2_output, + iam_resource_group_meta_output, + iam_resource_group_output, + iam_scope_key_output, + iam_scope_object_key_output, + iam_scope_object_output, + iam_scope_output, +} from "../../outputs.js"; import { iam_common_components_schemas_identifier } from "../../schemas.js"; import { iam_resource_group_identifier } from "../schemas.js"; import { @@ -75,6 +86,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_resource_group" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/resource_groups`, body: { value: args["body"], mediaType: "application/json" }, @@ -132,6 +163,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/resource_groups/${pathParam(args, "resource_group_id")}`, }), @@ -189,6 +250,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_resource_group" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/resource_groups/${pathParam(args, "resource_group_id")}`, }), @@ -253,6 +334,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_resource_group" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/resource_groups`, query: [ @@ -324,6 +439,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_resource_group" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/resource_groups/${pathParam(args, "resource_group_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/iam/sso/outputs.ts b/src/generated/forge-mcp/iam/sso/outputs.ts new file mode 100644 index 00000000..1cf7e456 --- /dev/null +++ b/src/generated/forge-mcp/iam/sso/outputs.ts @@ -0,0 +1,104 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_api-response-common` in responses. + */ +export const iam_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/iam_messages-2" + }, + "messages": { + "$ref": "#/$defs/iam_messages-2" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `iam_dns_verification_code` in responses. + */ +export const iam_dns_verification_code_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_sso_connector` in responses. + */ +export const iam_sso_connector_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "email_domain": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/iam_sso_connector_identifier" + }, + "updated_on": { + "format": "date-time", + "type": "string" + }, + "use_fedramp_language": { + "$ref": "#/$defs/iam_use_fedramp_language" + }, + "verification": { + "$ref": "#/$defs/iam_sso_connector_verification_info" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_sso_connector_identifier` in responses. + */ +export const iam_sso_connector_identifier_output: JsonSchema = { + "$ref": "#/$defs/iam_common_components-schemas-identifier" +}; + +/** + * The schema of `iam_sso_connector_verification_info` in responses. + */ +export const iam_sso_connector_verification_info_output: JsonSchema = { + "properties": { + "code": { + "$ref": "#/$defs/iam_dns_verification_code" + }, + "status": { + "enum": [ + "awaiting", + "pending", + "failed", + "verified" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_use_fedramp_language` in responses. + */ +export const iam_use_fedramp_language_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/iam/sso/tools.ts b/src/generated/forge-mcp/iam/sso/tools.ts index 126d9a49..cd22b42b 100644 --- a/src/generated/forge-mcp/iam/sso/tools.ts +++ b/src/generated/forge-mcp/iam/sso/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_common_components_schemas_identifier_output, + iam_messages_2_output, + iam_result_info_output, +} from "../../outputs.js"; +import { + iam_api_response_common_output, + iam_dns_verification_code_output, + iam_sso_connector_identifier_output, + iam_sso_connector_output, + iam_sso_connector_verification_info_output, + iam_use_fedramp_language_output, +} from "./outputs.js"; import { iam_use_fedramp_language } from "./schemas.js"; /** @@ -49,6 +63,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common": iam_api_response_common_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/sso_connectors/${pathParam(args, "sso_connector_id")}/begin_verification`, }), @@ -114,6 +143,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_sso_connector" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_dns_verification_code": iam_dns_verification_code_output, + "iam_messages-2": iam_messages_2_output, + "iam_sso_connector": iam_sso_connector_output, + "iam_sso_connector_identifier": iam_sso_connector_identifier_output, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, + "iam_use_fedramp_language": iam_use_fedramp_language_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/sso_connectors`, body: { value: args["body"], mediaType: "application/json" }, @@ -160,6 +209,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/sso_connectors/${pathParam(args, "sso_connector_id")}`, }), @@ -205,6 +284,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_sso_connector" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_dns_verification_code": iam_dns_verification_code_output, + "iam_messages-2": iam_messages_2_output, + "iam_sso_connector": iam_sso_connector_output, + "iam_sso_connector_identifier": iam_sso_connector_identifier_output, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, + "iam_use_fedramp_language": iam_use_fedramp_language_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/sso_connectors/${pathParam(args, "sso_connector_id")}`, }), @@ -245,6 +344,41 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_sso_connector" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_dns_verification_code": iam_dns_verification_code_output, + "iam_messages-2": iam_messages_2_output, + "iam_result_info": iam_result_info_output, + "iam_sso_connector": iam_sso_connector_output, + "iam_sso_connector_identifier": iam_sso_connector_identifier_output, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, + "iam_use_fedramp_language": iam_use_fedramp_language_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/sso_connectors`, }), @@ -307,6 +441,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_sso_connector" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_dns_verification_code": iam_dns_verification_code_output, + "iam_messages-2": iam_messages_2_output, + "iam_sso_connector": iam_sso_connector_output, + "iam_sso_connector_identifier": iam_sso_connector_identifier_output, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, + "iam_use_fedramp_language": iam_use_fedramp_language_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/sso_connectors/${pathParam(args, "sso_connector_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/iam/userGroups/members/outputs.ts b/src/generated/forge-mcp/iam/userGroups/members/outputs.ts new file mode 100644 index 00000000..88814da0 --- /dev/null +++ b/src/generated/forge-mcp/iam/userGroups/members/outputs.ts @@ -0,0 +1,82 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `iam_user_group_member` in responses. + */ +export const iam_user_group_member_output: JsonSchema = { + "properties": { + "email": { + "$ref": "#/$defs/iam_email" + }, + "id": { + "type": "string" + }, + "status": { + "enum": [ + "accepted", + "pending" + ], + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `iam_user_group_member_detailed` in responses. + */ +export const iam_user_group_member_detailed_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "email": { + "$ref": "#/$defs/iam_email" + }, + "id": { + "type": "string" + }, + "status": { + "enum": [ + "accepted", + "pending" + ], + "type": "string" + }, + "user": { + "$ref": "#/$defs/iam_user_group_member_detailed_user" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `iam_user_group_member_detailed_user` in responses. + */ +export const iam_user_group_member_detailed_user_output: JsonSchema = { + "properties": { + "email": { + "$ref": "#/$defs/iam_email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "last_name": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/iam/userGroups/members/tools.ts b/src/generated/forge-mcp/iam/userGroups/members/tools.ts index 7d26f9dc..552f0d3e 100644 --- a/src/generated/forge-mcp/iam/userGroups/members/tools.ts +++ b/src/generated/forge-mcp/iam/userGroups/members/tools.ts @@ -2,7 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_email_output, + iam_messages_2_output, + iam_result_info_output, +} from "../../../outputs.js"; import { iam_common_components_schemas_identifier } from "../../../schemas.js"; +import { + iam_user_group_member_detailed_output, + iam_user_group_member_detailed_user_output, + iam_user_group_member_output, +} from "./outputs.js"; import { iam_user_group_member_identifier } from "./schemas.js"; /** @@ -81,6 +92,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_user_group_member" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_email": iam_email_output, + "iam_messages-2": iam_messages_2_output, + "iam_user_group_member": iam_user_group_member_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups/${pathParam(args, "user_group_id")}/members`, body: { value: args["body"], mediaType: "application/json" }, @@ -143,6 +184,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_user_group_member" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_email": iam_email_output, + "iam_messages-2": iam_messages_2_output, + "iam_user_group_member": iam_user_group_member_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups/${pathParam(args, "user_group_id")}/members/${pathParam(args, "member_id")}`, }), @@ -205,6 +262,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_user_group_member_detailed" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_email": iam_email_output, + "iam_messages-2": iam_messages_2_output, + "iam_user_group_member_detailed": iam_user_group_member_detailed_output, + "iam_user_group_member_detailed_user": iam_user_group_member_detailed_user_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups/${pathParam(args, "user_group_id")}/members/${pathParam(args, "member_id")}`, }), @@ -285,6 +359,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_user_group_member" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_email": iam_email_output, + "iam_messages-2": iam_messages_2_output, + "iam_result_info": iam_result_info_output, + "iam_user_group_member": iam_user_group_member_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups/${pathParam(args, "user_group_id")}/members`, query: [ @@ -357,6 +462,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_user_group_member" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_email": iam_email_output, + "iam_messages-2": iam_messages_2_output, + "iam_user_group_member": iam_user_group_member_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups/${pathParam(args, "user_group_id")}/members`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/iam/userGroups/outputs.ts b/src/generated/forge-mcp/iam/userGroups/outputs.ts new file mode 100644 index 00000000..f5e11eeb --- /dev/null +++ b/src/generated/forge-mcp/iam/userGroups/outputs.ts @@ -0,0 +1,70 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_user_group` in responses. + */ +export const iam_user_group_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/iam_user_group_identifier" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "policies": { + "items": { + "properties": { + "access": { + "$ref": "#/$defs/iam_access" + }, + "id": { + "$ref": "#/$defs/iam_policy_identifier" + }, + "permission_groups": { + "$ref": "#/$defs/iam_permission_groups" + }, + "resource_groups": { + "$ref": "#/$defs/iam_resource_groups" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "created_on", + "id", + "modified_on", + "name" + ], + "type": "object" +}; + +/** + * The schema of `iam_user_group_identifier` in responses. + */ +export const iam_user_group_identifier_output: JsonSchema = { + "$ref": "#/$defs/iam_common_components-schemas-identifier" +}; + +/** + * The schema of `iam_user_groups` in responses. + */ +export const iam_user_groups_output: JsonSchema = { + "items": { + "$ref": "#/$defs/iam_user_group" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/iam/userGroups/tools.ts b/src/generated/forge-mcp/iam/userGroups/tools.ts index 2522b7e9..1cde3758 100644 --- a/src/generated/forge-mcp/iam/userGroups/tools.ts +++ b/src/generated/forge-mcp/iam/userGroups/tools.ts @@ -2,11 +2,34 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + iam_access_output, + iam_api_response_common_failure_output, + iam_common_components_schemas_identifier_output, + iam_messages_2_output, + iam_permission_group_meta_output, + iam_permission_group_output, + iam_permission_groups_output, + iam_policy_identifier_output, + iam_resource_group_meta_output, + iam_resource_group_output, + iam_resource_groups_output, + iam_result_info_output, + iam_scope_key_output, + iam_scope_object_key_output, + iam_scope_object_output, + iam_scope_output, +} from "../../outputs.js"; import { iam_access, iam_common_components_schemas_identifier, } from "../../schemas.js"; import { iam_resource_group_identifier } from "../schemas.js"; +import { + iam_user_group_identifier_output, + iam_user_group_output, + iam_user_groups_output, +} from "./outputs.js"; import { iam_create_user_group_body, iam_permission_group_identifier, @@ -82,6 +105,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_user_group" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + "iam_user_group": iam_user_group_output, + "iam_user_group_identifier": iam_user_group_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups`, body: { value: args["body"], mediaType: "application/json" }, @@ -139,6 +191,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups/${pathParam(args, "user_group_id")}`, }), @@ -196,6 +278,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_user_group" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + "iam_user_group": iam_user_group_output, + "iam_user_group_identifier": iam_user_group_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups/${pathParam(args, "user_group_id")}`, }), @@ -283,6 +394,48 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/iam_user_groups" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_result_info": iam_result_info_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + "iam_user_group": iam_user_group_output, + "iam_user_group_identifier": iam_user_group_identifier_output, + "iam_user_groups": iam_user_groups_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups`, query: [ @@ -361,6 +514,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_user_group" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + "iam_user_group": iam_user_group_output, + "iam_user_group_identifier": iam_user_group_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups/${pathParam(args, "user_group_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/images/flows/tools.ts b/src/generated/forge-mcp/images/flows/tools.ts index 088d812b..2764e440 100644 --- a/src/generated/forge-mcp/images/flows/tools.ts +++ b/src/generated/forge-mcp/images/flows/tools.ts @@ -35,6 +35,245 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "stable" }, + responses: { + schemas: { + "200": { + "properties": { + "etag": { + "type": "string" + }, + "flows": { + "items": { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "provider": { + "enum": [ + "fastly" + ], + "type": "string" + }, + "type": { + "enum": [ + "provider" + ], + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "enabled", + "provider", + "type", + "version" + ], + "type": "object" + }, + { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "transformations": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "key", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "trigger": { + "oneOf": [ + { + "properties": { + "triggers": { + "items": { + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "type": { + "enum": [ + "and" + ], + "type": "string" + } + }, + "required": [ + "triggers", + "type" + ], + "type": "object" + }, + { + "properties": { + "triggers": { + "items": { + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "type": { + "enum": [ + "or" + ], + "type": "string" + } + }, + "required": [ + "triggers", + "type" + ], + "type": "object" + }, + { + "properties": { + "paths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "enum": [ + "path" + ], + "type": "string" + } + }, + "required": [ + "paths", + "type" + ], + "type": "object" + }, + { + "properties": { + "extensions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "enum": [ + "extension" + ], + "type": "string" + } + }, + "required": [ + "extensions", + "type" + ], + "type": "object" + }, + { + "properties": { + "params": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "key", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "query-param" + ], + "type": "string" + } + }, + "required": [ + "params", + "type" + ], + "type": "object" + } + ] + }, + "type": { + "enum": [ + "custom" + ], + "type": "string" + } + }, + "required": [ + "enabled", + "name", + "transformations", + "trigger", + "type" + ], + "type": "object" + } + ] + }, + "maxItems": 10, + "type": "array" + }, + "version": { + "enum": [ + 2 + ], + "type": "integer" + } + }, + "required": [ + "flows", + "version" + ], + "type": "object" + }, + "4XX": { + "properties": { + "error": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "error", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/images/v1/flows`, }), @@ -287,6 +526,245 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "stable" }, + responses: { + schemas: { + "200": { + "properties": { + "etag": { + "type": "string" + }, + "flows": { + "items": { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "provider": { + "enum": [ + "fastly" + ], + "type": "string" + }, + "type": { + "enum": [ + "provider" + ], + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "enabled", + "provider", + "type", + "version" + ], + "type": "object" + }, + { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "transformations": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "key", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "trigger": { + "oneOf": [ + { + "properties": { + "triggers": { + "items": { + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "type": { + "enum": [ + "and" + ], + "type": "string" + } + }, + "required": [ + "triggers", + "type" + ], + "type": "object" + }, + { + "properties": { + "triggers": { + "items": { + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "type": { + "enum": [ + "or" + ], + "type": "string" + } + }, + "required": [ + "triggers", + "type" + ], + "type": "object" + }, + { + "properties": { + "paths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "enum": [ + "path" + ], + "type": "string" + } + }, + "required": [ + "paths", + "type" + ], + "type": "object" + }, + { + "properties": { + "extensions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "enum": [ + "extension" + ], + "type": "string" + } + }, + "required": [ + "extensions", + "type" + ], + "type": "object" + }, + { + "properties": { + "params": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "key", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "query-param" + ], + "type": "string" + } + }, + "required": [ + "params", + "type" + ], + "type": "object" + } + ] + }, + "type": { + "enum": [ + "custom" + ], + "type": "string" + } + }, + "required": [ + "enabled", + "name", + "transformations", + "trigger", + "type" + ], + "type": "object" + } + ] + }, + "maxItems": 10, + "type": "array" + }, + "version": { + "enum": [ + 2 + ], + "type": "integer" + } + }, + "required": [ + "flows", + "version" + ], + "type": "object" + }, + "4XX": { + "properties": { + "error": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "error", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/images/v1/flows`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/images/import/outputs.ts b/src/generated/forge-mcp/images/import/outputs.ts new file mode 100644 index 00000000..c1a2f185 --- /dev/null +++ b/src/generated/forge-mcp/images/import/outputs.ts @@ -0,0 +1,451 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `images_sourcingkit_acceptable_content_type` in responses. + */ +export const images_sourcingkit_acceptable_content_type_output: JsonSchema = { + "enum": [ + "image/jpeg", + "image/png", + "image/webp", + "image/gif", + "image/avif", + "image/heic", + "image/svg+xml" + ], + "type": "string" +}; + +/** + * The schema of `images_sourcingkit_conflict_behaviour` in responses. + */ +export const images_sourcingkit_conflict_behaviour_output: JsonSchema = { + "enum": [ + "skip", + "overwrite" + ], + "type": "string" +}; + +/** + * The schema of `images_sourcingkit_migration` in responses. + */ +export const images_sourcingkit_migration_output: JsonSchema = { + "properties": { + "conflictBehaviour": { + "$ref": "#/$defs/images_sourcingkit_conflict_behaviour" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "endedAt": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "excludedContentTypes": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/images_sourcingkit_acceptable_content_type" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "imagesPathPrefix": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "logStopped": { + "type": "boolean" + }, + "pathPrefix": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "rootDirectory": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sourceId": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startedAt": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "$ref": "#/$defs/images_sourcingkit_migration_status" + } + }, + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_create_response` in responses. + */ +export const images_sourcingkit_migration_create_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_migration" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_list_response` in responses. + */ +export const images_sourcingkit_migration_list_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_migration_list_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_list_response_result` in + * responses. + */ +export const images_sourcingkit_migration_list_response_result_output: JsonSchema = { + "properties": { + "migrations": { + "items": { + "$ref": "#/$defs/images_sourcingkit_migration" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_log` in responses. + */ +export const images_sourcingkit_migration_log_output: JsonSchema = { + "properties": { + "createdAt": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "logType": { + "$ref": "#/$defs/images_sourcingkit_migration_log_type" + }, + "msg": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_log_list_response` in responses. + */ +export const images_sourcingkit_migration_log_list_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_migration_log_list_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_log_list_response_result` in + * responses. + */ +export const images_sourcingkit_migration_log_list_response_result_output: JsonSchema = { + "properties": { + "logs": { + "items": { + "$ref": "#/$defs/images_sourcingkit_migration_log" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_log_type` in responses. + */ +export const images_sourcingkit_migration_log_type_output: JsonSchema = { + "enum": [ + "default", + "importSkippedUnsupportedContentType", + "importSkippedExcludedContentType", + "importSkippedInvalidMedia", + "importErrorRetryExhaustion", + "importSkippedOversized", + "migrationErrorFailedContinuation", + "migrationStart", + "migrationAbort", + "migrationError", + "migrationComplete", + "importSkippedStorageClass" + ], + "type": "string" +}; + +/** + * The schema of `images_sourcingkit_migration_progress_response` in responses. + */ +export const images_sourcingkit_migration_progress_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_migration_progress_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_progress_response_result` in + * responses. + */ +export const images_sourcingkit_migration_progress_response_result_output: JsonSchema = { + "properties": { + "endedAt": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "importErrorsCount": { + "type": "integer" + }, + "importSuccessCount": { + "type": "integer" + }, + "isAccurate": { + "type": "boolean" + }, + "scannedCount": { + "type": "integer" + }, + "skippedConflictCount": { + "type": "integer" + }, + "skippedExcludedContentTypeCount": { + "type": "integer" + }, + "skippedInvalidMediaCount": { + "type": "integer" + }, + "skippedInvalidNameCount": { + "type": "integer" + }, + "skippedOversizeCount": { + "type": "integer" + }, + "skippedStorageClassCount": { + "type": "integer" + }, + "skippedUnsupportedContentTypeCount": { + "type": "integer" + }, + "startedAt": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "$ref": "#/$defs/images_sourcingkit_migration_status" + } + }, + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_single_response` in responses. + */ +export const images_sourcingkit_migration_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_migration" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_migration_status` in responses. + */ +export const images_sourcingkit_migration_status_output: JsonSchema = { + "enum": [ + "pending", + "processing", + "success", + "error", + "aborted" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/images/import/sources/outputs.ts b/src/generated/forge-mcp/images/import/sources/outputs.ts new file mode 100644 index 00000000..69344598 --- /dev/null +++ b/src/generated/forge-mcp/images/import/sources/outputs.ts @@ -0,0 +1,257 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `images_sourcingkit_connectivity_check_response` in responses. + */ +export const images_sourcingkit_connectivity_check_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_connectivity_check_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_connectivity_check_response_result` in + * responses. + */ +export const images_sourcingkit_connectivity_check_response_result_output: JsonSchema = { + "properties": { + "code": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "connectivityStatus": { + "enum": [ + "ok", + "error" + ], + "type": "string" + }, + "reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_source` in responses. + */ +export const images_sourcingkit_source_output: JsonSchema = { + "properties": { + "bucket": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "region": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "vendor": { + "$ref": "#/$defs/images_sourcingkit_vendor" + } + }, + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_source_create_response` in responses. + */ +export const images_sourcingkit_source_create_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_source" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_source_list_response` in responses. + */ +export const images_sourcingkit_source_list_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_source_list_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_source_list_response_result` in responses. + */ +export const images_sourcingkit_source_list_response_result_output: JsonSchema = { + "properties": { + "sources": { + "items": { + "$ref": "#/$defs/images_sourcingkit_source" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_source_single_response` in responses. + */ +export const images_sourcingkit_source_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_source" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_source_update_response` in responses. + */ +export const images_sourcingkit_source_update_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_sourcingkit_source" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_sourcingkit_vendor` in responses. + */ +export const images_sourcingkit_vendor_output: JsonSchema = { + "enum": [ + "s3", + "r2" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/images/import/sources/tools.ts b/src/generated/forge-mcp/images/import/sources/tools.ts index d720210a..c0895b6c 100644 --- a/src/generated/forge-mcp/images/import/sources/tools.ts +++ b/src/generated/forge-mcp/images/import/sources/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + images_api_response_common_failure_output, + images_deleted_response_output, + images_messages_output, +} from "../../outputs.js"; +import { + images_sourcingkit_connectivity_check_response_output, + images_sourcingkit_connectivity_check_response_result_output, + images_sourcingkit_source_create_response_output, + images_sourcingkit_source_list_response_output, + images_sourcingkit_source_list_response_result_output, + images_sourcingkit_source_output, + images_sourcingkit_source_single_response_output, + images_sourcingkit_source_update_response_output, + images_sourcingkit_vendor_output, +} from "./outputs.js"; import { images_sourcingkit_connectivity_precheck_request, images_sourcingkit_source_create_request, @@ -49,6 +65,58 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "code": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "connectivityStatus": { + "enum": [ + "ok", + "error" + ], + "type": "string" + }, + "reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_connectivity_check_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response_output, + "images_sourcingkit_connectivity_check_response_result": images_sourcingkit_connectivity_check_response_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/sources/${pathParam(args, "source_id")}/connectivity`, }), @@ -91,6 +159,30 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_sourcingkit_source" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_source_create_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_source": images_sourcingkit_source_output, + "images_sourcingkit_source_create_response": images_sourcingkit_source_create_response_output, + "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/sources`, body: { value: args["body"], mediaType: "application/json" }, @@ -131,6 +223,28 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_deleted_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_deleted_response": images_deleted_response_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/sources/${pathParam(args, "source_id")}`, }), @@ -171,6 +285,30 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_sourcingkit_source" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_source_single_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_source": images_sourcingkit_source_output, + "images_sourcingkit_source_single_response": images_sourcingkit_source_single_response_output, + "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/sources/${pathParam(args, "source_id")}`, }), @@ -220,6 +358,39 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "sources": { + "items": { + "$ref": "#/$defs/images_sourcingkit_source" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_source_list_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_source": images_sourcingkit_source_output, + "images_sourcingkit_source_list_response": images_sourcingkit_source_list_response_output, + "images_sourcingkit_source_list_response_result": images_sourcingkit_source_list_response_result_output, + "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/sources`, query: [ @@ -267,6 +438,58 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "code": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "connectivityStatus": { + "enum": [ + "ok", + "error" + ], + "type": "string" + }, + "reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_connectivity_check_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response_output, + "images_sourcingkit_connectivity_check_response_result": images_sourcingkit_connectivity_check_response_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/sources/connectivity-precheck`, body: { value: args["body"], mediaType: "application/json" }, @@ -314,6 +537,30 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_sourcingkit_source" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_source_update_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_source": images_sourcingkit_source_output, + "images_sourcingkit_source_update_response": images_sourcingkit_source_update_response_output, + "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/sources/${pathParam(args, "source_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/images/import/tools.ts b/src/generated/forge-mcp/images/import/tools.ts index 83aa6a9f..e8356ffd 100644 --- a/src/generated/forge-mcp/images/import/tools.ts +++ b/src/generated/forge-mcp/images/import/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + images_api_response_common_failure_output, + images_deleted_response_output, + images_messages_output, +} from "../outputs.js"; +import { + images_sourcingkit_acceptable_content_type_output, + images_sourcingkit_conflict_behaviour_output, + images_sourcingkit_migration_create_response_output, + images_sourcingkit_migration_list_response_output, + images_sourcingkit_migration_list_response_result_output, + images_sourcingkit_migration_log_list_response_output, + images_sourcingkit_migration_log_list_response_result_output, + images_sourcingkit_migration_log_output, + images_sourcingkit_migration_log_type_output, + images_sourcingkit_migration_output, + images_sourcingkit_migration_progress_response_output, + images_sourcingkit_migration_progress_response_result_output, + images_sourcingkit_migration_single_response_output, + images_sourcingkit_migration_status_output, +} from "./outputs.js"; import { images_sourcingkit_acceptable_content_type, images_sourcingkit_conflict_behaviour, @@ -47,6 +68,24 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_sourcingkit_migration" + }, + "4XX": { + "$ref": "#/$defs/images_api-response-common-failure" + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, + "images_sourcingkit_migration": images_sourcingkit_migration_output, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations/${pathParam(args, "migration_id")}/lifecycle/abort`, }), @@ -90,6 +129,32 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_sourcingkit_migration" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_migration_create_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, + "images_sourcingkit_migration": images_sourcingkit_migration_output, + "images_sourcingkit_migration_create_response": images_sourcingkit_migration_create_response_output, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations`, body: { value: args["body"], mediaType: "application/json" }, @@ -130,6 +195,28 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_deleted_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_deleted_response": images_deleted_response_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations/${pathParam(args, "migration_id")}`, }), @@ -170,6 +257,32 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_sourcingkit_migration" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_migration_single_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, + "images_sourcingkit_migration": images_sourcingkit_migration_output, + "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response_output, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations/${pathParam(args, "migration_id")}`, }), @@ -215,6 +328,41 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "migrations": { + "items": { + "$ref": "#/$defs/images_sourcingkit_migration" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_migration_list_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, + "images_sourcingkit_migration": images_sourcingkit_migration_output, + "images_sourcingkit_migration_list_response": images_sourcingkit_migration_list_response_output, + "images_sourcingkit_migration_list_response_result": images_sourcingkit_migration_list_response_result_output, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations`, query: [ @@ -269,6 +417,39 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "logs": { + "items": { + "$ref": "#/$defs/images_sourcingkit_migration_log" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_migration_log_list_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_migration_log": images_sourcingkit_migration_log_output, + "images_sourcingkit_migration_log_list_response": images_sourcingkit_migration_log_list_response_output, + "images_sourcingkit_migration_log_list_response_result": images_sourcingkit_migration_log_list_response_result_output, + "images_sourcingkit_migration_log_type": images_sourcingkit_migration_log_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations/${pathParam(args, "migration_id")}/logs`, query: [ @@ -313,6 +494,90 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "endedAt": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "importErrorsCount": { + "type": "integer" + }, + "importSuccessCount": { + "type": "integer" + }, + "isAccurate": { + "type": "boolean" + }, + "scannedCount": { + "type": "integer" + }, + "skippedConflictCount": { + "type": "integer" + }, + "skippedExcludedContentTypeCount": { + "type": "integer" + }, + "skippedInvalidMediaCount": { + "type": "integer" + }, + "skippedInvalidNameCount": { + "type": "integer" + }, + "skippedOversizeCount": { + "type": "integer" + }, + "skippedStorageClassCount": { + "type": "integer" + }, + "skippedUnsupportedContentTypeCount": { + "type": "integer" + }, + "startedAt": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "$ref": "#/$defs/images_sourcingkit_migration_status" + } + }, + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_sourcingkit_migration_progress_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_migration_progress_response": images_sourcingkit_migration_progress_response_output, + "images_sourcingkit_migration_progress_response_result": images_sourcingkit_migration_progress_response_result_output, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations/${pathParam(args, "migration_id")}/lifecycle`, }), @@ -352,6 +617,24 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_sourcingkit_migration" + }, + "4XX": { + "$ref": "#/$defs/images_api-response-common-failure" + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_messages": images_messages_output, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, + "images_sourcingkit_migration": images_sourcingkit_migration_output, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations/${pathParam(args, "migration_id")}/lifecycle/start`, }), diff --git a/src/generated/forge-mcp/images/keys/outputs.ts b/src/generated/forge-mcp/images/keys/outputs.ts new file mode 100644 index 00000000..122c5526 --- /dev/null +++ b/src/generated/forge-mcp/images/keys/outputs.ts @@ -0,0 +1,78 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `images_image_key_name` in responses. + */ +export const images_image_key_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `images_image_key_response_collection` in responses. + */ +export const images_image_key_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_image_keys_response" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_image_key_value` in responses. + */ +export const images_image_key_value_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `images_image_keys` in responses. + */ +export const images_image_keys_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/images_image_key_name" + }, + "value": { + "$ref": "#/$defs/images_image_key_value" + } + }, + "type": "object" +}; + +/** + * The schema of `images_image_keys_response` in responses. + */ +export const images_image_keys_response_output: JsonSchema = { + "properties": { + "keys": { + "items": { + "$ref": "#/$defs/images_image_keys" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/images/keys/tools.ts b/src/generated/forge-mcp/images/keys/tools.ts index fac5bb72..b78fb83b 100644 --- a/src/generated/forge-mcp/images/keys/tools.ts +++ b/src/generated/forge-mcp/images/keys/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + images_api_response_common_failure_output, + images_messages_output, +} from "../outputs.js"; +import { + images_image_key_name_output, + images_image_key_response_collection_output, + images_image_key_value_output, + images_image_keys_output, + images_image_keys_response_output, +} from "./outputs.js"; /** * The tools of `images.keys`. @@ -36,6 +47,32 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/images/v1/keys/{signing_key_name}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_image_keys_response" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_key_response_collection" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image_key_name": images_image_key_name_output, + "images_image_key_response_collection": images_image_key_response_collection_output, + "images_image_key_value": images_image_key_value_output, + "images_image_keys": images_image_keys_output, + "images_image_keys_response": images_image_keys_response_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/keys/${pathParam(args, "signing_key_name")}`, }), @@ -69,6 +106,32 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/images/v1/keys/{signing_key_name}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_image_keys_response" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_key_response_collection" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image_key_name": images_image_key_name_output, + "images_image_key_response_collection": images_image_key_response_collection_output, + "images_image_key_value": images_image_key_value_output, + "images_image_keys": images_image_keys_output, + "images_image_keys_response": images_image_keys_response_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/keys/${pathParam(args, "signing_key_name")}`, }), @@ -104,6 +167,32 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_image_keys_response" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_key_response_collection" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image_key_name": images_image_key_name_output, + "images_image_key_response_collection": images_image_key_response_collection_output, + "images_image_key_value": images_image_key_value_output, + "images_image_keys": images_image_keys_output, + "images_image_keys_response": images_image_keys_response_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/keys`, }), diff --git a/src/generated/forge-mcp/images/outputs.ts b/src/generated/forge-mcp/images/outputs.ts new file mode 100644 index 00000000..38f153db --- /dev/null +++ b/src/generated/forge-mcp/images/outputs.ts @@ -0,0 +1,322 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `images_api-response-common-failure` in responses. + */ +export const images_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_deleted_response` in responses. + */ +export const images_deleted_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_image` in responses. + */ +export const images_image_output: JsonSchema = { + "properties": { + "creator": { + "$ref": "#/$defs/images_image_creator" + }, + "filename": { + "$ref": "#/$defs/images_image_filename" + }, + "id": { + "$ref": "#/$defs/images_image_identifier" + }, + "meta": { + "$ref": "#/$defs/images_image_metadata" + }, + "requireSignedURLs": { + "$ref": "#/$defs/images_image_requireSignedURLs" + }, + "uploaded": { + "$ref": "#/$defs/images_image_uploaded" + }, + "variants": { + "$ref": "#/$defs/images_image_variants" + } + }, + "type": "object" +}; + +/** + * The schema of `images_image_creator` in responses. + */ +export const images_image_creator_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `images_image_filename` in responses. + */ +export const images_image_filename_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `images_image_hero_url` in responses. + */ +export const images_image_hero_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `images_image_identifier` in responses. + */ +export const images_image_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `images_image_metadata` in responses. + */ +export const images_image_metadata_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `images_image_original_url` in responses. + */ +export const images_image_original_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `images_image_requireSignedURLs` in responses. + */ +export const images_image_requireSignedURLs_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `images_image_response_blob` in responses. + */ +export const images_image_response_blob_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] +}; + +/** + * The schema of `images_image_response_single` in responses. + */ +export const images_image_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_image" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_image_thumbnail_url` in responses. + */ +export const images_image_thumbnail_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `images_image_uploaded` in responses. + */ +export const images_image_uploaded_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `images_image_variants` in responses. + */ +export const images_image_variants_output: JsonSchema = { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_thumbnail_url" + }, + { + "$ref": "#/$defs/images_image_hero_url" + }, + { + "$ref": "#/$defs/images_image_original_url" + } + ] + }, + "type": "array" +}; + +/** + * The schema of `images_images_stats` in responses. + */ +export const images_images_stats_output: JsonSchema = { + "properties": { + "count": { + "$ref": "#/$defs/images_images_stats_count" + } + }, + "type": "object" +}; + +/** + * The schema of `images_images_stats_allowed` in responses. + */ +export const images_images_stats_allowed_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `images_images_stats_count` in responses. + */ +export const images_images_stats_count_output: JsonSchema = { + "properties": { + "allowed": { + "$ref": "#/$defs/images_images_stats_allowed" + }, + "current": { + "$ref": "#/$defs/images_images_stats_current" + } + }, + "type": "object" +}; + +/** + * The schema of `images_images_stats_current` in responses. + */ +export const images_images_stats_current_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `images_images_stats_response` in responses. + */ +export const images_images_stats_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_images_stats" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_messages` in responses. + */ +export const images_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/images/tools.ts b/src/generated/forge-mcp/images/tools.ts index b04c6491..e47b062b 100644 --- a/src/generated/forge-mcp/images/tools.ts +++ b/src/generated/forge-mcp/images/tools.ts @@ -2,6 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + images_api_response_common_failure_output, + images_deleted_response_output, + images_image_creator_output, + images_image_filename_output, + images_image_hero_url_output, + images_image_identifier_output, + images_image_metadata_output, + images_image_original_url_output, + images_image_output, + images_image_requireSignedURLs_output, + images_image_response_blob_output, + images_image_response_single_output, + images_image_thumbnail_url_output, + images_image_uploaded_output, + images_image_variants_output, + images_images_stats_allowed_output, + images_images_stats_count_output, + images_images_stats_current_output, + images_images_stats_output, + images_images_stats_response_output, + images_messages_output, +} from "./outputs.js"; import { images_image_patch_request, images_images_list_continuation_token, @@ -46,6 +69,28 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_deleted_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_deleted_response": images_deleted_response_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/${pathParam(args, "image_id")}`, }), @@ -92,6 +137,39 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_image" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_response_single" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image": images_image_output, + "images_image_creator": images_image_creator_output, + "images_image_filename": images_image_filename_output, + "images_image_hero_url": images_image_hero_url_output, + "images_image_identifier": images_image_identifier_output, + "images_image_metadata": images_image_metadata_output, + "images_image_original_url": images_image_original_url_output, + "images_image_requireSignedURLs": images_image_requireSignedURLs_output, + "images_image_response_single": images_image_response_single_output, + "images_image_thumbnail_url": images_image_thumbnail_url_output, + "images_image_uploaded": images_image_uploaded_output, + "images_image_variants": images_image_variants_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/${pathParam(args, "image_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -133,6 +211,39 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_image" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_response_single" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image": images_image_output, + "images_image_creator": images_image_creator_output, + "images_image_filename": images_image_filename_output, + "images_image_hero_url": images_image_hero_url_output, + "images_image_identifier": images_image_identifier_output, + "images_image_metadata": images_image_metadata_output, + "images_image_original_url": images_image_original_url_output, + "images_image_requireSignedURLs": images_image_requireSignedURLs_output, + "images_image_response_single": images_image_response_single_output, + "images_image_thumbnail_url": images_image_thumbnail_url_output, + "images_image_uploaded": images_image_uploaded_output, + "images_image_variants": images_image_variants_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/${pathParam(args, "image_id")}`, }), @@ -173,6 +284,26 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_response_blob" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image_response_blob": images_image_response_blob_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/${pathParam(args, "image_id")}/blob`, }), @@ -244,6 +375,42 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "images": { + "items": { + "$ref": "#/$defs/images_image" + }, + "type": "array" + } + }, + "type": "object" + }, + "400": { + "$ref": "#/$defs/images_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/images_api-response-common-failure" + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image": images_image_output, + "images_image_creator": images_image_creator_output, + "images_image_filename": images_image_filename_output, + "images_image_hero_url": images_image_hero_url_output, + "images_image_identifier": images_image_identifier_output, + "images_image_metadata": images_image_metadata_output, + "images_image_original_url": images_image_original_url_output, + "images_image_requireSignedURLs": images_image_requireSignedURLs_output, + "images_image_thumbnail_url": images_image_thumbnail_url_output, + "images_image_uploaded": images_image_uploaded_output, + "images_image_variants": images_image_variants_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2`, query: [ @@ -286,6 +453,32 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_images_stats" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_images_stats_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_images_stats": images_images_stats_output, + "images_images_stats_allowed": images_images_stats_allowed_output, + "images_images_stats_count": images_images_stats_count_output, + "images_images_stats_current": images_images_stats_current_output, + "images_images_stats_response": images_images_stats_response_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/stats`, }), diff --git a/src/generated/forge-mcp/images/variants/outputs.ts b/src/generated/forge-mcp/images/variants/outputs.ts new file mode 100644 index 00000000..7d490642 --- /dev/null +++ b/src/generated/forge-mcp/images/variants/outputs.ts @@ -0,0 +1,225 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `images_image_variant_definition` in responses. + */ +export const images_image_variant_definition_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/images_image_variant_identifier" + }, + "neverRequireSignedURLs": { + "$ref": "#/$defs/images_image_variant_neverRequireSignedURLs" + }, + "options": { + "$ref": "#/$defs/images_image_variant_options" + } + }, + "required": [ + "id", + "options" + ], + "type": "object" +}; + +/** + * The schema of `images_image_variant_fit` in responses. + */ +export const images_image_variant_fit_output: JsonSchema = { + "enum": [ + "scale-down", + "contain", + "cover", + "crop", + "pad" + ], + "type": "string" +}; + +/** + * The schema of `images_image_variant_height` in responses. + */ +export const images_image_variant_height_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `images_image_variant_identifier` in responses. + */ +export const images_image_variant_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `images_image_variant_list_response` in responses. + */ +export const images_image_variant_list_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_image_variants_response" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_image_variant_neverRequireSignedURLs` in responses. + */ +export const images_image_variant_neverRequireSignedURLs_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `images_image_variant_options` in responses. + */ +export const images_image_variant_options_output: JsonSchema = { + "properties": { + "fit": { + "$ref": "#/$defs/images_image_variant_fit" + }, + "height": { + "$ref": "#/$defs/images_image_variant_height" + }, + "metadata": { + "$ref": "#/$defs/images_image_variant_schemas_metadata" + }, + "width": { + "$ref": "#/$defs/images_image_variant_width" + } + }, + "required": [ + "fit", + "height", + "metadata", + "width" + ], + "type": "object" +}; + +/** + * The schema of `images_image_variant_public_request` in responses. + */ +export const images_image_variant_public_request_output: JsonSchema = { + "properties": { + "hero": { + "$ref": "#/$defs/images_image_variant_public_request_hero" + } + }, + "type": "object" +}; + +/** + * The schema of `images_image_variant_public_request_hero` in responses. + */ +export const images_image_variant_public_request_hero_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/images_image_variant_identifier" + }, + "neverRequireSignedURLs": { + "$ref": "#/$defs/images_image_variant_neverRequireSignedURLs" + }, + "options": { + "$ref": "#/$defs/images_image_variant_options" + } + }, + "required": [ + "id", + "options" + ], + "type": "object" +}; + +/** + * The schema of `images_image_variant_response` in responses. + */ +export const images_image_variant_response_output: JsonSchema = { + "properties": { + "variant": { + "$ref": "#/$defs/images_image_variant_definition" + } + }, + "type": "object" +}; + +/** + * The schema of `images_image_variant_schemas_metadata` in responses. + */ +export const images_image_variant_schemas_metadata_output: JsonSchema = { + "enum": [ + "keep", + "copyright", + "none" + ], + "type": "string" +}; + +/** + * The schema of `images_image_variant_simple_response` in responses. + */ +export const images_image_variant_simple_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/images_messages" + }, + "messages": { + "$ref": "#/$defs/images_messages" + }, + "result": { + "$ref": "#/$defs/images_image_variant_response" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `images_image_variant_width` in responses. + */ +export const images_image_variant_width_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `images_image_variants_response` in responses. + */ +export const images_image_variants_response_output: JsonSchema = { + "properties": { + "variants": { + "$ref": "#/$defs/images_image_variant_public_request" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/images/variants/tools.ts b/src/generated/forge-mcp/images/variants/tools.ts index b7722d46..3b864840 100644 --- a/src/generated/forge-mcp/images/variants/tools.ts +++ b/src/generated/forge-mcp/images/variants/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + images_api_response_common_failure_output, + images_deleted_response_output, + images_messages_output, +} from "../outputs.js"; +import { + images_image_variant_definition_output, + images_image_variant_fit_output, + images_image_variant_height_output, + images_image_variant_identifier_output, + images_image_variant_list_response_output, + images_image_variant_neverRequireSignedURLs_output, + images_image_variant_options_output, + images_image_variant_public_request_hero_output, + images_image_variant_public_request_output, + images_image_variant_response_output, + images_image_variant_schemas_metadata_output, + images_image_variant_simple_response_output, + images_image_variant_width_output, + images_image_variants_response_output, +} from "./outputs.js"; import { images_image_variant_definition, images_image_variant_fit, @@ -62,6 +83,37 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_image_variant_response" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_variant_simple_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image_variant_definition": images_image_variant_definition_output, + "images_image_variant_fit": images_image_variant_fit_output, + "images_image_variant_height": images_image_variant_height_output, + "images_image_variant_identifier": images_image_variant_identifier_output, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, + "images_image_variant_options": images_image_variant_options_output, + "images_image_variant_response": images_image_variant_response_output, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, + "images_image_variant_simple_response": images_image_variant_simple_response_output, + "images_image_variant_width": images_image_variant_width_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/variants`, body: { value: args["body"], mediaType: "application/json" }, @@ -101,6 +153,28 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_deleted_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_deleted_response": images_deleted_response_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/variants/${pathParam(args, "variant_id")}`, }), @@ -152,6 +226,37 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_image_variant_response" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_variant_simple_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image_variant_definition": images_image_variant_definition_output, + "images_image_variant_fit": images_image_variant_fit_output, + "images_image_variant_height": images_image_variant_height_output, + "images_image_variant_identifier": images_image_variant_identifier_output, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, + "images_image_variant_options": images_image_variant_options_output, + "images_image_variant_response": images_image_variant_response_output, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, + "images_image_variant_simple_response": images_image_variant_simple_response_output, + "images_image_variant_width": images_image_variant_width_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/variants/${pathParam(args, "variant_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -192,6 +297,37 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_image_variant_response" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_variant_simple_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image_variant_definition": images_image_variant_definition_output, + "images_image_variant_fit": images_image_variant_fit_output, + "images_image_variant_height": images_image_variant_height_output, + "images_image_variant_identifier": images_image_variant_identifier_output, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, + "images_image_variant_options": images_image_variant_options_output, + "images_image_variant_response": images_image_variant_response_output, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, + "images_image_variant_simple_response": images_image_variant_simple_response_output, + "images_image_variant_width": images_image_variant_width_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/variants/${pathParam(args, "variant_id")}`, }), @@ -227,6 +363,38 @@ export const tools: readonly Tool[] = [ "Images Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/images_image_variants_response" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/images_image_variant_list_response" + }, + { + "$ref": "#/$defs/images_api-response-common-failure" + } + ] + } + }, + $defs: { + "images_api-response-common-failure": images_api_response_common_failure_output, + "images_image_variant_fit": images_image_variant_fit_output, + "images_image_variant_height": images_image_variant_height_output, + "images_image_variant_identifier": images_image_variant_identifier_output, + "images_image_variant_list_response": images_image_variant_list_response_output, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, + "images_image_variant_options": images_image_variant_options_output, + "images_image_variant_public_request": images_image_variant_public_request_output, + "images_image_variant_public_request_hero": images_image_variant_public_request_hero_output, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, + "images_image_variant_width": images_image_variant_width_output, + "images_image_variants_response": images_image_variants_response_output, + "images_messages": images_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v1/variants`, }), diff --git a/src/generated/forge-mcp/intel/asn/outputs.ts b/src/generated/forge-mcp/intel/asn/outputs.ts new file mode 100644 index 00000000..23c86a8b --- /dev/null +++ b/src/generated/forge-mcp/intel/asn/outputs.ts @@ -0,0 +1,40 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `intel_asn` in responses. + */ +export const intel_asn_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `intel_asn_components-schemas-response` in responses. + */ +export const intel_asn_components_schemas_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "messages": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "result": { + "$ref": "#/$defs/intel_asn" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/asn/subnets/outputs.ts b/src/generated/forge-mcp/intel/asn/subnets/outputs.ts new file mode 100644 index 00000000..816f0edb --- /dev/null +++ b/src/generated/forge-mcp/intel/asn/subnets/outputs.ts @@ -0,0 +1,25 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `intel_count` in responses. + */ +export const intel_count_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `intel_page` in responses. + */ +export const intel_page_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `intel_per_page` in responses. + */ +export const intel_per_page_output: JsonSchema = { + "type": "number" +}; diff --git a/src/generated/forge-mcp/intel/asn/subnets/tools.ts b/src/generated/forge-mcp/intel/asn/subnets/tools.ts index 96791cf2..05d8a790 100644 --- a/src/generated/forge-mcp/intel/asn/subnets/tools.ts +++ b/src/generated/forge-mcp/intel/asn/subnets/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_messages_output, +} from "../../outputs.js"; +import { intel_asn_output } from "../outputs.js"; +import { + intel_count_output, + intel_page_output, + intel_per_page_output, +} from "./outputs.js"; /** * The tools of `intel.asn.subnets`. @@ -42,6 +52,77 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "asn": { + "$ref": "#/$defs/intel_asn" + }, + "count": { + "$ref": "#/$defs/intel_count" + }, + "ip_count_total": { + "type": "integer" + }, + "page": { + "$ref": "#/$defs/intel_page" + }, + "per_page": { + "$ref": "#/$defs/intel_per_page" + }, + "subnets": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "properties": { + "asn": { + "$ref": "#/$defs/intel_asn" + }, + "count": { + "$ref": "#/$defs/intel_count" + }, + "ip_count_total": { + "type": "integer" + }, + "page": { + "$ref": "#/$defs/intel_page" + }, + "per_page": { + "$ref": "#/$defs/intel_per_page" + }, + "subnets": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_asn": intel_asn_output, + "intel_count": intel_count_output, + "intel_messages": intel_messages_output, + "intel_page": intel_page_output, + "intel_per_page": intel_per_page_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/asn/${pathParam(args, "asn")}/subnets`, }), diff --git a/src/generated/forge-mcp/intel/asn/tools.ts b/src/generated/forge-mcp/intel/asn/tools.ts index 6cf7203f..e08270ce 100644 --- a/src/generated/forge-mcp/intel/asn/tools.ts +++ b/src/generated/forge-mcp/intel/asn/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_messages_output, + intel_schemas_messages_output, +} from "../outputs.js"; +import { + intel_asn_components_schemas_response_output, + intel_asn_output, +} from "./outputs.js"; /** * The tools of `intel.asn`. @@ -42,6 +51,30 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/intel_asn" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/intel_asn_components-schemas-response" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_asn": intel_asn_output, + "intel_asn_components-schemas-response": intel_asn_components_schemas_response_output, + "intel_messages": intel_messages_output, + "intel_schemas-messages": intel_schemas_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/asn/${pathParam(args, "asn")}`, }), diff --git a/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts b/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts index 63eef911..d7e9a97b 100644 --- a/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts +++ b/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../../outputs.js"; /** * The tools of `intel.attack_surface_report.issue_types`. @@ -38,6 +42,34 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/attack-surface-report/issue-types`, }), diff --git a/src/generated/forge-mcp/intel/dns/outputs.ts b/src/generated/forge-mcp/intel/dns/outputs.ts new file mode 100644 index 00000000..918316c3 --- /dev/null +++ b/src/generated/forge-mcp/intel/dns/outputs.ts @@ -0,0 +1,101 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `intel_components-schemas-single_response` in responses. + */ +export const intel_components_schemas_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "messages": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "result": { + "$ref": "#/$defs/intel_passive-dns-by-ip" + }, + "result_info": { + "$ref": "#/$defs/intel_schemas-result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `intel_passive-dns-by-ip` in responses. + */ +export const intel_passive_dns_by_ip_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "reverse_records": { + "items": { + "$ref": "#/$defs/intel_passive-dns-by-ip_reverse_recordsItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_passive-dns-by-ip_reverse_recordsItem` in responses. + */ +export const intel_passive_dns_by_ip_reverse_recordsItem_output: JsonSchema = { + "properties": { + "first_seen": { + "format": "date", + "type": "string" + }, + "hostname": { + "type": "string" + }, + "last_seen": { + "format": "date", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_schemas-result_info` in responses. + */ +export const intel_schemas_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/dns/tools.ts b/src/generated/forge-mcp/intel/dns/tools.ts index f19b35a3..662f33cf 100644 --- a/src/generated/forge-mcp/intel/dns/tools.ts +++ b/src/generated/forge-mcp/intel/dns/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_messages_output, + intel_schemas_messages_output, +} from "../outputs.js"; +import { + intel_components_schemas_single_response_output, + intel_passive_dns_by_ip_output, + intel_passive_dns_by_ip_reverse_recordsItem_output, + intel_schemas_result_info_output, +} from "./outputs.js"; import { intel_start_end_params } from "./schemas.js"; /** @@ -56,6 +67,32 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/intel_passive-dns-by-ip" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/intel_components-schemas-single_response" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_components-schemas-single_response": intel_components_schemas_single_response_output, + "intel_messages": intel_messages_output, + "intel_passive-dns-by-ip": intel_passive_dns_by_ip_output, + "intel_passive-dns-by-ip_reverse_recordsItem": intel_passive_dns_by_ip_reverse_recordsItem_output, + "intel_schemas-messages": intel_schemas_messages_output, + "intel_schemas-result_info": intel_schemas_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/dns`, query: [ diff --git a/src/generated/forge-mcp/intel/domainHistory/outputs.ts b/src/generated/forge-mcp/intel/domainHistory/outputs.ts new file mode 100644 index 00000000..e470baff --- /dev/null +++ b/src/generated/forge-mcp/intel/domainHistory/outputs.ts @@ -0,0 +1,97 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `intel_domain-history` in responses. + */ +export const intel_domain_history_output: JsonSchema = { + "properties": { + "categorizations": { + "items": { + "$ref": "#/$defs/intel_domain-history_categorizationsItem" + }, + "type": "array" + }, + "domain": { + "$ref": "#/$defs/intel_domain_name" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_domain-history_categorizationsItem` in responses. + */ +export const intel_domain_history_categorizationsItem_output: JsonSchema = { + "properties": { + "categories": { + "items": { + "$ref": "#/$defs/intel_domain-history_categorizationsItem_categoriesItem" + }, + "type": "array" + }, + "end": { + "format": "date", + "type": "string" + }, + "start": { + "format": "date", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_domain-history_categorizationsItem_categoriesItem` in + * responses. + */ +export const intel_domain_history_categorizationsItem_categoriesItem_output: JsonSchema = { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_response` in responses. + */ +export const intel_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_messages" + }, + "messages": { + "$ref": "#/$defs/intel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/intel_domain-history" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/intel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/domainHistory/tools.ts b/src/generated/forge-mcp/intel/domainHistory/tools.ts index d9a396e6..b66ce5ba 100644 --- a/src/generated/forge-mcp/intel/domainHistory/tools.ts +++ b/src/generated/forge-mcp/intel/domainHistory/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_domain_name_output, + intel_messages_output, + intel_result_info_output, +} from "../outputs.js"; +import { + intel_domain_history_categorizationsItem_categoriesItem_output, + intel_domain_history_categorizationsItem_output, + intel_domain_history_output, + intel_response_output, +} from "./outputs.js"; /** * The tools of `intel.domain_history`. @@ -41,6 +53,47 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/intel_domain-history" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/intel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/intel_response" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_domain-history": intel_domain_history_output, + "intel_domain-history_categorizationsItem": intel_domain_history_categorizationsItem_output, + "intel_domain-history_categorizationsItem_categoriesItem": intel_domain_history_categorizationsItem_categoriesItem_output, + "intel_domain_name": intel_domain_name_output, + "intel_messages": intel_messages_output, + "intel_response": intel_response_output, + "intel_result_info": intel_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/domain-history`, query: [ diff --git a/src/generated/forge-mcp/intel/domains/bulks/outputs.ts b/src/generated/forge-mcp/intel/domains/bulks/outputs.ts new file mode 100644 index 00000000..61a60810 --- /dev/null +++ b/src/generated/forge-mcp/intel/domains/bulks/outputs.ts @@ -0,0 +1,79 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `intel_collection_response` in responses. + */ +export const intel_collection_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_messages" + }, + "messages": { + "$ref": "#/$defs/intel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/intel_collection_response_resultItem" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/intel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `intel_collection_response_resultItem` in responses. + */ +export const intel_collection_response_resultItem_output: JsonSchema = { + "properties": { + "additional_information": { + "$ref": "#/$defs/intel_additional_information" + }, + "application": { + "$ref": "#/$defs/intel_application" + }, + "content_categories": { + "$ref": "#/$defs/intel_content_categories" + }, + "domain": { + "$ref": "#/$defs/intel_domain_name" + }, + "inherited_content_categories": { + "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" + }, + "inherited_from": { + "$ref": "#/$defs/intel_inherited_from" + }, + "inherited_risk_types": { + "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" + }, + "popularity_rank": { + "$ref": "#/$defs/intel_popularity_rank" + }, + "risk_score": { + "$ref": "#/$defs/intel_risk_score" + }, + "risk_types": { + "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/domains/bulks/tools.ts b/src/generated/forge-mcp/intel/domains/bulks/tools.ts index 488002ca..2c0c5871 100644 --- a/src/generated/forge-mcp/intel/domains/bulks/tools.ts +++ b/src/generated/forge-mcp/intel/domains/bulks/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_domain_name_output, + intel_messages_output, + intel_result_info_output, +} from "../../outputs.js"; +import { + intel_additional_information_output, + intel_application_output, + intel_categories_with_super_category_ids_example_empty_output, + intel_category_with_super_category_id_output, + intel_content_categories_output, + intel_inherited_from_output, + intel_popularity_rank_output, + intel_risk_score_output, +} from "../outputs.js"; +import { + intel_collection_response_output, + intel_collection_response_resultItem_output, +} from "./outputs.js"; /** * The tools of `intel.domains.bulks`. @@ -55,6 +75,85 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "additional_information": { + "$ref": "#/$defs/intel_additional_information" + }, + "application": { + "$ref": "#/$defs/intel_application" + }, + "content_categories": { + "$ref": "#/$defs/intel_content_categories" + }, + "domain": { + "$ref": "#/$defs/intel_domain_name" + }, + "inherited_content_categories": { + "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" + }, + "inherited_from": { + "$ref": "#/$defs/intel_inherited_from" + }, + "inherited_risk_types": { + "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" + }, + "popularity_rank": { + "$ref": "#/$defs/intel_popularity_rank" + }, + "risk_score": { + "$ref": "#/$defs/intel_risk_score" + }, + "risk_types": { + "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/intel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/intel_collection_response" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_additional_information": intel_additional_information_output, + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_application": intel_application_output, + "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty_output, + "intel_category_with_super_category_id": intel_category_with_super_category_id_output, + "intel_collection_response": intel_collection_response_output, + "intel_collection_response_resultItem": intel_collection_response_resultItem_output, + "intel_content_categories": intel_content_categories_output, + "intel_domain_name": intel_domain_name_output, + "intel_inherited_from": intel_inherited_from_output, + "intel_messages": intel_messages_output, + "intel_popularity_rank": intel_popularity_rank_output, + "intel_result_info": intel_result_info_output, + "intel_risk_score": intel_risk_score_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/domain/bulk`, query: [ diff --git a/src/generated/forge-mcp/intel/domains/outputs.ts b/src/generated/forge-mcp/intel/domains/outputs.ts new file mode 100644 index 00000000..d3bcdc3d --- /dev/null +++ b/src/generated/forge-mcp/intel/domains/outputs.ts @@ -0,0 +1,205 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `intel_additional_information` in responses. + */ +export const intel_additional_information_output: JsonSchema = { + "properties": { + "suspected_malware_family": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_application` in responses. + */ +export const intel_application_output: JsonSchema = { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_categories_with_super_category_ids_example_empty` in + * responses. + */ +export const intel_categories_with_super_category_ids_example_empty_output: JsonSchema = { + "items": { + "$ref": "#/$defs/intel_category_with_super_category_id" + }, + "type": "array" +}; + +/** + * The schema of `intel_category_with_super_category_id` in responses. + */ +export const intel_category_with_super_category_id_output: JsonSchema = { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "super_category_id": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_content_categories` in responses. + */ +export const intel_content_categories_output: JsonSchema = { + "items": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "super_category_id": { + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `intel_domain` in responses. + */ +export const intel_domain_output: JsonSchema = { + "properties": { + "additional_information": { + "$ref": "#/$defs/intel_additional_information" + }, + "application": { + "$ref": "#/$defs/intel_application" + }, + "content_categories": { + "$ref": "#/$defs/intel_content_categories" + }, + "domain": { + "$ref": "#/$defs/intel_domain_name" + }, + "inherited_content_categories": { + "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" + }, + "inherited_from": { + "$ref": "#/$defs/intel_inherited_from" + }, + "inherited_risk_types": { + "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" + }, + "popularity_rank": { + "$ref": "#/$defs/intel_popularity_rank" + }, + "resolves_to_refs": { + "$ref": "#/$defs/intel_resolves_to_refs" + }, + "risk_score": { + "$ref": "#/$defs/intel_risk_score" + }, + "risk_types": { + "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_inherited_from` in responses. + */ +export const intel_inherited_from_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `intel_popularity_rank` in responses. + */ +export const intel_popularity_rank_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `intel_resolves_to_ref` in responses. + */ +export const intel_resolves_to_ref_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/intel_stix_identifier" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_resolves_to_refs` in responses. + */ +export const intel_resolves_to_refs_output: JsonSchema = { + "items": { + "$ref": "#/$defs/intel_resolves_to_ref" + }, + "type": "array" +}; + +/** + * The schema of `intel_risk_score` in responses. + */ +export const intel_risk_score_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `intel_single_response` in responses. + */ +export const intel_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "messages": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "result": { + "$ref": "#/$defs/intel_domain" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `intel_stix_identifier` in responses. + */ +export const intel_stix_identifier_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/intel/domains/tools.ts b/src/generated/forge-mcp/intel/domains/tools.ts index 257c5859..a756adf9 100644 --- a/src/generated/forge-mcp/intel/domains/tools.ts +++ b/src/generated/forge-mcp/intel/domains/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_domain_name_output, + intel_messages_output, + intel_schemas_messages_output, +} from "../outputs.js"; +import { + intel_additional_information_output, + intel_application_output, + intel_categories_with_super_category_ids_example_empty_output, + intel_category_with_super_category_id_output, + intel_content_categories_output, + intel_domain_output, + intel_inherited_from_output, + intel_popularity_rank_output, + intel_resolves_to_ref_output, + intel_resolves_to_refs_output, + intel_risk_score_output, + intel_single_response_output, + intel_stix_identifier_output, +} from "./outputs.js"; /** * The tools of `intel.domains`. @@ -50,6 +71,42 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/intel_domain" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/intel_single_response" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_additional_information": intel_additional_information_output, + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_application": intel_application_output, + "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty_output, + "intel_category_with_super_category_id": intel_category_with_super_category_id_output, + "intel_content_categories": intel_content_categories_output, + "intel_domain": intel_domain_output, + "intel_domain_name": intel_domain_name_output, + "intel_inherited_from": intel_inherited_from_output, + "intel_messages": intel_messages_output, + "intel_popularity_rank": intel_popularity_rank_output, + "intel_resolves_to_ref": intel_resolves_to_ref_output, + "intel_resolves_to_refs": intel_resolves_to_refs_output, + "intel_risk_score": intel_risk_score_output, + "intel_schemas-messages": intel_schemas_messages_output, + "intel_single_response": intel_single_response_output, + "intel_stix_identifier": intel_stix_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/domain`, query: [ diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts index dfdebe26..ab0df36c 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + custom_indicator_feeds_api_response_common_failure_output, + custom_indicator_feeds_messages_output, + custom_indicator_feeds_update_feed_output, +} from "../outputs.js"; /** * The tools of `intel.indicator_feeds.downloads`. @@ -43,6 +48,21 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-indicator-feeds_update_feed" + }, + "4XX": { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_update_feed": custom_indicator_feeds_update_feed_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds/${pathParam(args, "feed_id")}/download`, }), diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts new file mode 100644 index 00000000..da6a8a55 --- /dev/null +++ b/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts @@ -0,0 +1,468 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `custom-indicator-feeds_api_response_common_failure` in + * responses. + */ +export const custom_indicator_feeds_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-indicator-feeds_messages" + }, + "messages": { + "$ref": "#/$defs/custom-indicator-feeds_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_create_feed_response` in responses. + */ +export const custom_indicator_feeds_create_feed_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "messages": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "result": { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_item" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_description` in responses. + */ +export const custom_indicator_feeds_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `custom-indicator-feeds_id` in responses. + */ +export const custom_indicator_feeds_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `custom-indicator-feeds_indicator_feed_item` in responses. + */ +export const custom_indicator_feeds_indicator_feed_item_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "description": { + "$ref": "#/$defs/custom-indicator-feeds_description" + }, + "id": { + "$ref": "#/$defs/custom-indicator-feeds_id" + }, + "is_attributable": { + "$ref": "#/$defs/custom-indicator-feeds_is_attributable" + }, + "is_downloadable": { + "$ref": "#/$defs/custom-indicator-feeds_is_downloadable" + }, + "is_public": { + "$ref": "#/$defs/custom-indicator-feeds_is_public" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "$ref": "#/$defs/custom-indicator-feeds_name" + } + }, + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_indicator_feed_metadata` in responses. + */ +export const custom_indicator_feeds_indicator_feed_metadata_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "description": { + "$ref": "#/$defs/custom-indicator-feeds_description" + }, + "id": { + "$ref": "#/$defs/custom-indicator-feeds_id" + }, + "is_attributable": { + "$ref": "#/$defs/custom-indicator-feeds_is_attributable" + }, + "is_downloadable": { + "$ref": "#/$defs/custom-indicator-feeds_is_downloadable" + }, + "is_public": { + "$ref": "#/$defs/custom-indicator-feeds_is_public" + }, + "last_upload_summary": { + "$ref": "#/$defs/custom-indicator-feeds_last_upload_summary" + }, + "latest_upload_error": { + "type": "string" + }, + "latest_upload_status": { + "enum": [ + "Mirroring", + "Unifying", + "Loading", + "Provisioning", + "Complete", + "Error" + ], + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "$ref": "#/$defs/custom-indicator-feeds_name" + }, + "provider_id": { + "$ref": "#/$defs/custom-indicator-feeds_provider_id" + }, + "provider_name": { + "$ref": "#/$defs/custom-indicator-feeds_provider_name" + } + }, + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_indicator_feed_metadata_response` in + * responses. + */ +export const custom_indicator_feeds_indicator_feed_metadata_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "messages": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "result": { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_metadata" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_indicator_feed_response` in responses. + */ +export const custom_indicator_feeds_indicator_feed_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "messages": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "result": { + "items": { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_item" + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_is_attributable` in responses. + */ +export const custom_indicator_feeds_is_attributable_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `custom-indicator-feeds_is_downloadable` in responses. + */ +export const custom_indicator_feeds_is_downloadable_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `custom-indicator-feeds_is_public` in responses. + */ +export const custom_indicator_feeds_is_public_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `custom-indicator-feeds_last_upload_summary` in responses. + */ +export const custom_indicator_feeds_last_upload_summary_output: JsonSchema = { + "properties": { + "persisted": { + "$ref": "#/$defs/custom-indicator-feeds_last_upload_summary_persisted" + }, + "skipped": { + "$ref": "#/$defs/custom-indicator-feeds_last_upload_summary_skipped" + }, + "uploaded": { + "$ref": "#/$defs/custom-indicator-feeds_last_upload_summary_uploaded" + } + }, + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_last_upload_summary_persisted` in + * responses. + */ +export const custom_indicator_feeds_last_upload_summary_persisted_output: JsonSchema = { + "properties": { + "domains_added": { + "type": "integer" + }, + "domains_removed": { + "type": "integer" + }, + "ips_added": { + "type": "integer" + }, + "ips_removed": { + "type": "integer" + }, + "urls_added": { + "type": "integer" + }, + "urls_removed": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_last_upload_summary_skipped` in + * responses. + */ +export const custom_indicator_feeds_last_upload_summary_skipped_output: JsonSchema = { + "properties": { + "allowlisted_domains": { + "type": "integer" + }, + "expired_indicators": { + "type": "integer" + }, + "invalid_indicators": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_last_upload_summary_uploaded` in + * responses. + */ +export const custom_indicator_feeds_last_upload_summary_uploaded_output: JsonSchema = { + "properties": { + "domains": { + "type": "integer" + }, + "ips": { + "type": "integer" + }, + "urls": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_messages` in responses. + */ +export const custom_indicator_feeds_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `custom-indicator-feeds_messages-2` in responses. + */ +export const custom_indicator_feeds_messages_2_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `custom-indicator-feeds_name` in responses. + */ +export const custom_indicator_feeds_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `custom-indicator-feeds_provider_id` in responses. + */ +export const custom_indicator_feeds_provider_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `custom-indicator-feeds_provider_name` in responses. + */ +export const custom_indicator_feeds_provider_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `custom-indicator-feeds_update_feed` in responses. + */ +export const custom_indicator_feeds_update_feed_output: JsonSchema = { + "properties": { + "file_id": { + "type": "integer" + }, + "filename": { + "type": "string" + }, + "poll_url": { + "type": "string" + }, + "status": { + "type": "string" + }, + "upload_id": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_update_public_field_response` in + * responses. + */ +export const custom_indicator_feeds_update_public_field_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "messages": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "result": { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_item" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts new file mode 100644 index 00000000..90c261f5 --- /dev/null +++ b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts @@ -0,0 +1,105 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `custom-indicator-feeds_permission_list_item` in responses. + */ +export const custom_indicator_feeds_permission_list_item_output: JsonSchema = { + "properties": { + "description": { + "$ref": "#/$defs/custom-indicator-feeds_description" + }, + "id": { + "$ref": "#/$defs/custom-indicator-feeds_id" + }, + "is_attributable": { + "$ref": "#/$defs/custom-indicator-feeds_is_attributable" + }, + "is_downloadable": { + "$ref": "#/$defs/custom-indicator-feeds_is_downloadable" + }, + "is_public": { + "$ref": "#/$defs/custom-indicator-feeds_is_public" + }, + "name": { + "$ref": "#/$defs/custom-indicator-feeds_name" + } + }, + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_permission_list_item_response` in + * responses. + */ +export const custom_indicator_feeds_permission_list_item_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "messages": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "result": { + "items": { + "$ref": "#/$defs/custom-indicator-feeds_permission_list_item" + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_permissions_response` in responses. + */ +export const custom_indicator_feeds_permissions_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "messages": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "result": { + "$ref": "#/$defs/custom-indicator-feeds_permissions_update" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_permissions_update` in responses. + */ +export const custom_indicator_feeds_permissions_update_output: JsonSchema = { + "properties": { + "success": { + "type": "boolean" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts index 1d80645a..8257b815 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + custom_indicator_feeds_api_response_common_failure_output, + custom_indicator_feeds_description_output, + custom_indicator_feeds_id_output, + custom_indicator_feeds_is_attributable_output, + custom_indicator_feeds_is_downloadable_output, + custom_indicator_feeds_is_public_output, + custom_indicator_feeds_messages_2_output, + custom_indicator_feeds_messages_output, + custom_indicator_feeds_name_output, +} from "../outputs.js"; +import { + custom_indicator_feeds_permission_list_item_output, + custom_indicator_feeds_permission_list_item_response_output, + custom_indicator_feeds_permissions_response_output, + custom_indicator_feeds_permissions_update_output, +} from "./outputs.js"; import { custom_indicator_feeds_permissions_request } from "./schemas.js"; /** @@ -40,6 +57,30 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/intel/indicator-feeds/permissions/add", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-indicator-feeds_permissions_update" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/custom-indicator-feeds_permissions_response" + }, + { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + ] + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_permissions_response": custom_indicator_feeds_permissions_response_output, + "custom-indicator-feeds_permissions_update": custom_indicator_feeds_permissions_update_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds/permissions/add`, body: { value: args["body"], mediaType: "application/json" }, @@ -77,6 +118,30 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/intel/indicator-feeds/permissions/remove", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-indicator-feeds_permissions_update" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/custom-indicator-feeds_permissions_response" + }, + { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + ] + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_permissions_response": custom_indicator_feeds_permissions_response_output, + "custom-indicator-feeds_permissions_update": custom_indicator_feeds_permissions_update_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds/permissions/remove`, body: { value: args["body"], mediaType: "application/json" }, @@ -113,6 +178,50 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/custom-indicator-feeds_permission_list_item" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/custom-indicator-feeds_permission_list_item_response" + }, + { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + ] + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_description": custom_indicator_feeds_description_output, + "custom-indicator-feeds_id": custom_indicator_feeds_id_output, + "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, + "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, + "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_name": custom_indicator_feeds_name_output, + "custom-indicator-feeds_permission_list_item": custom_indicator_feeds_permission_list_item_output, + "custom-indicator-feeds_permission_list_item_response": custom_indicator_feeds_permission_list_item_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds/permissions/view`, }), diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/providers/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/providers/outputs.ts new file mode 100644 index 00000000..ad4baa06 --- /dev/null +++ b/src/generated/forge-mcp/intel/indicatorFeeds/providers/outputs.ts @@ -0,0 +1,56 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `custom-indicator-feeds_create_provider_response` in responses. + */ +export const custom_indicator_feeds_create_provider_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "messages": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "result": { + "$ref": "#/$defs/custom-indicator-feeds_create_provider_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_create_provider_result` in responses. + */ +export const custom_indicator_feeds_create_provider_result_output: JsonSchema = { + "properties": { + "account_id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "provider_id": { + "type": "integer" + } + }, + "required": [ + "account_id", + "name", + "provider_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts index 5064ac9f..81bf19a8 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + custom_indicator_feeds_api_response_common_failure_output, + custom_indicator_feeds_messages_2_output, + custom_indicator_feeds_messages_output, +} from "../outputs.js"; +import { + custom_indicator_feeds_create_provider_response_output, + custom_indicator_feeds_create_provider_result_output, +} from "./outputs.js"; import { custom_indicator_feeds_create_provider_request } from "./schemas.js"; /** @@ -40,6 +49,30 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id_path}/intel/indicator-feeds/permissions/createProvider", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-indicator-feeds_create_provider_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/custom-indicator-feeds_create_provider_response" + }, + { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + ] + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_create_provider_response": custom_indicator_feeds_create_provider_response_output, + "custom-indicator-feeds_create_provider_result": custom_indicator_feeds_create_provider_result_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id_path")}/intel/indicator-feeds/permissions/createProvider`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts index ace2310c..e2098b33 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts @@ -2,6 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + custom_indicator_feeds_api_response_common_failure_output, + custom_indicator_feeds_create_feed_response_output, + custom_indicator_feeds_description_output, + custom_indicator_feeds_id_output, + custom_indicator_feeds_indicator_feed_item_output, + custom_indicator_feeds_indicator_feed_metadata_output, + custom_indicator_feeds_indicator_feed_metadata_response_output, + custom_indicator_feeds_indicator_feed_response_output, + custom_indicator_feeds_is_attributable_output, + custom_indicator_feeds_is_downloadable_output, + custom_indicator_feeds_is_public_output, + custom_indicator_feeds_last_upload_summary_output, + custom_indicator_feeds_last_upload_summary_persisted_output, + custom_indicator_feeds_last_upload_summary_skipped_output, + custom_indicator_feeds_last_upload_summary_uploaded_output, + custom_indicator_feeds_messages_2_output, + custom_indicator_feeds_messages_output, + custom_indicator_feeds_name_output, + custom_indicator_feeds_provider_id_output, + custom_indicator_feeds_provider_name_output, + custom_indicator_feeds_update_public_field_response_output, +} from "./outputs.js"; import { custom_indicator_feeds_create_feed, custom_indicator_feeds_description, @@ -47,6 +70,36 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/intel/indicator-feeds", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_item" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/custom-indicator-feeds_create_feed_response" + }, + { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + ] + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_create_feed_response": custom_indicator_feeds_create_feed_response_output, + "custom-indicator-feeds_description": custom_indicator_feeds_description_output, + "custom-indicator-feeds_id": custom_indicator_feeds_id_output, + "custom-indicator-feeds_indicator_feed_item": custom_indicator_feeds_indicator_feed_item_output, + "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, + "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, + "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_name": custom_indicator_feeds_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds`, body: { value: args["body"], mediaType: "application/json" }, @@ -88,6 +141,18 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds/${pathParam(args, "feed_id")}/data`, }), @@ -128,6 +193,42 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_metadata" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_metadata_response" + }, + { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + ] + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_description": custom_indicator_feeds_description_output, + "custom-indicator-feeds_id": custom_indicator_feeds_id_output, + "custom-indicator-feeds_indicator_feed_metadata": custom_indicator_feeds_indicator_feed_metadata_output, + "custom-indicator-feeds_indicator_feed_metadata_response": custom_indicator_feeds_indicator_feed_metadata_response_output, + "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, + "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, + "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, + "custom-indicator-feeds_last_upload_summary": custom_indicator_feeds_last_upload_summary_output, + "custom-indicator-feeds_last_upload_summary_persisted": custom_indicator_feeds_last_upload_summary_persisted_output, + "custom-indicator-feeds_last_upload_summary_skipped": custom_indicator_feeds_last_upload_summary_skipped_output, + "custom-indicator-feeds_last_upload_summary_uploaded": custom_indicator_feeds_last_upload_summary_uploaded_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_name": custom_indicator_feeds_name_output, + "custom-indicator-feeds_provider_id": custom_indicator_feeds_provider_id_output, + "custom-indicator-feeds_provider_name": custom_indicator_feeds_provider_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds/${pathParam(args, "feed_id")}`, }), @@ -163,6 +264,50 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_item" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_response" + }, + { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + ] + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_description": custom_indicator_feeds_description_output, + "custom-indicator-feeds_id": custom_indicator_feeds_id_output, + "custom-indicator-feeds_indicator_feed_item": custom_indicator_feeds_indicator_feed_item_output, + "custom-indicator-feeds_indicator_feed_response": custom_indicator_feeds_indicator_feed_response_output, + "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, + "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, + "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_name": custom_indicator_feeds_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds`, }), @@ -204,6 +349,36 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/intel/indicator-feeds/{feed_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_item" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/custom-indicator-feeds_update_public_field_response" + }, + { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + ] + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_description": custom_indicator_feeds_description_output, + "custom-indicator-feeds_id": custom_indicator_feeds_id_output, + "custom-indicator-feeds_indicator_feed_item": custom_indicator_feeds_indicator_feed_item_output, + "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, + "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, + "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_name": custom_indicator_feeds_name_output, + "custom-indicator-feeds_update_public_field_response": custom_indicator_feeds_update_public_field_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds/${pathParam(args, "feed_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/intel/ipLists/outputs.ts b/src/generated/forge-mcp/intel/ipLists/outputs.ts new file mode 100644 index 00000000..66a7691d --- /dev/null +++ b/src/generated/forge-mcp/intel/ipLists/outputs.ts @@ -0,0 +1,58 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `intel_components-schemas-response` in responses. + */ +export const intel_components_schemas_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_messages" + }, + "messages": { + "$ref": "#/$defs/intel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/intel_ip-list" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/intel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `intel_ip-list` in responses. + */ +export const intel_ip_list_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/ipLists/tools.ts b/src/generated/forge-mcp/intel/ipLists/tools.ts index 6c74fa68..ce9faf2b 100644 --- a/src/generated/forge-mcp/intel/ipLists/tools.ts +++ b/src/generated/forge-mcp/intel/ipLists/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_messages_output, + intel_result_info_output, +} from "../outputs.js"; +import { + intel_components_schemas_response_output, + intel_ip_list_output, +} from "./outputs.js"; /** * The tools of `intel.ip_lists`. @@ -38,6 +47,44 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/intel_ip-list" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/intel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/intel_components-schemas-response" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_components-schemas-response": intel_components_schemas_response_output, + "intel_ip-list": intel_ip_list_output, + "intel_messages": intel_messages_output, + "intel_result_info": intel_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/ip-lists`, }), diff --git a/src/generated/forge-mcp/intel/ips/outputs.ts b/src/generated/forge-mcp/intel/ips/outputs.ts new file mode 100644 index 00000000..792d2469 --- /dev/null +++ b/src/generated/forge-mcp/intel/ips/outputs.ts @@ -0,0 +1,136 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `intel_ip` in responses. + */ +export const intel_ip_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/intel_ipv4" + }, + { + "$ref": "#/$defs/intel_ipv6" + } + ] +}; + +/** + * The schema of `intel_ipv4` in responses. + */ +export const intel_ipv4_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `intel_ipv6` in responses. + */ +export const intel_ipv6_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `intel_schemas-ip` in responses. + */ +export const intel_schemas_ip_output: JsonSchema = { + "properties": { + "belongs_to_ref": { + "$ref": "#/$defs/intel_schemas-ip_belongs_to_ref" + }, + "ip": { + "$ref": "#/$defs/intel_ip" + }, + "risk_types": { + "items": { + "$ref": "#/$defs/intel_schemas-ip_risk_typesItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_schemas-ip_belongs_to_ref` in responses. + */ +export const intel_schemas_ip_belongs_to_ref_output: JsonSchema = { + "properties": { + "country": { + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "enum": [ + "hosting_provider", + "isp", + "organization" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_schemas-ip_risk_typesItem` in responses. + */ +export const intel_schemas_ip_risk_typesItem_output: JsonSchema = { + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "super_category_id": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_schemas-response` in responses. + */ +export const intel_schemas_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_messages" + }, + "messages": { + "$ref": "#/$defs/intel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/intel_schemas-ip" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/intel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/ips/tools.ts b/src/generated/forge-mcp/intel/ips/tools.ts index def47eb2..616d52e8 100644 --- a/src/generated/forge-mcp/intel/ips/tools.ts +++ b/src/generated/forge-mcp/intel/ips/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_messages_output, + intel_result_info_output, +} from "../outputs.js"; +import { + intel_ip_output, + intel_ipv4_output, + intel_ipv6_output, + intel_schemas_ip_belongs_to_ref_output, + intel_schemas_ip_output, + intel_schemas_ip_risk_typesItem_output, + intel_schemas_response_output, +} from "./outputs.js"; /** * The tools of `intel.ips`. @@ -44,6 +58,49 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/intel_schemas-ip" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/intel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/intel_schemas-response" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_ip": intel_ip_output, + "intel_ipv4": intel_ipv4_output, + "intel_ipv6": intel_ipv6_output, + "intel_messages": intel_messages_output, + "intel_result_info": intel_result_info_output, + "intel_schemas-ip": intel_schemas_ip_output, + "intel_schemas-ip_belongs_to_ref": intel_schemas_ip_belongs_to_ref_output, + "intel_schemas-ip_risk_typesItem": intel_schemas_ip_risk_typesItem_output, + "intel_schemas-response": intel_schemas_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/ip`, query: [ diff --git a/src/generated/forge-mcp/intel/miscategorizations/outputs.ts b/src/generated/forge-mcp/intel/miscategorizations/outputs.ts new file mode 100644 index 00000000..d0b9ad46 --- /dev/null +++ b/src/generated/forge-mcp/intel/miscategorizations/outputs.ts @@ -0,0 +1,30 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `intel_schemas-api-response-common` in responses. + */ +export const intel_schemas_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "messages": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/miscategorizations/tools.ts b/src/generated/forge-mcp/intel/miscategorizations/tools.ts index 512438d3..598fba3b 100644 --- a/src/generated/forge-mcp/intel/miscategorizations/tools.ts +++ b/src/generated/forge-mcp/intel/miscategorizations/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_messages_output, + intel_schemas_messages_output, +} from "../outputs.js"; +import { intel_schemas_api_response_common_output } from "./outputs.js"; import { intel_miscategorization } from "./schemas.js"; /** @@ -40,6 +46,29 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/intel/miscategorization", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/intel_schemas-api-response-common" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/intel_schemas-api-response-common" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_messages": intel_messages_output, + "intel_schemas-api-response-common": intel_schemas_api_response_common_output, + "intel_schemas-messages": intel_schemas_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/miscategorization`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/intel/outputs.ts b/src/generated/forge-mcp/intel/outputs.ts new file mode 100644 index 00000000..806f4c75 --- /dev/null +++ b/src/generated/forge-mcp/intel/outputs.ts @@ -0,0 +1,114 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `intel_api-response-common-failure` in responses. + */ +export const intel_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_messages" + }, + "messages": { + "$ref": "#/$defs/intel_messages" + }, + "result": { + "type": "null" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `intel_domain_name` in responses. + */ +export const intel_domain_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `intel_messages` in responses. + */ +export const intel_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `intel_result_info` in responses. + */ +export const intel_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_schemas-messages` in responses. + */ +export const intel_schemas_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/intel/sinkholes/ingresses/outputs.ts b/src/generated/forge-mcp/intel/sinkholes/ingresses/outputs.ts new file mode 100644 index 00000000..4229ee5c --- /dev/null +++ b/src/generated/forge-mcp/intel/sinkholes/ingresses/outputs.ts @@ -0,0 +1,33 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `intel-sinkholes_ingress_item` in responses. + */ +export const intel_sinkholes_ingress_item_output: JsonSchema = { + "properties": { + "cidr": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "sinkhole_id": { + "type": "string" + }, + "zone_tag": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts b/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts index b7a19f62..1a86a3ab 100644 --- a/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts +++ b/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts @@ -2,7 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + intel_sinkholes_api_response_common_failure_output, + intel_sinkholes_messages_output, +} from "../outputs.js"; import { intel_sinkholes_identifier } from "../schemas.js"; +import { intel_sinkholes_ingress_item_output } from "./outputs.js"; import { intel_sinkholes_ingress_create_params } from "./schemas.js"; /** @@ -52,6 +57,21 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/intel-sinkholes_ingress_item" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_ingress_item": intel_sinkholes_ingress_item_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/intel/sinkholes/${pathParam(args, "sinkhole_id")}/ingresses`, body: { value: args["body"], mediaType: "application/json" }, @@ -100,6 +120,20 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/intel/sinkholes/${pathParam(args, "sinkhole_id")}/ingresses/${pathParam(args, "ingress_id")}`, }), @@ -148,6 +182,21 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/intel-sinkholes_ingress_item" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_ingress_item": intel_sinkholes_ingress_item_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/intel/sinkholes/${pathParam(args, "sinkhole_id")}/ingresses/${pathParam(args, "ingress_id")}`, }), @@ -197,6 +246,35 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/intel-sinkholes_ingress_item" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_ingress_item": intel_sinkholes_ingress_item_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/intel/sinkholes/${pathParam(args, "sinkhole_id")}/ingresses`, }), @@ -249,6 +327,20 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/intel/sinkholes/${pathParam(args, "sinkhole_id")}/ingresses/${pathParam(args, "ingress_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/intel/sinkholes/outputs.ts b/src/generated/forge-mcp/intel/sinkholes/outputs.ts new file mode 100644 index 00000000..ceff1e01 --- /dev/null +++ b/src/generated/forge-mcp/intel/sinkholes/outputs.ts @@ -0,0 +1,99 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `intel-sinkholes_api-response-common-failure` in responses. + */ +export const intel_sinkholes_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel-sinkholes_messages" + }, + "messages": { + "$ref": "#/$defs/intel-sinkholes_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `intel-sinkholes_messages` in responses. + */ +export const intel_sinkholes_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `intel-sinkholes_sinkhole_item` in responses. + */ +export const intel_sinkholes_sinkhole_item_output: JsonSchema = { + "properties": { + "account_tag": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "r2_bucket": { + "type": "string" + }, + "r2_id": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/sinkholes/tools.ts b/src/generated/forge-mcp/intel/sinkholes/tools.ts index 1e06f652..a835983c 100644 --- a/src/generated/forge-mcp/intel/sinkholes/tools.ts +++ b/src/generated/forge-mcp/intel/sinkholes/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + intel_sinkholes_api_response_common_failure_output, + intel_sinkholes_messages_output, + intel_sinkholes_sinkhole_item_output, +} from "./outputs.js"; import { intel_sinkholes_identifier, intel_sinkholes_sinkhole_create_params, @@ -49,6 +54,21 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/intel-sinkholes_sinkhole_item" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_sinkhole_item": intel_sinkholes_sinkhole_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/sinkholes`, body: { value: args["body"], mediaType: "application/json" }, @@ -92,6 +112,23 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "409": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/sinkholes/${pathParam(args, "sinkhole_id")}`, }), @@ -135,6 +172,21 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/intel-sinkholes_sinkhole_item" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_sinkhole_item": intel_sinkholes_sinkhole_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/sinkholes/${pathParam(args, "sinkhole_id")}`, }), @@ -173,6 +225,35 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/intel-sinkholes_sinkhole_item" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_sinkhole_item": intel_sinkholes_sinkhole_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/sinkholes`, }), @@ -220,6 +301,20 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/intel-sinkholes_api-response-common-failure" + } + }, + $defs: { + "intel-sinkholes_api-response-common-failure": intel_sinkholes_api_response_common_failure_output, + "intel-sinkholes_messages": intel_sinkholes_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/sinkholes/${pathParam(args, "sinkhole_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/intel/urls/outputs.ts b/src/generated/forge-mcp/intel/urls/outputs.ts new file mode 100644 index 00000000..2b024702 --- /dev/null +++ b/src/generated/forge-mcp/intel/urls/outputs.ts @@ -0,0 +1,91 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `intel_url_intelligence` in responses. + */ +export const intel_url_intelligence_output: JsonSchema = { + "properties": { + "content_categories": { + "items": { + "$ref": "#/$defs/intel_url_intelligence_category_with_source" + }, + "type": "array" + }, + "full_url": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "risk_type": { + "items": { + "$ref": "#/$defs/intel_url_intelligence_category_with_source" + }, + "type": "array" + }, + "url_path": { + "type": "string" + } + }, + "required": [ + "content_categories", + "full_url", + "hostname", + "risk_type", + "url_path" + ], + "type": "object" +}; + +/** + * The schema of `intel_url_intelligence_category_with_source` in responses. + */ +export const intel_url_intelligence_category_with_source_output: JsonSchema = { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "source_id": { + "type": "integer" + }, + "super_category_id": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `intel_url_intelligence_single_response` in responses. + */ +export const intel_url_intelligence_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "messages": { + "$ref": "#/$defs/intel_schemas-messages" + }, + "result": { + "$ref": "#/$defs/intel_url_intelligence" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/urls/tools.ts b/src/generated/forge-mcp/intel/urls/tools.ts index dbf6d73d..4b26323b 100644 --- a/src/generated/forge-mcp/intel/urls/tools.ts +++ b/src/generated/forge-mcp/intel/urls/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + intel_api_response_common_failure_output, + intel_messages_output, + intel_schemas_messages_output, +} from "../outputs.js"; +import { + intel_url_intelligence_category_with_source_output, + intel_url_intelligence_output, + intel_url_intelligence_single_response_output, +} from "./outputs.js"; /** * The tools of `intel.urls`. @@ -43,6 +53,31 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/intel_url_intelligence" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/intel_url_intelligence_single_response" + }, + { + "$ref": "#/$defs/intel_api-response-common-failure" + } + ] + } + }, + $defs: { + "intel_api-response-common-failure": intel_api_response_common_failure_output, + "intel_messages": intel_messages_output, + "intel_schemas-messages": intel_schemas_messages_output, + "intel_url_intelligence": intel_url_intelligence_output, + "intel_url_intelligence_category_with_source": intel_url_intelligence_category_with_source_output, + "intel_url_intelligence_single_response": intel_url_intelligence_single_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/url`, query: [ diff --git a/src/generated/forge-mcp/intel/whois/outputs.ts b/src/generated/forge-mcp/intel/whois/outputs.ts new file mode 100644 index 00000000..169e9751 --- /dev/null +++ b/src/generated/forge-mcp/intel/whois/outputs.ts @@ -0,0 +1,415 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cloudforce-one-whois_api-response-common-failure` in + * responses. + */ +export const cloudforce_one_whois_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cloudforce-one-whois_messages" + }, + "messages": { + "$ref": "#/$defs/cloudforce-one-whois_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one-whois_domain_name` in responses. + */ +export const cloudforce_one_whois_domain_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `cloudforce-one-whois_messages` in responses. + */ +export const cloudforce_one_whois_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `cloudforce-one-whois_schemas-messages` in responses. + */ +export const cloudforce_one_whois_schemas_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `cloudforce-one-whois_schemas-single_response` in responses. + */ +export const cloudforce_one_whois_schemas_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cloudforce-one-whois_schemas-messages" + }, + "messages": { + "$ref": "#/$defs/cloudforce-one-whois_schemas-messages" + }, + "result": { + "$ref": "#/$defs/cloudforce-one-whois_whois" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cloudforce-one-whois_whois` in responses. + */ +export const cloudforce_one_whois_whois_output: JsonSchema = { + "properties": { + "administrative_city": { + "type": "string" + }, + "administrative_country": { + "type": "string" + }, + "administrative_email": { + "type": "string" + }, + "administrative_fax": { + "type": "string" + }, + "administrative_fax_ext": { + "type": "string" + }, + "administrative_id": { + "type": "string" + }, + "administrative_name": { + "type": "string" + }, + "administrative_org": { + "type": "string" + }, + "administrative_phone": { + "type": "string" + }, + "administrative_phone_ext": { + "type": "string" + }, + "administrative_postal_code": { + "type": "string" + }, + "administrative_province": { + "type": "string" + }, + "administrative_referral_url": { + "type": "string" + }, + "administrative_street": { + "type": "string" + }, + "billing_city": { + "type": "string" + }, + "billing_country": { + "type": "string" + }, + "billing_email": { + "type": "string" + }, + "billing_fax": { + "type": "string" + }, + "billing_fax_ext": { + "type": "string" + }, + "billing_id": { + "type": "string" + }, + "billing_name": { + "type": "string" + }, + "billing_org": { + "type": "string" + }, + "billing_phone": { + "type": "string" + }, + "billing_phone_ext": { + "type": "string" + }, + "billing_postal_code": { + "type": "string" + }, + "billing_province": { + "type": "string" + }, + "billing_referral_url": { + "type": "string" + }, + "billing_street": { + "type": "string" + }, + "created_date": { + "format": "date-time", + "type": "string" + }, + "created_date_raw": { + "type": "string" + }, + "dnssec": { + "type": "boolean" + }, + "domain": { + "$ref": "#/$defs/cloudforce-one-whois_domain_name" + }, + "expiration_date": { + "format": "date-time", + "type": "string" + }, + "expiration_date_raw": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "found": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "nameservers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "punycode": { + "type": "string" + }, + "registrant": { + "type": "string" + }, + "registrant_city": { + "type": "string" + }, + "registrant_country": { + "type": "string" + }, + "registrant_email": { + "type": "string" + }, + "registrant_fax": { + "type": "string" + }, + "registrant_fax_ext": { + "type": "string" + }, + "registrant_id": { + "type": "string" + }, + "registrant_name": { + "type": "string" + }, + "registrant_org": { + "type": "string" + }, + "registrant_phone": { + "type": "string" + }, + "registrant_phone_ext": { + "type": "string" + }, + "registrant_postal_code": { + "type": "string" + }, + "registrant_province": { + "type": "string" + }, + "registrant_referral_url": { + "type": "string" + }, + "registrant_street": { + "type": "string" + }, + "registrar": { + "type": "string" + }, + "registrar_city": { + "type": "string" + }, + "registrar_country": { + "type": "string" + }, + "registrar_email": { + "type": "string" + }, + "registrar_fax": { + "type": "string" + }, + "registrar_fax_ext": { + "type": "string" + }, + "registrar_id": { + "type": "string" + }, + "registrar_name": { + "type": "string" + }, + "registrar_org": { + "type": "string" + }, + "registrar_phone": { + "type": "string" + }, + "registrar_phone_ext": { + "type": "string" + }, + "registrar_postal_code": { + "type": "string" + }, + "registrar_province": { + "type": "string" + }, + "registrar_referral_url": { + "type": "string" + }, + "registrar_street": { + "type": "string" + }, + "status": { + "items": { + "type": "string" + }, + "type": "array" + }, + "technical_city": { + "type": "string" + }, + "technical_country": { + "type": "string" + }, + "technical_email": { + "type": "string" + }, + "technical_fax": { + "type": "string" + }, + "technical_fax_ext": { + "type": "string" + }, + "technical_id": { + "type": "string" + }, + "technical_name": { + "type": "string" + }, + "technical_org": { + "type": "string" + }, + "technical_phone": { + "type": "string" + }, + "technical_phone_ext": { + "type": "string" + }, + "technical_postal_code": { + "type": "string" + }, + "technical_province": { + "type": "string" + }, + "technical_referral_url": { + "type": "string" + }, + "technical_street": { + "type": "string" + }, + "updated_date": { + "format": "date-time", + "type": "string" + }, + "updated_date_raw": { + "type": "string" + }, + "whois_server": { + "type": "string" + } + }, + "required": [ + "dnssec", + "domain", + "extension", + "found", + "nameservers", + "punycode", + "registrant", + "registrar" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/whois/tools.ts b/src/generated/forge-mcp/intel/whois/tools.ts index 5086dff9..b85f938d 100644 --- a/src/generated/forge-mcp/intel/whois/tools.ts +++ b/src/generated/forge-mcp/intel/whois/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cloudforce_one_whois_api_response_common_failure_output, + cloudforce_one_whois_domain_name_output, + cloudforce_one_whois_messages_output, + cloudforce_one_whois_schemas_messages_output, + cloudforce_one_whois_schemas_single_response_output, + cloudforce_one_whois_whois_output, +} from "./outputs.js"; /** * The tools of `intel.whois`. @@ -41,6 +49,31 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudforce-one-whois_whois" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/cloudforce-one-whois_schemas-single_response" + }, + { + "$ref": "#/$defs/cloudforce-one-whois_api-response-common-failure" + } + ] + } + }, + $defs: { + "cloudforce-one-whois_api-response-common-failure": cloudforce_one_whois_api_response_common_failure_output, + "cloudforce-one-whois_domain_name": cloudforce_one_whois_domain_name_output, + "cloudforce-one-whois_messages": cloudforce_one_whois_messages_output, + "cloudforce-one-whois_schemas-messages": cloudforce_one_whois_schemas_messages_output, + "cloudforce-one-whois_schemas-single_response": cloudforce_one_whois_schemas_single_response_output, + "cloudforce-one-whois_whois": cloudforce_one_whois_whois_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/whois`, query: [ diff --git a/src/generated/forge-mcp/internal/submit/tools.ts b/src/generated/forge-mcp/internal/submit/tools.ts index bde69717..9bab7771 100644 --- a/src/generated/forge-mcp/internal/submit/tools.ts +++ b/src/generated/forge-mcp/internal/submit/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import type { Tool } from "../../_/tool.js"; +import { brand_protection_api_Error_output } from "../../outputs.js"; /** * The tools of `internal.submit`. @@ -24,6 +25,16 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/internal/submit", + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (_args) => ({ path: `/internal/submit`, }), diff --git a/src/generated/forge-mcp/ips/outputs.ts b/src/generated/forge-mcp/ips/outputs.ts new file mode 100644 index 00000000..41085e8a --- /dev/null +++ b/src/generated/forge-mcp/ips/outputs.ts @@ -0,0 +1,169 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `public-ip_api-response-common` in responses. + */ +export const public_ip_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/public-ip_messages" + }, + "messages": { + "$ref": "#/$defs/public-ip_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `public-ip_api-response-common-failure` in responses. + */ +export const public_ip_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/public-ip_messages" + }, + "messages": { + "$ref": "#/$defs/public-ip_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `public-ip_etag` in responses. + */ +export const public_ip_etag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `public-ip_ips` in responses. + */ +export const public_ip_ips_output: JsonSchema = { + "properties": { + "etag": { + "$ref": "#/$defs/public-ip_etag" + }, + "ipv4_cidrs": { + "$ref": "#/$defs/public-ip_ipv4_cidrs" + }, + "ipv6_cidrs": { + "$ref": "#/$defs/public-ip_ipv6_cidrs" + } + }, + "type": "object" +}; + +/** + * The schema of `public-ip_ips_jdcloud` in responses. + */ +export const public_ip_ips_jdcloud_output: JsonSchema = { + "properties": { + "etag": { + "$ref": "#/$defs/public-ip_etag" + }, + "ipv4_cidrs": { + "$ref": "#/$defs/public-ip_ipv4_cidrs" + }, + "ipv6_cidrs": { + "$ref": "#/$defs/public-ip_ipv6_cidrs" + }, + "jdcloud_cidrs": { + "$ref": "#/$defs/public-ip_jdcloud_cidrs" + } + }, + "type": "object" +}; + +/** + * The schema of `public-ip_ipv4_cidrs` in responses. + */ +export const public_ip_ipv4_cidrs_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `public-ip_ipv6_cidrs` in responses. + */ +export const public_ip_ipv6_cidrs_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `public-ip_jdcloud_cidrs` in responses. + */ +export const public_ip_jdcloud_cidrs_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `public-ip_messages` in responses. + */ +export const public_ip_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/ips/tools.ts b/src/generated/forge-mcp/ips/tools.ts index 7ae30e77..ae694e65 100644 --- a/src/generated/forge-mcp/ips/tools.ts +++ b/src/generated/forge-mcp/ips/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; +import { + public_ip_api_response_common_failure_output, + public_ip_api_response_common_output, + public_ip_etag_output, + public_ip_ips_jdcloud_output, + public_ip_ips_output, + public_ip_ipv4_cidrs_output, + public_ip_ipv6_cidrs_output, + public_ip_jdcloud_cidrs_output, + public_ip_messages_output, +} from "./outputs.js"; /** * The tools of `ips`. @@ -29,6 +40,56 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/ips", + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/public-ip_ips" + }, + { + "$ref": "#/$defs/public-ip_ips_jdcloud" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/public-ip_api-response-common" + }, + { + "properties": { + "result": { + "oneOf": [ + { + "$ref": "#/$defs/public-ip_ips" + }, + { + "$ref": "#/$defs/public-ip_ips_jdcloud" + } + ] + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/public-ip_api-response-common-failure" + } + ] + } + }, + $defs: { + "public-ip_api-response-common": public_ip_api_response_common_output, + "public-ip_api-response-common-failure": public_ip_api_response_common_failure_output, + "public-ip_etag": public_ip_etag_output, + "public-ip_ips": public_ip_ips_output, + "public-ip_ips_jdcloud": public_ip_ips_jdcloud_output, + "public-ip_ipv4_cidrs": public_ip_ipv4_cidrs_output, + "public-ip_ipv6_cidrs": public_ip_ipv6_cidrs_output, + "public-ip_jdcloud_cidrs": public_ip_jdcloud_cidrs_output, + "public-ip_messages": public_ip_messages_output, + }, + }, request: (args) => ({ path: `/ips`, query: [ diff --git a/src/generated/forge-mcp/k2/streams/outputs.ts b/src/generated/forge-mcp/k2/streams/outputs.ts new file mode 100644 index 00000000..f7205112 --- /dev/null +++ b/src/generated/forge-mcp/k2/streams/outputs.ts @@ -0,0 +1,156 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cloudflare-k2_K2Stream` in responses. + */ +export const cloudflare_k2_K2Stream_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "http": { + "$ref": "#/$defs/cloudflare-k2_K2StreamHttpInput" + }, + "id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "retention_seconds": { + "type": "integer" + }, + "worker_binding": { + "$ref": "#/$defs/cloudflare-k2_K2StreamWorkerBindingInput" + } + }, + "required": [ + "created_at", + "endpoint", + "http", + "id", + "modified_at", + "name", + "retention_seconds", + "worker_binding" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-k2_K2StreamCorsOptions` in responses. + */ +export const cloudflare_k2_K2StreamCorsOptions_output: JsonSchema = { + "properties": { + "origins": { + "items": { + "type": "string" + }, + "maxItems": 5, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-k2_K2StreamHttpInput` in responses. + */ +export const cloudflare_k2_K2StreamHttpInput_output: JsonSchema = { + "properties": { + "authentication": { + "type": "boolean" + }, + "cors": { + "$ref": "#/$defs/cloudflare-k2_K2StreamCorsOptions" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-k2_K2StreamListResponse_result_info` in responses. + */ +export const cloudflare_k2_K2StreamListResponse_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-k2_K2StreamWorkerBindingInput` in responses. + */ +export const cloudflare_k2_K2StreamWorkerBindingInput_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + { + "properties": { + "enabled": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `cloudflare-k2_workers-k2-stream-id` in responses. + */ +export const cloudflare_k2_workers_k2_stream_id_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts b/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts new file mode 100644 index 00000000..30491613 --- /dev/null +++ b/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts @@ -0,0 +1,91 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cloudflare-k2_K2ConsumerLag` in responses. + */ +export const cloudflare_k2_K2ConsumerLag_output: JsonSchema = { + "properties": { + "records": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "available", + "unsupported", + "unavailable" + ], + "type": "string" + } + }, + "required": [ + "records", + "status" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-k2_K2MonitoredSubscription` in responses. + */ +export const cloudflare_k2_K2MonitoredSubscription_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "lag": { + "$ref": "#/$defs/cloudflare-k2_K2ConsumerLag" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "start_at": { + "$ref": "#/$defs/cloudflare-k2_K2MonitoredSubscription_start_at" + } + }, + "required": [ + "created_at", + "id", + "lag", + "modified_at", + "name", + "start_at" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-k2_K2MonitoredSubscription_start_at` in responses. + */ +export const cloudflare_k2_K2MonitoredSubscription_start_at_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "earliest", + "latest" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts b/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts index 76fb187c..8b9eb618 100644 --- a/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts +++ b/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cloudflare_k2_K2ConsumerLag_output, + cloudflare_k2_K2MonitoredSubscription_output, + cloudflare_k2_K2MonitoredSubscription_start_at_output, +} from "./outputs.js"; /** * The tools of `k2.streams.subscriptions`. @@ -45,6 +50,34 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/cloudflare-k2_K2MonitoredSubscription" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": null, + "5XX": null + }, + $defs: { + "cloudflare-k2_K2ConsumerLag": cloudflare_k2_K2ConsumerLag_output, + "cloudflare-k2_K2MonitoredSubscription": cloudflare_k2_K2MonitoredSubscription_output, + "cloudflare-k2_K2MonitoredSubscription_start_at": cloudflare_k2_K2MonitoredSubscription_start_at_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/k2/streams/${pathParam(args, "stream_id")}/subscriptions`, }), diff --git a/src/generated/forge-mcp/k2/streams/tools.ts b/src/generated/forge-mcp/k2/streams/tools.ts index c5b12201..68957e86 100644 --- a/src/generated/forge-mcp/k2/streams/tools.ts +++ b/src/generated/forge-mcp/k2/streams/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cloudflare_k2_K2StreamCorsOptions_output, + cloudflare_k2_K2StreamHttpInput_output, + cloudflare_k2_K2StreamListResponse_result_info_output, + cloudflare_k2_K2StreamWorkerBindingInput_output, + cloudflare_k2_K2Stream_output, + cloudflare_k2_workers_k2_stream_id_output, +} from "./outputs.js"; import { cloudflare_k2_CreateK2StreamRequest, cloudflare_k2_K2StreamCorsOptions, @@ -57,6 +65,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudflare-k2_K2Stream" + }, + "4XX": null, + "5XX": null + }, + $defs: { + "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, + "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, + "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, + "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/k2/streams`, body: { value: args["body"], mediaType: "application/json" }, @@ -100,6 +124,15 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": null, + "5XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/k2/streams/${pathParam(args, "stream_id")}`, }), @@ -142,6 +175,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudflare-k2_K2Stream" + }, + "4XX": null, + "5XX": null + }, + $defs: { + "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, + "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, + "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, + "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/k2/streams/${pathParam(args, "stream_id")}`, }), @@ -191,6 +240,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/cloudflare-k2_K2Stream" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/cloudflare-k2_K2StreamListResponse_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": null, + "5XX": null + }, + $defs: { + "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, + "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, + "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, + "cloudflare-k2_K2StreamListResponse_result_info": cloudflare_k2_K2StreamListResponse_result_info_output, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, + "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/k2/streams`, query: [ @@ -248,6 +328,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cloudflare-k2_K2Stream" + }, + "4XX": null, + "5XX": null + }, + $defs: { + "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, + "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, + "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, + "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/k2/streams/${pathParam(args, "stream_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/kv/bulk/outputs.ts b/src/generated/forge-mcp/kv/bulk/outputs.ts new file mode 100644 index 00000000..546f579c --- /dev/null +++ b/src/generated/forge-mcp/kv/bulk/outputs.ts @@ -0,0 +1,123 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers-kv_api-response-common-no-result` in responses. + */ +export const workers_kv_api_response_common_no_result_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers-kv_messages" + }, + "messages": { + "$ref": "#/$defs/workers-kv_messages" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `workers-kv_bulk-get-result` in responses. + */ +export const workers_kv_bulk_get_result_output: JsonSchema = { + "properties": { + "values": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object" + } + ] + }, + "type": "object" + } + }, + "type": "object" +}; + +/** + * The schema of `workers-kv_bulk-get-result-with-metadata` in responses. + */ +export const workers_kv_bulk_get_result_with_metadata_output: JsonSchema = { + "properties": { + "values": { + "additionalProperties": { + "oneOf": [ + { + "properties": { + "expiration": { + "$ref": "#/$defs/workers-kv_expiration" + }, + "metadata": { + "$ref": "#/$defs/workers-kv_any" + }, + "value": { + "$ref": "#/$defs/workers-kv_any" + } + }, + "required": [ + "metadata", + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + } + }, + "type": "object" +}; + +/** + * The schema of `workers-kv_bulk-result` in responses. + */ +export const workers_kv_bulk_result_output: JsonSchema = { + "properties": { + "successful_key_count": { + "type": "number" + }, + "unsuccessful_keys": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/kv/bulk/tools.ts b/src/generated/forge-mcp/kv/bulk/tools.ts index 91ae6d0c..c925fe20 100644 --- a/src/generated/forge-mcp/kv/bulk/tools.ts +++ b/src/generated/forge-mcp/kv/bulk/tools.ts @@ -2,12 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_kv_any_output, + workers_kv_api_response_common_failure_output, + workers_kv_expiration_output, + workers_kv_messages_output, +} from "../outputs.js"; import { workers_kv_any, workers_kv_expiration, workers_kv_expiration_ttl, workers_kv_list_metadata, } from "../schemas.js"; +import { + workers_kv_api_response_common_no_result_output, + workers_kv_bulk_get_result_output, + workers_kv_bulk_get_result_with_metadata_output, + workers_kv_bulk_result_output, +} from "./outputs.js"; import { workers_kv_bulk_delete, workers_kv_bulk_write, @@ -61,6 +73,33 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-kv_bulk-result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/workers-kv_api-response-common-no-result" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/workers-kv_bulk-result" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, + "workers-kv_bulk-result": workers_kv_bulk_result_output, + "workers-kv_messages": workers_kv_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}/bulk/delete`, body: { value: args["body"], mediaType: "application/json" }, @@ -136,6 +175,31 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Read" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/workers-kv_bulk-get-result" + }, + { + "$ref": "#/$defs/workers-kv_bulk-get-result-with-metadata" + } + ] + }, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_any": workers_kv_any_output, + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_bulk-get-result": workers_kv_bulk_get_result_output, + "workers-kv_bulk-get-result-with-metadata": workers_kv_bulk_get_result_with_metadata_output, + "workers-kv_expiration": workers_kv_expiration_output, + "workers-kv_messages": workers_kv_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}/bulk/get`, body: { value: args["body"], mediaType: "application/json" }, @@ -188,6 +252,33 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-kv_bulk-result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/workers-kv_api-response-common-no-result" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/workers-kv_bulk-result" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, + "workers-kv_bulk-result": workers_kv_bulk_result_output, + "workers-kv_messages": workers_kv_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}/bulk`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/kv/keys/outputs.ts b/src/generated/forge-mcp/kv/keys/outputs.ts new file mode 100644 index 00000000..40e95a6f --- /dev/null +++ b/src/generated/forge-mcp/kv/keys/outputs.ts @@ -0,0 +1,54 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers-kv_cursor` in responses. + */ +export const workers_kv_cursor_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers-kv_cursor_result_info` in responses. + */ +export const workers_kv_cursor_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "$ref": "#/$defs/workers-kv_cursor" + } + }, + "type": "object" +}; + +/** + * The schema of `workers-kv_key` in responses. + */ +export const workers_kv_key_output: JsonSchema = { + "properties": { + "expiration": { + "type": "number" + }, + "metadata": { + "$ref": "#/$defs/workers-kv_list_metadata" + }, + "name": { + "$ref": "#/$defs/workers-kv_key_name" + } + }, + "required": [ + "name" + ], + "type": "object" +}; + +/** + * The schema of `workers-kv_key_name` in responses. + */ +export const workers_kv_key_name_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/kv/keys/tools.ts b/src/generated/forge-mcp/kv/keys/tools.ts index 51d3785a..49979ad1 100644 --- a/src/generated/forge-mcp/kv/keys/tools.ts +++ b/src/generated/forge-mcp/kv/keys/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_kv_any_output, + workers_kv_api_response_common_failure_output, + workers_kv_list_metadata_output, + workers_kv_messages_output, +} from "../outputs.js"; +import { + workers_kv_cursor_output, + workers_kv_cursor_result_info_output, + workers_kv_key_name_output, + workers_kv_key_output, +} from "./outputs.js"; /** * The tools of `kv.keys`. @@ -47,6 +59,27 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_messages": workers_kv_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}/values/${pathParam(args, "key_name")}`, }), @@ -92,6 +125,18 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Read" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_messages": workers_kv_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}/values/${pathParam(args, "key_name")}`, }), @@ -150,6 +195,40 @@ export const tools: readonly Tool[] = [ "results": "$response.result" } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers-kv_key" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/workers-kv_cursor_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_any": workers_kv_any_output, + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_cursor": workers_kv_cursor_output, + "workers-kv_cursor_result_info": workers_kv_cursor_result_info_output, + "workers-kv_key": workers_kv_key_output, + "workers-kv_key_name": workers_kv_key_name_output, + "workers-kv_list_metadata": workers_kv_list_metadata_output, + "workers-kv_messages": workers_kv_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}/keys`, query: [ diff --git a/src/generated/forge-mcp/kv/metadata/tools.ts b/src/generated/forge-mcp/kv/metadata/tools.ts index da02ac55..40e33a72 100644 --- a/src/generated/forge-mcp/kv/metadata/tools.ts +++ b/src/generated/forge-mcp/kv/metadata/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_kv_any_output, + workers_kv_api_response_common_failure_output, + workers_kv_list_metadata_output, + workers_kv_messages_output, +} from "../outputs.js"; /** * The tools of `kv.metadata`. @@ -48,6 +54,33 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/workers-kv_list_metadata" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_any": workers_kv_any_output, + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_list_metadata": workers_kv_list_metadata_output, + "workers-kv_messages": workers_kv_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}/metadata/${pathParam(args, "key_name")}`, }), diff --git a/src/generated/forge-mcp/kv/namespaces/outputs.ts b/src/generated/forge-mcp/kv/namespaces/outputs.ts new file mode 100644 index 00000000..d902232e --- /dev/null +++ b/src/generated/forge-mcp/kv/namespaces/outputs.ts @@ -0,0 +1,89 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers-kv_jurisdiction` in responses. + */ +export const workers_kv_jurisdiction_output: JsonSchema = { + "enum": [ + "eu", + "fedramp", + "us" + ], + "type": "string" +}; + +/** + * The schema of `workers-kv_namespace` in responses. + */ +export const workers_kv_namespace_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/workers-kv_namespace_identifier" + }, + "jurisdiction": { + "$ref": "#/$defs/workers-kv_jurisdiction" + }, + "mode": { + "$ref": "#/$defs/workers-kv_namespace_mode" + }, + "supports_url_encoding": { + "type": "boolean" + }, + "title": { + "$ref": "#/$defs/workers-kv_namespace_title" + } + }, + "required": [ + "id", + "title" + ], + "type": "object" +}; + +/** + * The schema of `workers-kv_namespace_identifier` in responses. + */ +export const workers_kv_namespace_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers-kv_namespace_mode` in responses. + */ +export const workers_kv_namespace_mode_output: JsonSchema = { + "enum": [ + "instant" + ], + "type": "string" +}; + +/** + * The schema of `workers-kv_namespace_title` in responses. + */ +export const workers_kv_namespace_title_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers-kv_result_info` in responses. + */ +export const workers_kv_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/kv/namespaces/tools.ts b/src/generated/forge-mcp/kv/namespaces/tools.ts index 132c31e9..5e956cee 100644 --- a/src/generated/forge-mcp/kv/namespaces/tools.ts +++ b/src/generated/forge-mcp/kv/namespaces/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_kv_api_response_common_failure_output, + workers_kv_messages_output, +} from "../outputs.js"; +import { + workers_kv_jurisdiction_output, + workers_kv_namespace_identifier_output, + workers_kv_namespace_mode_output, + workers_kv_namespace_output, + workers_kv_namespace_title_output, + workers_kv_result_info_output, +} from "./outputs.js"; import { workers_kv_create_namespace_body, workers_kv_create_rename_namespace_body, @@ -52,6 +64,25 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-kv_namespace" + }, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_jurisdiction": workers_kv_jurisdiction_output, + "workers-kv_messages": workers_kv_messages_output, + "workers-kv_namespace": workers_kv_namespace_output, + "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, + "workers-kv_namespace_mode": workers_kv_namespace_mode_output, + "workers-kv_namespace_title": workers_kv_namespace_title_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces`, body: { value: args["body"], mediaType: "application/json" }, @@ -92,6 +123,27 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_messages": workers_kv_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}`, }), @@ -132,6 +184,25 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-kv_namespace" + }, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_jurisdiction": workers_kv_jurisdiction_output, + "workers-kv_messages": workers_kv_messages_output, + "workers-kv_namespace": workers_kv_namespace_output, + "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, + "workers-kv_namespace_mode": workers_kv_namespace_mode_output, + "workers-kv_namespace_title": workers_kv_namespace_title_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}`, }), @@ -193,6 +264,40 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers-kv_namespace" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/workers-kv_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_jurisdiction": workers_kv_jurisdiction_output, + "workers-kv_messages": workers_kv_messages_output, + "workers-kv_namespace": workers_kv_namespace_output, + "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, + "workers-kv_namespace_mode": workers_kv_namespace_mode_output, + "workers-kv_namespace_title": workers_kv_namespace_title_output, + "workers-kv_result_info": workers_kv_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces`, query: [ @@ -246,6 +351,25 @@ export const tools: readonly Tool[] = [ "Workers KV Storage Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-kv_namespace" + }, + "4XX": { + "$ref": "#/$defs/workers-kv_api-response-common-failure" + } + }, + $defs: { + "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, + "workers-kv_jurisdiction": workers_kv_jurisdiction_output, + "workers-kv_messages": workers_kv_messages_output, + "workers-kv_namespace": workers_kv_namespace_output, + "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, + "workers-kv_namespace_mode": workers_kv_namespace_mode_output, + "workers-kv_namespace_title": workers_kv_namespace_title_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/kv/outputs.ts b/src/generated/forge-mcp/kv/outputs.ts new file mode 100644 index 00000000..0a1a639f --- /dev/null +++ b/src/generated/forge-mcp/kv/outputs.ts @@ -0,0 +1,109 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `workers-kv_any` in responses. + */ +export const workers_kv_any_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + }, + { + "type": "boolean" + }, + { + "type": "object" + }, + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `workers-kv_api-response-common-failure` in responses. + */ +export const workers_kv_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers-kv_messages" + }, + "messages": { + "$ref": "#/$defs/workers-kv_messages" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `workers-kv_expiration` in responses. + */ +export const workers_kv_expiration_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `workers-kv_list_metadata` in responses. + */ +export const workers_kv_list_metadata_output: JsonSchema = { + "$ref": "#/$defs/workers-kv_any" +}; + +/** + * The schema of `workers-kv_messages` in responses. + */ +export const workers_kv_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts b/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts new file mode 100644 index 00000000..ce319fc4 --- /dev/null +++ b/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts @@ -0,0 +1,115 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `waf-product-api-bundle_api-response-common_result` in + * responses. + */ +export const waf_product_api_bundle_api_response_common_result_output: JsonSchema = { + "anyOf": [ + { + "type": "object" + }, + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "string" + } + ] +}; + +/** + * The schema of `waf-product-api-bundle_custom-detection` in responses. + */ +export const waf_product_api_bundle_custom_detection_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/waf-product-api-bundle_detection-id" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_detection-id` in responses. + */ +export const waf_product_api_bundle_detection_id_output: JsonSchema = { + "$ref": "#/$defs/waf-product-api-bundle_identifier" +}; + +/** + * The schema of `waf-product-api-bundle_response-custom-detection` in + * responses. + */ +export const waf_product_api_bundle_response_custom_detection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "messages": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "result": { + "$ref": "#/$defs/waf-product-api-bundle_custom-detection" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_response-custom-detection-collection` + * in responses. + */ +export const waf_product_api_bundle_response_custom_detection_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "messages": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/waf-product-api-bundle_custom-detection" + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts b/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts index 1b44d5a4..0cb55edc 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts @@ -2,7 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + waf_product_api_bundle_identifier_output, + waf_product_api_bundle_messages_output, +} from "../../outputs.js"; import { waf_product_api_bundle_identifier } from "../../schemas.js"; +import { waf_product_api_bundle_api_response_common_failure_output } from "../outputs.js"; +import { + waf_product_api_bundle_api_response_common_result_output, + waf_product_api_bundle_custom_detection_output, + waf_product_api_bundle_detection_id_output, + waf_product_api_bundle_response_custom_detection_collection_output, + waf_product_api_bundle_response_custom_detection_output, +} from "./outputs.js"; import { waf_product_api_bundle_custom_detection, waf_product_api_bundle_detection_id, @@ -52,6 +64,31 @@ export const tools: readonly Tool[] = [ "Account WAF Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_custom-detection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, + "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, + "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, + "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-detection": waf_product_api_bundle_response_custom_detection_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/leaked-credential-checks/detections`, body: { value: args["body"], mediaType: "application/json" }, @@ -93,6 +130,32 @@ export const tools: readonly Tool[] = [ "Account WAF Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure" + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, + "waf-product-api-bundle_api-response-common_result": waf_product_api_bundle_api_response_common_result_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/leaked-credential-checks/detections/${pathParam(args, "detection_id")}`, }), @@ -135,6 +198,31 @@ export const tools: readonly Tool[] = [ "Account WAF Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_custom-detection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, + "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, + "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, + "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-detection": waf_product_api_bundle_response_custom_detection_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/leaked-credential-checks/detections/${pathParam(args, "detection_id")}`, }), @@ -172,6 +260,45 @@ export const tools: readonly Tool[] = [ "Account WAF Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waf-product-api-bundle_custom-detection" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection-collection" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, + "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, + "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, + "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-detection-collection": waf_product_api_bundle_response_custom_detection_collection_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/leaked-credential-checks/detections`, }), @@ -221,6 +348,31 @@ export const tools: readonly Tool[] = [ "Account WAF Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_custom-detection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, + "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, + "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, + "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-custom-detection": waf_product_api_bundle_response_custom_detection_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/leaked-credential-checks/detections/${pathParam(args, "detection_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/leakedCredentialChecks/outputs.ts b/src/generated/forge-mcp/leakedCredentialChecks/outputs.ts new file mode 100644 index 00000000..be7e75cd --- /dev/null +++ b/src/generated/forge-mcp/leakedCredentialChecks/outputs.ts @@ -0,0 +1,77 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `waf-product-api-bundle_api-response-common-failure` in + * responses. + */ +export const waf_product_api_bundle_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "messages": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_response-status` in responses. + */ +export const waf_product_api_bundle_response_status_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "messages": { + "$ref": "#/$defs/waf-product-api-bundle_messages" + }, + "result": { + "$ref": "#/$defs/waf-product-api-bundle_status" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_status` in responses. + */ +export const waf_product_api_bundle_status_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/leakedCredentialChecks/tools.ts b/src/generated/forge-mcp/leakedCredentialChecks/tools.ts index 0dcb2ee0..a42d5809 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/tools.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { waf_product_api_bundle_messages_output } from "../outputs.js"; +import { + waf_product_api_bundle_api_response_common_failure_output, + waf_product_api_bundle_response_status_output, + waf_product_api_bundle_status_output, +} from "./outputs.js"; import { waf_product_api_bundle_status } from "./schemas.js"; /** @@ -41,6 +47,29 @@ export const tools: readonly Tool[] = [ "Account WAF Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_status" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-status" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-status": waf_product_api_bundle_response_status_output, + "waf-product-api-bundle_status": waf_product_api_bundle_status_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/leaked-credential-checks`, }), @@ -83,6 +112,29 @@ export const tools: readonly Tool[] = [ "Account WAF Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waf-product-api-bundle_status" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waf-product-api-bundle_response-status" + }, + { + "$ref": "#/$defs/waf-product-api-bundle_api-response-common-failure" + } + ] + } + }, + $defs: { + "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, + "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_response-status": waf_product_api_bundle_response_status_output, + "waf-product-api-bundle_status": waf_product_api_bundle_status_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/leaked-credential-checks`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/live/tools.ts b/src/generated/forge-mcp/live/tools.ts index c95adcf0..0d076739 100644 --- a/src/generated/forge-mcp/live/tools.ts +++ b/src/generated/forge-mcp/live/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `live`. @@ -24,6 +25,16 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/live", + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (_args) => ({ path: `/live`, }), diff --git a/src/generated/forge-mcp/loadBalancers/account/outputs.ts b/src/generated/forge-mcp/loadBalancers/account/outputs.ts new file mode 100644 index 00000000..cf919330 --- /dev/null +++ b/src/generated/forge-mcp/loadBalancers/account/outputs.ts @@ -0,0 +1,570 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `load-balancing_adaptive_routing` in responses. + */ +export const load_balancing_adaptive_routing_output: JsonSchema = { + "properties": { + "failover_across_pools": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_components-schemas-description` in responses. + */ +export const load_balancing_components_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_components-schemas-enabled` in responses. + */ +export const load_balancing_components_schemas_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `load-balancing_components-schemas-name` in responses. + */ +export const load_balancing_components_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_components-schemas-zone-name` in responses. + */ +export const load_balancing_components_schemas_zone_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_country_pools` in responses. + */ +export const load_balancing_country_pools_output: JsonSchema = { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_default_pools` in responses. + */ +export const load_balancing_default_pools_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `load-balancing_fallback_pool` in responses. + */ +export const load_balancing_fallback_pool_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_fixed_response` in responses. + */ +export const load_balancing_fixed_response_output: JsonSchema = { + "properties": { + "content_type": { + "type": "string" + }, + "location": { + "type": "string" + }, + "message_body": { + "type": "string" + }, + "status_code": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_load-balancer` in responses. + */ +export const load_balancing_load_balancer_output: JsonSchema = { + "properties": { + "adaptive_routing": { + "$ref": "#/$defs/load-balancing_adaptive_routing" + }, + "country_pools": { + "$ref": "#/$defs/load-balancing_country_pools" + }, + "created_on": { + "$ref": "#/$defs/load-balancing_timestamp" + }, + "default_pools": { + "$ref": "#/$defs/load-balancing_default_pools" + }, + "description": { + "$ref": "#/$defs/load-balancing_components-schemas-description" + }, + "enabled": { + "$ref": "#/$defs/load-balancing_components-schemas-enabled" + }, + "fallback_pool": { + "$ref": "#/$defs/load-balancing_fallback_pool" + }, + "id": { + "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + }, + "location_strategy": { + "$ref": "#/$defs/load-balancing_location_strategy" + }, + "modified_on": { + "$ref": "#/$defs/load-balancing_timestamp" + }, + "name": { + "$ref": "#/$defs/load-balancing_components-schemas-name" + }, + "networks": { + "$ref": "#/$defs/load-balancing_networks" + }, + "pool_sets": { + "$ref": "#/$defs/load-balancing_pool_sets" + }, + "pop_pools": { + "$ref": "#/$defs/load-balancing_pop_pools" + }, + "proxied": { + "$ref": "#/$defs/load-balancing_proxied" + }, + "random_steering": { + "$ref": "#/$defs/load-balancing_random_steering" + }, + "region_pools": { + "$ref": "#/$defs/load-balancing_region_pools" + }, + "rules": { + "$ref": "#/$defs/load-balancing_rules" + }, + "session_affinity": { + "$ref": "#/$defs/load-balancing_session_affinity" + }, + "session_affinity_attributes": { + "$ref": "#/$defs/load-balancing_session_affinity_attributes" + }, + "session_affinity_ttl": { + "$ref": "#/$defs/load-balancing_session_affinity_ttl" + }, + "steering_policy": { + "$ref": "#/$defs/load-balancing_steering_policy" + }, + "ttl": { + "$ref": "#/$defs/load-balancing_ttl" + }, + "zone_name": { + "$ref": "#/$defs/load-balancing_components-schemas-zone-name" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_load-balancer_components-schemas-identifier` in + * responses. + */ +export const load_balancing_load_balancer_components_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_location_strategy` in responses. + */ +export const load_balancing_location_strategy_output: JsonSchema = { + "properties": { + "mode": { + "enum": [ + "pop", + "resolver_ip" + ], + "type": "string" + }, + "prefer_ecs": { + "enum": [ + "always", + "never", + "proximity", + "geo" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_match` in responses. + */ +export const load_balancing_match_output: JsonSchema = { + "properties": { + "default": { + "type": "boolean" + }, + "topology": { + "$ref": "#/$defs/load-balancing_topology_match" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_pool_default_weight` in responses. + */ +export const load_balancing_pool_default_weight_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `load-balancing_pool_set` in responses. + */ +export const load_balancing_pool_set_output: JsonSchema = { + "properties": { + "disabled": { + "type": "boolean" + }, + "fixed_response": { + "$ref": "#/$defs/load-balancing_fixed_response" + }, + "match": { + "$ref": "#/$defs/load-balancing_match" + }, + "name": { + "type": "string" + }, + "overrides": { + "$ref": "#/$defs/load-balancing_pool_set_overrides" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_pool_set_overrides` in responses. + */ +export const load_balancing_pool_set_overrides_output: JsonSchema = { + "properties": { + "fallback_pool": { + "$ref": "#/$defs/load-balancing_fallback_pool" + }, + "pool_default_weight": { + "$ref": "#/$defs/load-balancing_pool_default_weight" + }, + "pool_weights": { + "$ref": "#/$defs/load-balancing_pool_weights" + }, + "pools": { + "$ref": "#/$defs/load-balancing_pools" + }, + "steering_policy": { + "$ref": "#/$defs/load-balancing_steering_policy" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_pool_sets` in responses. + */ +export const load_balancing_pool_sets_output: JsonSchema = { + "items": { + "$ref": "#/$defs/load-balancing_pool_set" + }, + "type": "array" +}; + +/** + * The schema of `load-balancing_pool_weights` in responses. + */ +export const load_balancing_pool_weights_output: JsonSchema = { + "additionalProperties": { + "type": "number" + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_pools` in responses. + */ +export const load_balancing_pools_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `load-balancing_pop_pools` in responses. + */ +export const load_balancing_pop_pools_output: JsonSchema = { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_proxied` in responses. + */ +export const load_balancing_proxied_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `load-balancing_random_steering` in responses. + */ +export const load_balancing_random_steering_output: JsonSchema = { + "properties": { + "default_weight": { + "type": "number" + }, + "pool_weights": { + "additionalProperties": { + "type": "number" + }, + "type": "object" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_region_pools` in responses. + */ +export const load_balancing_region_pools_output: JsonSchema = { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_rule_overrides` in responses. + */ +export const load_balancing_rule_overrides_output: JsonSchema = { + "properties": { + "adaptive_routing": { + "$ref": "#/$defs/load-balancing_adaptive_routing" + }, + "country_pools": { + "$ref": "#/$defs/load-balancing_country_pools" + }, + "default_pools": { + "$ref": "#/$defs/load-balancing_default_pools" + }, + "fallback_pool": { + "$ref": "#/$defs/load-balancing_fallback_pool" + }, + "location_strategy": { + "$ref": "#/$defs/load-balancing_location_strategy" + }, + "pool_default_weight": { + "$ref": "#/$defs/load-balancing_pool_default_weight" + }, + "pool_weights": { + "$ref": "#/$defs/load-balancing_pool_weights" + }, + "pools": { + "$ref": "#/$defs/load-balancing_pools" + }, + "pop_pools": { + "$ref": "#/$defs/load-balancing_pop_pools" + }, + "random_steering": { + "$ref": "#/$defs/load-balancing_random_steering" + }, + "region_pools": { + "$ref": "#/$defs/load-balancing_region_pools" + }, + "session_affinity": { + "$ref": "#/$defs/load-balancing_session_affinity" + }, + "session_affinity_attributes": { + "$ref": "#/$defs/load-balancing_session_affinity_attributes" + }, + "session_affinity_ttl": { + "$ref": "#/$defs/load-balancing_session_affinity_ttl" + }, + "steering_policy": { + "$ref": "#/$defs/load-balancing_steering_policy" + }, + "ttl": { + "$ref": "#/$defs/load-balancing_ttl" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_rules` in responses. + */ +export const load_balancing_rules_output: JsonSchema = { + "items": { + "properties": { + "condition": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "fixed_response": { + "$ref": "#/$defs/load-balancing_fixed_response" + }, + "name": { + "type": "string" + }, + "overrides": { + "$ref": "#/$defs/load-balancing_rule_overrides" + }, + "priority": { + "type": "integer" + }, + "terminates": { + "type": "boolean" + } + }, + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `load-balancing_session_affinity` in responses. + */ +export const load_balancing_session_affinity_output: JsonSchema = { + "enum": [ + "none", + "cookie", + "ip_cookie", + "header" + ], + "type": "string" +}; + +/** + * The schema of `load-balancing_session_affinity_attributes` in responses. + */ +export const load_balancing_session_affinity_attributes_output: JsonSchema = { + "properties": { + "drain_duration": { + "type": "number" + }, + "headers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "require_all_headers": { + "type": "boolean" + }, + "samesite": { + "enum": [ + "Auto", + "Lax", + "None", + "Strict" + ], + "type": "string" + }, + "secure": { + "enum": [ + "Auto", + "Always", + "Never" + ], + "type": "string" + }, + "zero_downtime_failover": { + "enum": [ + "none", + "temporary", + "sticky" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_session_affinity_ttl` in responses. + */ +export const load_balancing_session_affinity_ttl_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `load-balancing_steering_policy` in responses. + */ +export const load_balancing_steering_policy_output: JsonSchema = { + "enum": [ + "off", + "geo", + "random", + "dynamic_latency", + "proximity", + "least_outstanding_requests", + "least_connections", + "" + ], + "type": "string" +}; + +/** + * The schema of `load-balancing_topology_match` in responses. + */ +export const load_balancing_topology_match_output: JsonSchema = { + "properties": { + "countries": { + "items": { + "type": "string" + }, + "maxItems": 1000, + "type": "array" + }, + "pops": { + "items": { + "type": "string" + }, + "maxItems": 1000, + "type": "array" + }, + "regions": { + "items": { + "type": "string" + }, + "maxItems": 1000, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_ttl` in responses. + */ +export const load_balancing_ttl_output: JsonSchema = { + "type": "number" +}; diff --git a/src/generated/forge-mcp/loadBalancers/account/tools.ts b/src/generated/forge-mcp/loadBalancers/account/tools.ts index a9ba905f..53cac05a 100644 --- a/src/generated/forge-mcp/loadBalancers/account/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/account/tools.ts @@ -2,7 +2,47 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, + load_balancing_networks_output, + load_balancing_result_info_output, + load_balancing_timestamp_output, +} from "../../outputs.js"; import { load_balancing_networks } from "../../schemas.js"; +import { + load_balancing_adaptive_routing_output, + load_balancing_components_schemas_description_output, + load_balancing_components_schemas_enabled_output, + load_balancing_components_schemas_name_output, + load_balancing_components_schemas_zone_name_output, + load_balancing_country_pools_output, + load_balancing_default_pools_output, + load_balancing_fallback_pool_output, + load_balancing_fixed_response_output, + load_balancing_load_balancer_components_schemas_identifier_output, + load_balancing_load_balancer_output, + load_balancing_location_strategy_output, + load_balancing_match_output, + load_balancing_pool_default_weight_output, + load_balancing_pool_set_output, + load_balancing_pool_set_overrides_output, + load_balancing_pool_sets_output, + load_balancing_pool_weights_output, + load_balancing_pools_output, + load_balancing_pop_pools_output, + load_balancing_proxied_output, + load_balancing_random_steering_output, + load_balancing_region_pools_output, + load_balancing_rule_overrides_output, + load_balancing_rules_output, + load_balancing_session_affinity_attributes_output, + load_balancing_session_affinity_output, + load_balancing_session_affinity_ttl_output, + load_balancing_steering_policy_output, + load_balancing_topology_match_output, + load_balancing_ttl_output, +} from "./outputs.js"; import { load_balancing_adaptive_routing, load_balancing_components_schemas_description, @@ -190,6 +230,53 @@ export const tools: readonly Tool[] = [ "Load Balancers Account Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_load-balancer" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, + "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, + "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, + "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, + "load-balancing_country_pools": load_balancing_country_pools_output, + "load-balancing_default_pools": load_balancing_default_pools_output, + "load-balancing_fallback_pool": load_balancing_fallback_pool_output, + "load-balancing_fixed_response": load_balancing_fixed_response_output, + "load-balancing_load-balancer": load_balancing_load_balancer_output, + "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, + "load-balancing_location_strategy": load_balancing_location_strategy_output, + "load-balancing_match": load_balancing_match_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, + "load-balancing_pool_set": load_balancing_pool_set_output, + "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, + "load-balancing_pool_sets": load_balancing_pool_sets_output, + "load-balancing_pool_weights": load_balancing_pool_weights_output, + "load-balancing_pools": load_balancing_pools_output, + "load-balancing_pop_pools": load_balancing_pop_pools_output, + "load-balancing_proxied": load_balancing_proxied_output, + "load-balancing_random_steering": load_balancing_random_steering_output, + "load-balancing_region_pools": load_balancing_region_pools_output, + "load-balancing_rule_overrides": load_balancing_rule_overrides_output, + "load-balancing_rules": load_balancing_rules_output, + "load-balancing_session_affinity": load_balancing_session_affinity_output, + "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, + "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, + "load-balancing_steering_policy": load_balancing_steering_policy_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_topology_match": load_balancing_topology_match_output, + "load-balancing_ttl": load_balancing_ttl_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/load_balancers`, body: { value: args["body"], mediaType: "application/json" }, @@ -238,6 +325,26 @@ export const tools: readonly Tool[] = [ "Load Balancers Account Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/load_balancers/${pathParam(args, "load_balancer_id")}`, }), @@ -316,6 +423,53 @@ export const tools: readonly Tool[] = [ "Load Balancers Account Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_load-balancer" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, + "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, + "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, + "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, + "load-balancing_country_pools": load_balancing_country_pools_output, + "load-balancing_default_pools": load_balancing_default_pools_output, + "load-balancing_fallback_pool": load_balancing_fallback_pool_output, + "load-balancing_fixed_response": load_balancing_fixed_response_output, + "load-balancing_load-balancer": load_balancing_load_balancer_output, + "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, + "load-balancing_location_strategy": load_balancing_location_strategy_output, + "load-balancing_match": load_balancing_match_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, + "load-balancing_pool_set": load_balancing_pool_set_output, + "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, + "load-balancing_pool_sets": load_balancing_pool_sets_output, + "load-balancing_pool_weights": load_balancing_pool_weights_output, + "load-balancing_pools": load_balancing_pools_output, + "load-balancing_pop_pools": load_balancing_pop_pools_output, + "load-balancing_proxied": load_balancing_proxied_output, + "load-balancing_random_steering": load_balancing_random_steering_output, + "load-balancing_region_pools": load_balancing_region_pools_output, + "load-balancing_rule_overrides": load_balancing_rule_overrides_output, + "load-balancing_rules": load_balancing_rules_output, + "load-balancing_session_affinity": load_balancing_session_affinity_output, + "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, + "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, + "load-balancing_steering_policy": load_balancing_steering_policy_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_topology_match": load_balancing_topology_match_output, + "load-balancing_ttl": load_balancing_ttl_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/load_balancers/${pathParam(args, "load_balancer_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -365,6 +519,53 @@ export const tools: readonly Tool[] = [ "Load Balancers Account Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_load-balancer" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, + "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, + "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, + "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, + "load-balancing_country_pools": load_balancing_country_pools_output, + "load-balancing_default_pools": load_balancing_default_pools_output, + "load-balancing_fallback_pool": load_balancing_fallback_pool_output, + "load-balancing_fixed_response": load_balancing_fixed_response_output, + "load-balancing_load-balancer": load_balancing_load_balancer_output, + "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, + "load-balancing_location_strategy": load_balancing_location_strategy_output, + "load-balancing_match": load_balancing_match_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, + "load-balancing_pool_set": load_balancing_pool_set_output, + "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, + "load-balancing_pool_sets": load_balancing_pool_sets_output, + "load-balancing_pool_weights": load_balancing_pool_weights_output, + "load-balancing_pools": load_balancing_pools_output, + "load-balancing_pop_pools": load_balancing_pop_pools_output, + "load-balancing_proxied": load_balancing_proxied_output, + "load-balancing_random_steering": load_balancing_random_steering_output, + "load-balancing_region_pools": load_balancing_region_pools_output, + "load-balancing_rule_overrides": load_balancing_rule_overrides_output, + "load-balancing_rules": load_balancing_rules_output, + "load-balancing_session_affinity": load_balancing_session_affinity_output, + "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, + "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, + "load-balancing_steering_policy": load_balancing_steering_policy_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_topology_match": load_balancing_topology_match_output, + "load-balancing_ttl": load_balancing_ttl_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/load_balancers/${pathParam(args, "load_balancer_id")}`, }), @@ -409,6 +610,68 @@ export const tools: readonly Tool[] = [ "Load Balancers Account Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/load-balancing_load-balancer" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/load-balancing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, + "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, + "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, + "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, + "load-balancing_country_pools": load_balancing_country_pools_output, + "load-balancing_default_pools": load_balancing_default_pools_output, + "load-balancing_fallback_pool": load_balancing_fallback_pool_output, + "load-balancing_fixed_response": load_balancing_fixed_response_output, + "load-balancing_load-balancer": load_balancing_load_balancer_output, + "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, + "load-balancing_location_strategy": load_balancing_location_strategy_output, + "load-balancing_match": load_balancing_match_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, + "load-balancing_pool_set": load_balancing_pool_set_output, + "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, + "load-balancing_pool_sets": load_balancing_pool_sets_output, + "load-balancing_pool_weights": load_balancing_pool_weights_output, + "load-balancing_pools": load_balancing_pools_output, + "load-balancing_pop_pools": load_balancing_pop_pools_output, + "load-balancing_proxied": load_balancing_proxied_output, + "load-balancing_random_steering": load_balancing_random_steering_output, + "load-balancing_region_pools": load_balancing_region_pools_output, + "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_rule_overrides": load_balancing_rule_overrides_output, + "load-balancing_rules": load_balancing_rules_output, + "load-balancing_session_affinity": load_balancing_session_affinity_output, + "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, + "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, + "load-balancing_steering_policy": load_balancing_steering_policy_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_topology_match": load_balancing_topology_match_output, + "load-balancing_ttl": load_balancing_ttl_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/load_balancers`, }), @@ -573,6 +836,53 @@ export const tools: readonly Tool[] = [ "Load Balancers Account Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_load-balancer" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, + "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, + "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, + "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, + "load-balancing_country_pools": load_balancing_country_pools_output, + "load-balancing_default_pools": load_balancing_default_pools_output, + "load-balancing_fallback_pool": load_balancing_fallback_pool_output, + "load-balancing_fixed_response": load_balancing_fixed_response_output, + "load-balancing_load-balancer": load_balancing_load_balancer_output, + "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, + "load-balancing_location_strategy": load_balancing_location_strategy_output, + "load-balancing_match": load_balancing_match_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, + "load-balancing_pool_set": load_balancing_pool_set_output, + "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, + "load-balancing_pool_sets": load_balancing_pool_sets_output, + "load-balancing_pool_weights": load_balancing_pool_weights_output, + "load-balancing_pools": load_balancing_pools_output, + "load-balancing_pop_pools": load_balancing_pop_pools_output, + "load-balancing_proxied": load_balancing_proxied_output, + "load-balancing_random_steering": load_balancing_random_steering_output, + "load-balancing_region_pools": load_balancing_region_pools_output, + "load-balancing_rule_overrides": load_balancing_rule_overrides_output, + "load-balancing_rules": load_balancing_rules_output, + "load-balancing_session_affinity": load_balancing_session_affinity_output, + "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, + "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, + "load-balancing_steering_policy": load_balancing_steering_policy_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_topology_match": load_balancing_topology_match_output, + "load-balancing_ttl": load_balancing_ttl_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/load_balancers/${pathParam(args, "load_balancer_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts b/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts index fadfbf88..bfd69a00 100644 --- a/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, +} from "../../../outputs.js"; /** * The tools of `load_balancers.account.usage`. @@ -38,6 +42,48 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "load_balancers": { + "type": "integer" + }, + "max_origins_per_pool": { + "type": "integer" + }, + "minimum_monitor_interval": { + "type": "integer" + }, + "monitors": { + "type": "integer" + }, + "origins": { + "type": "integer" + }, + "pools": { + "type": "integer" + } + }, + "required": [ + "load_balancers", + "max_origins_per_pool", + "minimum_monitor_interval", + "monitors", + "origins", + "pools" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/usage`, }), diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts new file mode 100644 index 00000000..45ef7de8 --- /dev/null +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts @@ -0,0 +1,73 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `load-balancing_monitor-group` in responses. + */ +export const load_balancing_monitor_group_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/load-balancing_monitor_group_id" + }, + "members": { + "items": { + "$ref": "#/$defs/load-balancing_monitor-group-member" + }, + "type": "array" + }, + "modified_on": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "description", + "id", + "members" + ], + "type": "object" +}; + +/** + * The schema of `load-balancing_monitor-group-member` in responses. + */ +export const load_balancing_monitor_group_member_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "monitor_id": { + "$ref": "#/$defs/load-balancing_monitor_id" + }, + "monitoring_only": { + "type": "boolean" + }, + "must_be_healthy": { + "type": "boolean" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "enabled", + "monitor_id", + "monitoring_only", + "must_be_healthy" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts index 7728e760..3bc44a84 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, +} from "../../../outputs.js"; /** * The tools of `load_balancers.monitor_groups.references`. @@ -36,6 +40,53 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}/references", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "reference_type": { + "enum": [ + "*", + "referral", + "referrer" + ], + "type": "string" + }, + "resource_id": { + "type": "string" + }, + "resource_name": { + "type": "string" + }, + "resource_type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitor_groups/${pathParam(args, "monitor_group_id")}/references`, }), diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts index baf714de..55d60619 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts @@ -2,7 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, + load_balancing_monitor_group_id_output, + load_balancing_monitor_id_output, + load_balancing_result_info_output, +} from "../../outputs.js"; import { load_balancing_monitor_id } from "../../schemas.js"; +import { + load_balancing_monitor_group_member_output, + load_balancing_monitor_group_output, +} from "./outputs.js"; import { load_balancing_monitor_group, load_balancing_monitor_group_member, @@ -46,6 +57,27 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/load_balancers/monitor_groups", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor-group" + }, + "412": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_monitor-group": load_balancing_monitor_group_output, + "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitor_groups`, body: { value: args["body"], mediaType: "application/json" }, @@ -80,6 +112,27 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor-group" + }, + "412": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_monitor-group": load_balancing_monitor_group_output, + "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitor_groups/${pathParam(args, "monitor_group_id")}`, }), @@ -122,6 +175,27 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor-group" + }, + "412": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_monitor-group": load_balancing_monitor_group_output, + "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitor_groups/${pathParam(args, "monitor_group_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -156,6 +230,24 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor-group" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_monitor-group": load_balancing_monitor_group_output, + "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitor_groups/${pathParam(args, "monitor_group_id")}`, }), @@ -185,6 +277,39 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/load_balancers/monitor_groups", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/load-balancing_monitor-group" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/load-balancing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_monitor-group": load_balancing_monitor_group_output, + "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_result_info": load_balancing_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitor_groups`, }), @@ -227,6 +352,27 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor-group" + }, + "412": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_monitor-group": load_balancing_monitor_group_output, + "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitor_groups/${pathParam(args, "monitor_group_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts b/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts index 6f3dad48..9ffd6b86 100644 --- a/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_identifier_output, + load_balancing_messages_output, +} from "../../../outputs.js"; import { load_balancing_allow_insecure, load_balancing_consecutive_down, @@ -78,6 +83,32 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/load_balancers/monitors/{monitor_id}/preview", + responses: { + schemas: { + "200": { + "properties": { + "pools": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "preview_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitors/${pathParam(args, "monitor_id")}/preview`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts b/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts index c033a2c6..c69a96d5 100644 --- a/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, +} from "../../../outputs.js"; /** * The tools of `load_balancers.monitors.references`. @@ -42,6 +46,53 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "reference_type": { + "enum": [ + "*", + "referral", + "referrer" + ], + "type": "string" + }, + "resource_id": { + "type": "string" + }, + "resource_name": { + "type": "string" + }, + "resource_type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitors/${pathParam(args, "monitor_id")}/references`, }), diff --git a/src/generated/forge-mcp/loadBalancers/monitors/tools.ts b/src/generated/forge-mcp/loadBalancers/monitors/tools.ts index 962326cf..95431094 100644 --- a/src/generated/forge-mcp/loadBalancers/monitors/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitors/tools.ts @@ -2,6 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + load_balancing_allow_insecure_output, + load_balancing_api_response_common_failure_output, + load_balancing_consecutive_down_output, + load_balancing_consecutive_up_output, + load_balancing_description_output, + load_balancing_expected_body_output, + load_balancing_expected_codes_output, + load_balancing_follow_redirects_output, + load_balancing_header_output, + load_balancing_identifier_output, + load_balancing_interval_output, + load_balancing_messages_output, + load_balancing_method_output, + load_balancing_monitor_output, + load_balancing_path_output, + load_balancing_port_output, + load_balancing_probe_zone_output, + load_balancing_result_info_output, + load_balancing_retries_output, + load_balancing_timeout_output, + load_balancing_timestamp_output, + load_balancing_type_output, +} from "../../outputs.js"; import { load_balancing_allow_insecure, load_balancing_consecutive_down, @@ -79,6 +103,39 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitors`, body: { value: args["body"], mediaType: "application/json" }, @@ -118,6 +175,26 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitors/${pathParam(args, "monitor_id")}`, }), @@ -179,6 +256,39 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitors/${pathParam(args, "monitor_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -219,6 +329,39 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitors/${pathParam(args, "monitor_id")}`, }), @@ -254,6 +397,54 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/load-balancing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitors`, }), @@ -315,6 +506,39 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/monitors/${pathParam(args, "monitor_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts b/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts index 448cf321..cac4ea66 100644 --- a/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_identifier_output, + load_balancing_messages_output, + load_balancing_origin_health_ip_output, + load_balancing_origin_health_output, +} from "../../../outputs.js"; import { load_balancing_allow_insecure, load_balancing_consecutive_down, @@ -78,6 +85,32 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/load_balancers/pools/{pool_id}/preview", + responses: { + schemas: { + "200": { + "properties": { + "pools": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "preview_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools/${pathParam(args, "pool_id")}/preview`, body: { value: args["body"], mediaType: "application/json" }, @@ -118,6 +151,41 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "pool_id": { + "type": "string" + }, + "pop_health": { + "properties": { + "healthy": { + "type": "boolean" + }, + "origins": { + "items": { + "$ref": "#/$defs/load-balancing_origin-health" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_origin-health": load_balancing_origin_health_output, + "load-balancing_origin-health_ip": load_balancing_origin_health_ip_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools/${pathParam(args, "pool_id")}/health`, }), diff --git a/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts b/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts index c9fe71dd..bce6e668 100644 --- a/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, +} from "../../../outputs.js"; /** * The tools of `load_balancers.pools.references`. @@ -42,6 +46,53 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "reference_type": { + "enum": [ + "*", + "referral", + "referrer" + ], + "type": "string" + }, + "resource_id": { + "type": "string" + }, + "resource_name": { + "type": "string" + }, + "resource_type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools/${pathParam(args, "pool_id")}/references`, }), diff --git a/src/generated/forge-mcp/loadBalancers/pools/tools.ts b/src/generated/forge-mcp/loadBalancers/pools/tools.ts index cfb15a4c..281977f1 100644 --- a/src/generated/forge-mcp/loadBalancers/pools/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/pools/tools.ts @@ -2,6 +2,43 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + load_balancing_Host_output, + load_balancing_address_output, + load_balancing_api_response_common_failure_output, + load_balancing_check_regions_output, + load_balancing_disabled_at_output, + load_balancing_enabled_output, + load_balancing_filter_options_output, + load_balancing_health_sources_output, + load_balancing_latitude_output, + load_balancing_load_shedding_output, + load_balancing_longitude_output, + load_balancing_messages_output, + load_balancing_minimum_origins_output, + load_balancing_monitor_group_id_output, + load_balancing_monitor_id_output, + load_balancing_name_output, + load_balancing_networks_output, + load_balancing_notification_email_output, + load_balancing_notification_filter_output, + load_balancing_origin_flatten_cname_output, + load_balancing_origin_output, + load_balancing_origin_port_output, + load_balancing_origin_steering_output, + load_balancing_origins_output, + load_balancing_pool_output, + load_balancing_result_info_output, + load_balancing_schemas_description_output, + load_balancing_schemas_disabled_at_output, + load_balancing_schemas_enabled_output, + load_balancing_schemas_header_output, + load_balancing_schemas_identifier_output, + load_balancing_schemas_name_output, + load_balancing_timestamp_output, + load_balancing_virtual_network_id_output, + load_balancing_weight_output, +} from "../../outputs.js"; import { load_balancing_Host, load_balancing_address, @@ -79,6 +116,67 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/load-balancing_pool" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/load-balancing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools`, body: { value: args["body"], mediaType: "application/json" }, @@ -206,6 +304,52 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_pool" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools`, body: { value: args["body"], mediaType: "application/json" }, @@ -245,6 +389,26 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools/${pathParam(args, "pool_id")}`, }), @@ -381,6 +545,52 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_pool" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools/${pathParam(args, "pool_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -421,6 +631,52 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_pool" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools/${pathParam(args, "pool_id")}`, }), @@ -460,6 +716,67 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/load-balancing_pool" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/load-balancing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools`, query: [ @@ -603,6 +920,52 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_pool" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools/${pathParam(args, "pool_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/loadBalancers/previews/tools.ts b/src/generated/forge-mcp/loadBalancers/previews/tools.ts index 64087d2b..255e1bd6 100644 --- a/src/generated/forge-mcp/loadBalancers/previews/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/previews/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, + load_balancing_origin_health_data_output, + load_balancing_preview_result_output, +} from "../../outputs.js"; /** * The tools of `load_balancers.previews`. @@ -42,6 +48,22 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_preview_result" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_origin_health_data": load_balancing_origin_health_data_output, + "load-balancing_preview_result": load_balancing_preview_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/preview/${pathParam(args, "preview_id")}`, }), diff --git a/src/generated/forge-mcp/loadBalancers/regions/tools.ts b/src/generated/forge-mcp/loadBalancers/regions/tools.ts index b21221f1..cf55369c 100644 --- a/src/generated/forge-mcp/loadBalancers/regions/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/regions/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, +} from "../../outputs.js"; import { load_balancing_subdivision_code_a2 } from "../../schemas.js"; /** @@ -44,6 +48,20 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/regions/${pathParam(args, "region_id")}`, }), @@ -94,6 +112,20 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/regions`, query: [ diff --git a/src/generated/forge-mcp/loadBalancers/searches/outputs.ts b/src/generated/forge-mcp/loadBalancers/searches/outputs.ts new file mode 100644 index 00000000..c2431d5a --- /dev/null +++ b/src/generated/forge-mcp/loadBalancers/searches/outputs.ts @@ -0,0 +1,55 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `load-balancing_resource_reference` in responses. + */ +export const load_balancing_resource_reference_output: JsonSchema = { + "properties": { + "reference_type": { + "enum": [ + "referral", + "referrer" + ], + "type": "string" + }, + "references": { + "items": { + "type": "object" + }, + "type": "array" + }, + "resource_id": { + "type": "string" + }, + "resource_name": { + "type": "string" + }, + "resource_type": { + "enum": [ + "load_balancer", + "monitor", + "pool" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_search` in responses. + */ +export const load_balancing_search_output: JsonSchema = { + "properties": { + "resources": { + "items": { + "$ref": "#/$defs/load-balancing_resource_reference" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/loadBalancers/searches/tools.ts b/src/generated/forge-mcp/loadBalancers/searches/tools.ts index 4daba15f..2e27de00 100644 --- a/src/generated/forge-mcp/loadBalancers/searches/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/searches/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, +} from "../../outputs.js"; +import { + load_balancing_resource_reference_output, + load_balancing_search_output, +} from "./outputs.js"; /** * The tools of `load_balancers.searches`. @@ -61,6 +69,22 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_search" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_resource_reference": load_balancing_resource_reference_output, + "load-balancing_search": load_balancing_search_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/search`, query: [ diff --git a/src/generated/forge-mcp/logoMatches/download/tools.ts b/src/generated/forge-mcp/logoMatches/download/tools.ts index 36278bfc..6b9334f0 100644 --- a/src/generated/forge-mcp/logoMatches/download/tools.ts +++ b/src/generated/forge-mcp/logoMatches/download/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { brand_protection_api_Error_output } from "../../outputs.js"; +import { brand_protection_api_LogoMatch_output } from "../outputs.js"; /** * The tools of `logo_matches.download`. @@ -49,6 +51,23 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/brand-protection-api_LogoMatch" + }, + "422": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_LogoMatch": brand_protection_api_LogoMatch_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logo-matches/download`, query: [ diff --git a/src/generated/forge-mcp/logoMatches/outputs.ts b/src/generated/forge-mcp/logoMatches/outputs.ts new file mode 100644 index 00000000..58c2d55e --- /dev/null +++ b/src/generated/forge-mcp/logoMatches/outputs.ts @@ -0,0 +1,22 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `brand-protection-api_LogoMatch` in responses. + */ +export const brand_protection_api_LogoMatch_output: JsonSchema = { + "properties": { + "matches": { + "items": { + "type": "object" + }, + "type": "array" + }, + "total": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/logoMatches/tools.ts b/src/generated/forge-mcp/logoMatches/tools.ts index 0f09af1b..b4210276 100644 --- a/src/generated/forge-mcp/logoMatches/tools.ts +++ b/src/generated/forge-mcp/logoMatches/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; +import { brand_protection_api_LogoMatch_output } from "./outputs.js"; /** * The tools of `logo_matches`. @@ -49,6 +51,23 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/brand-protection-api_LogoMatch" + }, + "422": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_LogoMatch": brand_protection_api_LogoMatch_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logo-matches`, query: [ diff --git a/src/generated/forge-mcp/logos/tools.ts b/src/generated/forge-mcp/logos/tools.ts index 005e6966..63b94607 100644 --- a/src/generated/forge-mcp/logos/tools.ts +++ b/src/generated/forge-mcp/logos/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `logos`. @@ -40,6 +41,17 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "204": null, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logos/${pathParam(args, "logo_id")}`, }), @@ -78,6 +90,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logos/${pathParam(args, "logo_id")}`, }), @@ -112,6 +134,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logos`, }), diff --git a/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts b/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts index d813d662..1d6c1cf4 100644 --- a/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts +++ b/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../../outputs.js"; /** * The tools of `logpush.account_datasets.fields`. @@ -67,6 +71,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/datasets/${pathParam(args, "dataset_id")}/fields`, }), diff --git a/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts b/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts index f3fbab02..873200ea 100644 --- a/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts +++ b/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_dataset_output, + logpush_destination_conf_output, + logpush_enabled_output, + logpush_error_message_output, + logpush_filter_attack_traffic_output, + logpush_frequency_output, + logpush_id_output, + logpush_kind_output, + logpush_last_complete_output, + logpush_last_error_output, + logpush_logpull_options_output, + logpush_logpush_job_output, + logpush_max_upload_bytes_output, + logpush_max_upload_interval_seconds_output, + logpush_max_upload_records_output, + logpush_messages_output, + logpush_name_output, + logpush_output_options_output, +} from "../../outputs.js"; /** * The tools of `logpush.account_datasets.jobs`. @@ -67,6 +88,58 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "oneOf": [ + { + "$ref": "#/$defs/logpush_logpush_job" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_dataset": logpush_dataset_output, + "logpush_destination_conf": logpush_destination_conf_output, + "logpush_enabled": logpush_enabled_output, + "logpush_error_message": logpush_error_message_output, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, + "logpush_frequency": logpush_frequency_output, + "logpush_id": logpush_id_output, + "logpush_kind": logpush_kind_output, + "logpush_last_complete": logpush_last_complete_output, + "logpush_last_error": logpush_last_error_output, + "logpush_logpull_options": logpush_logpull_options_output, + "logpush_logpush_job": logpush_logpush_job_output, + "logpush_max_upload_bytes": logpush_max_upload_bytes_output, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, + "logpush_max_upload_records": logpush_max_upload_records_output, + "logpush_messages": logpush_messages_output, + "logpush_name": logpush_name_output, + "logpush_output_options": logpush_output_options_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/datasets/${pathParam(args, "dataset_id")}/jobs`, }), diff --git a/src/generated/forge-mcp/logpush/accountJobs/tools.ts b/src/generated/forge-mcp/logpush/accountJobs/tools.ts index 71218116..4eff938a 100644 --- a/src/generated/forge-mcp/logpush/accountJobs/tools.ts +++ b/src/generated/forge-mcp/logpush/accountJobs/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_dataset_output, + logpush_destination_conf_output, + logpush_enabled_output, + logpush_error_message_output, + logpush_filter_attack_traffic_output, + logpush_frequency_output, + logpush_id_output, + logpush_kind_output, + logpush_last_complete_output, + logpush_last_error_output, + logpush_logpull_options_output, + logpush_logpush_job_output, + logpush_max_upload_bytes_output, + logpush_max_upload_interval_seconds_output, + logpush_max_upload_records_output, + logpush_messages_output, + logpush_name_output, + logpush_output_options_output, +} from "../outputs.js"; import { logpush_dataset, logpush_destination_conf, @@ -164,6 +185,44 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/logpush_logpush_job" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_dataset": logpush_dataset_output, + "logpush_destination_conf": logpush_destination_conf_output, + "logpush_enabled": logpush_enabled_output, + "logpush_error_message": logpush_error_message_output, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, + "logpush_frequency": logpush_frequency_output, + "logpush_id": logpush_id_output, + "logpush_kind": logpush_kind_output, + "logpush_last_complete": logpush_last_complete_output, + "logpush_last_error": logpush_last_error_output, + "logpush_logpull_options": logpush_logpull_options_output, + "logpush_logpush_job": logpush_logpush_job_output, + "logpush_max_upload_bytes": logpush_max_upload_bytes_output, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, + "logpush_max_upload_records": logpush_max_upload_records_output, + "logpush_messages": logpush_messages_output, + "logpush_name": logpush_name_output, + "logpush_output_options": logpush_output_options_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/jobs`, body: { value: args["body"], mediaType: "application/json" }, @@ -229,6 +288,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/logpush_id" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_id": logpush_id_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/jobs/${pathParam(args, "job_id")}`, }), @@ -293,6 +372,44 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/logpush_logpush_job" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_dataset": logpush_dataset_output, + "logpush_destination_conf": logpush_destination_conf_output, + "logpush_enabled": logpush_enabled_output, + "logpush_error_message": logpush_error_message_output, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, + "logpush_frequency": logpush_frequency_output, + "logpush_id": logpush_id_output, + "logpush_kind": logpush_kind_output, + "logpush_last_complete": logpush_last_complete_output, + "logpush_last_error": logpush_last_error_output, + "logpush_logpull_options": logpush_logpull_options_output, + "logpush_logpush_job": logpush_logpush_job_output, + "logpush_max_upload_bytes": logpush_max_upload_bytes_output, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, + "logpush_max_upload_records": logpush_max_upload_records_output, + "logpush_messages": logpush_messages_output, + "logpush_name": logpush_name_output, + "logpush_output_options": logpush_output_options_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/jobs/${pathParam(args, "job_id")}`, }), @@ -352,6 +469,58 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "oneOf": [ + { + "$ref": "#/$defs/logpush_logpush_job" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_dataset": logpush_dataset_output, + "logpush_destination_conf": logpush_destination_conf_output, + "logpush_enabled": logpush_enabled_output, + "logpush_error_message": logpush_error_message_output, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, + "logpush_frequency": logpush_frequency_output, + "logpush_id": logpush_id_output, + "logpush_kind": logpush_kind_output, + "logpush_last_complete": logpush_last_complete_output, + "logpush_last_error": logpush_last_error_output, + "logpush_logpull_options": logpush_logpull_options_output, + "logpush_logpush_job": logpush_logpush_job_output, + "logpush_max_upload_bytes": logpush_max_upload_bytes_output, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, + "logpush_max_upload_records": logpush_max_upload_records_output, + "logpush_messages": logpush_messages_output, + "logpush_name": logpush_name_output, + "logpush_output_options": logpush_output_options_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/jobs`, }), @@ -493,6 +662,44 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/logpush_logpush_job" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_dataset": logpush_dataset_output, + "logpush_destination_conf": logpush_destination_conf_output, + "logpush_enabled": logpush_enabled_output, + "logpush_error_message": logpush_error_message_output, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, + "logpush_frequency": logpush_frequency_output, + "logpush_id": logpush_id_output, + "logpush_kind": logpush_kind_output, + "logpush_last_complete": logpush_last_complete_output, + "logpush_last_error": logpush_last_error_output, + "logpush_logpull_options": logpush_logpull_options_output, + "logpush_logpush_job": logpush_logpush_job_output, + "logpush_max_upload_bytes": logpush_max_upload_bytes_output, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, + "logpush_max_upload_records": logpush_max_upload_records_output, + "logpush_messages": logpush_messages_output, + "logpush_name": logpush_name_output, + "logpush_output_options": logpush_output_options_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/jobs/${pathParam(args, "job_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/logpush/accountOwnership/tools.ts b/src/generated/forge-mcp/logpush/accountOwnership/tools.ts index 28734f95..635b9dd3 100644 --- a/src/generated/forge-mcp/logpush/accountOwnership/tools.ts +++ b/src/generated/forge-mcp/logpush/accountOwnership/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../outputs.js"; import { logpush_destination_conf } from "../schemas.js"; /** @@ -79,6 +83,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "filename": { + "type": "string" + }, + "message": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/ownership`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts b/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts index 24571aca..f4a2c038 100644 --- a/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts +++ b/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../../outputs.js"; import { logpush_destination_conf, logpush_ownership_challenge, @@ -88,6 +92,32 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "valid": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/ownership/validate`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts b/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts index 33932f93..30ffb853 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../../outputs.js"; import { logpush_destination_conf } from "../../schemas.js"; /** @@ -79,6 +83,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "message": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/validate/destination`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts b/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts index b4555882..6e0a710a 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../../outputs.js"; import { logpush_logpull_options } from "../../schemas.js"; /** @@ -79,6 +83,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "message": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/validate/origin`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/logpush/accountValidate/tools.ts b/src/generated/forge-mcp/logpush/accountValidate/tools.ts index 98d36f56..bf34cbba 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/tools.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../outputs.js"; import { logpush_destination_conf } from "../schemas.js"; /** @@ -79,6 +83,32 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "exists": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logpush/validate/destination/exists`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/logpush/edge/outputs.ts b/src/generated/forge-mcp/logpush/edge/outputs.ts new file mode 100644 index 00000000..3f9dc30f --- /dev/null +++ b/src/generated/forge-mcp/logpush/edge/outputs.ts @@ -0,0 +1,145 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `logpush_destination_conf-2` in responses. + */ +export const logpush_destination_conf_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `logpush_fields` in responses. + */ +export const logpush_fields_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `logpush_filter-2` in responses. + */ +export const logpush_filter_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `logpush_instant_logs_job` in responses. + */ +export const logpush_instant_logs_job_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "destination_conf": { + "$ref": "#/$defs/logpush_destination_conf-2" + }, + "fields": { + "$ref": "#/$defs/logpush_fields" + }, + "filter": { + "$ref": "#/$defs/logpush_filter-2" + }, + "sample": { + "$ref": "#/$defs/logpush_sample" + }, + "session_id": { + "$ref": "#/$defs/logpush_session_id" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_instant_logs_job_response_collection` in responses. + */ +export const logpush_instant_logs_job_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/logpush_messages" + }, + "messages": { + "$ref": "#/$defs/logpush_messages" + }, + "result": { + "items": { + "oneOf": [ + { + "$ref": "#/$defs/logpush_instant_logs_job" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `logpush_instant_logs_job_response_single` in responses. + */ +export const logpush_instant_logs_job_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/logpush_messages" + }, + "messages": { + "$ref": "#/$defs/logpush_messages" + }, + "result": { + "oneOf": [ + { + "$ref": "#/$defs/logpush_instant_logs_job" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `logpush_sample` in responses. + */ +export const logpush_sample_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `logpush_session_id` in responses. + */ +export const logpush_session_id_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/logpush/edge/tools.ts b/src/generated/forge-mcp/logpush/edge/tools.ts index 1e539656..ade9b05b 100644 --- a/src/generated/forge-mcp/logpush/edge/tools.ts +++ b/src/generated/forge-mcp/logpush/edge/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../outputs.js"; +import { + logpush_destination_conf_2_output, + logpush_fields_output, + logpush_filter_2_output, + logpush_instant_logs_job_output, + logpush_instant_logs_job_response_collection_output, + logpush_instant_logs_job_response_single_output, + logpush_sample_output, + logpush_session_id_output, +} from "./outputs.js"; import { logpush_fields, logpush_filter_2, logpush_sample } from "./schemas.js"; /** @@ -77,6 +91,41 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/logpush_instant_logs_job" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/logpush_instant_logs_job_response_single" + }, + { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + ] + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_destination_conf-2": logpush_destination_conf_2_output, + "logpush_fields": logpush_fields_output, + "logpush_filter-2": logpush_filter_2_output, + "logpush_instant_logs_job": logpush_instant_logs_job_output, + "logpush_instant_logs_job_response_single": logpush_instant_logs_job_response_single_output, + "logpush_messages": logpush_messages_output, + "logpush_sample": logpush_sample_output, + "logpush_session_id": logpush_session_id_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/logpush/edge/jobs`, body: { value: args["body"], mediaType: "application/json" }, @@ -128,6 +177,55 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "oneOf": [ + { + "$ref": "#/$defs/logpush_instant_logs_job" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/logpush_instant_logs_job_response_collection" + }, + { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + ] + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_destination_conf-2": logpush_destination_conf_2_output, + "logpush_fields": logpush_fields_output, + "logpush_filter-2": logpush_filter_2_output, + "logpush_instant_logs_job": logpush_instant_logs_job_output, + "logpush_instant_logs_job_response_collection": logpush_instant_logs_job_response_collection_output, + "logpush_messages": logpush_messages_output, + "logpush_sample": logpush_sample_output, + "logpush_session_id": logpush_session_id_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/logpush/edge/jobs`, }), diff --git a/src/generated/forge-mcp/logpush/outputs.ts b/src/generated/forge-mcp/logpush/outputs.ts new file mode 100644 index 00000000..7e6a44be --- /dev/null +++ b/src/generated/forge-mcp/logpush/outputs.ts @@ -0,0 +1,512 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `logpush_api-response-common-failure` in responses. + */ +export const logpush_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/logpush_messages" + }, + "messages": { + "$ref": "#/$defs/logpush_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `logpush_dataset` in responses. + */ +export const logpush_dataset_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "access_requests", + "account_abuse_protection_events", + "audit_logs", + "audit_logs_v2", + "biso_user_actions", + "casb_findings", + "device_posture_results", + "dex_application_tests", + "dex_device_state_events", + "dlp_forensic_copies", + "dns_firewall_logs", + "dns_logs", + "email_security_alerts", + "email_security_post_delivery_events", + "firewall_events", + "gateway_dns", + "gateway_http", + "gateway_network", + "http_requests", + "ipsec_logs", + "magic_bgp_logs", + "magic_ids_detections", + "mcp_portal_logs", + "mnm_flow_logs", + "nel_reports", + "network_analytics_logs", + "page_shield_events", + "sinkhole_http_logs", + "spectrum_events", + "ssh_logs", + "turnstile_events", + "warp_config_changes", + "warp_toggle_changes", + "websocket_analytics", + "workers_trace_events", + "zaraz_events", + "zero_trust_network_sessions" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_destination_conf` in responses. + */ +export const logpush_destination_conf_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `logpush_enabled` in responses. + */ +export const logpush_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `logpush_error_message` in responses. + */ +export const logpush_error_message_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_filter_attack_traffic` in responses. + */ +export const logpush_filter_attack_traffic_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `logpush_frequency` in responses. + */ +export const logpush_frequency_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "high", + "low" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_id` in responses. + */ +export const logpush_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `logpush_kind` in responses. + */ +export const logpush_kind_output: JsonSchema = { + "enum": [ + "", + "edge" + ], + "type": "string" +}; + +/** + * The schema of `logpush_last_complete` in responses. + */ +export const logpush_last_complete_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_last_error` in responses. + */ +export const logpush_last_error_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_logpull_options` in responses. + */ +export const logpush_logpull_options_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_logpush_job` in responses. + */ +export const logpush_logpush_job_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "dataset": { + "$ref": "#/$defs/logpush_dataset" + }, + "destination_conf": { + "$ref": "#/$defs/logpush_destination_conf" + }, + "enabled": { + "$ref": "#/$defs/logpush_enabled" + }, + "error_message": { + "$ref": "#/$defs/logpush_error_message" + }, + "filter_attack_traffic": { + "$ref": "#/$defs/logpush_filter_attack_traffic" + }, + "frequency": { + "$ref": "#/$defs/logpush_frequency" + }, + "id": { + "$ref": "#/$defs/logpush_id" + }, + "kind": { + "$ref": "#/$defs/logpush_kind" + }, + "last_complete": { + "$ref": "#/$defs/logpush_last_complete" + }, + "last_error": { + "$ref": "#/$defs/logpush_last_error" + }, + "logpull_options": { + "$ref": "#/$defs/logpush_logpull_options" + }, + "max_upload_bytes": { + "$ref": "#/$defs/logpush_max_upload_bytes" + }, + "max_upload_interval_seconds": { + "$ref": "#/$defs/logpush_max_upload_interval_seconds" + }, + "max_upload_records": { + "$ref": "#/$defs/logpush_max_upload_records" + }, + "name": { + "$ref": "#/$defs/logpush_name" + }, + "output_options": { + "$ref": "#/$defs/logpush_output_options" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_max_upload_bytes` in responses. + */ +export const logpush_max_upload_bytes_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_max_upload_interval_seconds` in responses. + */ +export const logpush_max_upload_interval_seconds_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_max_upload_records` in responses. + */ +export const logpush_max_upload_records_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_messages` in responses. + */ +export const logpush_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `logpush_name` in responses. + */ +export const logpush_name_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_output_options` in responses. + */ +export const logpush_output_options_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "CVE-2021-44228": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "batch_prefix": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "batch_suffix": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "field_delimiter": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "field_names": { + "items": { + "type": "string" + }, + "type": "array" + }, + "merge_subrequests": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "output_type": { + "enum": [ + "ndjson", + "csv" + ], + "type": "string" + }, + "record_delimiter": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "record_prefix": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "record_suffix": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "record_template": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "sample_rate": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "timestamp_format": { + "enum": [ + "unixnano", + "unix", + "rfc3339", + "rfc3339ms", + "rfc3339ns" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/logpush/transformers/content/tools.ts b/src/generated/forge-mcp/logpush/transformers/content/tools.ts index be60c708..4a02c84b 100644 --- a/src/generated/forge-mcp/logpush/transformers/content/tools.ts +++ b/src/generated/forge-mcp/logpush/transformers/content/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../../outputs.js"; /** * The tools of `logpush.transformers.content`. @@ -62,6 +66,25 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "content": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers/${pathParam(args, "transformer_id")}/content`, query: [ diff --git a/src/generated/forge-mcp/logpush/transformers/outputs.ts b/src/generated/forge-mcp/logpush/transformers/outputs.ts new file mode 100644 index 00000000..d307355b --- /dev/null +++ b/src/generated/forge-mcp/logpush/transformers/outputs.ts @@ -0,0 +1,99 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `logpush_transformer` in responses. + */ +export const logpush_transformer_output: JsonSchema = { + "properties": { + "associated_jobs": { + "items": { + "$ref": "#/$defs/logpush_transformer_job_ref" + }, + "type": "array" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "dataset": { + "$ref": "#/$defs/logpush_transformer_dataset" + }, + "description": { + "$ref": "#/$defs/logpush_transformer_description" + }, + "id": { + "$ref": "#/$defs/logpush_transformer_identifier" + }, + "name": { + "$ref": "#/$defs/logpush_transformer_name" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `logpush_transformer_dataset` in responses. + */ +export const logpush_transformer_dataset_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logpush_transformer_description` in responses. + */ +export const logpush_transformer_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `logpush_transformer_identifier` in responses. + */ +export const logpush_transformer_identifier_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `logpush_transformer_job_ref` in responses. + */ +export const logpush_transformer_job_ref_output: JsonSchema = { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "object_tag": { + "type": "string" + }, + "object_type": { + "enum": [ + "zone", + "account" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `logpush_transformer_name` in responses. + */ +export const logpush_transformer_name_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/logpush/transformers/tools.ts b/src/generated/forge-mcp/logpush/transformers/tools.ts index 6664ade5..febf8c12 100644 --- a/src/generated/forge-mcp/logpush/transformers/tools.ts +++ b/src/generated/forge-mcp/logpush/transformers/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../outputs.js"; +import { + logpush_transformer_dataset_output, + logpush_transformer_description_output, + logpush_transformer_identifier_output, + logpush_transformer_job_ref_output, + logpush_transformer_name_output, + logpush_transformer_output, +} from "./outputs.js"; import { logpush_transformer_code, logpush_transformer_create_request, @@ -71,6 +83,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/logpush_transformer" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + "logpush_transformer": logpush_transformer_output, + "logpush_transformer_dataset": logpush_transformer_dataset_output, + "logpush_transformer_description": logpush_transformer_description_output, + "logpush_transformer_identifier": logpush_transformer_identifier_output, + "logpush_transformer_job_ref": logpush_transformer_job_ref_output, + "logpush_transformer_name": logpush_transformer_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers`, body: { value: args["body"], mediaType: "application/json" }, @@ -127,6 +159,28 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "type": "integer" + } + }, + "type": "object" + }, + "409": { + "$ref": "#/$defs/logpush_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers/${pathParam(args, "transformer_id")}`, }), @@ -182,6 +236,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/logpush_transformer" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + "logpush_transformer": logpush_transformer_output, + "logpush_transformer_dataset": logpush_transformer_dataset_output, + "logpush_transformer_description": logpush_transformer_description_output, + "logpush_transformer_identifier": logpush_transformer_identifier_output, + "logpush_transformer_job_ref": logpush_transformer_job_ref_output, + "logpush_transformer_name": logpush_transformer_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers/${pathParam(args, "transformer_id")}`, }), @@ -232,6 +306,40 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/logpush_transformer" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + "logpush_transformer": logpush_transformer_output, + "logpush_transformer_dataset": logpush_transformer_dataset_output, + "logpush_transformer_description": logpush_transformer_description_output, + "logpush_transformer_identifier": logpush_transformer_identifier_output, + "logpush_transformer_job_ref": logpush_transformer_job_ref_output, + "logpush_transformer_name": logpush_transformer_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers`, }), @@ -290,6 +398,41 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers/preview`, body: { value: args["body"], mediaType: "application/json" }, @@ -356,6 +499,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/logpush_transformer" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + "logpush_transformer": logpush_transformer_output, + "logpush_transformer_dataset": logpush_transformer_dataset_output, + "logpush_transformer_description": logpush_transformer_description_output, + "logpush_transformer_identifier": logpush_transformer_identifier_output, + "logpush_transformer_job_ref": logpush_transformer_job_ref_output, + "logpush_transformer_name": logpush_transformer_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers/${pathParam(args, "transformer_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/logpush/transformers/versions/outputs.ts b/src/generated/forge-mcp/logpush/transformers/versions/outputs.ts new file mode 100644 index 00000000..918c784d --- /dev/null +++ b/src/generated/forge-mcp/logpush/transformers/versions/outputs.ts @@ -0,0 +1,23 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `logpush_transformer_version` in responses. + */ +export const logpush_transformer_version_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "integer" + }, + "version": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/logpush/transformers/versions/tools.ts b/src/generated/forge-mcp/logpush/transformers/versions/tools.ts index 5292475c..c4b4e32e 100644 --- a/src/generated/forge-mcp/logpush/transformers/versions/tools.ts +++ b/src/generated/forge-mcp/logpush/transformers/versions/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + logpush_api_response_common_failure_output, + logpush_messages_output, +} from "../../outputs.js"; +import { logpush_transformer_version_output } from "./outputs.js"; /** * The tools of `logpush.transformers.versions`. @@ -63,6 +68,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/logpush_transformer_version" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/logpush_api-response-common-failure" + } + }, + $defs: { + "logpush_api-response-common-failure": logpush_api_response_common_failure_output, + "logpush_messages": logpush_messages_output, + "logpush_transformer_version": logpush_transformer_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers/${pathParam(args, "transformer_id")}/versions`, query: [ diff --git a/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts b/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts new file mode 100644 index 00000000..df5bb006 --- /dev/null +++ b/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts @@ -0,0 +1,40 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `logcontrol_allow_out_of_region_access` in responses. + */ +export const logcontrol_allow_out_of_region_access_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `logcontrol_cmb_config` in responses. + */ +export const logcontrol_cmb_config_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "allow_out_of_region_access": { + "$ref": "#/$defs/logcontrol_allow_out_of_region_access" + }, + "regions": { + "$ref": "#/$defs/logcontrol_regions" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `logcontrol_regions` in responses. + */ +export const logcontrol_regions_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/logs/control/cmb/config/tools.ts b/src/generated/forge-mcp/logs/control/cmb/config/tools.ts index 81f0b778..67e91c30 100644 --- a/src/generated/forge-mcp/logs/control/cmb/config/tools.ts +++ b/src/generated/forge-mcp/logs/control/cmb/config/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + logcontrol_api_response_common_failure_output, + logcontrol_messages_output, +} from "../../outputs.js"; +import { + logcontrol_allow_out_of_region_access_output, + logcontrol_cmb_config_output, + logcontrol_regions_output, +} from "./outputs.js"; import { logcontrol_allow_out_of_region_access, logcontrol_cmb_config, @@ -61,6 +70,23 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/logcontrol_cmb_config" + }, + "4XX": { + "$ref": "#/$defs/logcontrol_api-response-common-failure" + } + }, + $defs: { + "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access_output, + "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, + "logcontrol_cmb_config": logcontrol_cmb_config_output, + "logcontrol_messages": logcontrol_messages_output, + "logcontrol_regions": logcontrol_regions_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/control/cmb/config`, body: { value: args["body"], mediaType: "application/json" }, @@ -106,6 +132,20 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "$ref": "#/$defs/logcontrol_api-response-common-failure" + } + }, + $defs: { + "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, + "logcontrol_messages": logcontrol_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/control/cmb/config`, }), @@ -155,6 +195,23 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/logcontrol_cmb_config" + }, + "4XX": { + "$ref": "#/$defs/logcontrol_api-response-common-failure" + } + }, + $defs: { + "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access_output, + "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, + "logcontrol_cmb_config": logcontrol_cmb_config_output, + "logcontrol_messages": logcontrol_messages_output, + "logcontrol_regions": logcontrol_regions_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/control/cmb/config`, }), diff --git a/src/generated/forge-mcp/logs/control/outputs.ts b/src/generated/forge-mcp/logs/control/outputs.ts new file mode 100644 index 00000000..38e2eb62 --- /dev/null +++ b/src/generated/forge-mcp/logs/control/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `logcontrol_api-response-common-failure` in responses. + */ +export const logcontrol_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/logcontrol_messages" + }, + "messages": { + "$ref": "#/$defs/logcontrol_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `logcontrol_messages` in responses. + */ +export const logcontrol_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/logs/control/retention/outputs.ts b/src/generated/forge-mcp/logs/control/retention/outputs.ts new file mode 100644 index 00000000..f30dc20f --- /dev/null +++ b/src/generated/forge-mcp/logs/control/retention/outputs.ts @@ -0,0 +1,30 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `logcontrol_flag` in responses. + */ +export const logcontrol_flag_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `logcontrol_retention_flag` in responses. + */ +export const logcontrol_retention_flag_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "flag": { + "$ref": "#/$defs/logcontrol_flag" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/logs/control/retention/tools.ts b/src/generated/forge-mcp/logs/control/retention/tools.ts index 9d6ccaad..e25f42b8 100644 --- a/src/generated/forge-mcp/logs/control/retention/tools.ts +++ b/src/generated/forge-mcp/logs/control/retention/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + logcontrol_api_response_common_failure_output, + logcontrol_messages_output, +} from "../outputs.js"; +import { + logcontrol_flag_output, + logcontrol_retention_flag_output, +} from "./outputs.js"; import { logcontrol_flag, logcontrol_retention_flag } from "./schemas.js"; /** @@ -62,6 +70,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/logcontrol_retention_flag" + }, + "4XX": { + "$ref": "#/$defs/logcontrol_api-response-common-failure" + } + }, + $defs: { + "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, + "logcontrol_flag": logcontrol_flag_output, + "logcontrol_messages": logcontrol_messages_output, + "logcontrol_retention_flag": logcontrol_retention_flag_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/logs/control/retention/flag`, body: { value: args["body"], mediaType: "application/json" }, @@ -118,6 +142,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/logcontrol_retention_flag" + }, + "4XX": { + "$ref": "#/$defs/logcontrol_api-response-common-failure" + } + }, + $defs: { + "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, + "logcontrol_flag": logcontrol_flag_output, + "logcontrol_messages": logcontrol_messages_output, + "logcontrol_retention_flag": logcontrol_retention_flag_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/logs/control/retention/flag`, }), diff --git a/src/generated/forge-mcp/logs/datasets/outputs.ts b/src/generated/forge-mcp/logs/datasets/outputs.ts new file mode 100644 index 00000000..f7143a2c --- /dev/null +++ b/src/generated/forge-mcp/logs/datasets/outputs.ts @@ -0,0 +1,251 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `lex_AvailableDestination` in responses. + */ +export const lex_AvailableDestination_output: JsonSchema = { + "properties": { + "dataset": { + "type": "string" + }, + "object_type": { + "enum": [ + "account", + "zone" + ], + "type": "string" + }, + "schema": { + "$ref": "#/$defs/lex_AvailableDestination_schema" + }, + "timestamp_field": { + "type": "string" + } + }, + "required": [ + "dataset", + "object_type", + "schema", + "timestamp_field" + ], + "type": "object" +}; + +/** + * The schema of `lex_AvailableDestination_schema` in responses. + */ +export const lex_AvailableDestination_schema_output: JsonSchema = { + "properties": { + "properties": { + "type": "object" + }, + "required": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "enum": [ + "object" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `lex_DatasetResponse` in responses. + */ +export const lex_DatasetResponse_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "dataset": { + "type": "string" + }, + "dataset_id": { + "type": "string" + }, + "deletion_protection": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "fields": { + "items": { + "$ref": "#/$defs/lex_LogField" + }, + "type": "array" + }, + "filter": { + "type": "string" + }, + "filter_attack_traffic": { + "type": "boolean" + }, + "object_id": { + "type": "string" + }, + "object_type": { + "enum": [ + "account", + "zone" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "dataset", + "dataset_id", + "deletion_protection", + "enabled", + "object_id", + "object_type", + "updated_at", + "fields" + ], + "type": "object" +}; + +/** + * The schema of `lex_DatasetSummary` in responses. + */ +export const lex_DatasetSummary_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "dataset": { + "type": "string" + }, + "dataset_id": { + "type": "string" + }, + "deletion_protection": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "object_id": { + "type": "string" + }, + "object_type": { + "enum": [ + "account", + "zone" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "dataset", + "dataset_id", + "deletion_protection", + "enabled", + "object_id", + "object_type", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `lex_ErrorResponse-2` in responses. + */ +export const lex_ErrorResponse_2_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/lex_V4Error-2" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `lex_LogField` in responses. + */ +export const lex_LogField_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "enabled", + "name" + ], + "type": "object" +}; + +/** + * The schema of `lex_V4Error-2` in responses. + */ +export const lex_V4Error_2_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/logs/datasets/tools.ts b/src/generated/forge-mcp/logs/datasets/tools.ts index 400b7b4f..e035ef3e 100644 --- a/src/generated/forge-mcp/logs/datasets/tools.ts +++ b/src/generated/forge-mcp/logs/datasets/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + lex_AvailableDestination_output, + lex_AvailableDestination_schema_output, + lex_DatasetResponse_output, + lex_DatasetSummary_output, + lex_ErrorResponse_2_output, + lex_LogField_output, + lex_V4Error_2_output, +} from "./outputs.js"; import { lex_CreateDatasetRequest, lex_LogField, @@ -52,6 +61,49 @@ export const tools: readonly Tool[] = [ "Logs Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/lex_AvailableDestination" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "403": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "404": { + "$ref": "#/$defs/lex_ErrorResponse-2" + } + }, + $defs: { + "lex_AvailableDestination": lex_AvailableDestination_output, + "lex_AvailableDestination_schema": lex_AvailableDestination_schema_output, + "lex_ErrorResponse-2": lex_ErrorResponse_2_output, + "lex_V4Error-2": lex_V4Error_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logs/explorer/datasets/available`, }), @@ -103,6 +155,31 @@ export const tools: readonly Tool[] = [ "Logs Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/lex_DatasetResponse" + }, + "400": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "403": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "404": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "409": { + "$ref": "#/$defs/lex_ErrorResponse-2" + } + }, + $defs: { + "lex_DatasetResponse": lex_DatasetResponse_output, + "lex_ErrorResponse-2": lex_ErrorResponse_2_output, + "lex_LogField": lex_LogField_output, + "lex_V4Error-2": lex_V4Error_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logs/explorer/datasets`, body: { value: args["body"], mediaType: "application/json" }, @@ -147,6 +224,31 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/{account_or_zone}/{account_or_zone_id}/logs/explorer/datasets/{dataset_id}", + responses: { + schemas: { + "202": { + "$ref": "#/$defs/lex_DatasetResponse" + }, + "400": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "403": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "404": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "409": { + "$ref": "#/$defs/lex_ErrorResponse-2" + } + }, + $defs: { + "lex_DatasetResponse": lex_DatasetResponse_output, + "lex_ErrorResponse-2": lex_ErrorResponse_2_output, + "lex_LogField": lex_LogField_output, + "lex_V4Error-2": lex_V4Error_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logs/explorer/datasets/${pathParam(args, "dataset_id")}`, }), @@ -195,6 +297,28 @@ export const tools: readonly Tool[] = [ "Logs Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/lex_DatasetResponse" + }, + "400": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "403": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "404": { + "$ref": "#/$defs/lex_ErrorResponse-2" + } + }, + $defs: { + "lex_DatasetResponse": lex_DatasetResponse_output, + "lex_ErrorResponse-2": lex_ErrorResponse_2_output, + "lex_LogField": lex_LogField_output, + "lex_V4Error-2": lex_V4Error_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logs/explorer/datasets/${pathParam(args, "dataset_id")}`, }), @@ -243,6 +367,48 @@ export const tools: readonly Tool[] = [ "Logs Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/lex_DatasetSummary" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "403": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "404": { + "$ref": "#/$defs/lex_ErrorResponse-2" + } + }, + $defs: { + "lex_DatasetSummary": lex_DatasetSummary_output, + "lex_ErrorResponse-2": lex_ErrorResponse_2_output, + "lex_V4Error-2": lex_V4Error_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logs/explorer/datasets`, query: [ @@ -302,6 +468,28 @@ export const tools: readonly Tool[] = [ "Logs Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/lex_DatasetResponse" + }, + "400": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "403": { + "$ref": "#/$defs/lex_ErrorResponse-2" + }, + "404": { + "$ref": "#/$defs/lex_ErrorResponse-2" + } + }, + $defs: { + "lex_DatasetResponse": lex_DatasetResponse_output, + "lex_ErrorResponse-2": lex_ErrorResponse_2_output, + "lex_LogField": lex_LogField_output, + "lex_V4Error-2": lex_V4Error_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logs/explorer/datasets/${pathParam(args, "dataset_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/logs/list/tools.ts b/src/generated/forge-mcp/logs/list/tools.ts index 7f267916..6b7ab768 100644 --- a/src/generated/forge-mcp/logs/list/tools.ts +++ b/src/generated/forge-mcp/logs/list/tools.ts @@ -87,6 +87,117 @@ export const tools: readonly Tool[] = [ "Logs Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "errors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "properties": { + "keys": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/list`, query: [ diff --git a/src/generated/forge-mcp/logs/outputs.ts b/src/generated/forge-mcp/logs/outputs.ts new file mode 100644 index 00000000..473fe207 --- /dev/null +++ b/src/generated/forge-mcp/logs/outputs.ts @@ -0,0 +1,81 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `logshare_api-response-common-failure` in responses. + */ +export const logshare_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/logshare_messages" + }, + "messages": { + "$ref": "#/$defs/logshare_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `logshare_logs_response_json_lines` in responses. + */ +export const logshare_logs_response_json_lines_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] +}; + +/** + * The schema of `logshare_messages` in responses. + */ +export const logshare_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/logs/rayid/tools.ts b/src/generated/forge-mcp/logs/rayid/tools.ts index ed48defe..28353693 100644 --- a/src/generated/forge-mcp/logs/rayid/tools.ts +++ b/src/generated/forge-mcp/logs/rayid/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + logshare_api_response_common_failure_output, + logshare_logs_response_json_lines_output, + logshare_messages_output, +} from "../outputs.js"; import { logshare_fields, logshare_timestamps } from "../schemas.js"; /** @@ -63,6 +68,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/logshare_logs_response_json_lines" + }, + "4XX": { + "$ref": "#/$defs/logshare_api-response-common-failure" + } + }, + $defs: { + "logshare_api-response-common-failure": logshare_api_response_common_failure_output, + "logshare_logs_response_json_lines": logshare_logs_response_json_lines_output, + "logshare_messages": logshare_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/logs/rayids/${pathParam(args, "ray_id")}`, query: [ diff --git a/src/generated/forge-mcp/logs/received/fields/outputs.ts b/src/generated/forge-mcp/logs/received/fields/outputs.ts new file mode 100644 index 00000000..7fdac31f --- /dev/null +++ b/src/generated/forge-mcp/logs/received/fields/outputs.ts @@ -0,0 +1,16 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `logshare_fields_response` in responses. + */ +export const logshare_fields_response_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/logs/received/fields/tools.ts b/src/generated/forge-mcp/logs/received/fields/tools.ts index 11ec9555..15129777 100644 --- a/src/generated/forge-mcp/logs/received/fields/tools.ts +++ b/src/generated/forge-mcp/logs/received/fields/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + logshare_api_response_common_failure_output, + logshare_messages_output, +} from "../../outputs.js"; +import { logshare_fields_response_output } from "./outputs.js"; /** * The tools of `logs.received.fields`. @@ -44,6 +49,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/logshare_fields_response" + }, + "4XX": { + "$ref": "#/$defs/logshare_api-response-common-failure" + } + }, + $defs: { + "logshare_api-response-common-failure": logshare_api_response_common_failure_output, + "logshare_fields_response": logshare_fields_response_output, + "logshare_messages": logshare_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/logs/received/fields`, }), diff --git a/src/generated/forge-mcp/logs/received/tools.ts b/src/generated/forge-mcp/logs/received/tools.ts index daa3c3b7..5d05d58d 100644 --- a/src/generated/forge-mcp/logs/received/tools.ts +++ b/src/generated/forge-mcp/logs/received/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + logshare_api_response_common_failure_output, + logshare_logs_response_json_lines_output, + logshare_messages_output, +} from "../outputs.js"; import { logshare_fields, logshare_timestamps } from "../schemas.js"; import { logshare_count, @@ -95,6 +100,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/logshare_logs_response_json_lines" + }, + "4XX": { + "$ref": "#/$defs/logshare_api-response-common-failure" + } + }, + $defs: { + "logshare_api-response-common-failure": logshare_api_response_common_failure_output, + "logshare_logs_response_json_lines": logshare_logs_response_json_lines_output, + "logshare_messages": logshare_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/logs/received`, query: [ diff --git a/src/generated/forge-mcp/logs/retrieve/tools.ts b/src/generated/forge-mcp/logs/retrieve/tools.ts index 54094d6d..92584bb3 100644 --- a/src/generated/forge-mcp/logs/retrieve/tools.ts +++ b/src/generated/forge-mcp/logs/retrieve/tools.ts @@ -81,6 +81,87 @@ export const tools: readonly Tool[] = [ "Logs Read" ] }, + responses: { + schemas: { + "200": {}, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/retrieve`, query: [ diff --git a/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/outputs.ts b/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/outputs.ts new file mode 100644 index 00000000..1e3b86c6 --- /dev/null +++ b/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/outputs.ts @@ -0,0 +1,122 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `mcn_catalog_sync` in responses. + */ +export const mcn_catalog_sync_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "destination_id": { + "$ref": "#/$defs/mcn_catalog_sync_destination_id" + }, + "destination_type": { + "$ref": "#/$defs/mcn_catalog_sync_destination_type" + }, + "errors": { + "additionalProperties": { + "$ref": "#/$defs/mcn_error" + }, + "type": "object" + }, + "id": { + "$ref": "#/$defs/mcn_catalog_sync_id" + }, + "includes_discoveries_until": { + "type": "string" + }, + "last_attempted_update_at": { + "type": "string" + }, + "last_successful_update_at": { + "type": "string" + }, + "last_user_update_at": { + "type": "string" + }, + "name": { + "type": "string" + }, + "policy": { + "type": "string" + }, + "update_mode": { + "$ref": "#/$defs/mcn_catalog_sync_update_mode" + } + }, + "required": [ + "description", + "destination_id", + "destination_type", + "id", + "last_user_update_at", + "name", + "policy", + "update_mode" + ], + "type": "object" +}; + +/** + * The schema of `mcn_catalog_sync_destination_id` in responses. + */ +export const mcn_catalog_sync_destination_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `mcn_catalog_sync_destination_type` in responses. + */ +export const mcn_catalog_sync_destination_type_output: JsonSchema = { + "enum": [ + "NONE", + "ZERO_TRUST_LIST" + ], + "type": "string" +}; + +/** + * The schema of `mcn_catalog_sync_id` in responses. + */ +export const mcn_catalog_sync_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `mcn_catalog_sync_update_mode` in responses. + */ +export const mcn_catalog_sync_update_mode_output: JsonSchema = { + "enum": [ + "AUTO", + "MANUAL" + ], + "type": "string" +}; + +/** + * The schema of `mcn_deleted_catalog_sync` in responses. + */ +export const mcn_deleted_catalog_sync_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/mcn_catalog_sync_id" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `mcn_policy_result` in responses. + */ +export const mcn_policy_result_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/prebuiltPolicies/outputs.ts b/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/prebuiltPolicies/outputs.ts new file mode 100644 index 00000000..f41b6d93 --- /dev/null +++ b/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/prebuiltPolicies/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `mcn_catalog_syncs_prebuilt_policy` in responses. + */ +export const mcn_catalog_syncs_prebuilt_policy_output: JsonSchema = { + "properties": { + "applicable_destinations": { + "items": { + "$ref": "#/$defs/mcn_catalog_sync_destination_type" + }, + "type": "array" + }, + "policy_description": { + "type": "string" + }, + "policy_name": { + "type": "string" + }, + "policy_string": { + "type": "string" + } + }, + "required": [ + "applicable_destinations", + "policy_description", + "policy_name", + "policy_string" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/prebuiltPolicies/tools.ts b/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/prebuiltPolicies/tools.ts index c4952607..8ee9e5a8 100644 --- a/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/prebuiltPolicies/tools.ts +++ b/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/prebuiltPolicies/tools.ts @@ -2,7 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + mcn_bad_response_output, + mcn_error_meta_output, + mcn_error_output, + mcn_error_source_output, +} from "../../outputs.js"; +import { mcn_catalog_sync_destination_type_output } from "../outputs.js"; import { mcn_catalog_sync_destination_type } from "../schemas.js"; +import { mcn_catalog_syncs_prebuilt_policy_output } from "./outputs.js"; /** * The tools of `magic_cloud_networking.catalog_syncs.prebuilt_policies`. @@ -45,6 +53,47 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mcn_catalog_syncs_prebuilt_policy" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_catalog_sync_destination_type": mcn_catalog_sync_destination_type_output, + "mcn_catalog_syncs_prebuilt_policy": mcn_catalog_syncs_prebuilt_policy_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/catalog-syncs/prebuilt-policies`, query: [ diff --git a/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/tools.ts b/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/tools.ts index 1e0231e9..dcade8a7 100644 --- a/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/tools.ts +++ b/src/generated/forge-mcp/magicCloudNetworking/catalogSyncs/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + mcn_bad_response_output, + mcn_error_meta_output, + mcn_error_output, + mcn_error_source_output, +} from "../outputs.js"; +import { + mcn_catalog_sync_destination_id_output, + mcn_catalog_sync_destination_type_output, + mcn_catalog_sync_id_output, + mcn_catalog_sync_output, + mcn_catalog_sync_update_mode_output, + mcn_deleted_catalog_sync_output, + mcn_policy_result_output, +} from "./outputs.js"; import { mcn_catalog_sync_destination_type, mcn_catalog_sync_update_mode, @@ -54,6 +69,42 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/mcn_catalog_sync" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_catalog_sync": mcn_catalog_sync_output, + "mcn_catalog_sync_destination_id": mcn_catalog_sync_destination_id_output, + "mcn_catalog_sync_destination_type": mcn_catalog_sync_destination_type_output, + "mcn_catalog_sync_id": mcn_catalog_sync_id_output, + "mcn_catalog_sync_update_mode": mcn_catalog_sync_update_mode_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/catalog-syncs`, headers: [ @@ -98,6 +149,39 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_deleted_catalog_sync" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_catalog_sync_id": mcn_catalog_sync_id_output, + "mcn_deleted_catalog_sync": mcn_deleted_catalog_sync_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/catalog-syncs/${pathParam(args, "sync_id")}`, query: [ @@ -146,6 +230,45 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_catalog_sync" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_catalog_sync": mcn_catalog_sync_output, + "mcn_catalog_sync_destination_id": mcn_catalog_sync_destination_id_output, + "mcn_catalog_sync_destination_type": mcn_catalog_sync_destination_type_output, + "mcn_catalog_sync_id": mcn_catalog_sync_id_output, + "mcn_catalog_sync_update_mode": mcn_catalog_sync_update_mode_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/catalog-syncs/${pathParam(args, "sync_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -185,6 +308,39 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_catalog_sync" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_catalog_sync": mcn_catalog_sync_output, + "mcn_catalog_sync_destination_id": mcn_catalog_sync_destination_id_output, + "mcn_catalog_sync_destination_type": mcn_catalog_sync_destination_type_output, + "mcn_catalog_sync_id": mcn_catalog_sync_id_output, + "mcn_catalog_sync_update_mode": mcn_catalog_sync_update_mode_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/catalog-syncs/${pathParam(args, "sync_id")}`, }), @@ -219,6 +375,53 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mcn_catalog_sync" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_catalog_sync": mcn_catalog_sync_output, + "mcn_catalog_sync_destination_id": mcn_catalog_sync_destination_id_output, + "mcn_catalog_sync_destination_type": mcn_catalog_sync_destination_type_output, + "mcn_catalog_sync_id": mcn_catalog_sync_id_output, + "mcn_catalog_sync_update_mode": mcn_catalog_sync_update_mode_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/catalog-syncs`, }), @@ -256,6 +459,41 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_policy_result" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_policy_result": mcn_policy_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/catalog-syncs/${pathParam(args, "sync_id")}/refresh`, }), @@ -301,6 +539,45 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_catalog_sync" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_catalog_sync": mcn_catalog_sync_output, + "mcn_catalog_sync_destination_id": mcn_catalog_sync_destination_id_output, + "mcn_catalog_sync_destination_type": mcn_catalog_sync_destination_type_output, + "mcn_catalog_sync_id": mcn_catalog_sync_id_output, + "mcn_catalog_sync_update_mode": mcn_catalog_sync_update_mode_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/catalog-syncs/${pathParam(args, "sync_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicCloudNetworking/cloudIntegrations/outputs.ts b/src/generated/forge-mcp/magicCloudNetworking/cloudIntegrations/outputs.ts new file mode 100644 index 00000000..6d159ed7 --- /dev/null +++ b/src/generated/forge-mcp/magicCloudNetworking/cloudIntegrations/outputs.ts @@ -0,0 +1,267 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `mcn_aws_trust_policy` in responses. + */ +export const mcn_aws_trust_policy_output: JsonSchema = { + "properties": { + "aws_trust_policy": { + "type": "string" + }, + "item_type": { + "type": "string" + } + }, + "required": [ + "aws_trust_policy", + "item_type" + ], + "type": "object" +}; + +/** + * The schema of `mcn_azure_setup` in responses. + */ +export const mcn_azure_setup_output: JsonSchema = { + "properties": { + "azure_consent_url": { + "type": "string" + }, + "integration_identity_tag": { + "type": "string" + }, + "item_type": { + "type": "string" + }, + "tag_cli_command": { + "type": "string" + } + }, + "required": [ + "azure_consent_url", + "integration_identity_tag", + "item_type", + "tag_cli_command" + ], + "type": "object" +}; + +/** + * The schema of `mcn_deleted_provider` in responses. + */ +export const mcn_deleted_provider_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/mcn_provider_id" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `mcn_gcp_setup` in responses. + */ +export const mcn_gcp_setup_output: JsonSchema = { + "properties": { + "integration_identity_tag": { + "type": "string" + }, + "item_type": { + "type": "string" + }, + "tag_cli_command": { + "type": "string" + } + }, + "required": [ + "integration_identity_tag", + "item_type", + "tag_cli_command" + ], + "type": "object" +}; + +/** + * The schema of `mcn_provider` in responses. + */ +export const mcn_provider_output: JsonSchema = { + "properties": { + "aws_arn": { + "type": "string" + }, + "azure_subscription_id": { + "type": "string" + }, + "azure_tenant_id": { + "type": "string" + }, + "cloud_type": { + "$ref": "#/$defs/mcn_cloud_type" + }, + "description": { + "type": "string" + }, + "friendly_name": { + "type": "string" + }, + "gcp_project_id": { + "type": "string" + }, + "gcp_service_account_email": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/mcn_provider_id" + }, + "last_updated": { + "type": "string" + }, + "lifecycle_state": { + "$ref": "#/$defs/mcn_provider_lifecycle_state" + }, + "state": { + "$ref": "#/$defs/mcn_provider_discovery_status" + }, + "state_v2": { + "$ref": "#/$defs/mcn_provider_discovery_status" + }, + "status": { + "$ref": "#/$defs/mcn_provider_status" + } + }, + "required": [ + "cloud_type", + "friendly_name", + "id", + "last_updated", + "lifecycle_state", + "state", + "state_v2" + ], + "type": "object" +}; + +/** + * The schema of `mcn_provider_discovery_progress` in responses. + */ +export const mcn_provider_discovery_progress_output: JsonSchema = { + "properties": { + "done": { + "type": "integer" + }, + "total": { + "type": "integer" + }, + "unit": { + "type": "string" + } + }, + "required": [ + "done", + "total", + "unit" + ], + "type": "object" +}; + +/** + * The schema of `mcn_provider_discovery_status` in responses. + */ +export const mcn_provider_discovery_status_output: JsonSchema = { + "enum": [ + "UNSPECIFIED", + "PENDING", + "DISCOVERING", + "FAILED", + "SUCCEEDED" + ], + "type": "string" +}; + +/** + * The schema of `mcn_provider_lifecycle_state` in responses. + */ +export const mcn_provider_lifecycle_state_output: JsonSchema = { + "enum": [ + "ACTIVE", + "PENDING_SETUP", + "RETIRED" + ], + "type": "string" +}; + +/** + * The schema of `mcn_provider_status` in responses. + */ +export const mcn_provider_status_output: JsonSchema = { + "properties": { + "credentials_good_since": { + "type": "string" + }, + "credentials_missing_since": { + "type": "string" + }, + "credentials_rejected_since": { + "type": "string" + }, + "discovery_message": { + "type": "string" + }, + "discovery_message_v2": { + "type": "string" + }, + "discovery_progress": { + "$ref": "#/$defs/mcn_provider_discovery_progress" + }, + "discovery_progress_v2": { + "$ref": "#/$defs/mcn_provider_discovery_progress" + }, + "in_use_by": { + "items": { + "$ref": "#/$defs/mcn_cloud_platform_client" + }, + "type": "array" + }, + "last_discovery_completed_at": { + "type": "string" + }, + "last_discovery_completed_at_v2": { + "type": "string" + }, + "last_discovery_started_at": { + "type": "string" + }, + "last_discovery_started_at_v2": { + "type": "string" + }, + "last_discovery_status": { + "$ref": "#/$defs/mcn_provider_discovery_status" + }, + "last_discovery_status_v2": { + "$ref": "#/$defs/mcn_provider_discovery_status" + }, + "last_updated": { + "type": "string" + }, + "regions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "discovery_progress", + "discovery_progress_v2", + "last_discovery_status", + "last_discovery_status_v2", + "regions" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicCloudNetworking/cloudIntegrations/tools.ts b/src/generated/forge-mcp/magicCloudNetworking/cloudIntegrations/tools.ts index 2a7fbf5c..b3ae4b89 100644 --- a/src/generated/forge-mcp/magicCloudNetworking/cloudIntegrations/tools.ts +++ b/src/generated/forge-mcp/magicCloudNetworking/cloudIntegrations/tools.ts @@ -2,7 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + mcn_bad_response_output, + mcn_cloud_platform_client_output, + mcn_cloud_type_output, + mcn_error_meta_output, + mcn_error_output, + mcn_error_source_output, + mcn_good_response_output, + mcn_platform_client_id_output, + mcn_provider_id_output, +} from "../outputs.js"; import { mcn_cloud_type } from "../schemas.js"; +import { + mcn_aws_trust_policy_output, + mcn_azure_setup_output, + mcn_deleted_provider_output, + mcn_gcp_setup_output, + mcn_provider_discovery_progress_output, + mcn_provider_discovery_status_output, + mcn_provider_lifecycle_state_output, + mcn_provider_output, + mcn_provider_status_output, +} from "./outputs.js"; import { mcn_create_provider_request, mcn_update_provider_request, @@ -52,6 +74,46 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/mcn_provider" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider": mcn_provider_output, + "mcn_provider_discovery_progress": mcn_provider_discovery_progress_output, + "mcn_provider_discovery_status": mcn_provider_discovery_status_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_provider_lifecycle_state": mcn_provider_lifecycle_state_output, + "mcn_provider_status": mcn_provider_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/providers`, headers: [ @@ -93,6 +155,36 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_deleted_provider" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_deleted_provider": mcn_deleted_provider_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_provider_id": mcn_provider_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/providers/${pathParam(args, "provider_id")}`, }), @@ -128,6 +220,38 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/magic/cloud/providers/{provider_id}/discover", + responses: { + schemas: { + "202": { + "$ref": "#/$defs/mcn_good_response" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_good_response": mcn_good_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/providers/${pathParam(args, "provider_id")}/discover`, query: [ @@ -164,6 +288,35 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "202": { + "$ref": "#/$defs/mcn_good_response" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_good_response": mcn_good_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/providers/discover`, }), @@ -208,6 +361,49 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_provider" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider": mcn_provider_output, + "mcn_provider_discovery_progress": mcn_provider_discovery_progress_output, + "mcn_provider_discovery_status": mcn_provider_discovery_status_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_provider_lifecycle_state": mcn_provider_lifecycle_state_output, + "mcn_provider_status": mcn_provider_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/providers/${pathParam(args, "provider_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -250,6 +446,43 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_provider" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider": mcn_provider_output, + "mcn_provider_discovery_progress": mcn_provider_discovery_progress_output, + "mcn_provider_discovery_status": mcn_provider_discovery_status_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_provider_lifecycle_state": mcn_provider_lifecycle_state_output, + "mcn_provider_status": mcn_provider_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/providers/${pathParam(args, "provider_id")}`, query: [ @@ -291,6 +524,47 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/mcn_aws_trust_policy" + }, + { + "$ref": "#/$defs/mcn_azure_setup" + }, + { + "$ref": "#/$defs/mcn_gcp_setup" + } + ] + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_aws_trust_policy": mcn_aws_trust_policy_output, + "mcn_azure_setup": mcn_azure_setup_output, + "mcn_bad_response": mcn_bad_response_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_gcp_setup": mcn_gcp_setup_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/providers/${pathParam(args, "provider_id")}/initial_setup`, }), @@ -338,6 +612,54 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mcn_provider" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider": mcn_provider_output, + "mcn_provider_discovery_progress": mcn_provider_discovery_progress_output, + "mcn_provider_discovery_status": mcn_provider_discovery_status_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_provider_lifecycle_state": mcn_provider_lifecycle_state_output, + "mcn_provider_status": mcn_provider_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/providers`, query: [ @@ -388,6 +710,49 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_provider" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider": mcn_provider_output, + "mcn_provider_discovery_progress": mcn_provider_discovery_progress_output, + "mcn_provider_discovery_status": mcn_provider_discovery_status_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_provider_lifecycle_state": mcn_provider_lifecycle_state_output, + "mcn_provider_status": mcn_provider_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/providers/${pathParam(args, "provider_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicCloudNetworking/onRamps/addressSpaces/outputs.ts b/src/generated/forge-mcp/magicCloudNetworking/onRamps/addressSpaces/outputs.ts new file mode 100644 index 00000000..65d398b5 --- /dev/null +++ b/src/generated/forge-mcp/magicCloudNetworking/onRamps/addressSpaces/outputs.ts @@ -0,0 +1,29 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `mcn_cidr_prefix` in responses. + */ +export const mcn_cidr_prefix_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `mcn_magic_wan_address_space` in responses. + */ +export const mcn_magic_wan_address_space_output: JsonSchema = { + "properties": { + "prefixes": { + "items": { + "$ref": "#/$defs/mcn_cidr_prefix" + }, + "type": "array" + } + }, + "required": [ + "prefixes" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicCloudNetworking/onRamps/addressSpaces/tools.ts b/src/generated/forge-mcp/magicCloudNetworking/onRamps/addressSpaces/tools.ts index 7e6c4b90..a25e3d86 100644 --- a/src/generated/forge-mcp/magicCloudNetworking/onRamps/addressSpaces/tools.ts +++ b/src/generated/forge-mcp/magicCloudNetworking/onRamps/addressSpaces/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + mcn_bad_response_output, + mcn_error_meta_output, + mcn_error_output, + mcn_error_source_output, +} from "../../outputs.js"; +import { + mcn_cidr_prefix_output, + mcn_magic_wan_address_space_output, +} from "./outputs.js"; import { mcn_cidr_prefix, mcn_update_magic_wan_address_space_request, @@ -48,6 +58,39 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_magic_wan_address_space" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_cidr_prefix": mcn_cidr_prefix_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_magic_wan_address_space": mcn_magic_wan_address_space_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/magic_wan_address_space`, body: { value: args["body"], mediaType: "application/json" }, @@ -83,6 +126,36 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_magic_wan_address_space" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_cidr_prefix": mcn_cidr_prefix_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_magic_wan_address_space": mcn_magic_wan_address_space_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/magic_wan_address_space`, }), @@ -124,6 +197,39 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_magic_wan_address_space" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_cidr_prefix": mcn_cidr_prefix_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_magic_wan_address_space": mcn_magic_wan_address_space_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/magic_wan_address_space`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicCloudNetworking/onRamps/outputs.ts b/src/generated/forge-mcp/magicCloudNetworking/onRamps/outputs.ts new file mode 100644 index 00000000..973c36e4 --- /dev/null +++ b/src/generated/forge-mcp/magicCloudNetworking/onRamps/outputs.ts @@ -0,0 +1,367 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `mcn_apply_progress` in responses. + */ +export const mcn_apply_progress_output: JsonSchema = { + "properties": { + "done": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "done", + "total" + ], + "type": "object" +}; + +/** + * The schema of `mcn_conduit_route_id` in responses. + */ +export const mcn_conduit_route_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `mcn_conduit_tunnel_id` in responses. + */ +export const mcn_conduit_tunnel_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `mcn_cost_diff` in responses. + */ +export const mcn_cost_diff_output: JsonSchema = { + "properties": { + "currency": { + "type": "string" + }, + "current_monthly_cost": { + "type": "number" + }, + "diff": { + "type": "number" + }, + "proposed_monthly_cost": { + "type": "number" + } + }, + "required": [ + "currency", + "current_monthly_cost", + "diff", + "proposed_monthly_cost" + ], + "type": "object" +}; + +/** + * The schema of `mcn_deleted_onramp` in responses. + */ +export const mcn_deleted_onramp_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/mcn_onramp_id" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `mcn_onramp` in responses. + */ +export const mcn_onramp_output: JsonSchema = { + "properties": { + "attached_hubs": { + "items": { + "$ref": "#/$defs/mcn_resource_id" + }, + "type": "array" + }, + "attached_vpcs": { + "items": { + "$ref": "#/$defs/mcn_resource_id" + }, + "type": "array" + }, + "cloud_asn": { + "type": "integer" + }, + "cloud_type": { + "$ref": "#/$defs/mcn_onramp_cloud_type" + }, + "description": { + "type": "string" + }, + "dynamic_routing": { + "type": "boolean" + }, + "hub": { + "$ref": "#/$defs/mcn_resource_id" + }, + "id": { + "$ref": "#/$defs/mcn_onramp_id" + }, + "install_routes_in_cloud": { + "type": "boolean" + }, + "install_routes_in_magic_wan": { + "type": "boolean" + }, + "last_applied_at": { + "type": "string" + }, + "last_exported_at": { + "type": "string" + }, + "last_planned_at": { + "type": "string" + }, + "manage_hub_to_hub_attachments": { + "type": "boolean" + }, + "manage_vpc_to_hub_attachments": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "planned_monthly_cost_estimate": { + "$ref": "#/$defs/mcn_cost_diff" + }, + "planned_resources": { + "items": { + "$ref": "#/$defs/mcn_resource_diff" + }, + "type": "array" + }, + "planned_resources_unavailable": { + "type": "boolean" + }, + "post_apply_monthly_cost_estimate": { + "$ref": "#/$defs/mcn_cost" + }, + "post_apply_resources": { + "additionalProperties": { + "$ref": "#/$defs/mcn_resource_details" + }, + "type": "object" + }, + "post_apply_resources_unavailable": { + "type": "boolean" + }, + "region": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/mcn_onramp_status" + }, + "type": { + "$ref": "#/$defs/mcn_onramp_type" + }, + "updated_at": { + "type": "string" + }, + "vpc": { + "$ref": "#/$defs/mcn_resource_id" + }, + "vpcs_by_id": { + "additionalProperties": { + "$ref": "#/$defs/mcn_resource_details" + }, + "type": "object" + }, + "vpcs_by_id_unavailable": { + "items": { + "$ref": "#/$defs/mcn_resource_id" + }, + "type": "array" + } + }, + "required": [ + "cloud_type", + "dynamic_routing", + "id", + "install_routes_in_cloud", + "install_routes_in_magic_wan", + "name", + "type", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `mcn_onramp_cloud_type` in responses. + */ +export const mcn_onramp_cloud_type_output: JsonSchema = { + "enum": [ + "AWS", + "AZURE", + "GOOGLE" + ], + "type": "string" +}; + +/** + * The schema of `mcn_onramp_id` in responses. + */ +export const mcn_onramp_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `mcn_onramp_lifecycle_state` in responses. + */ +export const mcn_onramp_lifecycle_state_output: JsonSchema = { + "enum": [ + "OnrampNeedsApply", + "OnrampPendingPlan", + "OnrampPlanning", + "OnrampPlanFailed", + "OnrampPendingApproval", + "OnrampPendingApply", + "OnrampApplying", + "OnrampApplyFailed", + "OnrampActive", + "OnrampPendingDestroy", + "OnrampDestroying", + "OnrampDestroyFailed" + ], + "type": "string" +}; + +/** + * The schema of `mcn_onramp_status` in responses. + */ +export const mcn_onramp_status_output: JsonSchema = { + "properties": { + "apply_progress": { + "$ref": "#/$defs/mcn_apply_progress" + }, + "lifecycle_errors": { + "additionalProperties": { + "$ref": "#/$defs/mcn_error" + }, + "type": "object" + }, + "lifecycle_state": { + "$ref": "#/$defs/mcn_onramp_lifecycle_state" + }, + "plan_progress": { + "$ref": "#/$defs/mcn_plan_progress" + }, + "routes": { + "items": { + "$ref": "#/$defs/mcn_conduit_route_id" + }, + "type": "array" + }, + "tunnels": { + "items": { + "$ref": "#/$defs/mcn_conduit_tunnel_id" + }, + "type": "array" + } + }, + "required": [ + "apply_progress", + "lifecycle_state", + "plan_progress", + "routes", + "tunnels" + ], + "type": "object" +}; + +/** + * The schema of `mcn_onramp_type` in responses. + */ +export const mcn_onramp_type_output: JsonSchema = { + "enum": [ + "OnrampTypeSingle", + "OnrampTypeHub" + ], + "type": "string" +}; + +/** + * The schema of `mcn_plan_progress` in responses. + */ +export const mcn_plan_progress_output: JsonSchema = { + "properties": { + "done": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "done", + "total" + ], + "type": "object" +}; + +/** + * The schema of `mcn_planned_action` in responses. + */ +export const mcn_planned_action_output: JsonSchema = { + "enum": [ + "no_op", + "create", + "update", + "replace", + "destroy" + ], + "type": "string" +}; + +/** + * The schema of `mcn_resource_diff` in responses. + */ +export const mcn_resource_diff_output: JsonSchema = { + "properties": { + "diff": { + "$ref": "#/$defs/mcn_yaml_diff" + }, + "keys_require_replace": { + "items": { + "type": "string" + }, + "type": "array" + }, + "monthly_cost_estimate_diff": { + "$ref": "#/$defs/mcn_cost_diff" + }, + "planned_action": { + "$ref": "#/$defs/mcn_planned_action" + }, + "resource": { + "$ref": "#/$defs/mcn_resource_preview" + } + }, + "required": [ + "diff", + "keys_require_replace", + "monthly_cost_estimate_diff", + "planned_action", + "resource" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicCloudNetworking/onRamps/tools.ts b/src/generated/forge-mcp/magicCloudNetworking/onRamps/tools.ts index d63ac88e..76554b59 100644 --- a/src/generated/forge-mcp/magicCloudNetworking/onRamps/tools.ts +++ b/src/generated/forge-mcp/magicCloudNetworking/onRamps/tools.ts @@ -2,7 +2,49 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + mcn_account_id_output, + mcn_bad_response_output, + mcn_cloud_platform_client_output, + mcn_cloud_type_output, + mcn_cost_output, + mcn_error_meta_output, + mcn_error_output, + mcn_error_source_output, + mcn_good_response_output, + mcn_list_item_output, + mcn_observation_output, + mcn_platform_client_id_output, + mcn_provider_id_output, + mcn_resource_details_output, + mcn_resource_details_section_item_output, + mcn_resource_details_section_output, + mcn_resource_id_output, + mcn_resource_preview_item_output, + mcn_resource_preview_output, + mcn_resource_type_output, + mcn_string_item_output, + mcn_yaml_diff_item_output, + mcn_yaml_diff_output, + mcn_yaml_item_output, +} from "../outputs.js"; import { mcn_provider_id, mcn_resource_id } from "../schemas.js"; +import { + mcn_apply_progress_output, + mcn_conduit_route_id_output, + mcn_conduit_tunnel_id_output, + mcn_cost_diff_output, + mcn_deleted_onramp_output, + mcn_onramp_cloud_type_output, + mcn_onramp_id_output, + mcn_onramp_lifecycle_state_output, + mcn_onramp_output, + mcn_onramp_status_output, + mcn_onramp_type_output, + mcn_plan_progress_output, + mcn_planned_action_output, + mcn_resource_diff_output, +} from "./outputs.js"; import { mcn_create_onramp_request, mcn_onramp_cloud_type, @@ -47,6 +89,38 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "202": { + "$ref": "#/$defs/mcn_good_response" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_good_response": mcn_good_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/${pathParam(args, "onramp_id")}/apply`, }), @@ -94,6 +168,69 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/mcn_onramp" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_account_id": mcn_account_id_output, + "mcn_apply_progress": mcn_apply_progress_output, + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_conduit_route_id": mcn_conduit_route_id_output, + "mcn_conduit_tunnel_id": mcn_conduit_tunnel_id_output, + "mcn_cost": mcn_cost_output, + "mcn_cost_diff": mcn_cost_diff_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_list_item": mcn_list_item_output, + "mcn_observation": mcn_observation_output, + "mcn_onramp": mcn_onramp_output, + "mcn_onramp_cloud_type": mcn_onramp_cloud_type_output, + "mcn_onramp_id": mcn_onramp_id_output, + "mcn_onramp_lifecycle_state": mcn_onramp_lifecycle_state_output, + "mcn_onramp_status": mcn_onramp_status_output, + "mcn_onramp_type": mcn_onramp_type_output, + "mcn_plan_progress": mcn_plan_progress_output, + "mcn_planned_action": mcn_planned_action_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_resource_details": mcn_resource_details_output, + "mcn_resource_details_section": mcn_resource_details_section_output, + "mcn_resource_details_section_item": mcn_resource_details_section_item_output, + "mcn_resource_diff": mcn_resource_diff_output, + "mcn_resource_id": mcn_resource_id_output, + "mcn_resource_preview": mcn_resource_preview_output, + "mcn_resource_preview_item": mcn_resource_preview_item_output, + "mcn_resource_type": mcn_resource_type_output, + "mcn_string_item": mcn_string_item_output, + "mcn_yaml_diff": mcn_yaml_diff_output, + "mcn_yaml_diff_item": mcn_yaml_diff_item_output, + "mcn_yaml_item": mcn_yaml_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps`, headers: [ @@ -141,6 +278,39 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_deleted_onramp" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_deleted_onramp": mcn_deleted_onramp_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_onramp_id": mcn_onramp_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/${pathParam(args, "onramp_id")}`, query: [ @@ -190,6 +360,72 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_onramp" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_account_id": mcn_account_id_output, + "mcn_apply_progress": mcn_apply_progress_output, + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_conduit_route_id": mcn_conduit_route_id_output, + "mcn_conduit_tunnel_id": mcn_conduit_tunnel_id_output, + "mcn_cost": mcn_cost_output, + "mcn_cost_diff": mcn_cost_diff_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_list_item": mcn_list_item_output, + "mcn_observation": mcn_observation_output, + "mcn_onramp": mcn_onramp_output, + "mcn_onramp_cloud_type": mcn_onramp_cloud_type_output, + "mcn_onramp_id": mcn_onramp_id_output, + "mcn_onramp_lifecycle_state": mcn_onramp_lifecycle_state_output, + "mcn_onramp_status": mcn_onramp_status_output, + "mcn_onramp_type": mcn_onramp_type_output, + "mcn_plan_progress": mcn_plan_progress_output, + "mcn_planned_action": mcn_planned_action_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_resource_details": mcn_resource_details_output, + "mcn_resource_details_section": mcn_resource_details_section_output, + "mcn_resource_details_section_item": mcn_resource_details_section_item_output, + "mcn_resource_diff": mcn_resource_diff_output, + "mcn_resource_id": mcn_resource_id_output, + "mcn_resource_preview": mcn_resource_preview_output, + "mcn_resource_preview_item": mcn_resource_preview_item_output, + "mcn_resource_type": mcn_resource_type_output, + "mcn_string_item": mcn_string_item_output, + "mcn_yaml_diff": mcn_yaml_diff_output, + "mcn_yaml_diff_item": mcn_yaml_diff_item_output, + "mcn_yaml_item": mcn_yaml_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/${pathParam(args, "onramp_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -228,6 +464,35 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "201": null, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/${pathParam(args, "onramp_id")}/export`, }), @@ -278,6 +543,66 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_onramp" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_account_id": mcn_account_id_output, + "mcn_apply_progress": mcn_apply_progress_output, + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_conduit_route_id": mcn_conduit_route_id_output, + "mcn_conduit_tunnel_id": mcn_conduit_tunnel_id_output, + "mcn_cost": mcn_cost_output, + "mcn_cost_diff": mcn_cost_diff_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_list_item": mcn_list_item_output, + "mcn_observation": mcn_observation_output, + "mcn_onramp": mcn_onramp_output, + "mcn_onramp_cloud_type": mcn_onramp_cloud_type_output, + "mcn_onramp_id": mcn_onramp_id_output, + "mcn_onramp_lifecycle_state": mcn_onramp_lifecycle_state_output, + "mcn_onramp_status": mcn_onramp_status_output, + "mcn_onramp_type": mcn_onramp_type_output, + "mcn_plan_progress": mcn_plan_progress_output, + "mcn_planned_action": mcn_planned_action_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_resource_details": mcn_resource_details_output, + "mcn_resource_details_section": mcn_resource_details_section_output, + "mcn_resource_details_section_item": mcn_resource_details_section_item_output, + "mcn_resource_diff": mcn_resource_diff_output, + "mcn_resource_id": mcn_resource_id_output, + "mcn_resource_preview": mcn_resource_preview_output, + "mcn_resource_preview_item": mcn_resource_preview_item_output, + "mcn_resource_type": mcn_resource_type_output, + "mcn_string_item": mcn_string_item_output, + "mcn_yaml_diff": mcn_yaml_diff_output, + "mcn_yaml_diff_item": mcn_yaml_diff_item_output, + "mcn_yaml_item": mcn_yaml_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/${pathParam(args, "onramp_id")}`, query: [ @@ -331,6 +656,77 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mcn_onramp" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_account_id": mcn_account_id_output, + "mcn_apply_progress": mcn_apply_progress_output, + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_conduit_route_id": mcn_conduit_route_id_output, + "mcn_conduit_tunnel_id": mcn_conduit_tunnel_id_output, + "mcn_cost": mcn_cost_output, + "mcn_cost_diff": mcn_cost_diff_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_list_item": mcn_list_item_output, + "mcn_observation": mcn_observation_output, + "mcn_onramp": mcn_onramp_output, + "mcn_onramp_cloud_type": mcn_onramp_cloud_type_output, + "mcn_onramp_id": mcn_onramp_id_output, + "mcn_onramp_lifecycle_state": mcn_onramp_lifecycle_state_output, + "mcn_onramp_status": mcn_onramp_status_output, + "mcn_onramp_type": mcn_onramp_type_output, + "mcn_plan_progress": mcn_plan_progress_output, + "mcn_planned_action": mcn_planned_action_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_resource_details": mcn_resource_details_output, + "mcn_resource_details_section": mcn_resource_details_section_output, + "mcn_resource_details_section_item": mcn_resource_details_section_item_output, + "mcn_resource_diff": mcn_resource_diff_output, + "mcn_resource_id": mcn_resource_id_output, + "mcn_resource_preview": mcn_resource_preview_output, + "mcn_resource_preview_item": mcn_resource_preview_item_output, + "mcn_resource_type": mcn_resource_type_output, + "mcn_string_item": mcn_string_item_output, + "mcn_yaml_diff": mcn_yaml_diff_output, + "mcn_yaml_diff_item": mcn_yaml_diff_item_output, + "mcn_yaml_item": mcn_yaml_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps`, query: [ @@ -374,6 +770,38 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "202": { + "$ref": "#/$defs/mcn_good_response" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_good_response": mcn_good_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/${pathParam(args, "onramp_id")}/plan`, }), @@ -419,6 +847,72 @@ export const tools: readonly Tool[] = [ "Magic WAN Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_onramp" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "409": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_account_id": mcn_account_id_output, + "mcn_apply_progress": mcn_apply_progress_output, + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_conduit_route_id": mcn_conduit_route_id_output, + "mcn_conduit_tunnel_id": mcn_conduit_tunnel_id_output, + "mcn_cost": mcn_cost_output, + "mcn_cost_diff": mcn_cost_diff_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_list_item": mcn_list_item_output, + "mcn_observation": mcn_observation_output, + "mcn_onramp": mcn_onramp_output, + "mcn_onramp_cloud_type": mcn_onramp_cloud_type_output, + "mcn_onramp_id": mcn_onramp_id_output, + "mcn_onramp_lifecycle_state": mcn_onramp_lifecycle_state_output, + "mcn_onramp_status": mcn_onramp_status_output, + "mcn_onramp_type": mcn_onramp_type_output, + "mcn_plan_progress": mcn_plan_progress_output, + "mcn_planned_action": mcn_planned_action_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_resource_details": mcn_resource_details_output, + "mcn_resource_details_section": mcn_resource_details_section_output, + "mcn_resource_details_section_item": mcn_resource_details_section_item_output, + "mcn_resource_diff": mcn_resource_diff_output, + "mcn_resource_id": mcn_resource_id_output, + "mcn_resource_preview": mcn_resource_preview_output, + "mcn_resource_preview_item": mcn_resource_preview_item_output, + "mcn_resource_type": mcn_resource_type_output, + "mcn_string_item": mcn_string_item_output, + "mcn_yaml_diff": mcn_yaml_diff_output, + "mcn_yaml_diff_item": mcn_yaml_diff_item_output, + "mcn_yaml_item": mcn_yaml_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/onramps/${pathParam(args, "onramp_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicCloudNetworking/outputs.ts b/src/generated/forge-mcp/magicCloudNetworking/outputs.ts new file mode 100644 index 00000000..1db0fa49 --- /dev/null +++ b/src/generated/forge-mcp/magicCloudNetworking/outputs.ts @@ -0,0 +1,821 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `mcn_account_id` in responses. + */ +export const mcn_account_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `mcn_bad_response` in responses. + */ +export const mcn_bad_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/mcn_error" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/mcn_error" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "messages", + "success", + "errors", + "result" + ], + "type": "object" +}; + +/** + * The schema of `mcn_cloud_platform_client` in responses. + */ +export const mcn_cloud_platform_client_output: JsonSchema = { + "properties": { + "client_type": { + "enum": [ + "MAGIC_WAN_CLOUD_ONRAMP" + ], + "type": "string" + }, + "id": { + "$ref": "#/$defs/mcn_platform_client_id" + }, + "name": { + "type": "string" + } + }, + "required": [ + "client_type", + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `mcn_cloud_type` in responses. + */ +export const mcn_cloud_type_output: JsonSchema = { + "enum": [ + "AWS", + "AZURE", + "GOOGLE", + "CLOUDFLARE" + ], + "type": "string" +}; + +/** + * The schema of `mcn_cost` in responses. + */ +export const mcn_cost_output: JsonSchema = { + "properties": { + "currency": { + "type": "string" + }, + "monthly_cost": { + "type": "number" + } + }, + "required": [ + "currency", + "monthly_cost" + ], + "type": "object" +}; + +/** + * The schema of `mcn_error` in responses. + */ +export const mcn_error_output: JsonSchema = { + "properties": { + "code": { + "enum": [ + 1001, + 1002, + 1003, + 1004, + 1005, + 1006, + 1007, + 1008, + 1009, + 1010, + 1011, + 1012, + 1013, + 1014, + 1015, + 1016, + 1017, + 1018, + 2001, + 2002, + 2003, + 2004, + 2005, + 2006, + 2007, + 2008, + 2009, + 2010, + 2011, + 2012, + 2013, + 2014, + 2015, + 2016, + 2017, + 2018, + 2019, + 2020, + 2021, + 2022, + 3001, + 3002, + 3003, + 3004, + 3005, + 3006, + 3007, + 4001, + 4002, + 4003, + 4004, + 4005, + 4006, + 4007, + 4008, + 4009, + 4010, + 4011, + 4012, + 4013, + 4014, + 4015, + 4016, + 4017, + 4018, + 4019, + 4020, + 4021, + 4022, + 4023, + 5001, + 5002, + 5003, + 5004, + 102000, + 102001, + 102002, + 102003, + 102004, + 102005, + 102006, + 102007, + 102008, + 102009, + 102010, + 102011, + 102012, + 102013, + 102014, + 102015, + 102016, + 102017, + 102018, + 102019, + 102020, + 102021, + 102022, + 102023, + 102024, + 102025, + 102026, + 102027, + 102028, + 102029, + 102030, + 102031, + 102032, + 102033, + 102034, + 102035, + 102036, + 102037, + 102038, + 102039, + 102040, + 102041, + 102042, + 102043, + 102044, + 102045, + 102046, + 102047, + 102048, + 102049, + 102050, + 102051, + 102052, + 102053, + 102054, + 102055, + 102056, + 102057, + 102058, + 102059, + 102060, + 102061, + 102062, + 102063, + 102064, + 102065, + 102066, + 102067, + 102068, + 102069, + 102070, + 102071, + 102072, + 103001, + 103002, + 103003, + 103004, + 103005, + 103006, + 103007, + 103008 + ], + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/mcn_error_meta" + }, + "source": { + "$ref": "#/$defs/mcn_error_source" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `mcn_error_meta` in responses. + */ +export const mcn_error_meta_output: JsonSchema = { + "properties": { + "l10n_key": { + "type": "string" + }, + "loggable_error": { + "type": "string" + }, + "template_data": { + "type": "object" + }, + "trace_id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mcn_error_source` in responses. + */ +export const mcn_error_source_output: JsonSchema = { + "properties": { + "parameter": { + "type": "string" + }, + "parameter_value_index": { + "type": "integer" + }, + "pointer": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mcn_good_response` in responses. + */ +export const mcn_good_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/mcn_error" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/mcn_error" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "messages", + "success", + "errors" + ], + "type": "object" +}; + +/** + * The schema of `mcn_list_item` in responses. + */ +export const mcn_list_item_output: JsonSchema = { + "properties": { + "item_type": { + "type": "string" + }, + "list": { + "items": { + "oneOf": [ + { + "$ref": "#/$defs/mcn_string_item" + }, + { + "$ref": "#/$defs/mcn_resource_preview_item" + } + ] + }, + "type": "array" + } + }, + "required": [ + "item_type", + "list" + ], + "type": "object" +}; + +/** + * The schema of `mcn_observation` in responses. + */ +export const mcn_observation_output: JsonSchema = { + "properties": { + "first_observed_at": { + "type": "string" + }, + "last_observed_at": { + "type": "string" + }, + "provider_id": { + "$ref": "#/$defs/mcn_provider_id" + }, + "resource_id": { + "$ref": "#/$defs/mcn_resource_id" + } + }, + "required": [ + "first_observed_at", + "last_observed_at", + "provider_id", + "resource_id" + ], + "type": "object" +}; + +/** + * The schema of `mcn_platform_client_id` in responses. + */ +export const mcn_platform_client_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `mcn_provider_id` in responses. + */ +export const mcn_provider_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `mcn_resource_details` in responses. + */ +export const mcn_resource_details_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/mcn_account_id" + }, + "cloud_type": { + "$ref": "#/$defs/mcn_cloud_type" + }, + "config": { + "type": "object" + }, + "deployment_provider": { + "$ref": "#/$defs/mcn_provider_id" + }, + "id": { + "$ref": "#/$defs/mcn_resource_id" + }, + "managed": { + "type": "boolean" + }, + "managed_by": { + "items": { + "$ref": "#/$defs/mcn_cloud_platform_client" + }, + "type": "array" + }, + "monthly_cost_estimate": { + "$ref": "#/$defs/mcn_cost" + }, + "name": { + "type": "string" + }, + "native_id": { + "type": "string" + }, + "observations": { + "additionalProperties": { + "$ref": "#/$defs/mcn_observation" + }, + "type": "object" + }, + "provider_ids": { + "items": { + "$ref": "#/$defs/mcn_provider_id" + }, + "type": "array" + }, + "provider_names_by_id": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "region": { + "type": "string" + }, + "resource_group": { + "type": "string" + }, + "resource_type": { + "$ref": "#/$defs/mcn_resource_type" + }, + "sections": { + "items": { + "$ref": "#/$defs/mcn_resource_details_section" + }, + "type": "array" + }, + "state": { + "type": "object" + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "account_id", + "cloud_type", + "config", + "deployment_provider", + "id", + "managed", + "monthly_cost_estimate", + "name", + "native_id", + "observations", + "provider_ids", + "provider_names_by_id", + "region", + "resource_group", + "resource_type", + "sections", + "state", + "tags", + "updated_at", + "url" + ], + "type": "object" +}; + +/** + * The schema of `mcn_resource_details_section` in responses. + */ +export const mcn_resource_details_section_output: JsonSchema = { + "properties": { + "help_text": { + "type": "string" + }, + "hidden_items": { + "items": { + "$ref": "#/$defs/mcn_resource_details_section_item" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "visible_items": { + "items": { + "$ref": "#/$defs/mcn_resource_details_section_item" + }, + "type": "array" + } + }, + "required": [ + "hidden_items", + "name", + "visible_items" + ], + "type": "object" +}; + +/** + * The schema of `mcn_resource_details_section_item` in responses. + */ +export const mcn_resource_details_section_item_output: JsonSchema = { + "properties": { + "helpText": { + "type": "string" + }, + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "$ref": "#/$defs/mcn_string_item" + }, + { + "$ref": "#/$defs/mcn_yaml_item" + }, + { + "$ref": "#/$defs/mcn_yaml_diff_item" + }, + { + "$ref": "#/$defs/mcn_resource_preview_item" + }, + { + "$ref": "#/$defs/mcn_list_item" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `mcn_resource_id` in responses. + */ +export const mcn_resource_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `mcn_resource_preview` in responses. + */ +export const mcn_resource_preview_output: JsonSchema = { + "properties": { + "cloud_type": { + "$ref": "#/$defs/mcn_cloud_type" + }, + "detail": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/mcn_resource_id" + }, + "name": { + "type": "string" + }, + "resource_type": { + "$ref": "#/$defs/mcn_resource_type" + }, + "title": { + "type": "string" + } + }, + "required": [ + "cloud_type", + "detail", + "id", + "name", + "resource_type", + "title" + ], + "type": "object" +}; + +/** + * The schema of `mcn_resource_preview_item` in responses. + */ +export const mcn_resource_preview_item_output: JsonSchema = { + "properties": { + "item_type": { + "type": "string" + }, + "resource_preview": { + "$ref": "#/$defs/mcn_resource_preview" + } + }, + "required": [ + "item_type", + "resource_preview" + ], + "type": "object" +}; + +/** + * The schema of `mcn_resource_type` in responses. + */ +export const mcn_resource_type_output: JsonSchema = { + "enum": [ + "aws_customer_gateway", + "aws_egress_only_internet_gateway", + "aws_internet_gateway", + "aws_instance", + "aws_network_interface", + "aws_route", + "aws_route_table", + "aws_route_table_association", + "aws_subnet", + "aws_vpc", + "aws_vpc_ipv4_cidr_block_association", + "aws_vpn_connection", + "aws_vpn_connection_route", + "aws_vpn_gateway", + "aws_security_group", + "aws_vpc_security_group_ingress_rule", + "aws_vpc_security_group_egress_rule", + "aws_ec2_managed_prefix_list", + "aws_ec2_transit_gateway", + "aws_ec2_transit_gateway_prefix_list_reference", + "aws_ec2_transit_gateway_vpc_attachment", + "azurerm_application_security_group", + "azurerm_lb", + "azurerm_lb_backend_address_pool", + "azurerm_lb_nat_pool", + "azurerm_lb_nat_rule", + "azurerm_lb_rule", + "azurerm_local_network_gateway", + "azurerm_network_interface", + "azurerm_network_interface_application_security_group_association", + "azurerm_network_interface_backend_address_pool_association", + "azurerm_network_interface_security_group_association", + "azurerm_network_security_group", + "azurerm_public_ip", + "azurerm_route", + "azurerm_route_table", + "azurerm_subnet", + "azurerm_subnet_route_table_association", + "azurerm_virtual_machine", + "azurerm_virtual_network_gateway_connection", + "azurerm_virtual_network", + "azurerm_virtual_network_gateway", + "google_compute_network", + "google_compute_subnetwork", + "google_compute_vpn_gateway", + "google_compute_vpn_tunnel", + "google_compute_route", + "google_compute_address", + "google_compute_global_address", + "google_compute_router", + "google_compute_interconnect_attachment", + "google_compute_ha_vpn_gateway", + "google_compute_forwarding_rule", + "google_compute_network_firewall_policy", + "google_compute_network_firewall_policy_rule", + "cloudflare_static_route", + "cloudflare_ipsec_tunnel" + ], + "type": "string" +}; + +/** + * The schema of `mcn_string_item` in responses. + */ +export const mcn_string_item_output: JsonSchema = { + "properties": { + "item_type": { + "type": "string" + }, + "string": { + "type": "string" + } + }, + "required": [ + "item_type", + "string" + ], + "type": "object" +}; + +/** + * The schema of `mcn_yaml_diff` in responses. + */ +export const mcn_yaml_diff_output: JsonSchema = { + "properties": { + "diff": { + "type": "string" + }, + "left_description": { + "type": "string" + }, + "left_yaml": { + "type": "string" + }, + "right_description": { + "type": "string" + }, + "right_yaml": { + "type": "string" + } + }, + "required": [ + "diff", + "left_description", + "left_yaml", + "right_description", + "right_yaml" + ], + "type": "object" +}; + +/** + * The schema of `mcn_yaml_diff_item` in responses. + */ +export const mcn_yaml_diff_item_output: JsonSchema = { + "properties": { + "item_type": { + "type": "string" + }, + "yaml_diff": { + "$ref": "#/$defs/mcn_yaml_diff" + } + }, + "required": [ + "item_type", + "yaml_diff" + ], + "type": "object" +}; + +/** + * The schema of `mcn_yaml_item` in responses. + */ +export const mcn_yaml_item_output: JsonSchema = { + "properties": { + "item_type": { + "type": "string" + }, + "yaml": { + "type": "string" + } + }, + "required": [ + "item_type", + "yaml" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicCloudNetworking/resources/outputs.ts b/src/generated/forge-mcp/magicCloudNetworking/resources/outputs.ts new file mode 100644 index 00000000..e2d11086 --- /dev/null +++ b/src/generated/forge-mcp/magicCloudNetworking/resources/outputs.ts @@ -0,0 +1,41 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `mcn_resources_catalog_policy_preview` in responses. + */ +export const mcn_resources_catalog_policy_preview_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `mcn_result_info` in responses. + */ +export const mcn_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicCloudNetworking/resources/tools.ts b/src/generated/forge-mcp/magicCloudNetworking/resources/tools.ts index daa3426b..f5f9647d 100644 --- a/src/generated/forge-mcp/magicCloudNetworking/resources/tools.ts +++ b/src/generated/forge-mcp/magicCloudNetworking/resources/tools.ts @@ -2,7 +2,36 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + mcn_account_id_output, + mcn_bad_response_output, + mcn_cloud_platform_client_output, + mcn_cloud_type_output, + mcn_cost_output, + mcn_error_meta_output, + mcn_error_output, + mcn_error_source_output, + mcn_list_item_output, + mcn_observation_output, + mcn_platform_client_id_output, + mcn_provider_id_output, + mcn_resource_details_output, + mcn_resource_details_section_item_output, + mcn_resource_details_section_output, + mcn_resource_id_output, + mcn_resource_preview_item_output, + mcn_resource_preview_output, + mcn_resource_type_output, + mcn_string_item_output, + mcn_yaml_diff_item_output, + mcn_yaml_diff_output, + mcn_yaml_item_output, +} from "../outputs.js"; import { mcn_resource_id, mcn_resource_type } from "../schemas.js"; +import { + mcn_resources_catalog_policy_preview_output, + mcn_result_info_output, +} from "./outputs.js"; import { mcn_resources_catalog_policy_preview_request } from "./schemas.js"; /** @@ -80,6 +109,32 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": null, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/resources/export`, query: [ @@ -132,6 +187,53 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_resource_details" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_account_id": mcn_account_id_output, + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_cost": mcn_cost_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_list_item": mcn_list_item_output, + "mcn_observation": mcn_observation_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_resource_details": mcn_resource_details_output, + "mcn_resource_details_section": mcn_resource_details_section_output, + "mcn_resource_details_section_item": mcn_resource_details_section_item_output, + "mcn_resource_id": mcn_resource_id_output, + "mcn_resource_preview": mcn_resource_preview_output, + "mcn_resource_preview_item": mcn_resource_preview_item_output, + "mcn_resource_type": mcn_resource_type_output, + "mcn_string_item": mcn_string_item_output, + "mcn_yaml_diff": mcn_yaml_diff_output, + "mcn_yaml_diff_item": mcn_yaml_diff_item_output, + "mcn_yaml_item": mcn_yaml_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/resources/${pathParam(args, "resource_id")}`, query: [ @@ -222,6 +324,68 @@ export const tools: readonly Tool[] = [ "Magic WAN Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mcn_resource_details" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/mcn_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "404": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_account_id": mcn_account_id_output, + "mcn_bad_response": mcn_bad_response_output, + "mcn_cloud_platform_client": mcn_cloud_platform_client_output, + "mcn_cloud_type": mcn_cloud_type_output, + "mcn_cost": mcn_cost_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_list_item": mcn_list_item_output, + "mcn_observation": mcn_observation_output, + "mcn_platform_client_id": mcn_platform_client_id_output, + "mcn_provider_id": mcn_provider_id_output, + "mcn_resource_details": mcn_resource_details_output, + "mcn_resource_details_section": mcn_resource_details_section_output, + "mcn_resource_details_section_item": mcn_resource_details_section_item_output, + "mcn_resource_id": mcn_resource_id_output, + "mcn_resource_preview": mcn_resource_preview_output, + "mcn_resource_preview_item": mcn_resource_preview_item_output, + "mcn_resource_type": mcn_resource_type_output, + "mcn_result_info": mcn_result_info_output, + "mcn_string_item": mcn_string_item_output, + "mcn_yaml_diff": mcn_yaml_diff_output, + "mcn_yaml_diff_item": mcn_yaml_diff_item_output, + "mcn_yaml_item": mcn_yaml_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/resources`, query: [ @@ -272,6 +436,35 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/magic/cloud/resources/policy-preview", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mcn_resources_catalog_policy_preview" + }, + "400": { + "$ref": "#/$defs/mcn_bad_response" + }, + "401": { + "$ref": "#/$defs/mcn_bad_response" + }, + "403": { + "$ref": "#/$defs/mcn_bad_response" + }, + "422": { + "$ref": "#/$defs/mcn_bad_response" + }, + "500": { + "$ref": "#/$defs/mcn_bad_response" + } + }, + $defs: { + "mcn_bad_response": mcn_bad_response_output, + "mcn_error": mcn_error_output, + "mcn_error_meta": mcn_error_meta_output, + "mcn_error_source": mcn_error_source_output, + "mcn_resources_catalog_policy_preview": mcn_resources_catalog_policy_preview_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cloud/resources/policy-preview`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts index af70b591..6e0b724e 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_visibility_mnm_api_response_common_failure_output, + magic_visibility_mnm_messages_output, +} from "../../outputs.js"; +import { + magic_visibility_mnm_mnm_config_default_sampling_output, + magic_visibility_mnm_mnm_config_name_output, + magic_visibility_mnm_mnm_config_output, + magic_visibility_mnm_mnm_config_router_ip_output, + magic_visibility_mnm_mnm_config_router_ips_output, + magic_visibility_mnm_mnm_config_single_response_output, + magic_visibility_mnm_mnm_config_warp_device_output, + magic_visibility_mnm_mnm_config_warp_devices_output, +} from "../outputs.js"; /** * The tools of `magic_network_monitoring.configs.full`. @@ -38,6 +52,35 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, + "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, + "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, + "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, + "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, + "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, + "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, + "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/config/full`, }), diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts new file mode 100644 index 00000000..f19cc102 --- /dev/null +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts @@ -0,0 +1,126 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic-visibility-mnm_mnm_config` in responses. + */ +export const magic_visibility_mnm_mnm_config_output: JsonSchema = { + "properties": { + "default_sampling": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_default_sampling" + }, + "name": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_name" + }, + "router_ips": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ips" + }, + "warp_devices": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_warp_devices" + } + }, + "required": [ + "default_sampling", + "name", + "router_ips", + "warp_devices" + ], + "type": "object" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_config_default_sampling` in + * responses. + */ +export const magic_visibility_mnm_mnm_config_default_sampling_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_config_name` in responses. + */ +export const magic_visibility_mnm_mnm_config_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_config_router_ip` in responses. + */ +export const magic_visibility_mnm_mnm_config_router_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_config_router_ips` in responses. + */ +export const magic_visibility_mnm_mnm_config_router_ips_output: JsonSchema = { + "items": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ip" + }, + "type": "array" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_config_single_response` in responses. + */ +export const magic_visibility_mnm_mnm_config_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "messages": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "result": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_config_warp_device` in responses. + */ +export const magic_visibility_mnm_mnm_config_warp_device_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "router_ip": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "router_ip" + ], + "type": "object" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_config_warp_devices` in responses. + */ +export const magic_visibility_mnm_mnm_config_warp_devices_output: JsonSchema = { + "items": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_warp_device" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts index 15afba95..dc110ef1 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_visibility_mnm_api_response_common_failure_output, + magic_visibility_mnm_messages_output, +} from "../outputs.js"; +import { + magic_visibility_mnm_mnm_config_default_sampling_output, + magic_visibility_mnm_mnm_config_name_output, + magic_visibility_mnm_mnm_config_output, + magic_visibility_mnm_mnm_config_router_ip_output, + magic_visibility_mnm_mnm_config_router_ips_output, + magic_visibility_mnm_mnm_config_single_response_output, + magic_visibility_mnm_mnm_config_warp_device_output, + magic_visibility_mnm_mnm_config_warp_devices_output, +} from "./outputs.js"; import { magic_visibility_mnm_mnm_config_default_sampling, magic_visibility_mnm_mnm_config_name, @@ -77,6 +91,35 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, + "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, + "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, + "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, + "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, + "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, + "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, + "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/config`, body: { value: args["body"], mediaType: "application/json" }, @@ -111,6 +154,35 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, + "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, + "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, + "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, + "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, + "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, + "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, + "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/config`, }), @@ -174,6 +246,35 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, + "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, + "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, + "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, + "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, + "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, + "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, + "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/config`, body: { value: args["body"], mediaType: "application/json" }, @@ -210,6 +311,35 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, + "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, + "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, + "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, + "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, + "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, + "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, + "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/config`, }), @@ -277,6 +407,35 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, + "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, + "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, + "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, + "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, + "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, + "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, + "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/config`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/outputs.ts new file mode 100644 index 00000000..8d5b7717 --- /dev/null +++ b/src/generated/forge-mcp/magicNetworkMonitoring/outputs.ts @@ -0,0 +1,57 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `magic-visibility-mnm_api-response-common-failure` in + * responses. + */ +export const magic_visibility_mnm_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "messages": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic-visibility-mnm_messages` in responses. + */ +export const magic_visibility_mnm_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts new file mode 100644 index 00000000..3d94a962 --- /dev/null +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts @@ -0,0 +1,58 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_advertisable_response` in + * responses. + */ +export const magic_visibility_mnm_mnm_rule_advertisable_response_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "automatic_advertisement": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_automatic_advertisement" + } + }, + "required": [ + "automatic_advertisement" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_advertisement_single_response` + * in responses. + */ +export const magic_visibility_mnm_mnm_rule_advertisement_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "messages": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "result": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_advertisable_response" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts index cf0b8e3d..db2fe138 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_visibility_mnm_api_response_common_failure_output, + magic_visibility_mnm_messages_output, +} from "../../outputs.js"; +import { magic_visibility_mnm_mnm_rule_automatic_advertisement_output } from "../outputs.js"; +import { + magic_visibility_mnm_mnm_rule_advertisable_response_output, + magic_visibility_mnm_mnm_rule_advertisement_single_response_output, +} from "./outputs.js"; /** * The tools of `magic_network_monitoring.rules.advertisements`. @@ -42,6 +51,30 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_advertisable_response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_advertisement_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_rule_advertisable_response": magic_visibility_mnm_mnm_rule_advertisable_response_output, + "magic-visibility-mnm_mnm_rule_advertisement_single_response": magic_visibility_mnm_mnm_rule_advertisement_single_response_output, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/rules/${pathParam(args, "rule_id")}/advertisement`, }), diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts index acda6208..82dfa796 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_visibility_mnm_api_response_common_failure_output, + magic_visibility_mnm_messages_output, +} from "../../outputs.js"; +import { + magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + magic_visibility_mnm_mnm_rule_duration_output, + magic_visibility_mnm_mnm_rule_ip_prefix_output, + magic_visibility_mnm_mnm_rule_ip_prefixes_output, + magic_visibility_mnm_mnm_rule_name_output, + magic_visibility_mnm_mnm_rule_output, + magic_visibility_mnm_mnm_rule_packet_threshold_output, + magic_visibility_mnm_mnm_rule_prefix_match_output, + magic_visibility_mnm_mnm_rule_type_output, + magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + magic_visibility_mnm_mnm_rule_zscore_target_output, + magic_visibility_mnm_mnm_rules_collection_response_output, + magic_visibility_mnm_result_info_output, + magic_visibility_mnm_rule_identifier_output, +} from "../outputs.js"; import { magic_visibility_mnm_mnm_rule_automatic_advertisement, magic_visibility_mnm_mnm_rule_bandwidth_threshold, @@ -73,6 +94,63 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Admin" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/magic-visibility-mnm_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_collection_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, + "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, + "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, + "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, + "magic-visibility-mnm_mnm_rules_collection_response": magic_visibility_mnm_mnm_rules_collection_response_output, + "magic-visibility-mnm_result_info": magic_visibility_mnm_result_info_output, + "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/rules/bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -131,6 +209,63 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/magic-visibility-mnm_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_collection_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, + "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, + "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, + "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, + "magic-visibility-mnm_mnm_rules_collection_response": magic_visibility_mnm_mnm_rules_collection_response_output, + "magic-visibility-mnm_result_info": magic_visibility_mnm_result_info_output, + "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/rules/bulk`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts new file mode 100644 index 00000000..7f71dbad --- /dev/null +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts @@ -0,0 +1,302 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic-visibility-mnm_mnm_rule` in responses. + */ +export const magic_visibility_mnm_mnm_rule_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "automatic_advertisement": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_automatic_advertisement" + }, + "bandwidth_threshold": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_bandwidth_threshold" + }, + "duration": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_duration" + }, + "id": { + "$ref": "#/$defs/magic-visibility-mnm_rule_identifier" + }, + "name": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_name" + }, + "packet_threshold": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_packet_threshold" + }, + "prefix_match": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_prefix_match" + }, + "prefixes": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_ip_prefixes" + }, + "type": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_type" + }, + "zscore_sensitivity": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_zscore_sensitivity" + }, + "zscore_target": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_zscore_target" + } + }, + "required": [ + "automatic_advertisement", + "id", + "name", + "prefixes", + "type" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_automatic_advertisement` in + * responses. + */ +export const magic_visibility_mnm_mnm_rule_automatic_advertisement_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_bandwidth_threshold` in + * responses. + */ +export const magic_visibility_mnm_mnm_rule_bandwidth_threshold_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_duration` in responses. + */ +export const magic_visibility_mnm_mnm_rule_duration_output: JsonSchema = { + "enum": [ + "1m", + "5m", + "10m", + "15m", + "20m", + "30m", + "45m", + "60m" + ], + "type": "string" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_ip_prefix` in responses. + */ +export const magic_visibility_mnm_mnm_rule_ip_prefix_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_ip_prefixes` in responses. + */ +export const magic_visibility_mnm_mnm_rule_ip_prefixes_output: JsonSchema = { + "items": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_ip_prefix" + }, + "type": "array" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_name` in responses. + */ +export const magic_visibility_mnm_mnm_rule_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_packet_threshold` in responses. + */ +export const magic_visibility_mnm_mnm_rule_packet_threshold_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_prefix_match` in responses. + */ +export const magic_visibility_mnm_mnm_rule_prefix_match_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "exact", + "subnet", + "supernet" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_type` in responses. + */ +export const magic_visibility_mnm_mnm_rule_type_output: JsonSchema = { + "enum": [ + "threshold", + "zscore", + "advanced_ddos" + ], + "type": "string" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_zscore_sensitivity` in + * responses. + */ +export const magic_visibility_mnm_mnm_rule_zscore_sensitivity_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rule_zscore_target` in responses. + */ +export const magic_visibility_mnm_mnm_rule_zscore_target_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "bits", + "packets" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rules_collection_response` in + * responses. + */ +export const magic_visibility_mnm_mnm_rules_collection_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "messages": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/magic-visibility-mnm_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_rules_single_response` in responses. + */ +export const magic_visibility_mnm_mnm_rules_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "messages": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "result": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic-visibility-mnm_result_info` in responses. + */ +export const magic_visibility_mnm_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `magic-visibility-mnm_rule_identifier` in responses. + */ +export const magic_visibility_mnm_rule_identifier_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts index 75a36a6d..c533bf4e 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts @@ -2,6 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_visibility_mnm_api_response_common_failure_output, + magic_visibility_mnm_messages_output, +} from "../outputs.js"; +import { + magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + magic_visibility_mnm_mnm_rule_duration_output, + magic_visibility_mnm_mnm_rule_ip_prefix_output, + magic_visibility_mnm_mnm_rule_ip_prefixes_output, + magic_visibility_mnm_mnm_rule_name_output, + magic_visibility_mnm_mnm_rule_output, + magic_visibility_mnm_mnm_rule_packet_threshold_output, + magic_visibility_mnm_mnm_rule_prefix_match_output, + magic_visibility_mnm_mnm_rule_type_output, + magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + magic_visibility_mnm_mnm_rule_zscore_target_output, + magic_visibility_mnm_mnm_rules_collection_response_output, + magic_visibility_mnm_mnm_rules_single_response_output, + magic_visibility_mnm_result_info_output, + magic_visibility_mnm_rule_identifier_output, +} from "./outputs.js"; import { magic_visibility_mnm_mnm_rule_automatic_advertisement, magic_visibility_mnm_mnm_rule_bandwidth_threshold, @@ -68,6 +90,41 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, + "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, + "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, + "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, + "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, + "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -107,6 +164,41 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, + "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, + "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, + "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, + "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, + "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/rules/${pathParam(args, "rule_id")}`, }), @@ -164,6 +256,41 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, + "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, + "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, + "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, + "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, + "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -205,6 +332,41 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, + "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, + "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, + "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, + "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, + "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/rules/${pathParam(args, "rule_id")}`, }), @@ -240,6 +402,63 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/magic-visibility-mnm_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_collection_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, + "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, + "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, + "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, + "magic-visibility-mnm_mnm_rules_collection_response": magic_visibility_mnm_mnm_rules_collection_response_output, + "magic-visibility-mnm_result_info": magic_visibility_mnm_result_info_output, + "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/rules`, }), @@ -292,6 +511,41 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Config Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rule" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, + "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, + "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, + "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, + "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, + "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, + "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, + "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/rules`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts new file mode 100644 index 00000000..2c92ca53 --- /dev/null +++ b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts @@ -0,0 +1,42 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `magic-visibility-mnm_mnm_vpc_flows_single_response` in + * responses. + */ +export const magic_visibility_mnm_mnm_vpc_flows_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "messages": { + "$ref": "#/$defs/magic-visibility-mnm_messages" + }, + "result": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_vpc_flows_token" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic-visibility-mnm_mnm_vpc_flows_token` in responses. + */ +export const magic_visibility_mnm_mnm_vpc_flows_token_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts index 2f68690e..c169dbb8 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_visibility_mnm_api_response_common_failure_output, + magic_visibility_mnm_messages_output, +} from "../../outputs.js"; +import { + magic_visibility_mnm_mnm_vpc_flows_single_response_output, + magic_visibility_mnm_mnm_vpc_flows_token_output, +} from "./outputs.js"; /** * The tools of `magic_network_monitoring.vpc_flows.tokens`. @@ -36,6 +44,29 @@ export const tools: readonly Tool[] = [ "Magic Network Monitoring Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-mnm_mnm_vpc_flows_token" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/magic-visibility-mnm_mnm_vpc_flows_single_response" + }, + { + "$ref": "#/$defs/magic-visibility-mnm_api-response-common-failure" + } + ] + } + }, + $defs: { + "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, + "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, + "magic-visibility-mnm_mnm_vpc_flows_single_response": magic_visibility_mnm_mnm_vpc_flows_single_response_output, + "magic-visibility-mnm_mnm_vpc_flows_token": magic_visibility_mnm_mnm_vpc_flows_token_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mnm/vpc-flows/token`, }), diff --git a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/outputs.ts new file mode 100644 index 00000000..85dd729d --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/outputs.ts @@ -0,0 +1,57 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../../_/tool.js"; + +/** + * The schema of `dos_DnsProtectionRule` in responses. + */ +export const dos_DnsProtectionRule_output: JsonSchema = { + "properties": { + "block_any_queries": { + "type": "boolean" + }, + "burst_sensitivity": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "profile_sensitivity": { + "type": "string" + }, + "rate_sensitivity": { + "type": "string" + }, + "scope": { + "type": "string" + } + }, + "required": [ + "block_any_queries", + "burst_sensitivity", + "created_on", + "id", + "mode", + "modified_on", + "name", + "profile_sensitivity", + "rate_sensitivity", + "scope" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts index 551db942..a523ef9a 100644 --- a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../../../outputs.js"; +import { dos_api_response_common_output } from "../../../../../outputs.js"; +import { dos_DnsProtectionRule_output } from "./outputs.js"; import { dos_DnsProtectionRuleUpdate, dos_NewDnsProtectionRule, @@ -42,6 +48,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_dns_protection/configs/dns_protection/rules`, }), @@ -89,6 +110,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_DnsProtectionRule" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_DnsProtectionRule": dos_DnsProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_dns_protection/configs/dns_protection/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -129,6 +165,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_dns_protection/configs/dns_protection/rules/${pathParam(args, "rule_id")}`, }), @@ -169,6 +220,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_DnsProtectionRule" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_DnsProtectionRule": dos_DnsProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_dns_protection/configs/dns_protection/rules/${pathParam(args, "rule_id")}`, }), @@ -220,6 +286,52 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dos_DnsProtectionRule" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_DnsProtectionRule": dos_DnsProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_dns_protection/configs/dns_protection/rules`, query: [ @@ -278,6 +390,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_DnsProtectionRule" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_DnsProtectionRule": dos_DnsProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_dns_protection/configs/dns_protection/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/outputs.ts new file mode 100644 index 00000000..6ff8aefe --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/outputs.ts @@ -0,0 +1,41 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `dos_InfraPrefix` in responses. + */ +export const dos_InfraPrefix_output: JsonSchema = { + "properties": { + "comment": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "required": [ + "comment", + "created_on", + "enabled", + "id", + "modified_on", + "prefix" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts index 620ceae9..dfd92cb0 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../../outputs.js"; +import { dos_api_response_common_output } from "../../../../outputs.js"; +import { dos_InfraPrefix_output } from "../outputs.js"; import { dos_InfraPrefixUpdate } from "./schemas.js"; /** @@ -44,6 +50,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/allowlist/${pathParam(args, "prefix_id")}`, }), @@ -84,6 +105,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_InfraPrefix" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_InfraPrefix": dos_InfraPrefix_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/allowlist/${pathParam(args, "prefix_id")}`, }), @@ -131,6 +167,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_InfraPrefix" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_InfraPrefix": dos_InfraPrefix_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/allowlist/${pathParam(args, "prefix_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts index 361873dd..a037375a 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../outputs.js"; +import { dos_api_response_common_output } from "../../../outputs.js"; +import { dos_InfraPrefix_output } from "./outputs.js"; import { dos_NewInfraPrefix } from "./schemas.js"; /** @@ -38,6 +44,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/allowlist`, }), @@ -80,6 +101,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_InfraPrefix" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_InfraPrefix": dos_InfraPrefix_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/allowlist`, body: { value: args["body"], mediaType: "application/json" }, @@ -132,6 +168,52 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dos_InfraPrefix" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_InfraPrefix": dos_InfraPrefix_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/allowlist`, query: [ diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/outputs.ts new file mode 100644 index 00000000..b51ffddf --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/outputs.ts @@ -0,0 +1,37 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dos_ExpressionFilter` in responses. + */ +export const dos_ExpressionFilter_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_on", + "expression", + "id", + "mode", + "modified_on" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts index e9690bb6..0f8470ba 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../../outputs.js"; +import { dos_Prefix_output } from "../outputs.js"; import { dos_NewPrefix } from "../schemas.js"; /** @@ -49,6 +54,52 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dos_Prefix" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_Prefix": dos_Prefix_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/prefixes/bulk`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/outputs.ts new file mode 100644 index 00000000..f26ea3ce --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/outputs.ts @@ -0,0 +1,41 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `dos_Prefix` in responses. + */ +export const dos_Prefix_output: JsonSchema = { + "properties": { + "comment": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "excluded": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "required": [ + "comment", + "created_on", + "excluded", + "id", + "modified_on", + "prefix" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts index 0537a54d..f83d1210 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../outputs.js"; +import { dos_api_response_common_output } from "../../../outputs.js"; +import { dos_Prefix_output } from "./outputs.js"; import { dos_NewPrefix, dos_PrefixUpdate } from "./schemas.js"; /** @@ -38,6 +44,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/prefixes`, }), @@ -80,6 +101,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_Prefix" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_Prefix": dos_Prefix_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/prefixes`, body: { value: args["body"], mediaType: "application/json" }, @@ -120,6 +156,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/prefixes/${pathParam(args, "prefix_id")}`, }), @@ -160,6 +211,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_Prefix" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_Prefix": dos_Prefix_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/prefixes/${pathParam(args, "prefix_id")}`, }), @@ -211,6 +277,52 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dos_Prefix" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_Prefix": dos_Prefix_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/prefixes`, query: [ @@ -264,6 +376,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_Prefix" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_Prefix": dos_Prefix_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/prefixes/${pathParam(args, "prefix_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts index a367f1a3..cac10086 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../../../outputs.js"; +import { dos_api_response_common_output } from "../../../../../outputs.js"; +import { dos_ExpressionFilter_output } from "../../../outputs.js"; import { dos_ExpressionFilterUpdate, dos_NewExpressionFilter, @@ -42,6 +48,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/filters`, }), @@ -89,6 +110,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_ExpressionFilter" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ExpressionFilter": dos_ExpressionFilter_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/filters`, body: { value: args["body"], mediaType: "application/json" }, @@ -129,6 +165,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/filters/${pathParam(args, "filter_id")}`, }), @@ -169,6 +220,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_ExpressionFilter" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ExpressionFilter": dos_ExpressionFilter_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/filters/${pathParam(args, "filter_id")}`, }), @@ -224,6 +290,52 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dos_ExpressionFilter" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ExpressionFilter": dos_ExpressionFilter_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/filters`, query: [ @@ -283,6 +395,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_ExpressionFilter" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ExpressionFilter": dos_ExpressionFilter_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/filters/${pathParam(args, "filter_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/outputs.ts new file mode 100644 index 00000000..3e2db525 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/outputs.ts @@ -0,0 +1,53 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../../_/tool.js"; + +/** + * The schema of `dos_SynProtectionRule` in responses. + */ +export const dos_SynProtectionRule_output: JsonSchema = { + "properties": { + "burst_sensitivity": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "mitigation_type": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "rate_sensitivity": { + "type": "string" + }, + "scope": { + "type": "string" + } + }, + "required": [ + "burst_sensitivity", + "created_on", + "id", + "mitigation_type", + "mode", + "modified_on", + "name", + "rate_sensitivity", + "scope" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts index 006da451..0685e87e 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../../../outputs.js"; +import { dos_api_response_common_output } from "../../../../../outputs.js"; +import { dos_SynProtectionRule_output } from "./outputs.js"; import { dos_NewSynProtectionRule, dos_SynProtectionRuleUpdate, @@ -42,6 +48,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/rules`, }), @@ -89,6 +110,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_SynProtectionRule" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_SynProtectionRule": dos_SynProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -129,6 +165,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/rules/${pathParam(args, "rule_id")}`, }), @@ -169,6 +220,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_SynProtectionRule" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_SynProtectionRule": dos_SynProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/rules/${pathParam(args, "rule_id")}`, }), @@ -220,6 +286,52 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dos_SynProtectionRule" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_SynProtectionRule": dos_SynProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/rules`, query: [ @@ -278,6 +390,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_SynProtectionRule" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_SynProtectionRule": dos_SynProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts index a9612a82..1b6a4737 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../../../../outputs.js"; +import { dos_api_response_common_output } from "../../../../../../outputs.js"; +import { dos_ExpressionFilter_output } from "../../../../outputs.js"; import { dos_ExpressionFilterUpdate, dos_NewExpressionFilter, @@ -42,6 +48,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters`, }), @@ -89,6 +110,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_ExpressionFilter" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ExpressionFilter": dos_ExpressionFilter_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters`, body: { value: args["body"], mediaType: "application/json" }, @@ -129,6 +165,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/${pathParam(args, "filter_id")}`, }), @@ -169,6 +220,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_ExpressionFilter" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ExpressionFilter": dos_ExpressionFilter_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/${pathParam(args, "filter_id")}`, }), @@ -224,6 +290,52 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dos_ExpressionFilter" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ExpressionFilter": dos_ExpressionFilter_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters`, query: [ @@ -283,6 +395,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_ExpressionFilter" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ExpressionFilter": dos_ExpressionFilter_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/${pathParam(args, "filter_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/outputs.ts new file mode 100644 index 00000000..1ed53f68 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/outputs.ts @@ -0,0 +1,49 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../../../_/tool.js"; + +/** + * The schema of `dos_TcpFlowProtectionRule` in responses. + */ +export const dos_TcpFlowProtectionRule_output: JsonSchema = { + "properties": { + "burst_sensitivity": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "rate_sensitivity": { + "type": "string" + }, + "scope": { + "type": "string" + } + }, + "required": [ + "burst_sensitivity", + "created_on", + "id", + "mode", + "modified_on", + "name", + "rate_sensitivity", + "scope" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts index 79547067..174416c6 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../../../../outputs.js"; +import { dos_api_response_common_output } from "../../../../../../outputs.js"; +import { dos_TcpFlowProtectionRule_output } from "./outputs.js"; import { dos_NewTcpFlowProtectionRule, dos_TcpFlowProtectionRuleUpdate, @@ -42,6 +48,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules`, }), @@ -89,6 +110,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_TcpFlowProtectionRule" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_TcpFlowProtectionRule": dos_TcpFlowProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -129,6 +165,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_api-response-common": dos_api_response_common_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/${pathParam(args, "rule_id")}`, }), @@ -169,6 +220,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_TcpFlowProtectionRule" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_TcpFlowProtectionRule": dos_TcpFlowProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/${pathParam(args, "rule_id")}`, }), @@ -220,6 +286,52 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dos_TcpFlowProtectionRule" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_TcpFlowProtectionRule": dos_TcpFlowProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules`, query: [ @@ -278,6 +390,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_TcpFlowProtectionRule" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_TcpFlowProtectionRule": dos_TcpFlowProtectionRule_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/outputs.ts new file mode 100644 index 00000000..9306badf --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../../_/tool.js"; + +/** + * The schema of `dos_ProtectionStatus` in responses. + */ +export const dos_ProtectionStatus_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts index c91b3107..6cf31163 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { + dos_api_response_common_failure_output, + dos_messages_output, +} from "../../../../../../outputs.js"; +import { dos_ProtectionStatus_output } from "./outputs.js"; import { dos_UpdateProtectionStatus } from "./schemas.js"; /** @@ -40,6 +45,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_ProtectionStatus" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ProtectionStatus": dos_ProtectionStatus_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_protection_status`, }), @@ -82,6 +102,21 @@ export const tools: readonly Tool[] = [ "DDoS Protection Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dos_ProtectionStatus" + }, + "4XX": { + "$ref": "#/$defs/dos_api-response-common-failure" + } + }, + $defs: { + "dos_ProtectionStatus": dos_ProtectionStatus_output, + "dos_api-response-common-failure": dos_api_response_common_failure_output, + "dos_messages": dos_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_protection_status`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/apps/outputs.ts b/src/generated/forge-mcp/magicTransit/apps/outputs.ts new file mode 100644 index 00000000..9ce05c4d --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/apps/outputs.ts @@ -0,0 +1,136 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_account_app` in responses. + */ +export const magic_account_app_output: JsonSchema = { + "properties": { + "account_app_id": { + "$ref": "#/$defs/magic_account_app_id" + }, + "hostnames": { + "$ref": "#/$defs/magic_app_hostnames" + }, + "ip_subnets": { + "$ref": "#/$defs/magic_app_subnets" + }, + "name": { + "$ref": "#/$defs/magic_app_name" + }, + "source_subnets": { + "$ref": "#/$defs/magic_app_source_subnets" + }, + "type": { + "$ref": "#/$defs/magic_app_type" + } + }, + "required": [ + "account_app_id" + ], + "type": "object" +}; + +/** + * The schema of `magic_app` in responses. + */ +export const magic_app_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/magic_account_app" + }, + { + "$ref": "#/$defs/magic_managed_app" + } + ] +}; + +/** + * The schema of `magic_app_hostnames` in responses. + */ +export const magic_app_hostnames_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `magic_app_name` in responses. + */ +export const magic_app_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_app_source_subnets` in responses. + */ +export const magic_app_source_subnets_output: JsonSchema = { + "items": { + "allOf": [ + { + "$ref": "#/$defs/magic_cidr" + }, + { + "type": "string" + } + ] + }, + "type": "array" +}; + +/** + * The schema of `magic_app_subnets` in responses. + */ +export const magic_app_subnets_output: JsonSchema = { + "items": { + "allOf": [ + { + "$ref": "#/$defs/magic_cidr" + }, + { + "type": "string" + } + ] + }, + "type": "array" +}; + +/** + * The schema of `magic_app_type` in responses. + */ +export const magic_app_type_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_managed_app` in responses. + */ +export const magic_managed_app_output: JsonSchema = { + "properties": { + "hostnames": { + "$ref": "#/$defs/magic_app_hostnames" + }, + "ip_subnets": { + "$ref": "#/$defs/magic_app_subnets" + }, + "managed_app_id": { + "$ref": "#/$defs/magic_managed_app_id" + }, + "name": { + "$ref": "#/$defs/magic_app_name" + }, + "source_subnets": { + "$ref": "#/$defs/magic_app_source_subnets" + }, + "type": { + "$ref": "#/$defs/magic_app_type" + } + }, + "required": [ + "managed_app_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/apps/tools.ts b/src/generated/forge-mcp/magicTransit/apps/tools.ts index aa723ffd..7b974f10 100644 --- a/src/generated/forge-mcp/magicTransit/apps/tools.ts +++ b/src/generated/forge-mcp/magicTransit/apps/tools.ts @@ -2,7 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_account_app_id_output, + magic_api_response_common_failure_output, + magic_cidr_output, + magic_managed_app_id_output, + magic_messages_output, +} from "../outputs.js"; import { magic_cidr } from "../schemas.js"; +import { + magic_account_app_output, + magic_app_hostnames_output, + magic_app_name_output, + magic_app_output, + magic_app_source_subnets_output, + magic_app_subnets_output, + magic_app_type_output, + magic_managed_app_output, +} from "./outputs.js"; import { magic_app_add_single_request, magic_app_hostnames, @@ -67,6 +84,28 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/magic_account_app" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_account_app": magic_account_app_output, + "magic_account_app_id": magic_account_app_id_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_app_hostnames": magic_app_hostnames_output, + "magic_app_name": magic_app_name_output, + "magic_app_source_subnets": magic_app_source_subnets_output, + "magic_app_subnets": magic_app_subnets_output, + "magic_app_type": magic_app_type_output, + "magic_cidr": magic_cidr_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/apps`, body: { value: args["body"], mediaType: "application/json" }, @@ -114,6 +153,28 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_account_app" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_account_app": magic_account_app_output, + "magic_account_app_id": magic_account_app_id_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_app_hostnames": magic_app_hostnames_output, + "magic_app_name": magic_app_name_output, + "magic_app_source_subnets": magic_app_source_subnets_output, + "magic_app_subnets": magic_app_subnets_output, + "magic_app_type": magic_app_type_output, + "magic_cidr": magic_cidr_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/apps/${pathParam(args, "account_app_id")}`, }), @@ -157,6 +218,45 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_app" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_account_app": magic_account_app_output, + "magic_account_app_id": magic_account_app_id_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_app": magic_app_output, + "magic_app_hostnames": magic_app_hostnames_output, + "magic_app_name": magic_app_name_output, + "magic_app_source_subnets": magic_app_source_subnets_output, + "magic_app_subnets": magic_app_subnets_output, + "magic_app_type": magic_app_type_output, + "magic_cidr": magic_cidr_output, + "magic_managed_app": magic_managed_app_output, + "magic_managed_app_id": magic_managed_app_id_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/apps`, }), @@ -216,6 +316,28 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_account_app" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_account_app": magic_account_app_output, + "magic_account_app_id": magic_account_app_id_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_app_hostnames": magic_app_hostnames_output, + "magic_app_name": magic_app_name_output, + "magic_app_source_subnets": magic_app_source_subnets_output, + "magic_app_subnets": magic_app_subnets_output, + "magic_app_type": magic_app_type_output, + "magic_cidr": magic_cidr_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/apps/${pathParam(args, "account_app_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts new file mode 100644 index 00000000..813635de --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts @@ -0,0 +1,58 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_bgp_filter_match_action` in responses. + */ +export const magic_bgp_filter_match_action_output: JsonSchema = { + "enum": [ + "allow", + "deny" + ], + "type": "string" +}; + +/** + * The schema of `magic_bgp_filter_profile` in responses. + */ +export const magic_bgp_filter_profile_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/magic_schemas-identifier" + }, + "match_action": { + "$ref": "#/$defs/magic_bgp_filter_match_action" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "targets": { + "items": { + "type": "string" + }, + "maxItems": 1000, + "type": "array" + } + }, + "required": [ + "description", + "id", + "match_action", + "name", + "targets" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts index 923a73e1..83dccc55 100644 --- a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts +++ b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_messages_output, + magic_schemas_identifier_output, +} from "../outputs.js"; +import { + magic_bgp_filter_match_action_output, + magic_bgp_filter_profile_output, +} from "./outputs.js"; import { magic_bgp_filter_match_action, magic_create_bgp_filter_profile_request, @@ -54,6 +63,23 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_bgp_filter_profile" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, + "magic_bgp_filter_profile": magic_bgp_filter_profile_output, + "magic_messages": magic_messages_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/bgp/filter_profiles`, body: { value: args["body"], mediaType: "application/json" }, @@ -98,6 +124,23 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_bgp_filter_profile" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, + "magic_bgp_filter_profile": magic_bgp_filter_profile_output, + "magic_messages": magic_messages_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/bgp/filter_profiles/${pathParam(args, "profile_id")}`, }), @@ -141,6 +184,23 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_bgp_filter_profile" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, + "magic_bgp_filter_profile": magic_bgp_filter_profile_output, + "magic_messages": magic_messages_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/bgp/filter_profiles/${pathParam(args, "profile_id")}`, }), @@ -179,6 +239,37 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_bgp_filter_profile" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, + "magic_bgp_filter_profile": magic_bgp_filter_profile_output, + "magic_messages": magic_messages_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/bgp/filter_profiles`, }), @@ -230,6 +321,23 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_bgp_filter_profile" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, + "magic_bgp_filter_profile": magic_bgp_filter_profile_output, + "magic_messages": magic_messages_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/bgp/filter_profiles/${pathParam(args, "profile_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/bgpSettings/outputs.ts b/src/generated/forge-mcp/magicTransit/bgpSettings/outputs.ts new file mode 100644 index 00000000..1f3f1637 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/bgpSettings/outputs.ts @@ -0,0 +1,42 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_bgp_redistribute_sources` in responses. + */ +export const magic_bgp_redistribute_sources_output: JsonSchema = { + "properties": { + "static:wan": { + "type": "boolean" + } + }, + "required": [ + "static:wan" + ], + "type": "object" +}; + +/** + * The schema of `magic_bgp_settings` in responses. + */ +export const magic_bgp_settings_output: JsonSchema = { + "properties": { + "cloudflare_asn": { + "type": "integer" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "redistribute": { + "$ref": "#/$defs/magic_bgp_redistribute_sources" + } + }, + "required": [ + "cloudflare_asn", + "redistribute" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts b/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts index 64b8747d..3a7a51a4 100644 --- a/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts +++ b/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_messages_output, +} from "../outputs.js"; +import { + magic_bgp_redistribute_sources_output, + magic_bgp_settings_output, +} from "./outputs.js"; import { magic_update_bgp_settings_redistribute_sources, magic_update_bgp_settings_request, @@ -45,6 +53,22 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_bgp_settings" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources_output, + "magic_bgp_settings": magic_bgp_settings_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/bgp/settings`, }), @@ -91,6 +115,22 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_bgp_settings" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources_output, + "magic_bgp_settings": magic_bgp_settings_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/bgp/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts new file mode 100644 index 00000000..8c1c0c99 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts @@ -0,0 +1,54 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_cf1_site` in responses. + */ +export const magic_cf1_site_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/magic_identifier" + }, + "location": { + "$ref": "#/$defs/magic_cf1_site_location" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" +}; + +/** + * The schema of `magic_cf1_site_location` in responses. + */ +export const magic_cf1_site_location_output: JsonSchema = { + "properties": { + "lat": { + "type": "number" + }, + "long": { + "type": "number" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts new file mode 100644 index 00000000..d371aa5d --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts @@ -0,0 +1,81 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `magic_cf1_site_managed_ramp` in responses. + */ +export const magic_cf1_site_managed_ramp_output: JsonSchema = { + "properties": { + "managed_by": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_cf1_site_ramp` in responses. + */ +export const magic_cf1_site_ramp_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "gre": { + "$ref": "#/$defs/magic_cf1_site_managed_ramp" + }, + "gre_interconnect": { + "$ref": "#/$defs/magic_cf1_site_managed_ramp" + }, + "id": { + "$ref": "#/$defs/magic_identifier" + }, + "ipsec": { + "$ref": "#/$defs/magic_cf1_site_managed_ramp" + }, + "mconn": { + "$ref": "#/$defs/magic_cf1_site_managed_ramp" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "mpls_interconnect": { + "$ref": "#/$defs/magic_cf1_site_managed_ramp" + }, + "name": { + "type": "string" + }, + "type": { + "$ref": "#/$defs/magic_cf1_site_ramp_type" + } + }, + "required": [ + "created_on", + "id", + "modified_on", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `magic_cf1_site_ramp_type` in responses. + */ +export const magic_cf1_site_ramp_type_output: JsonSchema = { + "enum": [ + "gre", + "gre_interconnect", + "mpls_interconnect", + "mconn", + "ipsec" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts index 8f260565..4e526b5e 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts @@ -2,7 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_identifier_output, + magic_messages_output, +} from "../../outputs.js"; import { magic_identifier } from "../../schemas.js"; +import { + magic_cf1_site_managed_ramp_output, + magic_cf1_site_ramp_output, + magic_cf1_site_ramp_type_output, +} from "./outputs.js"; import { magic_cf1_site_ramp_body, magic_cf1_site_ramp_type, @@ -63,6 +73,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_cf1_site_ramp" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, + "magic_cf1_site_ramp": magic_cf1_site_ramp_output, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf1_sites/${pathParam(args, "cf1_site_id")}/ramps`, body: { value: args["body"], mediaType: "application/json" }, @@ -115,6 +157,24 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_cf1_site_ramp" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, + "magic_cf1_site_ramp": magic_cf1_site_ramp_output, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf1_sites/${pathParam(args, "cf1_site_id")}/ramps/${pathParam(args, "ramp_id")}`, }), @@ -168,6 +228,24 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_cf1_site_ramp" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, + "magic_cf1_site_ramp": magic_cf1_site_ramp_output, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf1_sites/${pathParam(args, "cf1_site_id")}/ramps/${pathParam(args, "ramp_id")}`, }), @@ -216,6 +294,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_cf1_site_ramp" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, + "magic_cf1_site_ramp": magic_cf1_site_ramp_output, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf1_sites/${pathParam(args, "cf1_site_id")}/ramps`, }), diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts index da5f67cd..70eacd18 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_identifier_output, + magic_messages_output, +} from "../outputs.js"; +import { + magic_cf1_site_location_output, + magic_cf1_site_output, +} from "./outputs.js"; import { magic_cf1_site, magic_cf1_site_location, @@ -71,6 +80,37 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_cf1_site" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cf1_site": magic_cf1_site_output, + "magic_cf1_site_location": magic_cf1_site_location_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf1_sites`, body: { value: args["body"], mediaType: "application/json" }, @@ -128,6 +168,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_cf1_site" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cf1_site": magic_cf1_site_output, + "magic_cf1_site_location": magic_cf1_site_location_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf1_sites/${pathParam(args, "cf1_site_id")}`, }), @@ -186,6 +243,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_cf1_site" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cf1_site": magic_cf1_site_output, + "magic_cf1_site_location": magic_cf1_site_location_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf1_sites/${pathParam(args, "cf1_site_id")}`, }), @@ -239,6 +313,37 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_cf1_site" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cf1_site": magic_cf1_site_output, + "magic_cf1_site_location": magic_cf1_site_location_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf1_sites`, }), @@ -303,6 +408,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_cf1_site" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cf1_site": magic_cf1_site_output, + "magic_cf1_site_location": magic_cf1_site_location_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf1_sites/${pathParam(args, "cf1_site_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts b/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts new file mode 100644 index 00000000..44ac1ea8 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts @@ -0,0 +1,182 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_components-schemas-name` in responses. + */ +export const magic_components_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_gre` in responses. + */ +export const magic_gre_output: JsonSchema = { + "properties": { + "cloudflare_endpoint": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_interconnect` in responses. + */ +export const magic_interconnect_output: JsonSchema = { + "properties": { + "automatic_return_routing": { + "$ref": "#/$defs/magic_automatic_return_routing" + }, + "bgp": { + "$ref": "#/$defs/magic_interconnect_bgp_config" + }, + "colo_name": { + "$ref": "#/$defs/magic_components-schemas-name" + }, + "created_on": { + "$ref": "#/$defs/magic_schemas-created_on" + }, + "description": { + "$ref": "#/$defs/magic_interconnect_components-schemas-description" + }, + "gre": { + "$ref": "#/$defs/magic_gre" + }, + "health_check": { + "$ref": "#/$defs/magic_interconnect_health_check" + }, + "id": { + "$ref": "#/$defs/magic_schemas-identifier" + }, + "interface_address": { + "$ref": "#/$defs/magic_interface_address_interconnect" + }, + "interface_address6": { + "$ref": "#/$defs/magic_interface_address6" + }, + "modified_on": { + "$ref": "#/$defs/magic_schemas-modified_on" + }, + "mtu": { + "$ref": "#/$defs/magic_schemas-mtu" + }, + "name": { + "$ref": "#/$defs/magic_components-schemas-name" + }, + "version": { + "type": "string" + }, + "virtual_port_reservation_id": { + "allOf": [ + { + "$ref": "#/$defs/magic_schemas-identifier" + }, + { + "type": "string" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `magic_interconnect_bgp_config` in responses. + */ +export const magic_interconnect_bgp_config_output: JsonSchema = { + "properties": { + "as_no": { + "type": "integer" + }, + "cloudflare_endpoint": { + "type": "string" + }, + "customer_asn": { + "type": "integer" + }, + "customer_endpoint": { + "type": "string" + }, + "export_filter_id": { + "type": "string" + }, + "extra_prefixes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "import_filter_id": { + "type": "string" + }, + "md5_key": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_interconnect_components-schemas-description` in + * responses. + */ +export const magic_interconnect_components_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_interconnect_health_check` in responses. + */ +export const magic_interconnect_health_check_output: JsonSchema = { + "properties": { + "direction": { + "enum": [ + "unidirectional", + "bidirectional" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "rate": { + "enum": [ + "low", + "mid", + "high" + ], + "type": "string" + }, + "source": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/magic_health_check_base_target" + }, + "type": { + "enum": [ + "reply", + "request" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_interface_address_interconnect` in responses. + */ +export const magic_interface_address_interconnect_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_schemas-mtu` in responses. + */ +export const magic_schemas_mtu_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts b/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts index 80512969..1f8c933f 100644 --- a/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts +++ b/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts @@ -2,12 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_automatic_return_routing_output, + magic_health_check_base_target_output, + magic_health_check_target_output, + magic_interface_address6_output, + magic_messages_output, + magic_schemas_created_on_output, + magic_schemas_identifier_output, + magic_schemas_modified_on_output, +} from "../outputs.js"; import { magic_automatic_return_routing, magic_health_check_base_target, magic_health_check_target, magic_interface_address6, } from "../schemas.js"; +import { + magic_components_schemas_name_output, + magic_gre_output, + magic_interconnect_bgp_config_output, + magic_interconnect_components_schemas_description_output, + magic_interconnect_health_check_output, + magic_interconnect_output, + magic_interface_address_interconnect_output, + magic_schemas_mtu_output, +} from "./outputs.js"; import { magic_components_schemas_name, magic_gre, @@ -68,6 +89,46 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "type": "boolean" + }, + "modified_interconnects": { + "items": { + "$ref": "#/$defs/magic_interconnect" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_components-schemas-name": magic_components_schemas_name_output, + "magic_gre": magic_gre_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interconnect": magic_interconnect_output, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, + "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, + "magic_interconnect_health_check": magic_interconnect_health_check_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_interface_address_interconnect": magic_interface_address_interconnect_output, + "magic_messages": magic_messages_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_schemas-mtu": magic_schemas_mtu_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf_interconnects`, headers: [ @@ -124,6 +185,40 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "interconnect": { + "$ref": "#/$defs/magic_interconnect" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_components-schemas-name": magic_components_schemas_name_output, + "magic_gre": magic_gre_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interconnect": magic_interconnect_output, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, + "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, + "magic_interconnect_health_check": magic_interconnect_health_check_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_interface_address_interconnect": magic_interface_address_interconnect_output, + "magic_messages": magic_messages_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_schemas-mtu": magic_schemas_mtu_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf_interconnects/${pathParam(args, "cf_interconnect_id")}`, headers: [ @@ -174,6 +269,43 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "interconnects": { + "items": { + "$ref": "#/$defs/magic_interconnect" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_components-schemas-name": magic_components_schemas_name_output, + "magic_gre": magic_gre_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interconnect": magic_interconnect_output, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, + "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, + "magic_interconnect_health_check": magic_interconnect_health_check_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_interface_address_interconnect": magic_interface_address_interconnect_output, + "magic_messages": magic_messages_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_schemas-mtu": magic_schemas_mtu_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf_interconnects`, headers: [ @@ -245,6 +377,43 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "type": "boolean" + }, + "modified_interconnect": { + "$ref": "#/$defs/magic_interconnect" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_components-schemas-name": magic_components_schemas_name_output, + "magic_gre": magic_gre_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interconnect": magic_interconnect_output, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, + "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, + "magic_interconnect_health_check": magic_interconnect_health_check_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_interface_address_interconnect": magic_interface_address_interconnect_output, + "magic_messages": magic_messages_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_schemas-mtu": magic_schemas_mtu_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf_interconnects/${pathParam(args, "cf_interconnect_id")}`, headers: [ diff --git a/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts b/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts new file mode 100644 index 00000000..620c92e7 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts @@ -0,0 +1,107 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_cloudflare_gre_endpoint` in responses. + */ +export const magic_cloudflare_gre_endpoint_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_customer_gre_endpoint` in responses. + */ +export const magic_customer_gre_endpoint_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_gre-tunnel` in responses. + */ +export const magic_gre_tunnel_output: JsonSchema = { + "properties": { + "automatic_return_routing": { + "$ref": "#/$defs/magic_automatic_return_routing" + }, + "bgp": { + "$ref": "#/$defs/magic_bgp_config" + }, + "bgp_status": { + "$ref": "#/$defs/magic_bgp_status_with_state" + }, + "cloudflare_gre_endpoint": { + "$ref": "#/$defs/magic_cloudflare_gre_endpoint" + }, + "created_on": { + "$ref": "#/$defs/magic_schemas-created_on" + }, + "customer_gre_endpoint": { + "$ref": "#/$defs/magic_customer_gre_endpoint" + }, + "description": { + "$ref": "#/$defs/magic_schemas-description" + }, + "health_check": { + "$ref": "#/$defs/magic_tunnel_health_check" + }, + "id": { + "$ref": "#/$defs/magic_schemas-identifier" + }, + "interface_address": { + "$ref": "#/$defs/magic_interface_address" + }, + "interface_address6": { + "$ref": "#/$defs/magic_interface_address6" + }, + "modified_on": { + "$ref": "#/$defs/magic_schemas-modified_on" + }, + "mtu": { + "$ref": "#/$defs/magic_mtu" + }, + "name": { + "$ref": "#/$defs/magic_gre_tunnel_name" + }, + "ttl": { + "$ref": "#/$defs/magic_ttl" + } + }, + "required": [ + "cloudflare_gre_endpoint", + "customer_gre_endpoint", + "id", + "interface_address", + "name" + ], + "type": "object" +}; + +/** + * The schema of `magic_gre_tunnel_name` in responses. + */ +export const magic_gre_tunnel_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_mtu` in responses. + */ +export const magic_mtu_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `magic_schemas-description` in responses. + */ +export const magic_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_ttl` in responses. + */ +export const magic_ttl_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts b/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts index 163386a0..741c8c2a 100644 --- a/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts +++ b/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_automatic_return_routing_output, + magic_bgp_config_output, + magic_bgp_status_with_state_output, + magic_health_check_base_target_output, + magic_health_check_target_output, + magic_interface_address6_output, + magic_interface_address_output, + magic_messages_output, + magic_schemas_created_on_output, + magic_schemas_identifier_output, + magic_schemas_modified_on_output, + magic_tunnel_health_check_output, +} from "../outputs.js"; import { magic_automatic_return_routing, magic_bgp_config, @@ -11,6 +26,15 @@ import { magic_interface_address6, magic_tunnel_health_check, } from "../schemas.js"; +import { + magic_cloudflare_gre_endpoint_output, + magic_customer_gre_endpoint_output, + magic_gre_tunnel_name_output, + magic_gre_tunnel_output, + magic_mtu_output, + magic_schemas_description_output, + magic_ttl_output, +} from "./outputs.js"; import { magic_cloudflare_gre_endpoint, magic_create_gre_tunnel_request, @@ -71,6 +95,49 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "type": "boolean" + }, + "modified_gre_tunnels": { + "items": { + "$ref": "#/$defs/magic_gre-tunnel" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, + "magic_gre-tunnel": magic_gre_tunnel_output, + "magic_gre_tunnel_name": magic_gre_tunnel_name_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_messages": magic_messages_output, + "magic_mtu": magic_mtu_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-description": magic_schemas_description_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_ttl": magic_ttl_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels`, headers: [ @@ -140,6 +207,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_gre-tunnel" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, + "magic_gre-tunnel": magic_gre_tunnel_output, + "magic_gre_tunnel_name": magic_gre_tunnel_name_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_messages": magic_messages_output, + "magic_mtu": magic_mtu_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-description": magic_schemas_description_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_ttl": magic_ttl_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels`, headers: [ @@ -194,6 +293,46 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "deleted": { + "type": "boolean" + }, + "deleted_gre_tunnel": { + "$ref": "#/$defs/magic_gre-tunnel" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, + "magic_gre-tunnel": magic_gre_tunnel_output, + "magic_gre_tunnel_name": magic_gre_tunnel_name_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_messages": magic_messages_output, + "magic_mtu": magic_mtu_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-description": magic_schemas_description_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_ttl": magic_ttl_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels/${pathParam(args, "gre_tunnel_id")}`, headers: [ @@ -249,6 +388,43 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "gre_tunnel": { + "$ref": "#/$defs/magic_gre-tunnel" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, + "magic_gre-tunnel": magic_gre_tunnel_output, + "magic_gre_tunnel_name": magic_gre_tunnel_name_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_messages": magic_messages_output, + "magic_mtu": magic_mtu_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-description": magic_schemas_description_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_ttl": magic_ttl_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels/${pathParam(args, "gre_tunnel_id")}`, headers: [ @@ -299,6 +475,46 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "gre_tunnels": { + "items": { + "$ref": "#/$defs/magic_gre-tunnel" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, + "magic_gre-tunnel": magic_gre_tunnel_output, + "magic_gre_tunnel_name": magic_gre_tunnel_name_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_messages": magic_messages_output, + "magic_mtu": magic_mtu_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-description": magic_schemas_description_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_ttl": magic_ttl_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels`, headers: [ @@ -371,6 +587,46 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "type": "boolean" + }, + "modified_gre_tunnel": { + "$ref": "#/$defs/magic_gre-tunnel" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, + "magic_gre-tunnel": magic_gre_tunnel_output, + "magic_gre_tunnel_name": magic_gre_tunnel_name_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_messages": magic_messages_output, + "magic_mtu": magic_mtu_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-description": magic_schemas_description_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_ttl": magic_ttl_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels/${pathParam(args, "gre_tunnel_id")}`, headers: [ diff --git a/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts b/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts new file mode 100644 index 00000000..9a6d3f37 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts @@ -0,0 +1,170 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_allow_null_cipher` in responses. + */ +export const magic_allow_null_cipher_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `magic_cloudflare_ipsec_endpoint` in responses. + */ +export const magic_cloudflare_ipsec_endpoint_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_components-schemas-description` in responses. + */ +export const magic_components_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_custom_remote_identities` in responses. + */ +export const magic_custom_remote_identities_output: JsonSchema = { + "properties": { + "fqdn_id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_customer_ipsec_endpoint` in responses. + */ +export const magic_customer_ipsec_endpoint_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_ipsec-tunnel` in responses. + */ +export const magic_ipsec_tunnel_output: JsonSchema = { + "properties": { + "allow_null_cipher": { + "$ref": "#/$defs/magic_allow_null_cipher" + }, + "automatic_return_routing": { + "$ref": "#/$defs/magic_automatic_return_routing" + }, + "bgp": { + "$ref": "#/$defs/magic_bgp_config" + }, + "bgp_status": { + "$ref": "#/$defs/magic_bgp_status_with_state" + }, + "cloudflare_endpoint": { + "$ref": "#/$defs/magic_cloudflare_ipsec_endpoint" + }, + "created_on": { + "$ref": "#/$defs/magic_schemas-created_on" + }, + "custom_remote_identities": { + "$ref": "#/$defs/magic_custom_remote_identities" + }, + "customer_endpoint": { + "$ref": "#/$defs/magic_customer_ipsec_endpoint" + }, + "description": { + "$ref": "#/$defs/magic_components-schemas-description" + }, + "health_check": { + "$ref": "#/$defs/magic_tunnel_health_check" + }, + "id": { + "$ref": "#/$defs/magic_schemas-identifier" + }, + "interface_address": { + "$ref": "#/$defs/magic_interface_address" + }, + "interface_address6": { + "$ref": "#/$defs/magic_interface_address6" + }, + "modified_on": { + "$ref": "#/$defs/magic_schemas-modified_on" + }, + "name": { + "$ref": "#/$defs/magic_ipsec_tunnel_name" + }, + "psk_metadata": { + "$ref": "#/$defs/magic_psk_metadata" + }, + "replay_protection": { + "$ref": "#/$defs/magic_replay_protection" + } + }, + "required": [ + "cloudflare_endpoint", + "id", + "interface_address", + "name" + ], + "type": "object" +}; + +/** + * The schema of `magic_ipsec_tunnel_applied_psk` in responses. + */ +export const magic_ipsec_tunnel_applied_psk_output: JsonSchema = { + "properties": { + "ipsec_id": { + "type": "string" + }, + "ipsec_tunnel_id": { + "$ref": "#/$defs/magic_identifier" + }, + "psk": { + "$ref": "#/$defs/magic_psk" + }, + "psk_metadata": { + "$ref": "#/$defs/magic_psk_metadata" + } + }, + "required": [ + "ipsec_id", + "ipsec_tunnel_id", + "psk", + "psk_metadata" + ], + "type": "object" +}; + +/** + * The schema of `magic_ipsec_tunnel_name` in responses. + */ +export const magic_ipsec_tunnel_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_psk` in responses. + */ +export const magic_psk_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_psk_metadata` in responses. + */ +export const magic_psk_metadata_output: JsonSchema = { + "properties": { + "last_generated_on": { + "$ref": "#/$defs/magic_schemas-modified_on" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_replay_protection` in responses. + */ +export const magic_replay_protection_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts b/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts index 0b567c14..d9f7fa89 100644 --- a/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts +++ b/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_automatic_return_routing_output, + magic_bgp_config_output, + magic_bgp_status_with_state_output, + magic_health_check_base_target_output, + magic_health_check_target_output, + magic_identifier_output, + magic_interface_address6_output, + magic_interface_address_output, + magic_messages_output, + magic_schemas_created_on_output, + magic_schemas_identifier_output, + magic_schemas_modified_on_output, + magic_tunnel_health_check_output, +} from "../outputs.js"; import { magic_automatic_return_routing, magic_bgp_config, @@ -12,6 +28,19 @@ import { magic_interface_address6, magic_tunnel_health_check, } from "../schemas.js"; +import { + magic_allow_null_cipher_output, + magic_cloudflare_ipsec_endpoint_output, + magic_components_schemas_description_output, + magic_custom_remote_identities_output, + magic_customer_ipsec_endpoint_output, + magic_ipsec_tunnel_applied_psk_output, + magic_ipsec_tunnel_name_output, + magic_ipsec_tunnel_output, + magic_psk_metadata_output, + magic_psk_output, + magic_replay_protection_output, +} from "./outputs.js"; import { magic_cloudflare_ipsec_endpoint, magic_components_schemas_description, @@ -74,6 +103,51 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "type": "boolean" + }, + "modified_ipsec_tunnels": { + "items": { + "$ref": "#/$defs/magic_ipsec-tunnel" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_allow_null_cipher": magic_allow_null_cipher_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, + "magic_components-schemas-description": magic_components_schemas_description_output, + "magic_custom_remote_identities": magic_custom_remote_identities_output, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_ipsec-tunnel": magic_ipsec_tunnel_output, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, + "magic_messages": magic_messages_output, + "magic_psk_metadata": magic_psk_metadata_output, + "magic_replay_protection": magic_replay_protection_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels`, headers: [ @@ -144,6 +218,40 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_ipsec-tunnel" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_allow_null_cipher": magic_allow_null_cipher_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, + "magic_components-schemas-description": magic_components_schemas_description_output, + "magic_custom_remote_identities": magic_custom_remote_identities_output, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_ipsec-tunnel": magic_ipsec_tunnel_output, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, + "magic_messages": magic_messages_output, + "magic_psk_metadata": magic_psk_metadata_output, + "magic_replay_protection": magic_replay_protection_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels`, headers: [ @@ -198,6 +306,48 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "deleted": { + "type": "boolean" + }, + "deleted_ipsec_tunnel": { + "$ref": "#/$defs/magic_ipsec-tunnel" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_allow_null_cipher": magic_allow_null_cipher_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, + "magic_components-schemas-description": magic_components_schemas_description_output, + "magic_custom_remote_identities": magic_custom_remote_identities_output, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_ipsec-tunnel": magic_ipsec_tunnel_output, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, + "magic_messages": magic_messages_output, + "magic_psk_metadata": magic_psk_metadata_output, + "magic_replay_protection": magic_replay_protection_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels/${pathParam(args, "ipsec_tunnel_id")}`, headers: [ @@ -253,6 +403,45 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "ipsec_tunnel": { + "$ref": "#/$defs/magic_ipsec-tunnel" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_allow_null_cipher": magic_allow_null_cipher_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, + "magic_components-schemas-description": magic_components_schemas_description_output, + "magic_custom_remote_identities": magic_custom_remote_identities_output, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_ipsec-tunnel": magic_ipsec_tunnel_output, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, + "magic_messages": magic_messages_output, + "magic_psk_metadata": magic_psk_metadata_output, + "magic_replay_protection": magic_replay_protection_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels/${pathParam(args, "ipsec_tunnel_id")}`, headers: [ @@ -303,6 +492,48 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "ipsec_tunnels": { + "items": { + "$ref": "#/$defs/magic_ipsec-tunnel" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_allow_null_cipher": magic_allow_null_cipher_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, + "magic_components-schemas-description": magic_components_schemas_description_output, + "magic_custom_remote_identities": magic_custom_remote_identities_output, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_ipsec-tunnel": magic_ipsec_tunnel_output, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, + "magic_messages": magic_messages_output, + "magic_psk_metadata": magic_psk_metadata_output, + "magic_replay_protection": magic_replay_protection_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels`, headers: [ @@ -352,6 +583,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "ipsec_tunnel_id": { + "$ref": "#/$defs/magic_identifier" + }, + "psk": { + "$ref": "#/$defs/magic_psk" + }, + "psk_metadata": { + "$ref": "#/$defs/magic_psk_metadata" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_psk": magic_psk_output, + "magic_psk_metadata": magic_psk_metadata_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels/${pathParam(args, "ipsec_tunnel_id")}/psk_generate`, }), @@ -407,6 +667,39 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "successfully_applied_psks": { + "additionalProperties": { + "$ref": "#/$defs/magic_ipsec_tunnel_applied_psk" + }, + "type": "object" + }, + "unapplied_psks": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_identifier": magic_identifier_output, + "magic_ipsec_tunnel_applied_psk": magic_ipsec_tunnel_applied_psk_output, + "magic_messages": magic_messages_output, + "magic_psk": magic_psk_output, + "magic_psk_metadata": magic_psk_metadata_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels/psk`, query: [ @@ -482,6 +775,48 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "type": "boolean" + }, + "modified_ipsec_tunnel": { + "$ref": "#/$defs/magic_ipsec-tunnel" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_allow_null_cipher": magic_allow_null_cipher_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_automatic_return_routing": magic_automatic_return_routing_output, + "magic_bgp_config": magic_bgp_config_output, + "magic_bgp_status_with_state": magic_bgp_status_with_state_output, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, + "magic_components-schemas-description": magic_components_schemas_description_output, + "magic_custom_remote_identities": magic_custom_remote_identities_output, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, + "magic_health_check_base_target": magic_health_check_base_target_output, + "magic_health_check_target": magic_health_check_target_output, + "magic_interface_address": magic_interface_address_output, + "magic_interface_address6": magic_interface_address6_output, + "magic_ipsec-tunnel": magic_ipsec_tunnel_output, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, + "magic_messages": magic_messages_output, + "magic_psk_metadata": magic_psk_metadata_output, + "magic_replay_protection": magic_replay_protection_output, + "magic_schemas-created_on": magic_schemas_created_on_output, + "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_tunnel_health_check": magic_tunnel_health_check_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels/${pathParam(args, "ipsec_tunnel_id")}`, headers: [ diff --git a/src/generated/forge-mcp/magicTransit/outputs.ts b/src/generated/forge-mcp/magicTransit/outputs.ts new file mode 100644 index 00000000..0dff210d --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/outputs.ts @@ -0,0 +1,294 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `dos_api-response-common` in responses. + */ +export const dos_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dos_messages" + }, + "messages": { + "$ref": "#/$defs/dos_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic_account_app_id` in responses. + */ +export const magic_account_app_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_api-response-common-failure` in responses. + */ +export const magic_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic_messages" + }, + "messages": { + "$ref": "#/$defs/magic_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic_automatic_return_routing` in responses. + */ +export const magic_automatic_return_routing_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `magic_bgp_config` in responses. + */ +export const magic_bgp_config_output: JsonSchema = { + "properties": { + "customer_asn": { + "type": "integer" + }, + "export_filter_id": { + "type": "string" + }, + "extra_prefixes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "import_filter_id": { + "type": "string" + }, + "md5_key": { + "type": "string" + } + }, + "required": [ + "customer_asn" + ], + "type": "object" +}; + +/** + * The schema of `magic_bgp_status_with_state` in responses. + */ +export const magic_bgp_status_with_state_output: JsonSchema = { + "properties": { + "bgp_state": { + "type": "string" + }, + "cf_speaker_ip": { + "type": "string" + }, + "cf_speaker_port": { + "type": "integer" + }, + "customer_speaker_ip": { + "type": "string" + }, + "customer_speaker_port": { + "type": "integer" + }, + "state": { + "enum": [ + "BGP_DOWN", + "BGP_UP", + "BGP_ESTABLISHING" + ], + "type": "string" + }, + "tcp_established": { + "type": "boolean" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "state", + "tcp_established", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `magic_cidr` in responses. + */ +export const magic_cidr_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_health_check_base_target` in responses. + */ +export const magic_health_check_base_target_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/magic_health_check_target" + }, + { + "type": "string" + } + ] +}; + +/** + * The schema of `magic_health_check_target` in responses. + */ +export const magic_health_check_target_output: JsonSchema = { + "properties": { + "effective": { + "type": "string" + }, + "saved": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_identifier` in responses. + */ +export const magic_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_interface_address` in responses. + */ +export const magic_interface_address_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_interface_address6` in responses. + */ +export const magic_interface_address6_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_managed_app_id` in responses. + */ +export const magic_managed_app_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_messages` in responses. + */ +export const magic_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `magic_schemas-created_on` in responses. + */ +export const magic_schemas_created_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `magic_schemas-identifier` in responses. + */ +export const magic_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_schemas-modified_on` in responses. + */ +export const magic_schemas_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `magic_tunnel_health_check` in responses. + */ +export const magic_tunnel_health_check_output: JsonSchema = { + "properties": { + "direction": { + "enum": [ + "unidirectional", + "bidirectional" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "rate": { + "enum": [ + "low", + "mid", + "high" + ], + "type": "string" + }, + "target": { + "$ref": "#/$defs/magic_health_check_base_target" + }, + "type": { + "enum": [ + "reply", + "request" + ], + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts b/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts index a605585f..34b3c319 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_visibility_pcaps_api_response_common_failure_output, + magic_visibility_pcaps_messages_output, +} from "../outputs.js"; /** * The tools of `magic_transit.pcaps.download`. @@ -49,6 +53,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + } + }, + $defs: { + "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, + "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pcaps/${pathParam(args, "pcap_id")}/download`, }), diff --git a/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts b/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts new file mode 100644 index 00000000..ea2a1e03 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts @@ -0,0 +1,299 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic-visibility-pcaps_api-response-common-failure` in + * responses. + */ +export const magic_visibility_pcaps_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/magic-visibility-pcaps_messages" + }, + "messages": { + "$ref": "#/$defs/magic-visibility-pcaps_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `magic-visibility-pcaps_messages` in responses. + */ +export const magic_visibility_pcaps_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_byte_limit` in responses. + */ +export const magic_visibility_pcaps_pcaps_byte_limit_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_colo_name` in responses. + */ +export const magic_visibility_pcaps_pcaps_colo_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_destination_conf` in responses. + */ +export const magic_visibility_pcaps_pcaps_destination_conf_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_error_message` in responses. + */ +export const magic_visibility_pcaps_pcaps_error_message_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_filter_v1` in responses. + */ +export const magic_visibility_pcaps_pcaps_filter_v1_output: JsonSchema = { + "properties": { + "destination_address": { + "type": "string" + }, + "destination_port": { + "type": "number" + }, + "protocol": { + "type": "number" + }, + "source_address": { + "type": "string" + }, + "source_port": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_id` in responses. + */ +export const magic_visibility_pcaps_pcaps_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_offset_time` in responses. + */ +export const magic_visibility_pcaps_pcaps_offset_time_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_packets_captured` in responses. + */ +export const magic_visibility_pcaps_pcaps_packets_captured_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_response_full` in responses. + */ +export const magic_visibility_pcaps_pcaps_response_full_output: JsonSchema = { + "properties": { + "byte_limit": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_byte_limit" + }, + "colo_name": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_colo_name" + }, + "destination_conf": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf" + }, + "error_message": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_error_message" + }, + "filter_v1": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_filter_v1" + }, + "id": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_id" + }, + "packets_captured": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_packets_captured" + }, + "status": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_status" + }, + "stop_requested": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_stop_requested" + }, + "submitted": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_submitted" + }, + "system": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_system" + }, + "time_limit": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_time_limit_full" + }, + "type": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_type" + } + }, + "type": "object" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_response_simple` in responses. + */ +export const magic_visibility_pcaps_pcaps_response_simple_output: JsonSchema = { + "properties": { + "filter_v1": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_filter_v1" + }, + "id": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_id" + }, + "offset_time": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_offset_time" + }, + "status": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_status" + }, + "submitted": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_submitted" + }, + "system": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_system" + }, + "time_limit": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_time_limit_sampled" + }, + "type": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_type" + } + }, + "type": "object" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_status` in responses. + */ +export const magic_visibility_pcaps_pcaps_status_output: JsonSchema = { + "enum": [ + "unknown", + "success", + "pending", + "running", + "conversion_pending", + "conversion_running", + "complete", + "failed" + ], + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_stop_requested` in responses. + */ +export const magic_visibility_pcaps_pcaps_stop_requested_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_submitted` in responses. + */ +export const magic_visibility_pcaps_pcaps_submitted_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_system` in responses. + */ +export const magic_visibility_pcaps_pcaps_system_output: JsonSchema = { + "enum": [ + "magic-transit" + ], + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_time_limit_full` in responses. + */ +export const magic_visibility_pcaps_pcaps_time_limit_full_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_time_limit_sampled` in responses. + */ +export const magic_visibility_pcaps_pcaps_time_limit_sampled_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_type` in responses. + */ +export const magic_visibility_pcaps_pcaps_type_output: JsonSchema = { + "enum": [ + "simple", + "full" + ], + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_result_info` in responses. + */ +export const magic_visibility_pcaps_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts b/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts new file mode 100644 index 00000000..74b18543 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts @@ -0,0 +1,51 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `magic-visibility-pcaps_pcaps_ownership_challenge` in + * responses. + */ +export const magic_visibility_pcaps_pcaps_ownership_challenge_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic-visibility-pcaps_pcaps_ownership_response` in responses. + */ +export const magic_visibility_pcaps_pcaps_ownership_response_output: JsonSchema = { + "properties": { + "destination_conf": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf" + }, + "filename": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_challenge" + }, + "id": { + "type": "string" + }, + "status": { + "enum": [ + "pending", + "success", + "failed" + ], + "type": "string" + }, + "submitted": { + "type": "string" + }, + "validated": { + "type": "string" + } + }, + "required": [ + "destination_conf", + "filename", + "id", + "status", + "submitted" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts b/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts index 60cddec4..36040251 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts @@ -2,7 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_visibility_pcaps_api_response_common_failure_output, + magic_visibility_pcaps_messages_output, + magic_visibility_pcaps_pcaps_destination_conf_output, + magic_visibility_pcaps_result_info_output, +} from "../outputs.js"; import { magic_visibility_pcaps_pcaps_destination_conf } from "../schemas.js"; +import { + magic_visibility_pcaps_pcaps_ownership_challenge_output, + magic_visibility_pcaps_pcaps_ownership_response_output, +} from "./outputs.js"; import { magic_visibility_pcaps_pcaps_ownership_challenge, magic_visibility_pcaps_pcaps_ownership_request, @@ -57,6 +67,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_response" + }, + "4XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + } + }, + $defs: { + "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, + "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge_output, + "magic-visibility-pcaps_pcaps_ownership_response": magic_visibility_pcaps_pcaps_ownership_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pcaps/ownership`, body: { value: args["body"], mediaType: "application/json" }, @@ -103,6 +133,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + } + }, + $defs: { + "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, + "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pcaps/ownership/${pathParam(args, "ownership_id")}`, }), @@ -144,6 +189,48 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_response" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/magic-visibility-pcaps_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + } + }, + $defs: { + "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, + "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge_output, + "magic-visibility-pcaps_pcaps_ownership_response": magic_visibility_pcaps_pcaps_ownership_response_output, + "magic-visibility-pcaps_result_info": magic_visibility_pcaps_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pcaps/ownership`, }), @@ -193,6 +280,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_response" + }, + "4XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + } + }, + $defs: { + "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, + "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge_output, + "magic-visibility-pcaps_pcaps_ownership_response": magic_visibility_pcaps_pcaps_ownership_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pcaps/ownership/validate`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/pcaps/tools.ts b/src/generated/forge-mcp/magicTransit/pcaps/tools.ts index b8b17d5e..411d7145 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/tools.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/tools.ts @@ -2,6 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_visibility_pcaps_api_response_common_failure_output, + magic_visibility_pcaps_messages_output, + magic_visibility_pcaps_pcaps_byte_limit_output, + magic_visibility_pcaps_pcaps_colo_name_output, + magic_visibility_pcaps_pcaps_destination_conf_output, + magic_visibility_pcaps_pcaps_error_message_output, + magic_visibility_pcaps_pcaps_filter_v1_output, + magic_visibility_pcaps_pcaps_id_output, + magic_visibility_pcaps_pcaps_offset_time_output, + magic_visibility_pcaps_pcaps_packets_captured_output, + magic_visibility_pcaps_pcaps_response_full_output, + magic_visibility_pcaps_pcaps_response_simple_output, + magic_visibility_pcaps_pcaps_status_output, + magic_visibility_pcaps_pcaps_stop_requested_output, + magic_visibility_pcaps_pcaps_submitted_output, + magic_visibility_pcaps_pcaps_system_output, + magic_visibility_pcaps_pcaps_time_limit_full_output, + magic_visibility_pcaps_pcaps_time_limit_sampled_output, + magic_visibility_pcaps_pcaps_type_output, + magic_visibility_pcaps_result_info_output, +} from "./outputs.js"; import { magic_visibility_pcaps_pcaps_byte_limit, magic_visibility_pcaps_pcaps_colo_name, @@ -77,6 +99,47 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_response_simple" + }, + { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_response_full" + } + ] + }, + "4XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + } + }, + $defs: { + "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, + "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit_output, + "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name_output, + "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, + "magic-visibility-pcaps_pcaps_error_message": magic_visibility_pcaps_pcaps_error_message_output, + "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1_output, + "magic-visibility-pcaps_pcaps_id": magic_visibility_pcaps_pcaps_id_output, + "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time_output, + "magic-visibility-pcaps_pcaps_packets_captured": magic_visibility_pcaps_pcaps_packets_captured_output, + "magic-visibility-pcaps_pcaps_response_full": magic_visibility_pcaps_pcaps_response_full_output, + "magic-visibility-pcaps_pcaps_response_simple": magic_visibility_pcaps_pcaps_response_simple_output, + "magic-visibility-pcaps_pcaps_status": magic_visibility_pcaps_pcaps_status_output, + "magic-visibility-pcaps_pcaps_stop_requested": magic_visibility_pcaps_pcaps_stop_requested_output, + "magic-visibility-pcaps_pcaps_submitted": magic_visibility_pcaps_pcaps_submitted_output, + "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system_output, + "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full_output, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled_output, + "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pcaps`, body: { value: args["body"], mediaType: "application/json" }, @@ -124,6 +187,47 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "anyOf": [ + { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_response_simple" + }, + { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_response_full" + } + ] + }, + "4XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + } + }, + $defs: { + "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, + "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit_output, + "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name_output, + "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, + "magic-visibility-pcaps_pcaps_error_message": magic_visibility_pcaps_pcaps_error_message_output, + "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1_output, + "magic-visibility-pcaps_pcaps_id": magic_visibility_pcaps_pcaps_id_output, + "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time_output, + "magic-visibility-pcaps_pcaps_packets_captured": magic_visibility_pcaps_pcaps_packets_captured_output, + "magic-visibility-pcaps_pcaps_response_full": magic_visibility_pcaps_pcaps_response_full_output, + "magic-visibility-pcaps_pcaps_response_simple": magic_visibility_pcaps_pcaps_response_simple_output, + "magic-visibility-pcaps_pcaps_status": magic_visibility_pcaps_pcaps_status_output, + "magic-visibility-pcaps_pcaps_stop_requested": magic_visibility_pcaps_pcaps_stop_requested_output, + "magic-visibility-pcaps_pcaps_submitted": magic_visibility_pcaps_pcaps_submitted_output, + "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system_output, + "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full_output, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled_output, + "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pcaps/${pathParam(args, "pcap_id")}`, }), @@ -165,6 +269,62 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_response_simple" + }, + { + "$ref": "#/$defs/magic-visibility-pcaps_pcaps_response_full" + } + ] + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/magic-visibility-pcaps_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + } + }, + $defs: { + "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, + "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit_output, + "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name_output, + "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, + "magic-visibility-pcaps_pcaps_error_message": magic_visibility_pcaps_pcaps_error_message_output, + "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1_output, + "magic-visibility-pcaps_pcaps_id": magic_visibility_pcaps_pcaps_id_output, + "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time_output, + "magic-visibility-pcaps_pcaps_packets_captured": magic_visibility_pcaps_pcaps_packets_captured_output, + "magic-visibility-pcaps_pcaps_response_full": magic_visibility_pcaps_pcaps_response_full_output, + "magic-visibility-pcaps_pcaps_response_simple": magic_visibility_pcaps_pcaps_response_simple_output, + "magic-visibility-pcaps_pcaps_status": magic_visibility_pcaps_pcaps_status_output, + "magic-visibility-pcaps_pcaps_stop_requested": magic_visibility_pcaps_pcaps_stop_requested_output, + "magic-visibility-pcaps_pcaps_submitted": magic_visibility_pcaps_pcaps_submitted_output, + "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system_output, + "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full_output, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled_output, + "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type_output, + "magic-visibility-pcaps_result_info": magic_visibility_pcaps_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pcaps`, }), @@ -210,6 +370,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/magic-visibility-pcaps_api-response-common-failure" + } + }, + $defs: { + "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, + "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pcaps/${pathParam(args, "pcap_id")}/stop`, }), diff --git a/src/generated/forge-mcp/magicTransit/redundancyGroups/outputs.ts b/src/generated/forge-mcp/magicTransit/redundancyGroups/outputs.ts new file mode 100644 index 00000000..5bc707c4 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/redundancyGroups/outputs.ts @@ -0,0 +1,86 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_redundancy_group` in responses. + */ +export const magic_redundancy_group_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_redundancy_group_with_members` in responses. + */ +export const magic_redundancy_group_with_members_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "member_data": { + "items": { + "$ref": "#/$defs/magic_redundancy_member_data" + }, + "type": "array" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_redundancy_member_data` in responses. + */ +export const magic_redundancy_member_data_output: JsonSchema = { + "properties": { + "data": { + "type": "object" + }, + "type": { + "enum": [ + "gre", + "ipsec", + "cni" + ], + "type": "string" + } + }, + "required": [ + "data", + "type" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts b/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts index 66ecae9a..0ce8c91f 100644 --- a/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts +++ b/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_messages_output, +} from "../outputs.js"; +import { + magic_redundancy_group_output, + magic_redundancy_group_with_members_output, + magic_redundancy_member_data_output, +} from "./outputs.js"; import { magic_create_redundancy_group_request, magic_redundancy_member_request, @@ -52,6 +61,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/magic_redundancy_group" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_redundancy_group": magic_redundancy_group_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/redundancy_groups`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +119,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "deleted": { + "type": "boolean" + }, + "deleted_redundancy_group": { + "$ref": "#/$defs/magic_redundancy_group" + } + }, + "required": [ + "deleted", + "deleted_redundancy_group" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_redundancy_group": magic_redundancy_group_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/redundancy_groups/${pathParam(args, "redundancy_group_id")}`, }), @@ -137,6 +188,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_redundancy_group_with_members" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_redundancy_group_with_members": magic_redundancy_group_with_members_output, + "magic_redundancy_member_data": magic_redundancy_member_data_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/redundancy_groups/${pathParam(args, "redundancy_group_id")}`, }), @@ -174,6 +241,30 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "redundancy_groups": { + "items": { + "$ref": "#/$defs/magic_redundancy_group_with_members" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_redundancy_group_with_members": magic_redundancy_group_with_members_output, + "magic_redundancy_member_data": magic_redundancy_member_data_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/redundancy_groups`, }), @@ -224,6 +315,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_redundancy_group" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_redundancy_group": magic_redundancy_group_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/redundancy_groups/${pathParam(args, "redundancy_group_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/routes/outputs.ts b/src/generated/forge-mcp/magicTransit/routes/outputs.ts new file mode 100644 index 00000000..31e34ed2 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/routes/outputs.ts @@ -0,0 +1,146 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_colo_name` in responses. + */ +export const magic_colo_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_colo_names` in responses. + */ +export const magic_colo_names_output: JsonSchema = { + "items": { + "$ref": "#/$defs/magic_colo_name" + }, + "type": "array" +}; + +/** + * The schema of `magic_colo_region` in responses. + */ +export const magic_colo_region_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_colo_regions` in responses. + */ +export const magic_colo_regions_output: JsonSchema = { + "items": { + "$ref": "#/$defs/magic_colo_region" + }, + "type": "array" +}; + +/** + * The schema of `magic_created_on` in responses. + */ +export const magic_created_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `magic_description` in responses. + */ +export const magic_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_modified_on` in responses. + */ +export const magic_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `magic_nexthop` in responses. + */ +export const magic_nexthop_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_prefix` in responses. + */ +export const magic_prefix_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_priority` in responses. + */ +export const magic_priority_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `magic_route` in responses. + */ +export const magic_route_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/magic_created_on" + }, + "description": { + "$ref": "#/$defs/magic_description" + }, + "id": { + "$ref": "#/$defs/magic_identifier" + }, + "modified_on": { + "$ref": "#/$defs/magic_modified_on" + }, + "nexthop": { + "$ref": "#/$defs/magic_nexthop" + }, + "prefix": { + "$ref": "#/$defs/magic_prefix" + }, + "priority": { + "$ref": "#/$defs/magic_priority" + }, + "scope": { + "$ref": "#/$defs/magic_scope" + }, + "weight": { + "$ref": "#/$defs/magic_weight" + } + }, + "required": [ + "id", + "nexthop", + "prefix", + "priority" + ], + "type": "object" +}; + +/** + * The schema of `magic_scope` in responses. + */ +export const magic_scope_output: JsonSchema = { + "properties": { + "colo_names": { + "$ref": "#/$defs/magic_colo_names" + }, + "colo_regions": { + "$ref": "#/$defs/magic_colo_regions" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_weight` in responses. + */ +export const magic_weight_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/magicTransit/routes/tools.ts b/src/generated/forge-mcp/magicTransit/routes/tools.ts index 6773fa55..7b4cde97 100644 --- a/src/generated/forge-mcp/magicTransit/routes/tools.ts +++ b/src/generated/forge-mcp/magicTransit/routes/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_identifier_output, + magic_messages_output, +} from "../outputs.js"; +import { + magic_colo_name_output, + magic_colo_names_output, + magic_colo_region_output, + magic_colo_regions_output, + magic_created_on_output, + magic_description_output, + magic_modified_on_output, + magic_nexthop_output, + magic_prefix_output, + magic_priority_output, + magic_route_output, + magic_scope_output, + magic_weight_output, +} from "./outputs.js"; import { magic_colo_name, magic_colo_names, @@ -91,6 +111,45 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "type": "boolean" + }, + "modified_routes": { + "items": { + "$ref": "#/$defs/magic_route" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_colo_name": magic_colo_name_output, + "magic_colo_names": magic_colo_names_output, + "magic_colo_region": magic_colo_region_output, + "magic_colo_regions": magic_colo_regions_output, + "magic_created_on": magic_created_on_output, + "magic_description": magic_description_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_modified_on": magic_modified_on_output, + "magic_nexthop": magic_nexthop_output, + "magic_prefix": magic_prefix_output, + "magic_priority": magic_priority_output, + "magic_route": magic_route_output, + "magic_scope": magic_scope_output, + "magic_weight": magic_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/routes`, body: { value: args["body"], mediaType: "application/json" }, @@ -160,6 +219,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_route" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_colo_name": magic_colo_name_output, + "magic_colo_names": magic_colo_names_output, + "magic_colo_region": magic_colo_region_output, + "magic_colo_regions": magic_colo_regions_output, + "magic_created_on": magic_created_on_output, + "magic_description": magic_description_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_modified_on": magic_modified_on_output, + "magic_nexthop": magic_nexthop_output, + "magic_prefix": magic_prefix_output, + "magic_priority": magic_priority_output, + "magic_route": magic_route_output, + "magic_scope": magic_scope_output, + "magic_weight": magic_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/routes`, body: { value: args["body"], mediaType: "application/json" }, @@ -217,6 +304,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "deleted": { + "type": "boolean" + }, + "deleted_route": { + "$ref": "#/$defs/magic_route" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_colo_name": magic_colo_name_output, + "magic_colo_names": magic_colo_names_output, + "magic_colo_region": magic_colo_region_output, + "magic_colo_regions": magic_colo_regions_output, + "magic_created_on": magic_created_on_output, + "magic_description": magic_description_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_modified_on": magic_modified_on_output, + "magic_nexthop": magic_nexthop_output, + "magic_prefix": magic_prefix_output, + "magic_priority": magic_priority_output, + "magic_route": magic_route_output, + "magic_scope": magic_scope_output, + "magic_weight": magic_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/routes/${pathParam(args, "route_id")}`, }), @@ -276,6 +399,45 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "deleted": { + "type": "boolean" + }, + "deleted_routes": { + "items": { + "$ref": "#/$defs/magic_route" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_colo_name": magic_colo_name_output, + "magic_colo_names": magic_colo_names_output, + "magic_colo_region": magic_colo_region_output, + "magic_colo_regions": magic_colo_regions_output, + "magic_created_on": magic_created_on_output, + "magic_description": magic_description_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_modified_on": magic_modified_on_output, + "magic_nexthop": magic_nexthop_output, + "magic_prefix": magic_prefix_output, + "magic_priority": magic_priority_output, + "magic_route": magic_route_output, + "magic_scope": magic_scope_output, + "magic_weight": magic_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/routes`, body: { value: args["body"], mediaType: "application/json" }, @@ -335,6 +497,39 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "route": { + "$ref": "#/$defs/magic_route" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_colo_name": magic_colo_name_output, + "magic_colo_names": magic_colo_names_output, + "magic_colo_region": magic_colo_region_output, + "magic_colo_regions": magic_colo_regions_output, + "magic_created_on": magic_created_on_output, + "magic_description": magic_description_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_modified_on": magic_modified_on_output, + "magic_nexthop": magic_nexthop_output, + "magic_prefix": magic_prefix_output, + "magic_priority": magic_priority_output, + "magic_route": magic_route_output, + "magic_scope": magic_scope_output, + "magic_weight": magic_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/routes/${pathParam(args, "route_id")}`, }), @@ -378,6 +573,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "routes": { + "items": { + "$ref": "#/$defs/magic_route" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_colo_name": magic_colo_name_output, + "magic_colo_names": magic_colo_names_output, + "magic_colo_region": magic_colo_region_output, + "magic_colo_regions": magic_colo_regions_output, + "magic_created_on": magic_created_on_output, + "magic_description": magic_description_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_modified_on": magic_modified_on_output, + "magic_nexthop": magic_nexthop_output, + "magic_prefix": magic_prefix_output, + "magic_priority": magic_priority_output, + "magic_route": magic_route_output, + "magic_scope": magic_scope_output, + "magic_weight": magic_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/routes`, }), @@ -451,6 +682,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "type": "boolean" + }, + "modified_route": { + "$ref": "#/$defs/magic_route" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_colo_name": magic_colo_name_output, + "magic_colo_names": magic_colo_names_output, + "magic_colo_region": magic_colo_region_output, + "magic_colo_regions": magic_colo_regions_output, + "magic_created_on": magic_created_on_output, + "magic_description": magic_description_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_modified_on": magic_modified_on_output, + "magic_nexthop": magic_nexthop_output, + "magic_prefix": magic_prefix_output, + "magic_priority": magic_priority_output, + "magic_route": magic_route_output, + "magic_scope": magic_scope_output, + "magic_weight": magic_weight_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/routes/${pathParam(args, "route_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts new file mode 100644 index 00000000..f94b16f2 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts @@ -0,0 +1,116 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `magic_acl` in responses. + */ +export const magic_acl_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "forward_locally": { + "$ref": "#/$defs/magic_forward_locally" + }, + "id": { + "$ref": "#/$defs/magic_identifier" + }, + "lan_1": { + "$ref": "#/$defs/magic_lan-acl-configuration" + }, + "lan_2": { + "$ref": "#/$defs/magic_lan-acl-configuration" + }, + "name": { + "type": "string" + }, + "protocols": { + "items": { + "enum": [ + "tcp", + "udp", + "icmp" + ], + "type": "string" + }, + "type": "array" + }, + "unidirectional": { + "$ref": "#/$defs/magic_unidirectional" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_acl-port-range` in responses. + */ +export const magic_acl_port_range_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_acl-subnet` in responses. + */ +export const magic_acl_subnet_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/magic_ip-address" + }, + { + "$ref": "#/$defs/magic_cidr" + } + ] +}; + +/** + * The schema of `magic_forward_locally` in responses. + */ +export const magic_forward_locally_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `magic_lan-acl-configuration` in responses. + */ +export const magic_lan_acl_configuration_output: JsonSchema = { + "properties": { + "lan_id": { + "type": "string" + }, + "lan_name": { + "type": "string" + }, + "port_ranges": { + "items": { + "$ref": "#/$defs/magic_acl-port-range" + }, + "type": "array" + }, + "ports": { + "items": { + "$ref": "#/$defs/magic_port" + }, + "type": "array" + }, + "subnets": { + "items": { + "$ref": "#/$defs/magic_acl-subnet" + }, + "type": "array" + } + }, + "required": [ + "lan_id" + ], + "type": "object" +}; + +/** + * The schema of `magic_unidirectional` in responses. + */ +export const magic_unidirectional_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts b/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts index c2c73ce3..1d8e3f25 100644 --- a/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts @@ -2,8 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_cidr_output, + magic_identifier_output, + magic_messages_output, +} from "../../outputs.js"; import { magic_cidr } from "../../schemas.js"; +import { magic_ip_address_output, magic_port_output } from "../outputs.js"; import { magic_ip_address, magic_port } from "../schemas.js"; +import { + magic_acl_output, + magic_acl_port_range_output, + magic_acl_subnet_output, + magic_forward_locally_output, + magic_lan_acl_configuration_output, + magic_unidirectional_output, +} from "./outputs.js"; import { magic_acl_port_range, magic_acl_subnet, @@ -75,6 +90,30 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_acl" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_acl": magic_acl_output, + "magic_acl-port-range": magic_acl_port_range_output, + "magic_acl-subnet": magic_acl_subnet_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_forward_locally": magic_forward_locally_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan-acl-configuration": magic_lan_acl_configuration_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_unidirectional": magic_unidirectional_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/acls`, body: { value: args["body"], mediaType: "application/json" }, @@ -137,6 +176,30 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_acl" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_acl": magic_acl_output, + "magic_acl-port-range": magic_acl_port_range_output, + "magic_acl-subnet": magic_acl_subnet_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_forward_locally": magic_forward_locally_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan-acl-configuration": magic_lan_acl_configuration_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_unidirectional": magic_unidirectional_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/acls/${pathParam(args, "acl_id")}`, }), @@ -213,6 +276,30 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_acl" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_acl": magic_acl_output, + "magic_acl-port-range": magic_acl_port_range_output, + "magic_acl-subnet": magic_acl_subnet_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_forward_locally": magic_forward_locally_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan-acl-configuration": magic_lan_acl_configuration_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_unidirectional": magic_unidirectional_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/acls/${pathParam(args, "acl_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -277,6 +364,30 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_acl" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_acl": magic_acl_output, + "magic_acl-port-range": magic_acl_port_range_output, + "magic_acl-subnet": magic_acl_subnet_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_forward_locally": magic_forward_locally_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan-acl-configuration": magic_lan_acl_configuration_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_unidirectional": magic_unidirectional_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/acls/${pathParam(args, "acl_id")}`, }), @@ -325,6 +436,44 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_acl" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_acl": magic_acl_output, + "magic_acl-port-range": magic_acl_port_range_output, + "magic_acl-subnet": magic_acl_subnet_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_forward_locally": magic_forward_locally_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan-acl-configuration": magic_lan_acl_configuration_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_unidirectional": magic_unidirectional_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/acls`, }), @@ -401,6 +550,30 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_acl" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_acl": magic_acl_output, + "magic_acl-port-range": magic_acl_port_range_output, + "magic_acl-subnet": magic_acl_subnet_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_forward_locally": magic_forward_locally_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan-acl-configuration": magic_lan_acl_configuration_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_unidirectional": magic_unidirectional_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/acls/${pathParam(args, "acl_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts new file mode 100644 index 00000000..9ae91b24 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts @@ -0,0 +1,86 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `magic_app_breakout` in responses. + */ +export const magic_app_breakout_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `magic_app_breakout_preferred_wans` in responses. + */ +export const magic_app_breakout_preferred_wans_output: JsonSchema = { + "items": { + "$ref": "#/$defs/magic_identifier" + }, + "type": "array" +}; + +/** + * The schema of `magic_app_config` in responses. + */ +export const magic_app_config_output: JsonSchema = { + "allOf": [ + { + "properties": { + "breakout": { + "$ref": "#/$defs/magic_app_breakout" + }, + "id": { + "$ref": "#/$defs/magic_identifier" + }, + "preferred_wans": { + "$ref": "#/$defs/magic_app_breakout_preferred_wans" + }, + "priority": { + "$ref": "#/$defs/magic_app_priority" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier" + } + }, + "required": [ + "id", + "site_id" + ], + "type": "object" + }, + { + "oneOf": [ + { + "properties": { + "account_app_id": { + "$ref": "#/$defs/magic_account_app_id" + } + }, + "required": [ + "account_app_id" + ], + "type": "object" + }, + { + "properties": { + "managed_app_id": { + "$ref": "#/$defs/magic_managed_app_id" + } + }, + "required": [ + "managed_app_id" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `magic_app_priority` in responses. + */ +export const magic_app_priority_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts index c2907d2b..017d7c4c 100644 --- a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts @@ -2,11 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_account_app_id_output, + magic_api_response_common_failure_output, + magic_identifier_output, + magic_managed_app_id_output, + magic_messages_output, +} from "../../outputs.js"; import { magic_account_app_id, magic_identifier, magic_managed_app_id, } from "../../schemas.js"; +import { + magic_app_breakout_output, + magic_app_breakout_preferred_wans_output, + magic_app_config_output, + magic_app_priority_output, +} from "./outputs.js"; import { magic_app_breakout, magic_app_breakout_preferred_wans, @@ -74,6 +87,27 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/magic_app_config" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_account_app_id": magic_account_app_id_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_app_breakout": magic_app_breakout_output, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, + "magic_app_config": magic_app_config_output, + "magic_app_priority": magic_app_priority_output, + "magic_identifier": magic_identifier_output, + "magic_managed_app_id": magic_managed_app_id_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/app_configs`, body: { value: args["body"], mediaType: "application/json" }, @@ -126,6 +160,27 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_app_config" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_account_app_id": magic_account_app_id_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_app_breakout": magic_app_breakout_output, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, + "magic_app_config": magic_app_config_output, + "magic_app_priority": magic_app_priority_output, + "magic_identifier": magic_identifier_output, + "magic_managed_app_id": magic_managed_app_id_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/app_configs/${pathParam(args, "app_config_id")}`, }), @@ -174,6 +229,41 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_app_config" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_account_app_id": magic_account_app_id_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_app_breakout": magic_app_breakout_output, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, + "magic_app_config": magic_app_config_output, + "magic_app_priority": magic_app_priority_output, + "magic_identifier": magic_identifier_output, + "magic_managed_app_id": magic_managed_app_id_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/app_configs`, }), @@ -238,6 +328,27 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_app_config" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_account_app_id": magic_account_app_id_output, + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_app_breakout": magic_app_breakout_output, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, + "magic_app_config": magic_app_config_output, + "magic_app_priority": magic_app_priority_output, + "magic_identifier": magic_identifier_output, + "magic_managed_app_id": magic_managed_app_id_output, + "magic_messages": magic_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/app_configs/${pathParam(args, "app_config_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts new file mode 100644 index 00000000..15c51ef9 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts @@ -0,0 +1,202 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `magic_bond_id` in responses. + */ +export const magic_bond_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `magic_dhcp_option` in responses. + */ +export const magic_dhcp_option_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "type": { + "enum": [ + "text", + "hex", + "ip", + "byte", + "short", + "integer" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "code", + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `magic_lan` in responses. + */ +export const magic_lan_output: JsonSchema = { + "properties": { + "bond_id": { + "$ref": "#/$defs/magic_bond_id" + }, + "ha_link": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/magic_identifier" + }, + "is_breakout": { + "type": "boolean" + }, + "is_prioritized": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "nat": { + "$ref": "#/$defs/magic_nat" + }, + "physport": { + "$ref": "#/$defs/magic_port" + }, + "routed_subnets": { + "items": { + "$ref": "#/$defs/magic_routed_subnet" + }, + "type": "array" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier" + }, + "static_addressing": { + "$ref": "#/$defs/magic_lan_static_addressing" + }, + "vlan_tag": { + "$ref": "#/$defs/magic_vlan_tag" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_lan_dhcp_relay` in responses. + */ +export const magic_lan_dhcp_relay_output: JsonSchema = { + "properties": { + "server_addresses": { + "items": { + "$ref": "#/$defs/magic_ip-address" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_lan_dhcp_server` in responses. + */ +export const magic_lan_dhcp_server_output: JsonSchema = { + "properties": { + "dhcp_options": { + "items": { + "$ref": "#/$defs/magic_dhcp_option" + }, + "type": "array" + }, + "dhcp_pool_end": { + "$ref": "#/$defs/magic_ip-address" + }, + "dhcp_pool_start": { + "$ref": "#/$defs/magic_ip-address" + }, + "dns_server": { + "$ref": "#/$defs/magic_ip-address" + }, + "dns_servers": { + "items": { + "$ref": "#/$defs/magic_ip-address" + }, + "type": "array" + }, + "reservations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_lan_static_addressing` in responses. + */ +export const magic_lan_static_addressing_output: JsonSchema = { + "properties": { + "address": { + "$ref": "#/$defs/magic_cidr" + }, + "dhcp_relay": { + "$ref": "#/$defs/magic_lan_dhcp_relay" + }, + "dhcp_server": { + "$ref": "#/$defs/magic_lan_dhcp_server" + }, + "secondary_address": { + "$ref": "#/$defs/magic_cidr" + }, + "virtual_address": { + "$ref": "#/$defs/magic_cidr" + } + }, + "required": [ + "address" + ], + "type": "object" +}; + +/** + * The schema of `magic_nat` in responses. + */ +export const magic_nat_output: JsonSchema = { + "properties": { + "static_prefix": { + "$ref": "#/$defs/magic_cidr" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_routed_subnet` in responses. + */ +export const magic_routed_subnet_output: JsonSchema = { + "properties": { + "nat": { + "$ref": "#/$defs/magic_nat" + }, + "next_hop": { + "$ref": "#/$defs/magic_ip-address" + }, + "prefix": { + "$ref": "#/$defs/magic_cidr" + } + }, + "required": [ + "next_hop", + "prefix" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts b/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts index 4e416b41..9572c184 100644 --- a/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts @@ -2,8 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_cidr_output, + magic_identifier_output, + magic_messages_output, +} from "../../outputs.js"; import { magic_cidr } from "../../schemas.js"; +import { + magic_ip_address_output, + magic_port_output, + magic_vlan_tag_output, +} from "../outputs.js"; import { magic_ip_address, magic_port, magic_vlan_tag } from "../schemas.js"; +import { + magic_bond_id_output, + magic_dhcp_option_output, + magic_lan_dhcp_relay_output, + magic_lan_dhcp_server_output, + magic_lan_output, + magic_lan_static_addressing_output, + magic_nat_output, + magic_routed_subnet_output, +} from "./outputs.js"; import { magic_bond_id, magic_dhcp_option, @@ -80,6 +101,47 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_lan" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bond_id": magic_bond_id_output, + "magic_cidr": magic_cidr_output, + "magic_dhcp_option": magic_dhcp_option_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan": magic_lan_output, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, + "magic_lan_dhcp_server": magic_lan_dhcp_server_output, + "magic_lan_static_addressing": magic_lan_static_addressing_output, + "magic_messages": magic_messages_output, + "magic_nat": magic_nat_output, + "magic_port": magic_port_output, + "magic_routed_subnet": magic_routed_subnet_output, + "magic_vlan_tag": magic_vlan_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/lans`, body: { value: args["body"], mediaType: "application/json" }, @@ -142,6 +204,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_lan" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bond_id": magic_bond_id_output, + "magic_cidr": magic_cidr_output, + "magic_dhcp_option": magic_dhcp_option_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan": magic_lan_output, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, + "magic_lan_dhcp_server": magic_lan_dhcp_server_output, + "magic_lan_static_addressing": magic_lan_static_addressing_output, + "magic_messages": magic_messages_output, + "magic_nat": magic_nat_output, + "magic_port": magic_port_output, + "magic_routed_subnet": magic_routed_subnet_output, + "magic_vlan_tag": magic_vlan_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/lans/${pathParam(args, "lan_id")}`, }), @@ -221,6 +310,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_lan" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bond_id": magic_bond_id_output, + "magic_cidr": magic_cidr_output, + "magic_dhcp_option": magic_dhcp_option_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan": magic_lan_output, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, + "magic_lan_dhcp_server": magic_lan_dhcp_server_output, + "magic_lan_static_addressing": magic_lan_static_addressing_output, + "magic_messages": magic_messages_output, + "magic_nat": magic_nat_output, + "magic_port": magic_port_output, + "magic_routed_subnet": magic_routed_subnet_output, + "magic_vlan_tag": magic_vlan_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/lans/${pathParam(args, "lan_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -285,6 +401,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_lan" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bond_id": magic_bond_id_output, + "magic_cidr": magic_cidr_output, + "magic_dhcp_option": magic_dhcp_option_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan": magic_lan_output, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, + "magic_lan_dhcp_server": magic_lan_dhcp_server_output, + "magic_lan_static_addressing": magic_lan_static_addressing_output, + "magic_messages": magic_messages_output, + "magic_nat": magic_nat_output, + "magic_port": magic_port_output, + "magic_routed_subnet": magic_routed_subnet_output, + "magic_vlan_tag": magic_vlan_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/lans/${pathParam(args, "lan_id")}`, }), @@ -333,6 +476,47 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_lan" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bond_id": magic_bond_id_output, + "magic_cidr": magic_cidr_output, + "magic_dhcp_option": magic_dhcp_option_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan": magic_lan_output, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, + "magic_lan_dhcp_server": magic_lan_dhcp_server_output, + "magic_lan_static_addressing": magic_lan_static_addressing_output, + "magic_messages": magic_messages_output, + "magic_nat": magic_nat_output, + "magic_port": magic_port_output, + "magic_routed_subnet": magic_routed_subnet_output, + "magic_vlan_tag": magic_vlan_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/lans`, }), @@ -412,6 +596,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_lan" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_bond_id": magic_bond_id_output, + "magic_cidr": magic_cidr_output, + "magic_dhcp_option": magic_dhcp_option_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_lan": magic_lan_output, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, + "magic_lan_dhcp_server": magic_lan_dhcp_server_output, + "magic_lan_static_addressing": magic_lan_static_addressing_output, + "magic_messages": magic_messages_output, + "magic_nat": magic_nat_output, + "magic_port": magic_port_output, + "magic_routed_subnet": magic_routed_subnet_output, + "magic_vlan_tag": magic_vlan_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/lans/${pathParam(args, "lan_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/sites/netflowConfig/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/outputs.ts new file mode 100644 index 00000000..3ce7bd2b --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/outputs.ts @@ -0,0 +1,31 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `magic_netflow_config` in responses. + */ +export const magic_netflow_config_output: JsonSchema = { + "properties": { + "active_timeout": { + "type": "integer" + }, + "collector_ip": { + "type": "string" + }, + "collector_port": { + "type": "integer" + }, + "inactive_timeout": { + "type": "integer" + }, + "sampling_rate": { + "type": "integer" + } + }, + "required": [ + "collector_ip" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts index 66a6ad89..d1e30857 100644 --- a/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_messages_output, +} from "../../outputs.js"; +import { magic_netflow_config_output } from "./outputs.js"; import { magic_netflow_config_request } from "./schemas.js"; /** @@ -53,6 +58,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/magic_netflow_config" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_netflow_config": magic_netflow_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/netflow_config`, body: { value: args["body"], mediaType: "application/json" }, @@ -100,6 +120,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_netflow_config" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_netflow_config": magic_netflow_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/netflow_config`, }), @@ -153,6 +188,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_netflow_config" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_netflow_config": magic_netflow_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/netflow_config`, body: { value: args["body"], mediaType: "application/json" }, @@ -202,6 +252,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_netflow_config" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_netflow_config": magic_netflow_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/netflow_config`, }), @@ -255,6 +320,21 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_netflow_config" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_messages": magic_messages_output, + "magic_netflow_config": magic_netflow_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/netflow_config`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/sites/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/outputs.ts new file mode 100644 index 00000000..1b20e133 --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/sites/outputs.ts @@ -0,0 +1,91 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `magic_connector-id` in responses. + */ +export const magic_connector_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_ip-address` in responses. + */ +export const magic_ip_address_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_port` in responses. + */ +export const magic_port_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `magic_secondary-connector-id` in responses. + */ +export const magic_secondary_connector_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_site` in responses. + */ +export const magic_site_output: JsonSchema = { + "properties": { + "connector_id": { + "$ref": "#/$defs/magic_connector-id" + }, + "description": { + "type": "string" + }, + "ha_mode": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/magic_identifier" + }, + "location": { + "$ref": "#/$defs/magic_site-location" + }, + "name": { + "$ref": "#/$defs/magic_site-name" + }, + "secondary_connector_id": { + "$ref": "#/$defs/magic_secondary-connector-id" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_site-location` in responses. + */ +export const magic_site_location_output: JsonSchema = { + "properties": { + "lat": { + "type": "string" + }, + "lon": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_site-name` in responses. + */ +export const magic_site_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `magic_vlan_tag` in responses. + */ +export const magic_vlan_tag_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/magicTransit/sites/tools.ts b/src/generated/forge-mcp/magicTransit/sites/tools.ts index 7bf056a4..39c53d01 100644 --- a/src/generated/forge-mcp/magicTransit/sites/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/tools.ts @@ -2,7 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_identifier_output, + magic_messages_output, +} from "../outputs.js"; import { magic_identifier } from "../schemas.js"; +import { + magic_connector_id_output, + magic_secondary_connector_id_output, + magic_site_location_output, + magic_site_name_output, + magic_site_output, +} from "./outputs.js"; import { magic_connector_id, magic_secondary_connector_id, @@ -64,6 +76,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_site" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_connector-id": magic_connector_id_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_secondary-connector-id": magic_secondary_connector_id_output, + "magic_site": magic_site_output, + "magic_site-location": magic_site_location_output, + "magic_site-name": magic_site_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites`, body: { value: args["body"], mediaType: "application/json" }, @@ -121,6 +153,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_site" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_connector-id": magic_connector_id_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_secondary-connector-id": magic_secondary_connector_id_output, + "magic_site": magic_site_output, + "magic_site-location": magic_site_location_output, + "magic_site-name": magic_site_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}`, }), @@ -188,6 +240,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_site" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_connector-id": magic_connector_id_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_secondary-connector-id": magic_secondary_connector_id_output, + "magic_site": magic_site_output, + "magic_site-location": magic_site_location_output, + "magic_site-name": magic_site_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -251,6 +323,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_site" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_connector-id": magic_connector_id_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_secondary-connector-id": magic_secondary_connector_id_output, + "magic_site": magic_site_output, + "magic_site-location": magic_site_location_output, + "magic_site-name": magic_site_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}`, headers: [ @@ -304,6 +396,40 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_site" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_connector-id": magic_connector_id_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_secondary-connector-id": magic_secondary_connector_id_output, + "magic_site": magic_site_output, + "magic_site-location": magic_site_location_output, + "magic_site-name": magic_site_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites`, query: [ @@ -374,6 +500,26 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_site" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_connector-id": magic_connector_id_output, + "magic_identifier": magic_identifier_output, + "magic_messages": magic_messages_output, + "magic_secondary-connector-id": magic_secondary_connector_id_output, + "magic_site": magic_site_output, + "magic_site-location": magic_site_location_output, + "magic_site-name": magic_site_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts new file mode 100644 index 00000000..ed54b42c --- /dev/null +++ b/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts @@ -0,0 +1,76 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `magic_wan` in responses. + */ +export const magic_wan_output: JsonSchema = { + "properties": { + "health_check_rate": { + "enum": [ + "low", + "mid", + "high" + ], + "type": "string" + }, + "id": { + "$ref": "#/$defs/magic_identifier" + }, + "load_balance_inner_flows": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "physport": { + "$ref": "#/$defs/magic_port" + }, + "priority": { + "type": "integer" + }, + "provisioned_download_kbps": { + "type": "integer" + }, + "provisioned_upload_kbps": { + "type": "integer" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier" + }, + "static_addressing": { + "$ref": "#/$defs/magic_wan_static_addressing" + }, + "vlan_tag": { + "$ref": "#/$defs/magic_vlan_tag" + } + }, + "type": "object" +}; + +/** + * The schema of `magic_wan_static_addressing` in responses. + */ +export const magic_wan_static_addressing_output: JsonSchema = { + "properties": { + "address": { + "$ref": "#/$defs/magic_cidr" + }, + "gateway_address": { + "$ref": "#/$defs/magic_ip-address" + }, + "secondary_address": { + "$ref": "#/$defs/magic_cidr" + }, + "secondary_gateway_address": { + "type": "string" + } + }, + "required": [ + "address", + "gateway_address" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts b/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts index 0c5a58c4..cc661e45 100644 --- a/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts @@ -2,8 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + magic_api_response_common_failure_output, + magic_cidr_output, + magic_identifier_output, + magic_messages_output, +} from "../../outputs.js"; import { magic_cidr } from "../../schemas.js"; +import { + magic_ip_address_output, + magic_port_output, + magic_vlan_tag_output, +} from "../outputs.js"; import { magic_ip_address, magic_port, magic_vlan_tag } from "../schemas.js"; +import { + magic_wan_output, + magic_wan_static_addressing_output, +} from "./outputs.js"; import { magic_wan_static_addressing_create_request, magic_wan_static_addressing_update, @@ -69,6 +84,41 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_wan" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_vlan_tag": magic_vlan_tag_output, + "magic_wan": magic_wan_output, + "magic_wan_static_addressing": magic_wan_static_addressing_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/wans`, body: { value: args["body"], mediaType: "application/json" }, @@ -131,6 +181,27 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_wan" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_vlan_tag": magic_vlan_tag_output, + "magic_wan": magic_wan_output, + "magic_wan_static_addressing": magic_wan_static_addressing_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/wans/${pathParam(args, "wan_id")}`, }), @@ -204,6 +275,27 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_wan" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_vlan_tag": magic_vlan_tag_output, + "magic_wan": magic_wan_output, + "magic_wan_static_addressing": magic_wan_static_addressing_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/wans/${pathParam(args, "wan_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -268,6 +360,27 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_wan" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_vlan_tag": magic_vlan_tag_output, + "magic_wan": magic_wan_output, + "magic_wan_static_addressing": magic_wan_static_addressing_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/wans/${pathParam(args, "wan_id")}`, }), @@ -316,6 +429,41 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/magic_wan" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_vlan_tag": magic_vlan_tag_output, + "magic_wan": magic_wan_output, + "magic_wan_static_addressing": magic_wan_static_addressing_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/wans`, }), @@ -389,6 +537,27 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/magic_wan" + }, + "4XX": { + "$ref": "#/$defs/magic_api-response-common-failure" + } + }, + $defs: { + "magic_api-response-common-failure": magic_api_response_common_failure_output, + "magic_cidr": magic_cidr_output, + "magic_identifier": magic_identifier_output, + "magic_ip-address": magic_ip_address_output, + "magic_messages": magic_messages_output, + "magic_port": magic_port_output, + "magic_vlan_tag": magic_vlan_tag_output, + "magic_wan": magic_wan_output, + "magic_wan_static_addressing": magic_wan_static_addressing_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}/wans/${pathParam(args, "wan_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/outputs.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/outputs.ts new file mode 100644 index 00000000..0f1f9ddb --- /dev/null +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/outputs.ts @@ -0,0 +1,1260 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_CuratedReportPublication` in + * responses. + */ +export const managed_defense_vulnerability_discovery_CuratedReportPublication_output: JsonSchema = { + "properties": { + "published_at": { + "format": "date-time", + "type": "string" + }, + "revision_id": { + "format": "uuid", + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "published_at", + "revision_id", + "version" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_FailureResponse` in + * responses. + */ +export const managed_defense_vulnerability_discovery_FailureResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_Message" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_Message" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_Message` in responses. + */ +export const managed_defense_vulnerability_discovery_Message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportErrorPath` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportErrorPath_output: JsonSchema = { + "properties": { + "hits": { + "type": "number" + }, + "host": { + "type": "string" + }, + "id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "hits", + "host", + "id", + "path", + "status" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportExternalLink` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportExternalLink_output: JsonSchema = { + "properties": { + "title": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "title", + "url" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportFinding` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportFinding_output: JsonSchema = { + "properties": { + "attacker_position": { + "oneOf": [ + { + "enum": [ + "external", + "authenticated", + "internal", + "post_compromise" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "conditions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "cwe": { + "type": "string" + }, + "external_links": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportExternalLink" + }, + "maxItems": 50, + "type": "array" + }, + "id": { + "type": "string" + }, + "impact": { + "type": "string" + }, + "impact_ids": { + "items": { + "type": "string" + }, + "maxItems": 32, + "type": "array" + }, + "location": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportFinding_location" + }, + "open_question": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "proof_method": { + "oneOf": [ + { + "enum": [ + "structural", + "experimental", + "acquired_source", + "public_knowledge", + "team_question" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "proof_state": { + "oneOf": [ + { + "enum": [ + "closed", + "pending_source", + "pending_public", + "pending_experiment", + "pending_team" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reachability": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportReachability" + }, + "type": "array" + }, + "remediation": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportFinding_remediation" + }, + "root_cause": { + "type": "string" + }, + "severity": { + "enum": [ + "critical", + "high", + "medium", + "low", + "info" + ], + "type": "string" + }, + "severity_basis": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "telemetry": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportFinding_telemetry" + }, + "threat_ids": { + "items": { + "type": "string" + }, + "maxItems": 32, + "type": "array" + }, + "title": { + "type": "string" + }, + "trace": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportTraceStep" + }, + "type": "array" + }, + "waf_rules": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportWafRules" + } + }, + "required": [ + "conditions", + "cwe", + "id", + "impact", + "location", + "reachability", + "remediation", + "root_cause", + "severity", + "severity_basis", + "summary", + "telemetry", + "title", + "trace", + "waf_rules" + ], + "type": "object" +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ReportFinding_location` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportFinding_location_output: JsonSchema = { + "properties": { + "file": { + "type": "string" + }, + "line": { + "type": "integer" + }, + "route": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "file", + "line", + "route" + ], + "type": "object" +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ReportFinding_remediation` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportFinding_remediation_output: JsonSchema = { + "properties": { + "code_changes": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "strategy": { + "type": "string" + } + }, + "required": [ + "code_changes", + "strategy" + ], + "type": "object" +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ReportFinding_telemetry` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportFinding_telemetry_output: JsonSchema = { + "properties": { + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "enum": [ + "no_route", + "no_telemetry", + "no_match", + "matched" + ], + "type": "string" + } + }, + "required": [ + "references", + "state" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportHotPath` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportHotPath_output: JsonSchema = { + "properties": { + "hits": { + "type": "number" + }, + "host": { + "type": "string" + }, + "id": { + "type": "string" + }, + "path": { + "type": "string" + }, + "top_status": { + "type": "integer" + } + }, + "required": [ + "hits", + "host", + "id", + "path", + "top_status" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportObservedPath` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportObservedPath_output: JsonSchema = { + "properties": { + "hit_volume": { + "type": "number" + }, + "host": { + "type": "string" + }, + "id": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "hit_volume", + "host", + "id", + "path" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportObservedWafRule` + * in responses. + */ +export const managed_defense_vulnerability_discovery_ReportObservedWafRule_output: JsonSchema = { + "properties": { + "hit_volume": { + "type": "number" + }, + "id": { + "type": "string" + }, + "paths": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportObservedPath" + }, + "type": "array" + }, + "rule_id": { + "type": "string" + }, + "rule_version": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "hit_volume", + "id", + "paths", + "rule_id", + "rule_version" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportReachability` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportReachability_output: JsonSchema = { + "properties": { + "consumer": { + "type": "string" + }, + "reachable": { + "type": "boolean" + }, + "via": { + "type": "string" + } + }, + "required": [ + "consumer", + "reachable", + "via" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportTelemetryTarget` + * in responses. + */ +export const managed_defense_vulnerability_discovery_ReportTelemetryTarget_output: JsonSchema = { + "properties": { + "hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "enum": [ + "worker", + "origin" + ], + "type": "string" + }, + "telemetry_window": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_TelemetryWindow" + } + }, + "required": [ + "hosts", + "kind" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportTraceStep` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportTraceStep_output: JsonSchema = { + "properties": { + "line": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "why": { + "type": "string" + } + }, + "required": [ + "line", + "path", + "scope", + "why" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportTrafficContext` + * in responses. + */ +export const managed_defense_vulnerability_discovery_ReportTrafficContext_output: JsonSchema = { + "properties": { + "http": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportTrafficContext_http" + }, + "target": { + "oneOf": [ + { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportTelemetryTarget" + }, + { + "type": "null" + } + ] + }, + "waf": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportTrafficContext_waf" + }, + "web_assets": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportTrafficContext_web_assets" + } + }, + "required": [ + "http", + "target", + "waf", + "web_assets" + ], + "type": "object" +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ReportTrafficContext_http` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportTrafficContext_http_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "error_paths": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportErrorPath" + }, + "type": "array" + }, + "hot_paths": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportHotPath" + }, + "type": "array" + }, + "request_volume": { + "type": "number" + } + }, + "required": [ + "error_paths", + "hot_paths", + "request_volume" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ReportTrafficContext_waf` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportTrafficContext_waf_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "hit_volume": { + "type": "number" + }, + "rules": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportObservedWafRule" + }, + "type": "array" + } + }, + "required": [ + "hit_volume", + "rules" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ReportTrafficContext_web_assets` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "operations": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportWebAssetsOperation" + }, + "type": "array" + }, + "paths": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportWebAssetsPath" + }, + "type": "array" + }, + "risk_types": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportTrafficContext_web_assets_risk_typesItem" + }, + "type": "array" + } + }, + "required": [ + "operations", + "paths", + "risk_types" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ReportTrafficContext_web_assets_risk_typesItem` + * in responses. + */ +export const managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_risk_typesItem_output: JsonSchema = { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "operation_count": { + "type": "integer" + } + }, + "required": [ + "description", + "name", + "operation_count" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportWafRule` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportWafRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "block", + "managed_challenge", + "js_challenge", + "log" + ], + "type": "string" + }, + "confidence": { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "expression": { + "type": "string" + }, + "false_positive_risk": { + "type": "string" + }, + "name": { + "type": "string" + }, + "rationale": { + "type": "string" + } + }, + "required": [ + "action", + "confidence", + "description", + "expression", + "false_positive_risk", + "name", + "rationale" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportWafRules` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportWafRules_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "broad": { + "oneOf": [ + { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportWafRule" + }, + { + "type": "null" + } + ] + }, + "targeted": { + "oneOf": [ + { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportWafRule" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "broad", + "targeted" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ReportWebAssetsOperation` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output: JsonSchema = { + "properties": { + "endpoint": { + "type": "string" + }, + "host": { + "type": "string" + }, + "id": { + "type": "string" + }, + "method": { + "type": "string" + }, + "performance": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportWebAssetsPerformance" + }, + "risk_labels": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportWebAssetsRisk" + }, + "type": "array" + } + }, + "required": [ + "endpoint", + "host", + "id", + "method", + "risk_labels" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportWebAssetsPath` + * in responses. + */ +export const managed_defense_vulnerability_discovery_ReportWebAssetsPath_output: JsonSchema = { + "properties": { + "avg_origin_latency_ms": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "error_rate": { + "type": "number" + }, + "estimated_requests": { + "type": "number" + }, + "host": { + "type": "string" + }, + "id": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "avg_origin_latency_ms", + "error_rate", + "estimated_requests", + "host", + "id", + "path" + ], + "type": "object" +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ReportWebAssetsPerformance` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output: JsonSchema = { + "properties": { + "avg_origin_latency_ms": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "error_rate": { + "type": "number" + }, + "estimated_requests": { + "type": "number" + } + }, + "required": [ + "avg_origin_latency_ms", + "error_rate", + "estimated_requests" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportWebAssetsRisk` + * in responses. + */ +export const managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output: JsonSchema = { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "description", + "name" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_RepositoryReport` in + * responses. + */ +export const managed_defense_vulnerability_discovery_RepositoryReport_output: JsonSchema = { + "properties": { + "external_links": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportExternalLink" + }, + "maxItems": 50, + "type": "array" + }, + "findings": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportFinding" + }, + "maxItems": 500, + "type": "array" + }, + "limitations": { + "items": { + "type": "string" + }, + "maxItems": 50, + "type": "array" + }, + "overall_severity": { + "enum": [ + "critical", + "high", + "medium", + "low", + "info" + ], + "type": "string" + }, + "repository_id": { + "format": "uuid", + "type": "string" + }, + "repository_name": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "traffic_context": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportTrafficContext" + } + }, + "required": [ + "findings", + "overall_severity", + "repository_id", + "repository_name", + "summary", + "traffic_context" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ResultInfo` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ResultInfo_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_Scan` in responses. + */ +export const managed_defense_vulnerability_discovery_Scan_output: JsonSchema = { + "properties": { + "completed_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "phase": { + "oneOf": [ + { + "enum": [ + "provisioning", + "indexing", + "analyzing", + "reporting", + "finalizing" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "repositories": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ScanRepository" + }, + "type": "array" + }, + "started_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "requested", + "accepted", + "running", + "completed", + "failed", + "rejected", + "cancelled" + ], + "type": "string" + }, + "submitted_at": { + "format": "date-time", + "type": "string" + }, + "telemetry_window": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_TelemetryWindow" + } + }, + "required": [ + "completed_at", + "id", + "message", + "phase", + "repositories", + "started_at", + "status", + "submitted_at" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ScanRepository` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ScanRepository_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "phase": { + "oneOf": [ + { + "enum": [ + "provisioning", + "indexing", + "analyzing", + "reporting", + "finalizing" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "report_status": { + "enum": [ + "not_ready", + "pending_review", + "published", + "withdrawn" + ], + "type": "string" + }, + "status": { + "enum": [ + "requested", + "accepted", + "running", + "completed", + "failed", + "rejected", + "cancelled" + ], + "type": "string" + } + }, + "required": [ + "id", + "name", + "phase", + "report_status", + "status" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_TelemetryWindow` in + * responses. + */ +export const managed_defense_vulnerability_discovery_TelemetryWindow_output: JsonSchema = { + "properties": { + "end": { + "format": "date-time", + "type": "string" + }, + "start": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "end", + "start" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/outputs.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/outputs.ts new file mode 100644 index 00000000..b2d822b9 --- /dev/null +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/outputs.ts @@ -0,0 +1,33 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `managed-defense-vulnerability-discovery_CuratedReportResult` + * in responses. + */ +export const managed_defense_vulnerability_discovery_CuratedReportResult_output: JsonSchema = { + "properties": { + "publication": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_CuratedReportPublication" + }, + "report": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_RepositoryReport" + }, + "repository_id": { + "format": "uuid", + "type": "string" + }, + "scan_id": { + "type": "string" + } + }, + "required": [ + "publication", + "report", + "repository_id", + "scan_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts index be7fc1cd..6c17c877 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts @@ -2,6 +2,37 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + managed_defense_vulnerability_discovery_CuratedReportPublication_output, + managed_defense_vulnerability_discovery_FailureResponse_output, + managed_defense_vulnerability_discovery_Message_output, + managed_defense_vulnerability_discovery_ReportErrorPath_output, + managed_defense_vulnerability_discovery_ReportExternalLink_output, + managed_defense_vulnerability_discovery_ReportFinding_location_output, + managed_defense_vulnerability_discovery_ReportFinding_output, + managed_defense_vulnerability_discovery_ReportFinding_remediation_output, + managed_defense_vulnerability_discovery_ReportFinding_telemetry_output, + managed_defense_vulnerability_discovery_ReportHotPath_output, + managed_defense_vulnerability_discovery_ReportObservedPath_output, + managed_defense_vulnerability_discovery_ReportObservedWafRule_output, + managed_defense_vulnerability_discovery_ReportReachability_output, + managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, + managed_defense_vulnerability_discovery_ReportTraceStep_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_http_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_waf_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_risk_typesItem_output, + managed_defense_vulnerability_discovery_ReportWafRule_output, + managed_defense_vulnerability_discovery_ReportWafRules_output, + managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, + managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, + managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, + managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, + managed_defense_vulnerability_discovery_RepositoryReport_output, + managed_defense_vulnerability_discovery_TelemetryWindow_output, +} from "../outputs.js"; +import { managed_defense_vulnerability_discovery_CuratedReportResult_output } from "./outputs.js"; /** * The tools of `managed_defense.vulnerability_discovery.reports`. @@ -41,6 +72,57 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/managed-defense/vulnerability-discovery/repos/{repo_id}/scans/{scan_id}/report", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_CuratedReportResult" + }, + "404": null, + "409": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "410": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "4XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "5XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + } + }, + $defs: { + "managed-defense-vulnerability-discovery_CuratedReportPublication": managed_defense_vulnerability_discovery_CuratedReportPublication_output, + "managed-defense-vulnerability-discovery_CuratedReportResult": managed_defense_vulnerability_discovery_CuratedReportResult_output, + "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, + "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, + "managed-defense-vulnerability-discovery_ReportErrorPath": managed_defense_vulnerability_discovery_ReportErrorPath_output, + "managed-defense-vulnerability-discovery_ReportExternalLink": managed_defense_vulnerability_discovery_ReportExternalLink_output, + "managed-defense-vulnerability-discovery_ReportFinding": managed_defense_vulnerability_discovery_ReportFinding_output, + "managed-defense-vulnerability-discovery_ReportFinding_location": managed_defense_vulnerability_discovery_ReportFinding_location_output, + "managed-defense-vulnerability-discovery_ReportFinding_remediation": managed_defense_vulnerability_discovery_ReportFinding_remediation_output, + "managed-defense-vulnerability-discovery_ReportFinding_telemetry": managed_defense_vulnerability_discovery_ReportFinding_telemetry_output, + "managed-defense-vulnerability-discovery_ReportHotPath": managed_defense_vulnerability_discovery_ReportHotPath_output, + "managed-defense-vulnerability-discovery_ReportObservedPath": managed_defense_vulnerability_discovery_ReportObservedPath_output, + "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed_defense_vulnerability_discovery_ReportObservedWafRule_output, + "managed-defense-vulnerability-discovery_ReportReachability": managed_defense_vulnerability_discovery_ReportReachability_output, + "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, + "managed-defense-vulnerability-discovery_ReportTraceStep": managed_defense_vulnerability_discovery_ReportTraceStep_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext": managed_defense_vulnerability_discovery_ReportTrafficContext_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext_http": managed_defense_vulnerability_discovery_ReportTrafficContext_http_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext_waf": managed_defense_vulnerability_discovery_ReportTrafficContext_waf_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext_web_assets": managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext_web_assets_risk_typesItem": managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_risk_typesItem_output, + "managed-defense-vulnerability-discovery_ReportWafRule": managed_defense_vulnerability_discovery_ReportWafRule_output, + "managed-defense-vulnerability-discovery_ReportWafRules": managed_defense_vulnerability_discovery_ReportWafRules_output, + "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, + "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, + "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, + "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, + "managed-defense-vulnerability-discovery_RepositoryReport": managed_defense_vulnerability_discovery_RepositoryReport_output, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/repos/${pathParam(args, "repo_id")}/scans/${pathParam(args, "scan_id")}/report`, }), diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/outputs.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/outputs.ts new file mode 100644 index 00000000..20f2ed52 --- /dev/null +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/outputs.ts @@ -0,0 +1,234 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_CreateRepositoryResult` in + * responses. + */ +export const managed_defense_vulnerability_discovery_CreateRepositoryResult_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "repository": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreatedRepository" + }, + "upload": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_UploadCredentials" + } + }, + "required": [ + "repository", + "upload" + ], + "type": "object" + }, + { + "properties": { + "repository": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreatedRepository" + } + }, + "required": [ + "repository" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_CreatedRepository` in + * responses. + */ +export const managed_defense_vulnerability_discovery_CreatedRepository_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "import_error": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreatedRepository_import_error" + }, + "name": { + "type": "string" + }, + "readiness": { + "enum": [ + "awaiting_source", + "processing", + "ready", + "failed" + ], + "type": "string" + }, + "source": { + "enum": [ + "upload", + "worker" + ], + "type": "string" + } + }, + "required": [ + "id", + "name", + "readiness", + "source" + ], + "type": "object" +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_CreatedRepository_import_error` in + * responses. + */ +export const managed_defense_vulnerability_discovery_CreatedRepository_import_error_output: JsonSchema = { + "properties": { + "code": { + "enum": [ + "worker_import_failed" + ], + "type": "string" + }, + "message": { + "enum": [ + "Worker import failed." + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_Repository` in + * responses. + */ +export const managed_defense_vulnerability_discovery_Repository_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "import_error": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_Repository_import_error" + }, + "name": { + "type": "string" + }, + "readiness": { + "enum": [ + "awaiting_source", + "processing", + "ready", + "failed" + ], + "type": "string" + }, + "source": { + "enum": [ + "upload", + "worker" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "readiness", + "source" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_RepositoryDetail` in + * responses. + */ +export const managed_defense_vulnerability_discovery_RepositoryDetail_output: JsonSchema = { + "properties": { + "repository": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_Repository" + }, + "scans": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_Scan" + }, + "maxItems": 100, + "type": "array" + } + }, + "required": [ + "repository", + "scans" + ], + "type": "object" +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_Repository_import_error` in + * responses. + */ +export const managed_defense_vulnerability_discovery_Repository_import_error_output: JsonSchema = { + "properties": { + "code": { + "enum": [ + "worker_import_failed" + ], + "type": "string" + }, + "message": { + "enum": [ + "Worker import failed." + ], + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_UploadCredentials` in + * responses. + */ +export const managed_defense_vulnerability_discovery_UploadCredentials_output: JsonSchema = { + "properties": { + "expires_in": { + "enum": [ + 3600 + ], + "type": "integer" + }, + "remote": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "expires_in", + "remote", + "token" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts index 72785d25..7e6b2b15 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + managed_defense_vulnerability_discovery_FailureResponse_output, + managed_defense_vulnerability_discovery_Message_output, + managed_defense_vulnerability_discovery_ResultInfo_output, + managed_defense_vulnerability_discovery_ScanRepository_output, + managed_defense_vulnerability_discovery_Scan_output, + managed_defense_vulnerability_discovery_TelemetryWindow_output, +} from "../outputs.js"; +import { + managed_defense_vulnerability_discovery_CreateRepositoryResult_output, + managed_defense_vulnerability_discovery_CreatedRepository_import_error_output, + managed_defense_vulnerability_discovery_CreatedRepository_output, + managed_defense_vulnerability_discovery_RepositoryDetail_output, + managed_defense_vulnerability_discovery_Repository_import_error_output, + managed_defense_vulnerability_discovery_Repository_output, + managed_defense_vulnerability_discovery_UploadCredentials_output, +} from "./outputs.js"; import { managed_defense_vulnerability_discovery_CreateRepositoryRequest } from "./schemas.js"; /** @@ -43,6 +60,31 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/managed-defense/vulnerability-discovery/repos", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreateRepositoryResult" + }, + "202": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreateRepositoryResult" + }, + "404": null, + "4XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "5XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + } + }, + $defs: { + "managed-defense-vulnerability-discovery_CreateRepositoryResult": managed_defense_vulnerability_discovery_CreateRepositoryResult_output, + "managed-defense-vulnerability-discovery_CreatedRepository": managed_defense_vulnerability_discovery_CreatedRepository_output, + "managed-defense-vulnerability-discovery_CreatedRepository_import_error": managed_defense_vulnerability_discovery_CreatedRepository_import_error_output, + "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, + "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, + "managed-defense-vulnerability-discovery_UploadCredentials": managed_defense_vulnerability_discovery_UploadCredentials_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/repos`, headers: [ @@ -80,6 +122,25 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/managed-defense/vulnerability-discovery/repos/{repo_id}/token", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_UploadCredentials" + }, + "404": null, + "4XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "5XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + } + }, + $defs: { + "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, + "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, + "managed-defense-vulnerability-discovery_UploadCredentials": managed_defense_vulnerability_discovery_UploadCredentials_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/repos/${pathParam(args, "repo_id")}/token`, }), @@ -120,6 +181,30 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/managed-defense/vulnerability-discovery/repos/{repo_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_RepositoryDetail" + }, + "404": null, + "4XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "5XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + } + }, + $defs: { + "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, + "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, + "managed-defense-vulnerability-discovery_Repository": managed_defense_vulnerability_discovery_Repository_output, + "managed-defense-vulnerability-discovery_RepositoryDetail": managed_defense_vulnerability_discovery_RepositoryDetail_output, + "managed-defense-vulnerability-discovery_Repository_import_error": managed_defense_vulnerability_discovery_Repository_import_error_output, + "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, + "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/repos/${pathParam(args, "repo_id")}`, query: [ @@ -159,6 +244,41 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/managed-defense/vulnerability-discovery/repos", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_Repository" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "404": null, + "4XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "5XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + } + }, + $defs: { + "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, + "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, + "managed-defense-vulnerability-discovery_Repository": managed_defense_vulnerability_discovery_Repository_output, + "managed-defense-vulnerability-discovery_Repository_import_error": managed_defense_vulnerability_discovery_Repository_import_error_output, + "managed-defense-vulnerability-discovery_ResultInfo": managed_defense_vulnerability_discovery_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/repos`, query: [ diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/outputs.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/outputs.ts new file mode 100644 index 00000000..e97346dc --- /dev/null +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/outputs.ts @@ -0,0 +1,148 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResult` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResult_output: JsonSchema = { + "properties": { + "publication": { + "oneOf": [ + { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_CuratedReportPublication" + }, + { + "type": "null" + } + ] + }, + "report": { + "oneOf": [ + { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ReportDocumentV2" + }, + { + "type": "null" + } + ] + }, + "repositories": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ConsolidatedReportRepository" + }, + "maxItems": 100, + "type": "array" + }, + "scan_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "publication", + "report", + "repositories", + "scan_id" + ], + "type": "object" +}; + +/** + * The schema of + * `managed-defense-vulnerability-discovery_ConsolidatedReportRepository` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ConsolidatedReportRepository_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "report_status": { + "enum": [ + "not_ready", + "pending_review", + "published", + "withdrawn" + ], + "type": "string" + }, + "scan_status": { + "enum": [ + "requested", + "accepted", + "running", + "completed", + "failed", + "rejected", + "cancelled" + ], + "type": "string" + } + }, + "required": [ + "id", + "name", + "report_status", + "scan_status" + ], + "type": "object" +}; + +/** + * The schema of `managed-defense-vulnerability-discovery_ReportDocumentV2` in + * responses. + */ +export const managed_defense_vulnerability_discovery_ReportDocumentV2_output: JsonSchema = { + "properties": { + "executive_summary": { + "type": "string" + }, + "generated_at": { + "format": "date-time", + "type": "string" + }, + "overall_severity": { + "enum": [ + "critical", + "high", + "medium", + "low", + "info" + ], + "type": "string" + }, + "repositories": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_RepositoryReport" + }, + "maxItems": 100, + "type": "array" + }, + "schema_version": { + "enum": [ + 2 + ], + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "executive_summary", + "generated_at", + "overall_severity", + "repositories", + "schema_version", + "title" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts index 0259c43e..504d4190 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts @@ -2,7 +2,45 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + managed_defense_vulnerability_discovery_CuratedReportPublication_output, + managed_defense_vulnerability_discovery_FailureResponse_output, + managed_defense_vulnerability_discovery_Message_output, + managed_defense_vulnerability_discovery_ReportErrorPath_output, + managed_defense_vulnerability_discovery_ReportExternalLink_output, + managed_defense_vulnerability_discovery_ReportFinding_location_output, + managed_defense_vulnerability_discovery_ReportFinding_output, + managed_defense_vulnerability_discovery_ReportFinding_remediation_output, + managed_defense_vulnerability_discovery_ReportFinding_telemetry_output, + managed_defense_vulnerability_discovery_ReportHotPath_output, + managed_defense_vulnerability_discovery_ReportObservedPath_output, + managed_defense_vulnerability_discovery_ReportObservedWafRule_output, + managed_defense_vulnerability_discovery_ReportReachability_output, + managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, + managed_defense_vulnerability_discovery_ReportTraceStep_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_http_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_waf_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_output, + managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_risk_typesItem_output, + managed_defense_vulnerability_discovery_ReportWafRule_output, + managed_defense_vulnerability_discovery_ReportWafRules_output, + managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, + managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, + managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, + managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, + managed_defense_vulnerability_discovery_RepositoryReport_output, + managed_defense_vulnerability_discovery_ResultInfo_output, + managed_defense_vulnerability_discovery_ScanRepository_output, + managed_defense_vulnerability_discovery_Scan_output, + managed_defense_vulnerability_discovery_TelemetryWindow_output, +} from "../outputs.js"; import { managed_defense_vulnerability_discovery_TelemetryWindow } from "../schemas.js"; +import { + managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResult_output, + managed_defense_vulnerability_discovery_ConsolidatedReportRepository_output, + managed_defense_vulnerability_discovery_ReportDocumentV2_output, +} from "./outputs.js"; import { managed_defense_vulnerability_discovery_CreateScan, managed_defense_vulnerability_discovery_CreateScan_reposItem, @@ -49,6 +87,33 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/managed-defense/vulnerability-discovery/scans", + responses: { + schemas: { + "202": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_Scan" + }, + "404": null, + "409": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "422": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "4XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "5XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + } + }, + $defs: { + "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, + "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, + "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, + "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/scans`, headers: [ @@ -86,6 +151,27 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/managed-defense/vulnerability-discovery/scans/{scan_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_Scan" + }, + "404": null, + "4XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "5XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + } + }, + $defs: { + "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, + "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, + "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, + "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/scans/${pathParam(args, "scan_id")}`, }), @@ -119,6 +205,59 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/managed-defense/vulnerability-discovery/scans/{scan_id}/report", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResult" + }, + "404": null, + "409": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "410": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "4XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "5XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + } + }, + $defs: { + "managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResult": managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResult_output, + "managed-defense-vulnerability-discovery_ConsolidatedReportRepository": managed_defense_vulnerability_discovery_ConsolidatedReportRepository_output, + "managed-defense-vulnerability-discovery_CuratedReportPublication": managed_defense_vulnerability_discovery_CuratedReportPublication_output, + "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, + "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, + "managed-defense-vulnerability-discovery_ReportDocumentV2": managed_defense_vulnerability_discovery_ReportDocumentV2_output, + "managed-defense-vulnerability-discovery_ReportErrorPath": managed_defense_vulnerability_discovery_ReportErrorPath_output, + "managed-defense-vulnerability-discovery_ReportExternalLink": managed_defense_vulnerability_discovery_ReportExternalLink_output, + "managed-defense-vulnerability-discovery_ReportFinding": managed_defense_vulnerability_discovery_ReportFinding_output, + "managed-defense-vulnerability-discovery_ReportFinding_location": managed_defense_vulnerability_discovery_ReportFinding_location_output, + "managed-defense-vulnerability-discovery_ReportFinding_remediation": managed_defense_vulnerability_discovery_ReportFinding_remediation_output, + "managed-defense-vulnerability-discovery_ReportFinding_telemetry": managed_defense_vulnerability_discovery_ReportFinding_telemetry_output, + "managed-defense-vulnerability-discovery_ReportHotPath": managed_defense_vulnerability_discovery_ReportHotPath_output, + "managed-defense-vulnerability-discovery_ReportObservedPath": managed_defense_vulnerability_discovery_ReportObservedPath_output, + "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed_defense_vulnerability_discovery_ReportObservedWafRule_output, + "managed-defense-vulnerability-discovery_ReportReachability": managed_defense_vulnerability_discovery_ReportReachability_output, + "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, + "managed-defense-vulnerability-discovery_ReportTraceStep": managed_defense_vulnerability_discovery_ReportTraceStep_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext": managed_defense_vulnerability_discovery_ReportTrafficContext_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext_http": managed_defense_vulnerability_discovery_ReportTrafficContext_http_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext_waf": managed_defense_vulnerability_discovery_ReportTrafficContext_waf_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext_web_assets": managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_output, + "managed-defense-vulnerability-discovery_ReportTrafficContext_web_assets_risk_typesItem": managed_defense_vulnerability_discovery_ReportTrafficContext_web_assets_risk_typesItem_output, + "managed-defense-vulnerability-discovery_ReportWafRule": managed_defense_vulnerability_discovery_ReportWafRule_output, + "managed-defense-vulnerability-discovery_ReportWafRules": managed_defense_vulnerability_discovery_ReportWafRules_output, + "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, + "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, + "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, + "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, + "managed-defense-vulnerability-discovery_RepositoryReport": managed_defense_vulnerability_discovery_RepositoryReport_output, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/scans/${pathParam(args, "scan_id")}/report`, }), @@ -190,6 +329,42 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/managed-defense/vulnerability-discovery/scans", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_Scan" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "404": null, + "4XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + }, + "5XX": { + "$ref": "#/$defs/managed-defense-vulnerability-discovery_FailureResponse" + } + }, + $defs: { + "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, + "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, + "managed-defense-vulnerability-discovery_ResultInfo": managed_defense_vulnerability_discovery_ResultInfo_output, + "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, + "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/scans`, query: [ diff --git a/src/generated/forge-mcp/managedTransforms/outputs.ts b/src/generated/forge-mcp/managedTransforms/outputs.ts new file mode 100644 index 00000000..37bcb42d --- /dev/null +++ b/src/generated/forge-mcp/managedTransforms/outputs.ts @@ -0,0 +1,97 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `rulesets_ManagedTransform` in responses. + */ +export const rulesets_ManagedTransform_output: JsonSchema = { + "properties": { + "conflicts_with": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ManagedTransformId" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "has_conflict": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/rulesets_ManagedTransformId" + } + }, + "required": [ + "enabled", + "has_conflict", + "id" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ManagedTransformId` in responses. + */ +export const rulesets_ManagedTransformId_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_ManagedTransforms` in responses. + */ +export const rulesets_ManagedTransforms_output: JsonSchema = { + "properties": { + "managed_request_headers": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ManagedTransform" + }, + { + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "type": "array" + }, + "managed_response_headers": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ManagedTransform" + }, + { + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "type": "array" + } + }, + "required": [ + "managed_request_headers", + "managed_response_headers" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/managedTransforms/tools.ts b/src/generated/forge-mcp/managedTransforms/tools.ts index 003e0009..500ffe6d 100644 --- a/src/generated/forge-mcp/managedTransforms/tools.ts +++ b/src/generated/forge-mcp/managedTransforms/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + rulesets_Errors_output, + rulesets_Message_output, + rulesets_Message_source_output, + rulesets_Messages_output, + rulesets_Response_output, + rulesets_Response_result_output, +} from "../outputs.js"; +import { + rulesets_ManagedTransformId_output, + rulesets_ManagedTransform_output, + rulesets_ManagedTransforms_output, +} from "./outputs.js"; import { rulesets_ManagedTransform, rulesets_ManagedTransformId, @@ -68,6 +81,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "204": null, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Errors": rulesets_Errors_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/managed_headers`, }), @@ -149,6 +196,64 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "$ref": "#/$defs/rulesets_ManagedTransforms" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ManagedTransform": rulesets_ManagedTransform_output, + "rulesets_ManagedTransformId": rulesets_ManagedTransformId_output, + "rulesets_ManagedTransforms": rulesets_ManagedTransforms_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/managed_headers`, }), @@ -218,6 +323,64 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "$ref": "#/$defs/rulesets_ManagedTransforms" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ManagedTransform": rulesets_ManagedTransform_output, + "rulesets_ManagedTransformId": rulesets_ManagedTransformId_output, + "rulesets_ManagedTransforms": rulesets_ManagedTransforms_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/managed_headers`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/matches/download/tools.ts b/src/generated/forge-mcp/matches/download/tools.ts index b1890383..5c2d932a 100644 --- a/src/generated/forge-mcp/matches/download/tools.ts +++ b/src/generated/forge-mcp/matches/download/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { brand_protection_api_Error_output } from "../../outputs.js"; +import { brand_protection_api_QueryMatch_output } from "../outputs.js"; /** * The tools of `matches.download`. @@ -52,6 +54,23 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/brand-protection-api_QueryMatch" + }, + "422": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_QueryMatch": brand_protection_api_QueryMatch_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/matches/download`, query: [ diff --git a/src/generated/forge-mcp/matches/outputs.ts b/src/generated/forge-mcp/matches/outputs.ts new file mode 100644 index 00000000..57816e54 --- /dev/null +++ b/src/generated/forge-mcp/matches/outputs.ts @@ -0,0 +1,22 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `brand-protection-api_QueryMatch` in responses. + */ +export const brand_protection_api_QueryMatch_output: JsonSchema = { + "properties": { + "matches": { + "items": { + "type": "object" + }, + "type": "array" + }, + "total": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/matches/tools.ts b/src/generated/forge-mcp/matches/tools.ts index 379ab6a5..805cf4b8 100644 --- a/src/generated/forge-mcp/matches/tools.ts +++ b/src/generated/forge-mcp/matches/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; +import { brand_protection_api_QueryMatch_output } from "./outputs.js"; /** * The tools of `matches`. @@ -52,6 +54,23 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/brand-protection-api_QueryMatch" + }, + "422": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_QueryMatch": brand_protection_api_QueryMatch_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/matches`, query: [ diff --git a/src/generated/forge-mcp/mcp/portals/tools.ts b/src/generated/forge-mcp/mcp/portals/tools.ts index 1936d80f..b377c336 100644 --- a/src/generated/forge-mcp/mcp/portals/tools.ts +++ b/src/generated/forge-mcp/mcp/portals/tools.ts @@ -87,6 +87,104 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "aggregate": { + "type": "boolean" + }, + "end": { + "type": "integer" + }, + "granularity": { + "enum": [ + "daily", + "monthly" + ], + "type": "string" + }, + "response_status": { + "enum": [ + "success", + "error", + "cached", + "all" + ], + "type": "string" + }, + "series": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "day": { + "type": "string" + } + }, + "required": [ + "count", + "day" + ], + "type": "object" + }, + "type": "array" + }, + "start": { + "type": "integer" + }, + "total": { + "type": "integer" + }, + "tz": { + "type": "string" + } + }, + "required": [ + "aggregate", + "end", + "granularity", + "response_status", + "series", + "start", + "total", + "tz" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/analytics/tool-calls/timeseries`, query: [ @@ -270,6 +368,364 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "201": { + "properties": { + "allow_code_mode": { + "type": "boolean" + }, + "code_mode": { + "enum": [ + "off", + "opt_in", + "default_on", + "enforced" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "secure_web_gateway": { + "type": "boolean" + }, + "servers": { + "items": { + "properties": { + "auth_config_summary": { + "properties": { + "auth_mode": { + "enum": [ + "dcr", + "manual" + ], + "type": "string" + }, + "client_secret_version": { + "type": "number" + }, + "config": { + "properties": { + "authorization_endpoint": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "revocation_endpoint": { + "type": "string" + }, + "token_endpoint": { + "type": "string" + } + }, + "type": "object" + }, + "has_client_secret": { + "type": "boolean" + }, + "registration_info": { + "properties": { + "client_id": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "type": "string" + }, + "token_endpoint_auth_method": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "auth_type": { + "enum": [ + "oauth", + "bearer", + "unauthenticated" + ], + "type": "string" + }, + "authentication_status": { + "enum": [ + "not_required", + "required", + "connected", + "stale", + "manual" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "default_disabled": { + "type": "boolean" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_shared_oauth_callback_enabled": { + "type": "boolean" + }, + "last_successful_sync": { + "format": "date-time", + "type": "string" + }, + "last_synced": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "on_behalf": { + "type": "boolean" + }, + "prompts": { + "items": { + "type": "object" + }, + "type": "array" + }, + "registered_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "secure_web_gateway": { + "type": "boolean" + }, + "server_id": { + "type": "string" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + }, + "tools": { + "items": { + "type": "object" + }, + "type": "array" + }, + "updated_prompts": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "portal_alias": { + "type": "string" + }, + "portal_description": { + "type": "string" + }, + "server_alias": { + "type": "string" + }, + "server_description": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "updated_tools": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "portal_alias": { + "type": "string" + }, + "portal_description": { + "type": "string" + }, + "server_alias": { + "type": "string" + }, + "server_description": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "auth_type", + "hostname", + "id", + "name", + "prompts", + "server_id", + "tools" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "hostname", + "id", + "name", + "servers" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/portals`, body: { value: args["body"], mediaType: "application/json" }, @@ -325,9 +781,97 @@ export const tools: readonly Tool[] = [ "pro": true } }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/portals/${pathParam(args, "id")}`, - }), + responses: { + schemas: { + "200": { + "properties": { + "allow_code_mode": { + "type": "boolean" + }, + "code_mode": { + "enum": [ + "off", + "opt_in", + "default_on", + "enforced" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "secure_web_gateway": { + "type": "boolean" + } + }, + "required": [ + "hostname", + "id", + "name" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/portals/${pathParam(args, "id")}`, + }), }, { name: "mcp_portals_list", @@ -387,6 +931,368 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "allow_code_mode": { + "type": "boolean" + }, + "code_mode": { + "enum": [ + "off", + "opt_in", + "default_on", + "enforced" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "secure_web_gateway": { + "type": "boolean" + }, + "servers": { + "items": { + "properties": { + "auth_config_summary": { + "properties": { + "auth_mode": { + "enum": [ + "dcr", + "manual" + ], + "type": "string" + }, + "client_secret_version": { + "type": "number" + }, + "config": { + "properties": { + "authorization_endpoint": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "revocation_endpoint": { + "type": "string" + }, + "token_endpoint": { + "type": "string" + } + }, + "type": "object" + }, + "has_client_secret": { + "type": "boolean" + }, + "registration_info": { + "properties": { + "client_id": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "type": "string" + }, + "token_endpoint_auth_method": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "auth_type": { + "enum": [ + "oauth", + "bearer", + "unauthenticated" + ], + "type": "string" + }, + "authentication_status": { + "enum": [ + "not_required", + "required", + "connected", + "stale", + "manual" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "default_disabled": { + "type": "boolean" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_shared_oauth_callback_enabled": { + "type": "boolean" + }, + "last_successful_sync": { + "format": "date-time", + "type": "string" + }, + "last_synced": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "on_behalf": { + "type": "boolean" + }, + "prompts": { + "items": { + "type": "object" + }, + "type": "array" + }, + "registered_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "secure_web_gateway": { + "type": "boolean" + }, + "server_id": { + "type": "string" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + }, + "tools": { + "items": { + "type": "object" + }, + "type": "array" + }, + "updated_prompts": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "portal_alias": { + "type": "string" + }, + "portal_description": { + "type": "string" + }, + "server_alias": { + "type": "string" + }, + "server_description": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "updated_tools": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "portal_alias": { + "type": "string" + }, + "portal_description": { + "type": "string" + }, + "server_alias": { + "type": "string" + }, + "server_description": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "auth_type", + "hostname", + "id", + "name", + "prompts", + "server_id", + "tools" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "hostname", + "id", + "name", + "servers" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/portals`, query: [ @@ -447,6 +1353,357 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "allow_code_mode": { + "type": "boolean" + }, + "code_mode": { + "enum": [ + "off", + "opt_in", + "default_on", + "enforced" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "secure_web_gateway": { + "type": "boolean" + }, + "servers": { + "items": { + "properties": { + "auth_config_summary": { + "properties": { + "auth_mode": { + "enum": [ + "dcr", + "manual" + ], + "type": "string" + }, + "client_secret_version": { + "type": "number" + }, + "config": { + "properties": { + "authorization_endpoint": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "revocation_endpoint": { + "type": "string" + }, + "token_endpoint": { + "type": "string" + } + }, + "type": "object" + }, + "has_client_secret": { + "type": "boolean" + }, + "registration_info": { + "properties": { + "client_id": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "type": "string" + }, + "token_endpoint_auth_method": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "auth_type": { + "enum": [ + "oauth", + "bearer", + "unauthenticated" + ], + "type": "string" + }, + "authentication_status": { + "enum": [ + "not_required", + "required", + "connected", + "stale", + "manual" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "default_disabled": { + "type": "boolean" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_shared_oauth_callback_enabled": { + "type": "boolean" + }, + "last_successful_sync": { + "format": "date-time", + "type": "string" + }, + "last_synced": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "on_behalf": { + "type": "boolean" + }, + "prompts": { + "items": { + "type": "object" + }, + "type": "array" + }, + "registered_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "secure_web_gateway": { + "type": "boolean" + }, + "server_id": { + "type": "string" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + }, + "tools": { + "items": { + "type": "object" + }, + "type": "array" + }, + "updated_prompts": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "portal_alias": { + "type": "string" + }, + "portal_description": { + "type": "string" + }, + "server_alias": { + "type": "string" + }, + "server_description": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "updated_tools": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "portal_alias": { + "type": "string" + }, + "portal_description": { + "type": "string" + }, + "server_alias": { + "type": "string" + }, + "server_description": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "auth_type", + "hostname", + "id", + "name", + "prompts", + "server_id", + "tools" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "hostname", + "id", + "name", + "servers" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/portals/${pathParam(args, "id")}`, }), @@ -528,12 +1785,110 @@ export const tools: readonly Tool[] = [ } } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "properties": { + "aggregate": { + "type": "boolean" + }, + "end": { + "type": "integer" + }, + "granularity": { + "enum": [ + "daily", + "monthly" + ], + "type": "string" + }, + "response_status": { + "enum": [ + "success", + "error", + "cached", + "all" + ], + "type": "string" + }, + "series": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "day": { + "type": "string" + } + }, + "required": [ + "count", + "day" + ], + "type": "object" + }, + "type": "array" + }, + "start": { + "type": "integer" + }, + "total": { + "type": "integer" + }, + "tz": { + "type": "string" + } + }, + "required": [ + "aggregate", + "end", + "granularity", + "response_status", + "series", + "start", + "total", + "tz" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/analytics/portals/${pathParam(args, "portal_id")}/tool-calls/timeseries`, @@ -722,6 +2077,397 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "allow_code_mode": { + "type": "boolean" + }, + "code_mode": { + "enum": [ + "off", + "opt_in", + "default_on", + "enforced" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "secure_web_gateway": { + "type": "boolean" + }, + "servers": { + "items": { + "properties": { + "auth_config_summary": { + "properties": { + "auth_mode": { + "enum": [ + "dcr", + "manual" + ], + "type": "string" + }, + "client_secret_version": { + "type": "number" + }, + "config": { + "properties": { + "authorization_endpoint": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "revocation_endpoint": { + "type": "string" + }, + "token_endpoint": { + "type": "string" + } + }, + "type": "object" + }, + "has_client_secret": { + "type": "boolean" + }, + "registration_info": { + "properties": { + "client_id": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "type": "string" + }, + "token_endpoint_auth_method": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "auth_type": { + "enum": [ + "oauth", + "bearer", + "unauthenticated" + ], + "type": "string" + }, + "authentication_status": { + "enum": [ + "not_required", + "required", + "connected", + "stale", + "manual" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "default_disabled": { + "type": "boolean" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_shared_oauth_callback_enabled": { + "type": "boolean" + }, + "last_successful_sync": { + "format": "date-time", + "type": "string" + }, + "last_synced": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "on_behalf": { + "type": "boolean" + }, + "prompts": { + "items": { + "type": "object" + }, + "type": "array" + }, + "registered_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "secure_web_gateway": { + "type": "boolean" + }, + "server_id": { + "type": "string" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + }, + "tools": { + "items": { + "type": "object" + }, + "type": "array" + }, + "updated_prompts": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "portal_alias": { + "type": "string" + }, + "portal_description": { + "type": "string" + }, + "server_alias": { + "type": "string" + }, + "server_description": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "updated_tools": { + "items": { + "properties": { + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "portal_alias": { + "type": "string" + }, + "portal_description": { + "type": "string" + }, + "server_alias": { + "type": "string" + }, + "server_description": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "auth_type", + "hostname", + "id", + "name", + "prompts", + "server_id", + "tools" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "hostname", + "id", + "name", + "servers" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/portals/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/mcp/servers/tools.ts b/src/generated/forge-mcp/mcp/servers/tools.ts index 6c521423..da57bc3c 100644 --- a/src/generated/forge-mcp/mcp/servers/tools.ts +++ b/src/generated/forge-mcp/mcp/servers/tools.ts @@ -169,6 +169,287 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "201": { + "properties": { + "auth_config_summary": { + "properties": { + "auth_mode": { + "enum": [ + "dcr", + "manual" + ], + "type": "string" + }, + "client_secret_version": { + "type": "number" + }, + "config": { + "properties": { + "authorization_endpoint": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "revocation_endpoint": { + "type": "string" + }, + "token_endpoint": { + "type": "string" + } + }, + "type": "object" + }, + "has_client_secret": { + "type": "boolean" + }, + "registration_info": { + "properties": { + "client_id": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "type": "string" + }, + "token_endpoint_auth_method": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "auth_type": { + "enum": [ + "oauth", + "bearer", + "unauthenticated" + ], + "type": "string" + }, + "authentication_status": { + "enum": [ + "not_required", + "required", + "connected", + "stale", + "manual" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_shared_oauth_callback_enabled": { + "type": "boolean" + }, + "last_successful_sync": { + "format": "date-time", + "type": "string" + }, + "last_synced": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "prompts": { + "items": { + "type": "object" + }, + "type": "array" + }, + "registered_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "secure_web_gateway": { + "type": "boolean" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + }, + "tools": { + "items": { + "type": "object" + }, + "type": "array" + }, + "updated_prompts": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "updated_tools": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "auth_type", + "hostname", + "id", + "name", + "prompts", + "tools" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/servers`, body: { value: args["body"], mediaType: "application/json" }, @@ -224,6 +505,280 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "auth_config_summary": { + "properties": { + "auth_mode": { + "enum": [ + "dcr", + "manual" + ], + "type": "string" + }, + "client_secret_version": { + "type": "number" + }, + "config": { + "properties": { + "authorization_endpoint": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "revocation_endpoint": { + "type": "string" + }, + "token_endpoint": { + "type": "string" + } + }, + "type": "object" + }, + "has_client_secret": { + "type": "boolean" + }, + "registration_info": { + "properties": { + "client_id": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "type": "string" + }, + "token_endpoint_auth_method": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "auth_type": { + "enum": [ + "oauth", + "bearer", + "unauthenticated" + ], + "type": "string" + }, + "authentication_status": { + "enum": [ + "not_required", + "required", + "connected", + "stale", + "manual" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_shared_oauth_callback_enabled": { + "type": "boolean" + }, + "last_successful_sync": { + "format": "date-time", + "type": "string" + }, + "last_synced": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "prompts": { + "items": { + "type": "object" + }, + "type": "array" + }, + "registered_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "secure_web_gateway": { + "type": "boolean" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + }, + "tools": { + "items": { + "type": "object" + }, + "type": "array" + }, + "updated_prompts": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "updated_tools": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "auth_type", + "hostname", + "id", + "name", + "prompts", + "tools" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/servers/${pathParam(args, "id")}`, }), @@ -279,12 +834,297 @@ export const tools: readonly Tool[] = [ } } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "auth_config_summary": { + "properties": { + "auth_mode": { + "enum": [ + "dcr", + "manual" + ], + "type": "string" + }, + "client_secret_version": { + "type": "number" + }, + "config": { + "properties": { + "authorization_endpoint": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "revocation_endpoint": { + "type": "string" + }, + "token_endpoint": { + "type": "string" + } + }, + "type": "object" + }, + "has_client_secret": { + "type": "boolean" + }, + "registration_info": { + "properties": { + "client_id": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "type": "string" + }, + "token_endpoint_auth_method": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "auth_type": { + "enum": [ + "oauth", + "bearer", + "unauthenticated" + ], + "type": "string" + }, + "authentication_status": { + "enum": [ + "not_required", + "required", + "connected", + "stale", + "manual" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_shared_oauth_callback_enabled": { + "type": "boolean" + }, + "last_successful_sync": { + "format": "date-time", + "type": "string" + }, + "last_synced": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "prompts": { + "items": { + "type": "object" + }, + "type": "array" + }, + "registered_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "secure_web_gateway": { + "type": "boolean" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + }, + "tools": { + "items": { + "type": "object" + }, + "type": "array" + }, + "updated_prompts": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "updated_tools": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "auth_type", + "hostname", + "id", + "name", + "prompts", + "tools" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/servers`, @@ -346,6 +1186,280 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "auth_config_summary": { + "properties": { + "auth_mode": { + "enum": [ + "dcr", + "manual" + ], + "type": "string" + }, + "client_secret_version": { + "type": "number" + }, + "config": { + "properties": { + "authorization_endpoint": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "revocation_endpoint": { + "type": "string" + }, + "token_endpoint": { + "type": "string" + } + }, + "type": "object" + }, + "has_client_secret": { + "type": "boolean" + }, + "registration_info": { + "properties": { + "client_id": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "type": "string" + }, + "token_endpoint_auth_method": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "auth_type": { + "enum": [ + "oauth", + "bearer", + "unauthenticated" + ], + "type": "string" + }, + "authentication_status": { + "enum": [ + "not_required", + "required", + "connected", + "stale", + "manual" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_shared_oauth_callback_enabled": { + "type": "boolean" + }, + "last_successful_sync": { + "format": "date-time", + "type": "string" + }, + "last_synced": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "prompts": { + "items": { + "type": "object" + }, + "type": "array" + }, + "registered_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "secure_web_gateway": { + "type": "boolean" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + }, + "tools": { + "items": { + "type": "object" + }, + "type": "array" + }, + "updated_prompts": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "updated_tools": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "auth_type", + "hostname", + "id", + "name", + "prompts", + "tools" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/servers/${pathParam(args, "id")}`, }), @@ -393,12 +1507,86 @@ export const tools: readonly Tool[] = [ } } }, - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "properties": { + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + } + }, + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/servers/${pathParam(args, "id")}/sync`, @@ -488,6 +1676,104 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "aggregate": { + "type": "boolean" + }, + "end": { + "type": "integer" + }, + "granularity": { + "enum": [ + "daily", + "monthly" + ], + "type": "string" + }, + "response_status": { + "enum": [ + "success", + "error", + "cached", + "all" + ], + "type": "string" + }, + "series": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "day": { + "type": "string" + } + }, + "required": [ + "count", + "day" + ], + "type": "object" + }, + "type": "array" + }, + "start": { + "type": "integer" + }, + "total": { + "type": "integer" + }, + "tz": { + "type": "string" + } + }, + "required": [ + "aggregate", + "end", + "granularity", + "response_status", + "series", + "start", + "total", + "tz" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/analytics/servers/${pathParam(args, "server_id")}/tool-calls/timeseries`, query: [ @@ -651,6 +1937,320 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "auth_config_summary": { + "properties": { + "auth_mode": { + "enum": [ + "dcr", + "manual" + ], + "type": "string" + }, + "client_secret_version": { + "type": "number" + }, + "config": { + "properties": { + "authorization_endpoint": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "revocation_endpoint": { + "type": "string" + }, + "token_endpoint": { + "type": "string" + } + }, + "type": "object" + }, + "has_client_secret": { + "type": "boolean" + }, + "registration_info": { + "properties": { + "client_id": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scope": { + "type": "string" + }, + "token_endpoint_auth_method": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "auth_type": { + "enum": [ + "oauth", + "bearer", + "unauthenticated" + ], + "type": "string" + }, + "authentication_status": { + "enum": [ + "not_required", + "required", + "connected", + "stale", + "manual" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "created_by": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "type": "string" + }, + "error_details": { + "properties": { + "cause": { + "type": "string" + }, + "is_upstream": { + "type": "boolean" + }, + "mcp_code": { + "type": "number" + }, + "retryable": { + "type": "boolean" + }, + "status_code": { + "type": "number" + } + }, + "type": "object" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_shared_oauth_callback_enabled": { + "type": "boolean" + }, + "last_successful_sync": { + "format": "date-time", + "type": "string" + }, + "last_synced": { + "format": "date-time", + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "modified_by": { + "type": "string" + }, + "name": { + "type": "string" + }, + "prompts": { + "items": { + "type": "object" + }, + "type": "array" + }, + "registered_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "secure_web_gateway": { + "type": "boolean" + }, + "status": { + "enum": [ + "waiting", + "ready", + "stale", + "error" + ], + "type": "string" + }, + "tools": { + "items": { + "type": "object" + }, + "type": "array" + }, + "updated_prompts": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + "updated_tools": { + "items": { + "properties": { + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "auth_type", + "hostname", + "id", + "name", + "prompts", + "tools" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + }, + "path": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "code", + "message", + "path" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/servers/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/media/usage/tools.ts b/src/generated/forge-mcp/media/usage/tools.ts index a8a579dc..14cb3b2e 100644 --- a/src/generated/forge-mcp/media/usage/tools.ts +++ b/src/generated/forge-mcp/media/usage/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + usage_analytics_api_error_output, + usage_analytics_api_message_output, + usage_analytics_error_response_output, + usage_analytics_stream_usage_data_point_output, +} from "../../outputs.js"; /** * The tools of `media.usage`. @@ -82,6 +88,42 @@ export const tools: readonly Tool[] = [ "Images Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/usage-analytics_stream_usage_data_point" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/usage-analytics_error_response" + }, + "401": { + "$ref": "#/$defs/usage-analytics_error_response" + }, + "403": { + "$ref": "#/$defs/usage-analytics_error_response" + } + }, + $defs: { + "usage-analytics_api_error": usage_analytics_api_error_output, + "usage-analytics_api_message": usage_analytics_api_message_output, + "usage-analytics_error_response": usage_analytics_error_response_output, + "usage-analytics_stream_usage_data_point": usage_analytics_stream_usage_data_point_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/media/usage`, query: [ diff --git a/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts b/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts new file mode 100644 index 00000000..a612a905 --- /dev/null +++ b/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts @@ -0,0 +1,132 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tunnel_mesh_aws_config` in responses. + */ +export const tunnel_mesh_aws_config_output: JsonSchema = { + "properties": { + "fnr_id": { + "type": "string" + } + }, + "required": [ + "fnr_id" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_mesh_configuration_response` in responses. + */ +export const tunnel_mesh_configuration_response_output: JsonSchema = { + "properties": { + "config": { + "oneOf": [ + { + "$ref": "#/$defs/tunnel_mesh_aws_config" + }, + { + "$ref": "#/$defs/tunnel_mesh_local_config" + }, + { + "type": "null" + } + ] + }, + "configuration_version": { + "type": "integer" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "ha_mode": { + "$ref": "#/$defs/tunnel_mesh_ha_mode" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id-2" + }, + "updated_at": { + "$ref": "#/$defs/tunnel_updated_at" + } + }, + "required": [ + "configuration_version", + "created_at", + "ha_mode", + "tunnel_id" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_mesh_ha_mode` in responses. + */ +export const tunnel_mesh_ha_mode_output: JsonSchema = { + "enum": [ + "none", + "disabled", + "aws", + "local" + ], + "type": "string" +}; + +/** + * The schema of `tunnel_mesh_local_config` in responses. + */ +export const tunnel_mesh_local_config_output: JsonSchema = { + "properties": { + "vips": { + "items": { + "$ref": "#/$defs/tunnel_mesh_vip_entry" + }, + "maxItems": 8, + "minItems": 1, + "type": "array" + }, + "vips_previous": { + "items": { + "$ref": "#/$defs/tunnel_mesh_vip_entry" + }, + "maxItems": 8, + "type": "array" + } + }, + "required": [ + "vips" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_mesh_vip_entry` in responses. + */ +export const tunnel_mesh_vip_entry_output: JsonSchema = { + "properties": { + "address": { + "type": "string" + } + }, + "required": [ + "address" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_updated_at` in responses. + */ +export const tunnel_updated_at_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts b/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts index 8722d24a..90f6a656 100644 --- a/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tunnel_api_response_common_failure_2_output, + tunnel_created_at_output, + tunnel_messages_2_output, + tunnel_tunnel_id_2_output, +} from "../../../outputs.js"; +import { + tunnel_mesh_aws_config_output, + tunnel_mesh_configuration_response_output, + tunnel_mesh_ha_mode_output, + tunnel_mesh_local_config_output, + tunnel_mesh_vip_entry_output, + tunnel_updated_at_output, +} from "./outputs.js"; import { tunnel_mesh_aws_config, tunnel_mesh_configuration_request_body, @@ -52,6 +66,28 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_mesh_configuration_response" + }, + "4XX": { + "$ref": "#/$defs/tunnel_api-response-common-failure-2" + } + }, + $defs: { + "tunnel_api-response-common-failure-2": tunnel_api_response_common_failure_2_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_mesh_aws_config": tunnel_mesh_aws_config_output, + "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response_output, + "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode_output, + "tunnel_mesh_local_config": tunnel_mesh_local_config_output, + "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry_output, + "tunnel_messages-2": tunnel_messages_2_output, + "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, + "tunnel_updated_at": tunnel_updated_at_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "tunnel_id")}/configurations`, }), @@ -103,6 +139,28 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_mesh_configuration_response" + }, + "4XX": { + "$ref": "#/$defs/tunnel_api-response-common-failure-2" + } + }, + $defs: { + "tunnel_api-response-common-failure-2": tunnel_api_response_common_failure_2_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_mesh_aws_config": tunnel_mesh_aws_config_output, + "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response_output, + "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode_output, + "tunnel_mesh_local_config": tunnel_mesh_local_config_output, + "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry_output, + "tunnel_messages-2": tunnel_messages_2_output, + "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, + "tunnel_updated_at": tunnel_updated_at_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "tunnel_id")}/configurations`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/mesh/nodes/connections/outputs.ts b/src/generated/forge-mcp/mesh/nodes/connections/outputs.ts new file mode 100644 index 00000000..68097722 --- /dev/null +++ b/src/generated/forge-mcp/mesh/nodes/connections/outputs.ts @@ -0,0 +1,41 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tunnel_tunnel_warp_connector_connections_response` in + * responses. + */ +export const tunnel_tunnel_warp_connector_connections_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tunnel_tunnel_warp_connector_client" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/mesh/nodes/connections/tools.ts b/src/generated/forge-mcp/mesh/nodes/connections/tools.ts index dc7c0dd4..e4df225d 100644 --- a/src/generated/forge-mcp/mesh/nodes/connections/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/connections/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_arch_output, + tunnel_client_id_output, + tunnel_colo_name_output, + tunnel_connection_id_output, + tunnel_features_output, + tunnel_ip_output, + tunnel_messages_output, + tunnel_result_info_output, + tunnel_run_at_output, + tunnel_version_output, +} from "../../../outputs.js"; +import { + tunnel_ha_status_output, + tunnel_schemas_warp_connector_connection_output, + tunnel_tunnel_warp_connector_client_output, + tunnel_warp_connector_connections_output, +} from "../outputs.js"; +import { tunnel_tunnel_warp_connector_connections_response_output } from "./outputs.js"; /** * The tools of `mesh.nodes.connections`. @@ -45,6 +65,55 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tunnel_tunnel_warp_connector_client" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_tunnel_warp_connector_connections_response" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_arch": tunnel_arch_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_features": tunnel_features_output, + "tunnel_ha_status": tunnel_ha_status_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_result_info": tunnel_result_info_output, + "tunnel_run_at": tunnel_run_at_output, + "tunnel_schemas-warp-connector-connection": tunnel_schemas_warp_connector_connection_output, + "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client_output, + "tunnel_tunnel_warp_connector_connections_response": tunnel_tunnel_warp_connector_connections_response_output, + "tunnel_version": tunnel_version_output, + "tunnel_warp_connector_connections": tunnel_warp_connector_connections_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}/connections`, }), diff --git a/src/generated/forge-mcp/mesh/nodes/connectors/outputs.ts b/src/generated/forge-mcp/mesh/nodes/connectors/outputs.ts new file mode 100644 index 00000000..d8e53375 --- /dev/null +++ b/src/generated/forge-mcp/mesh/nodes/connectors/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tunnel_tunnel_warp_connector_client_response` in responses. + */ +export const tunnel_tunnel_warp_connector_client_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_tunnel_warp_connector_client" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts b/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts index 82dabf43..ba844fc2 100644 --- a/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_arch_output, + tunnel_client_id_output, + tunnel_colo_name_output, + tunnel_connection_id_output, + tunnel_features_output, + tunnel_ip_output, + tunnel_messages_output, + tunnel_run_at_output, + tunnel_version_output, +} from "../../../outputs.js"; +import { + tunnel_ha_status_output, + tunnel_schemas_warp_connector_connection_output, + tunnel_tunnel_warp_connector_client_output, + tunnel_warp_connector_connections_output, +} from "../outputs.js"; +import { tunnel_tunnel_warp_connector_client_response_output } from "./outputs.js"; /** * The tools of `mesh.nodes.connectors`. @@ -50,6 +69,40 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_tunnel_warp_connector_client" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_tunnel_warp_connector_client_response" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_arch": tunnel_arch_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_features": tunnel_features_output, + "tunnel_ha_status": tunnel_ha_status_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_run_at": tunnel_run_at_output, + "tunnel_schemas-warp-connector-connection": tunnel_schemas_warp_connector_connection_output, + "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client_output, + "tunnel_tunnel_warp_connector_client_response": tunnel_tunnel_warp_connector_client_response_output, + "tunnel_version": tunnel_version_output, + "tunnel_warp_connector_connections": tunnel_warp_connector_connections_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}/connectors/${pathParam(args, "connector_id")}`, }), diff --git a/src/generated/forge-mcp/mesh/nodes/outputs.ts b/src/generated/forge-mcp/mesh/nodes/outputs.ts new file mode 100644 index 00000000..01a8c72d --- /dev/null +++ b/src/generated/forge-mcp/mesh/nodes/outputs.ts @@ -0,0 +1,150 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tunnel_ha_status` in responses. + */ +export const tunnel_ha_status_output: JsonSchema = { + "enum": [ + "offline", + "passive", + "active" + ], + "type": "string" +}; + +/** + * The schema of `tunnel_schemas-warp-connector-connection` in responses. + */ +export const tunnel_schemas_warp_connector_connection_output: JsonSchema = { + "properties": { + "client_id": { + "$ref": "#/$defs/tunnel_client_id" + }, + "client_version": { + "$ref": "#/$defs/tunnel_version" + }, + "colo_name": { + "$ref": "#/$defs/tunnel_colo_name" + }, + "id": { + "$ref": "#/$defs/tunnel_connection_id" + }, + "opened_at": { + "format": "date-time", + "type": "string" + }, + "origin_ip": { + "$ref": "#/$defs/tunnel_ip" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_tunnel_warp_connector_client` in responses. + */ +export const tunnel_tunnel_warp_connector_client_output: JsonSchema = { + "properties": { + "arch": { + "$ref": "#/$defs/tunnel_arch" + }, + "conns": { + "$ref": "#/$defs/tunnel_warp_connector_connections" + }, + "features": { + "$ref": "#/$defs/tunnel_features" + }, + "ha_status": { + "$ref": "#/$defs/tunnel_ha_status" + }, + "id": { + "$ref": "#/$defs/tunnel_client_id" + }, + "run_at": { + "$ref": "#/$defs/tunnel_run_at" + }, + "version": { + "$ref": "#/$defs/tunnel_version" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_warp-connector-response-collection` in responses. + */ +export const tunnel_warp_connector_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tunnel_warp_connector_tunnel" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_warp-connector-response-single` in responses. + */ +export const tunnel_warp_connector_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_warp_connector_tunnel" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_warp_connector_connections` in responses. + */ +export const tunnel_warp_connector_connections_output: JsonSchema = { + "items": { + "$ref": "#/$defs/tunnel_schemas-warp-connector-connection" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/mesh/nodes/token/tools.ts b/src/generated/forge-mcp/mesh/nodes/token/tools.ts index 1c9d676b..541bf684 100644 --- a/src/generated/forge-mcp/mesh/nodes/token/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/token/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_messages_output, + tunnel_tunnel_response_token_output, + tunnel_tunnel_token_output, +} from "../../../outputs.js"; /** * The tools of `mesh.nodes.token`. @@ -44,6 +50,29 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_tunnel_token" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_tunnel_response_token" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_tunnel_response_token": tunnel_tunnel_response_token_output, + "tunnel_tunnel_token": tunnel_tunnel_token_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}/token`, }), diff --git a/src/generated/forge-mcp/mesh/nodes/tools.ts b/src/generated/forge-mcp/mesh/nodes/tools.ts index deb0b6c2..55e0eb2b 100644 --- a/src/generated/forge-mcp/mesh/nodes/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/tools.ts @@ -2,6 +2,31 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_account_id_output, + tunnel_api_response_common_failure_output, + tunnel_client_id_output, + tunnel_colo_name_output, + tunnel_connection_id_output, + tunnel_connections_deprecated_output, + tunnel_conns_active_at_output, + tunnel_conns_inactive_at_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_empty_response_output, + tunnel_ip_output, + tunnel_is_pending_reconnect_output, + tunnel_messages_output, + tunnel_metadata_output, + tunnel_result_info_output, + tunnel_schemas_connection_output, + tunnel_status_output, + tunnel_tunnel_id_output, + tunnel_tunnel_name_output, + tunnel_tunnel_type_output, + tunnel_version_output, + tunnel_warp_connector_tunnel_output, +} from "../../outputs.js"; import { tunnel_existed_at, tunnel_page_number, @@ -11,6 +36,10 @@ import { tunnel_tunnel_name, tunnel_tunnel_secret, } from "../../schemas.js"; +import { + tunnel_warp_connector_response_collection_output, + tunnel_warp_connector_response_single_output, +} from "./outputs.js"; import { tunnel_client_id_input } from "./schemas.js"; /** @@ -69,6 +98,47 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_warp_connector_tunnel" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_warp-connector-response-single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector`, body: { value: args["body"], mediaType: "application/json" }, @@ -110,6 +180,47 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_warp_connector_tunnel" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_warp-connector-response-single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}`, }), @@ -168,6 +279,47 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_warp_connector_tunnel" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_warp-connector-response-single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -224,6 +376,28 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Write" ] }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_empty_response" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_empty_response": tunnel_empty_response_output, + "tunnel_messages": tunnel_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}/failover`, body: { value: args["body"], mediaType: "application/json" }, @@ -267,6 +441,47 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_warp_connector_tunnel" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_warp-connector-response-single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}`, }), @@ -354,6 +569,62 @@ export const tools: readonly Tool[] = [ "Cloudflare One Connector: WARP Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tunnel_warp_connector_tunnel" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_warp-connector-response-collection" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_result_info": tunnel_result_info_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + "tunnel_warp-connector-response-collection": tunnel_warp_connector_response_collection_output, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector`, query: [ diff --git a/src/generated/forge-mcp/monetization/accountEligibility/outputs.ts b/src/generated/forge-mcp/monetization/accountEligibility/outputs.ts new file mode 100644 index 00000000..2ef080b1 --- /dev/null +++ b/src/generated/forge-mcp/monetization/accountEligibility/outputs.ts @@ -0,0 +1,30 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `monetization_monetization-eligibility-result` in responses. + */ +export const monetization_monetization_eligibility_result_output: JsonSchema = { + "properties": { + "reasons": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "enum": [ + "pending", + "approved", + "rejected" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/monetization/accountEligibility/tools.ts b/src/generated/forge-mcp/monetization/accountEligibility/tools.ts index 154cb9ed..9801eeeb 100644 --- a/src/generated/forge-mcp/monetization/accountEligibility/tools.ts +++ b/src/generated/forge-mcp/monetization/accountEligibility/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + monetization_api_response_common_failure_output, + monetization_response_info_output, +} from "../outputs.js"; +import { monetization_monetization_eligibility_result_output } from "./outputs.js"; import { monetization_monetization_account_eligibility_check_input } from "./schemas.js"; /** @@ -52,6 +57,24 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/monetization_monetization-eligibility-result" + }, + "4XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + } + }, + $defs: { + "monetization_api-response-common-failure": monetization_api_response_common_failure_output, + "monetization_monetization-eligibility-result": monetization_monetization_eligibility_result_output, + "monetization_response-info": monetization_response_info_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/monetization`, body: { value: args["body"], mediaType: "application/json" }, @@ -94,6 +117,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/monetization_monetization-eligibility-result" + }, + "404": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + } + }, + $defs: { + "monetization_api-response-common-failure": monetization_api_response_common_failure_output, + "monetization_monetization-eligibility-result": monetization_monetization_eligibility_result_output, + "monetization_response-info": monetization_response_info_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/monetization`, }), diff --git a/src/generated/forge-mcp/monetization/outputs.ts b/src/generated/forge-mcp/monetization/outputs.ts new file mode 100644 index 00000000..dba9b0a6 --- /dev/null +++ b/src/generated/forge-mcp/monetization/outputs.ts @@ -0,0 +1,56 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `monetization_api-response-common-failure` in responses. + */ +export const monetization_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/monetization_response-info" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/monetization_response-info" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `monetization_response-info` in responses. + */ +export const monetization_response_info_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/monetization/rules/outputs.ts b/src/generated/forge-mcp/monetization/rules/outputs.ts new file mode 100644 index 00000000..f0df0997 --- /dev/null +++ b/src/generated/forge-mcp/monetization/rules/outputs.ts @@ -0,0 +1,157 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `monetization_identifier` in responses. + */ +export const monetization_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `monetization_monetization-price` in responses. + */ +export const monetization_monetization_price_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `monetization_monetization-rule` in responses. + */ +export const monetization_monetization_rule_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/monetization_monetization-rule-input-fixed-price" + }, + { + "properties": { + "id": { + "$ref": "#/$defs/monetization_identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/monetization_monetization-rule-input-origin-controlled" + }, + { + "properties": { + "id": { + "$ref": "#/$defs/monetization_identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `monetization_monetization-rule-collection` in responses. + */ +export const monetization_monetization_rule_collection_output: JsonSchema = { + "properties": { + "rules": { + "items": { + "$ref": "#/$defs/monetization_monetization-rule" + }, + "type": "array" + } + }, + "required": [ + "rules" + ], + "type": "object" +}; + +/** + * The schema of `monetization_monetization-rule-input-fixed-price` in + * responses. + */ +export const monetization_monetization_rule_input_fixed_price_output: JsonSchema = { + "properties": { + "address": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/monetization_identifier" + }, + "price": { + "$ref": "#/$defs/monetization_monetization-price" + }, + "scheme": { + "enum": [ + "exact", + "upto" + ], + "type": "string" + } + }, + "required": [ + "address", + "expression", + "price", + "scheme" + ], + "type": "object" +}; + +/** + * The schema of `monetization_monetization-rule-input-origin-controlled` in + * responses. + */ +export const monetization_monetization_rule_input_origin_controlled_output: JsonSchema = { + "properties": { + "address": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/monetization_identifier" + }, + "scheme": { + "enum": [ + "origin_controlled" + ], + "type": "string" + } + }, + "required": [ + "address", + "expression", + "scheme" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/monetization/rules/tools.ts b/src/generated/forge-mcp/monetization/rules/tools.ts index 12d5facc..cabf140a 100644 --- a/src/generated/forge-mcp/monetization/rules/tools.ts +++ b/src/generated/forge-mcp/monetization/rules/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + monetization_api_response_common_failure_output, + monetization_response_info_output, +} from "../outputs.js"; +import { + monetization_identifier_output, + monetization_monetization_price_output, + monetization_monetization_rule_collection_output, + monetization_monetization_rule_input_fixed_price_output, + monetization_monetization_rule_input_origin_controlled_output, + monetization_monetization_rule_output, +} from "./outputs.js"; import { monetization_identifier, monetization_monetization_price, @@ -55,6 +67,32 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/monetization_monetization-rule-collection" + }, + "404": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + } + }, + $defs: { + "monetization_api-response-common-failure": monetization_api_response_common_failure_output, + "monetization_identifier": monetization_identifier_output, + "monetization_monetization-price": monetization_monetization_price_output, + "monetization_monetization-rule": monetization_monetization_rule_output, + "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, + "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, + "monetization_response-info": monetization_response_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/monetization/rules/${pathParam(args, "rule_id")}`, }), @@ -90,6 +128,29 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/monetization_monetization-rule-collection" + }, + "4XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + } + }, + $defs: { + "monetization_api-response-common-failure": monetization_api_response_common_failure_output, + "monetization_identifier": monetization_identifier_output, + "monetization_monetization-price": monetization_monetization_price_output, + "monetization_monetization-rule": monetization_monetization_rule_output, + "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, + "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, + "monetization_response-info": monetization_response_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/monetization/rules`, }), @@ -138,6 +199,35 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/monetization_monetization-rule-collection" + }, + "403": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + } + }, + $defs: { + "monetization_api-response-common-failure": monetization_api_response_common_failure_output, + "monetization_identifier": monetization_identifier_output, + "monetization_monetization-price": monetization_monetization_price_output, + "monetization_monetization-rule": monetization_monetization_rule_output, + "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, + "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, + "monetization_response-info": monetization_response_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/monetization/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -180,6 +270,31 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/monetization_monetization-rule" + }, + "404": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + } + }, + $defs: { + "monetization_api-response-common-failure": monetization_api_response_common_failure_output, + "monetization_identifier": monetization_identifier_output, + "monetization_monetization-price": monetization_monetization_price_output, + "monetization_monetization-rule": monetization_monetization_rule_output, + "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, + "monetization_response-info": monetization_response_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/monetization/rules/${pathParam(args, "rule_id")}`, }), @@ -215,6 +330,32 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/monetization_monetization-rule-collection" + }, + "404": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + } + }, + $defs: { + "monetization_api-response-common-failure": monetization_api_response_common_failure_output, + "monetization_identifier": monetization_identifier_output, + "monetization_monetization-price": monetization_monetization_price_output, + "monetization_monetization-rule": monetization_monetization_rule_output, + "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, + "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, + "monetization_response-info": monetization_response_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/monetization/rules`, }), @@ -260,6 +401,32 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/monetization_monetization-rule-collection" + }, + "403": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/monetization_api-response-common-failure" + } + }, + $defs: { + "monetization_api-response-common-failure": monetization_api_response_common_failure_output, + "monetization_identifier": monetization_identifier_output, + "monetization_monetization-price": monetization_monetization_price_output, + "monetization_monetization-rule": monetization_monetization_rule_output, + "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, + "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, + "monetization_response-info": monetization_response_info_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/monetization/rules`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/network/outputs.ts b/src/generated/forge-mcp/network/outputs.ts new file mode 100644 index 00000000..a707921a --- /dev/null +++ b/src/generated/forge-mcp/network/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `tunnel_virtual_network_id` in responses. + */ +export const tunnel_virtual_network_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `tunnel_virtual_network_name` in responses. + */ +export const tunnel_virtual_network_name_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/network/routes/cidr/outputs.ts b/src/generated/forge-mcp/network/routes/cidr/outputs.ts new file mode 100644 index 00000000..cd99641a --- /dev/null +++ b/src/generated/forge-mcp/network/routes/cidr/outputs.ts @@ -0,0 +1,100 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tunnel_route` in responses. + */ +export const tunnel_route_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/tunnel_route_comment" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "deleted_at": { + "$ref": "#/$defs/tunnel_deleted_at" + }, + "id": { + "$ref": "#/$defs/tunnel_route_id" + }, + "network": { + "$ref": "#/$defs/tunnel_ip_network" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id" + }, + "virtual_network_id": { + "$ref": "#/$defs/tunnel_virtual_network_id" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_route_response_single` in responses. + */ +export const tunnel_route_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_route" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_teamnet_response_collection` in responses. + */ +export const tunnel_teamnet_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tunnel_teamnet" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/network/routes/cidr/tools.ts b/src/generated/forge-mcp/network/routes/cidr/tools.ts index 1a3c1eec..01748973 100644 --- a/src/generated/forge-mcp/network/routes/cidr/tools.ts +++ b/src/generated/forge-mcp/network/routes/cidr/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_messages_output, + tunnel_result_info_output, + tunnel_tunnel_id_output, + tunnel_tunnel_name_output, + tunnel_tunnel_type_output, +} from "../../../outputs.js"; import { tunnel_existed_at, tunnel_page_number, @@ -10,13 +20,29 @@ import { tunnel_tunnel_type, tunnel_tunnel_types, } from "../../../schemas.js"; +import { + tunnel_virtual_network_id_output, + tunnel_virtual_network_name_output, +} from "../../outputs.js"; import { tunnel_virtual_network_id } from "../../schemas.js"; +import { + tunnel_ip_network_output, + tunnel_route_comment_output, + tunnel_route_id_output, + tunnel_teamnet_output, + tunnel_virtual_network_id_computed_optional_output, +} from "../outputs.js"; import { tunnel_ip_network, tunnel_route_comment, tunnel_route_id, tunnel_virtual_network_id_computed_optional, } from "../schemas.js"; +import { + tunnel_route_output, + tunnel_route_response_single_output, + tunnel_teamnet_response_collection_output, +} from "./outputs.js"; /** * The tools of `network.routes.cidr`. @@ -80,6 +106,36 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_route" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_route_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip_network": tunnel_ip_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_route": tunnel_route_output, + "tunnel_route_comment": tunnel_route_comment_output, + "tunnel_route_id": tunnel_route_id_output, + "tunnel_route_response_single": tunnel_route_response_single_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/routes`, body: { value: args["body"], mediaType: "application/json" }, @@ -121,6 +177,36 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_route" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_route_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip_network": tunnel_ip_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_route": tunnel_route_output, + "tunnel_route_comment": tunnel_route_comment_output, + "tunnel_route_id": tunnel_route_id_output, + "tunnel_route_response_single": tunnel_route_response_single_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/routes/${pathParam(args, "route_id")}`, }), @@ -185,6 +271,36 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_route" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_route_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip_network": tunnel_ip_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_route": tunnel_route_output, + "tunnel_route_comment": tunnel_route_comment_output, + "tunnel_route_id": tunnel_route_id_output, + "tunnel_route_response_single": tunnel_route_response_single_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/routes/${pathParam(args, "route_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -220,6 +336,36 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/teamnet/routes/{route_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_route" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_route_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip_network": tunnel_ip_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_route": tunnel_route_output, + "tunnel_route_comment": tunnel_route_comment_output, + "tunnel_route_id": tunnel_route_id_output, + "tunnel_route_response_single": tunnel_route_response_single_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/routes/${pathParam(args, "route_id")}`, }), @@ -315,6 +461,54 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tunnel_teamnet" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_teamnet_response_collection" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip_network": tunnel_ip_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_result_info": tunnel_result_info_output, + "tunnel_route_comment": tunnel_route_comment_output, + "tunnel_route_id": tunnel_route_id_output, + "tunnel_teamnet": tunnel_teamnet_output, + "tunnel_teamnet_response_collection": tunnel_teamnet_response_collection_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional_output, + "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/routes`, query: [ diff --git a/src/generated/forge-mcp/network/routes/hostname/outputs.ts b/src/generated/forge-mcp/network/routes/hostname/outputs.ts new file mode 100644 index 00000000..0bf05e2f --- /dev/null +++ b/src/generated/forge-mcp/network/routes/hostname/outputs.ts @@ -0,0 +1,151 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tunnel_hostname` in responses. + */ +export const tunnel_hostname_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_hostname_comment` in responses. + */ +export const tunnel_hostname_comment_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_hostname_route` in responses. + */ +export const tunnel_hostname_route_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/tunnel_hostname_comment" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "deleted_at": { + "$ref": "#/$defs/tunnel_deleted_at" + }, + "hostname": { + "$ref": "#/$defs/tunnel_hostname" + }, + "id": { + "$ref": "#/$defs/tunnel_hostname_route_id" + }, + "tun_type": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_tunnel_type" + }, + { + "enum": [ + "cfd_tunnel", + "warp_connector" + ], + "type": "string" + } + ] + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id-3" + }, + "tunnel_name": { + "$ref": "#/$defs/tunnel_tunnel_name-2" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_hostname_route_id` in responses. + */ +export const tunnel_hostname_route_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `tunnel_hostname_route_response_collection` in responses. + */ +export const tunnel_hostname_route_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tunnel_hostname_route" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_hostname_route_response_single` in responses. + */ +export const tunnel_hostname_route_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_hostname_route" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_tunnel_id-3` in responses. + */ +export const tunnel_tunnel_id_3_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `tunnel_tunnel_name-2` in responses. + */ +export const tunnel_tunnel_name_2_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/network/routes/hostname/tools.ts b/src/generated/forge-mcp/network/routes/hostname/tools.ts index 359e8439..8e25b8cf 100644 --- a/src/generated/forge-mcp/network/routes/hostname/tools.ts +++ b/src/generated/forge-mcp/network/routes/hostname/tools.ts @@ -2,11 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_messages_output, + tunnel_result_info_output, + tunnel_tunnel_type_output, +} from "../../../outputs.js"; import { tunnel_existed_at, tunnel_page_number, tunnel_per_page, } from "../../../schemas.js"; +import { + tunnel_hostname_comment_output, + tunnel_hostname_output, + tunnel_hostname_route_id_output, + tunnel_hostname_route_output, + tunnel_hostname_route_response_collection_output, + tunnel_hostname_route_response_single_output, + tunnel_tunnel_id_3_output, + tunnel_tunnel_name_2_output, +} from "./outputs.js"; import { tunnel_hostname, tunnel_hostname_comment, @@ -73,6 +91,37 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_hostname_route" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_hostname_route_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_hostname": tunnel_hostname_output, + "tunnel_hostname_comment": tunnel_hostname_comment_output, + "tunnel_hostname_route": tunnel_hostname_route_output, + "tunnel_hostname_route_id": tunnel_hostname_route_id_output, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, + "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/routes/hostname`, body: { value: args["body"], mediaType: "application/json" }, @@ -114,6 +163,37 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_hostname_route" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_hostname_route_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_hostname": tunnel_hostname_output, + "tunnel_hostname_comment": tunnel_hostname_comment_output, + "tunnel_hostname_route": tunnel_hostname_route_output, + "tunnel_hostname_route_id": tunnel_hostname_route_id_output, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, + "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/routes/hostname/${pathParam(args, "hostname_route_id")}`, }), @@ -177,6 +257,37 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_hostname_route" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_hostname_route_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_hostname": tunnel_hostname_output, + "tunnel_hostname_comment": tunnel_hostname_comment_output, + "tunnel_hostname_route": tunnel_hostname_route_output, + "tunnel_hostname_route_id": tunnel_hostname_route_id_output, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, + "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/routes/hostname/${pathParam(args, "hostname_route_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -220,6 +331,37 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_hostname_route" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_hostname_route_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_hostname": tunnel_hostname_output, + "tunnel_hostname_comment": tunnel_hostname_comment_output, + "tunnel_hostname_route": tunnel_hostname_route_output, + "tunnel_hostname_route_id": tunnel_hostname_route_id_output, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, + "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/routes/hostname/${pathParam(args, "hostname_route_id")}`, }), @@ -300,6 +442,52 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tunnel_hostname_route" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_hostname_route_response_collection" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_hostname": tunnel_hostname_output, + "tunnel_hostname_comment": tunnel_hostname_comment_output, + "tunnel_hostname_route": tunnel_hostname_route_output, + "tunnel_hostname_route_id": tunnel_hostname_route_id_output, + "tunnel_hostname_route_response_collection": tunnel_hostname_route_response_collection_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_result_info": tunnel_result_info_output, + "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, + "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/routes/hostname`, query: [ diff --git a/src/generated/forge-mcp/network/routes/outputs.ts b/src/generated/forge-mcp/network/routes/outputs.ts new file mode 100644 index 00000000..419476a8 --- /dev/null +++ b/src/generated/forge-mcp/network/routes/outputs.ts @@ -0,0 +1,102 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tunnel_ip_network` in responses. + */ +export const tunnel_ip_network_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_route_comment` in responses. + */ +export const tunnel_route_comment_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_route_id` in responses. + */ +export const tunnel_route_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_teamnet` in responses. + */ +export const tunnel_teamnet_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/tunnel_route_comment" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "deleted_at": { + "$ref": "#/$defs/tunnel_deleted_at" + }, + "id": { + "$ref": "#/$defs/tunnel_route_id" + }, + "network": { + "$ref": "#/$defs/tunnel_ip_network" + }, + "tun_type": { + "$ref": "#/$defs/tunnel_tunnel_type" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id" + }, + "tunnel_name": { + "$ref": "#/$defs/tunnel_tunnel_name" + }, + "virtual_network_id": { + "$ref": "#/$defs/tunnel_virtual_network_id_computed_optional" + }, + "virtual_network_name": { + "$ref": "#/$defs/tunnel_virtual_network_name" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_teamnet_response_single` in responses. + */ +export const tunnel_teamnet_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_teamnet" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_virtual_network_id_computed_optional` in responses. + */ +export const tunnel_virtual_network_id_computed_optional_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; diff --git a/src/generated/forge-mcp/network/routes/tools.ts b/src/generated/forge-mcp/network/routes/tools.ts index 59c47b47..9aca0d18 100644 --- a/src/generated/forge-mcp/network/routes/tools.ts +++ b/src/generated/forge-mcp/network/routes/tools.ts @@ -2,7 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_messages_output, + tunnel_tunnel_id_output, + tunnel_tunnel_name_output, + tunnel_tunnel_type_output, +} from "../../outputs.js"; +import { tunnel_virtual_network_name_output } from "../outputs.js"; import { tunnel_virtual_network_id } from "../schemas.js"; +import { + tunnel_ip_network_output, + tunnel_route_comment_output, + tunnel_route_id_output, + tunnel_teamnet_output, + tunnel_teamnet_response_single_output, + tunnel_virtual_network_id_computed_optional_output, +} from "./outputs.js"; /** * The tools of `network.routes`. @@ -57,6 +75,39 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_teamnet" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_teamnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip_network": tunnel_ip_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_route_comment": tunnel_route_comment_output, + "tunnel_route_id": tunnel_route_id_output, + "tunnel_teamnet": tunnel_teamnet_output, + "tunnel_teamnet_response_single": tunnel_teamnet_response_single_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional_output, + "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/routes/ip/${pathParam(args, "ip")}`, query: [ diff --git a/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts b/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts index 79d55dd5..b9e81b61 100644 --- a/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts +++ b/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_messages_output, +} from "../../../outputs.js"; +import { + tunnel_subnet_capacity_output, + tunnel_subnet_comment_output, + tunnel_subnet_id_output, + tunnel_subnet_ip_network_output, + tunnel_subnet_is_default_network_output, + tunnel_subnet_name_output, + tunnel_subnet_output, + tunnel_subnet_response_single_output, + tunnel_subnet_type_output, +} from "../outputs.js"; import { tunnel_subnet_comment, tunnel_subnet_ip_network, @@ -71,6 +88,38 @@ export const tools: readonly Tool[] = [ "Cloudflare One Networks Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_subnet" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_subnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_subnet": tunnel_subnet_output, + "tunnel_subnet_capacity": tunnel_subnet_capacity_output, + "tunnel_subnet_comment": tunnel_subnet_comment_output, + "tunnel_subnet_id": tunnel_subnet_id_output, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, + "tunnel_subnet_name": tunnel_subnet_name_output, + "tunnel_subnet_response_single": tunnel_subnet_response_single_output, + "tunnel_subnet_type": tunnel_subnet_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets/cloudflare_source/${pathParam(args, "address_family")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -106,6 +155,38 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/zerotrust/subnets/cloudflare_source/{address_family}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_subnet" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_subnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_subnet": tunnel_subnet_output, + "tunnel_subnet_capacity": tunnel_subnet_capacity_output, + "tunnel_subnet_comment": tunnel_subnet_comment_output, + "tunnel_subnet_id": tunnel_subnet_id_output, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, + "tunnel_subnet_name": tunnel_subnet_name_output, + "tunnel_subnet_response_single": tunnel_subnet_response_single_output, + "tunnel_subnet_type": tunnel_subnet_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets/cloudflare_source/${pathParam(args, "address_family")}`, }), diff --git a/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts b/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts index b6fae03f..7b84fc56 100644 --- a/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts +++ b/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_messages_output, +} from "../../../outputs.js"; +import { + tunnel_subnet_capacity_output, + tunnel_subnet_comment_output, + tunnel_subnet_id_output, + tunnel_subnet_ip_network_output, + tunnel_subnet_is_default_network_output, + tunnel_subnet_name_output, + tunnel_subnet_output, + tunnel_subnet_response_single_output, + tunnel_subnet_type_output, +} from "../outputs.js"; import { tunnel_subnet_comment, tunnel_subnet_ip_network, @@ -66,6 +83,38 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/zerotrust/subnets/initial_resolved_ip/{address_family}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_subnet" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_subnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_subnet": tunnel_subnet_output, + "tunnel_subnet_capacity": tunnel_subnet_capacity_output, + "tunnel_subnet_comment": tunnel_subnet_comment_output, + "tunnel_subnet_id": tunnel_subnet_id_output, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, + "tunnel_subnet_name": tunnel_subnet_name_output, + "tunnel_subnet_response_single": tunnel_subnet_response_single_output, + "tunnel_subnet_type": tunnel_subnet_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets/initial_resolved_ip/${pathParam(args, "address_family")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -107,6 +156,38 @@ export const tools: readonly Tool[] = [ "Cloudflare One Networks Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_subnet" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_subnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_subnet": tunnel_subnet_output, + "tunnel_subnet_capacity": tunnel_subnet_capacity_output, + "tunnel_subnet_comment": tunnel_subnet_comment_output, + "tunnel_subnet_id": tunnel_subnet_id_output, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, + "tunnel_subnet_name": tunnel_subnet_name_output, + "tunnel_subnet_response_single": tunnel_subnet_response_single_output, + "tunnel_subnet_type": tunnel_subnet_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets/initial_resolved_ip/${pathParam(args, "address_family")}`, }), diff --git a/src/generated/forge-mcp/network/subnets/outputs.ts b/src/generated/forge-mcp/network/subnets/outputs.ts new file mode 100644 index 00000000..374a3ce5 --- /dev/null +++ b/src/generated/forge-mcp/network/subnets/outputs.ts @@ -0,0 +1,169 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tunnel_subnet` in responses. + */ +export const tunnel_subnet_output: JsonSchema = { + "properties": { + "capacity": { + "$ref": "#/$defs/tunnel_subnet_capacity" + }, + "comment": { + "$ref": "#/$defs/tunnel_subnet_comment" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "deleted_at": { + "$ref": "#/$defs/tunnel_deleted_at" + }, + "id": { + "$ref": "#/$defs/tunnel_subnet_id" + }, + "is_default_network": { + "$ref": "#/$defs/tunnel_subnet_is_default_network" + }, + "name": { + "$ref": "#/$defs/tunnel_subnet_name" + }, + "network": { + "$ref": "#/$defs/tunnel_subnet_ip_network" + }, + "subnet_type": { + "$ref": "#/$defs/tunnel_subnet_type" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_subnet_capacity` in responses. + */ +export const tunnel_subnet_capacity_output: JsonSchema = { + "properties": { + "total": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_subnet_comment` in responses. + */ +export const tunnel_subnet_comment_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_subnet_id` in responses. + */ +export const tunnel_subnet_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `tunnel_subnet_ip_network` in responses. + */ +export const tunnel_subnet_ip_network_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_subnet_is_default_network` in responses. + */ +export const tunnel_subnet_is_default_network_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tunnel_subnet_name` in responses. + */ +export const tunnel_subnet_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_subnet_response_collection` in responses. + */ +export const tunnel_subnet_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tunnel_subnet" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_subnet_response_single` in responses. + */ +export const tunnel_subnet_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_subnet" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_subnet_type` in responses. + */ +export const tunnel_subnet_type_output: JsonSchema = { + "enum": [ + "cloudflare_source", + "initial_resolved_ip", + "warp" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/network/subnets/tools.ts b/src/generated/forge-mcp/network/subnets/tools.ts index b2733dc1..a18eb190 100644 --- a/src/generated/forge-mcp/network/subnets/tools.ts +++ b/src/generated/forge-mcp/network/subnets/tools.ts @@ -2,11 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_messages_output, + tunnel_result_info_output, +} from "../../outputs.js"; import { tunnel_existed_at, tunnel_page_number, tunnel_per_page, } from "../../schemas.js"; +import { + tunnel_subnet_capacity_output, + tunnel_subnet_comment_output, + tunnel_subnet_id_output, + tunnel_subnet_ip_network_output, + tunnel_subnet_is_default_network_output, + tunnel_subnet_name_output, + tunnel_subnet_output, + tunnel_subnet_response_collection_output, + tunnel_subnet_type_output, +} from "./outputs.js"; import { tunnel_address_family, tunnel_ip_network_encoded, @@ -112,6 +130,53 @@ export const tools: readonly Tool[] = [ "Cloudflare One Networks Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tunnel_subnet" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_subnet_response_collection" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_result_info": tunnel_result_info_output, + "tunnel_subnet": tunnel_subnet_output, + "tunnel_subnet_capacity": tunnel_subnet_capacity_output, + "tunnel_subnet_comment": tunnel_subnet_comment_output, + "tunnel_subnet_id": tunnel_subnet_id_output, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, + "tunnel_subnet_name": tunnel_subnet_name_output, + "tunnel_subnet_response_collection": tunnel_subnet_response_collection_output, + "tunnel_subnet_type": tunnel_subnet_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets`, query: [ diff --git a/src/generated/forge-mcp/network/subnets/warp/outputs.ts b/src/generated/forge-mcp/network/subnets/warp/outputs.ts new file mode 100644 index 00000000..89fac990 --- /dev/null +++ b/src/generated/forge-mcp/network/subnets/warp/outputs.ts @@ -0,0 +1,77 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tunnel_subnet_response_single_nullable` in responses. + */ +export const tunnel_subnet_response_single_nullable_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_subnet_response_single_nullable_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_subnet_response_single_nullable_result` in responses. + */ +export const tunnel_subnet_response_single_nullable_result_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "capacity": { + "$ref": "#/$defs/tunnel_subnet_capacity" + }, + "comment": { + "$ref": "#/$defs/tunnel_subnet_comment" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "deleted_at": { + "$ref": "#/$defs/tunnel_deleted_at" + }, + "id": { + "$ref": "#/$defs/tunnel_subnet_id" + }, + "is_default_network": { + "$ref": "#/$defs/tunnel_subnet_is_default_network" + }, + "name": { + "$ref": "#/$defs/tunnel_subnet_name" + }, + "network": { + "$ref": "#/$defs/tunnel_subnet_ip_network" + }, + "subnet_type": { + "$ref": "#/$defs/tunnel_subnet_type" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/network/subnets/warp/tools.ts b/src/generated/forge-mcp/network/subnets/warp/tools.ts index e99d9f23..5ec078e4 100644 --- a/src/generated/forge-mcp/network/subnets/warp/tools.ts +++ b/src/generated/forge-mcp/network/subnets/warp/tools.ts @@ -2,12 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_messages_output, +} from "../../../outputs.js"; +import { + tunnel_subnet_capacity_output, + tunnel_subnet_comment_output, + tunnel_subnet_id_output, + tunnel_subnet_ip_network_output, + tunnel_subnet_is_default_network_output, + tunnel_subnet_name_output, + tunnel_subnet_output, + tunnel_subnet_response_single_output, + tunnel_subnet_type_output, +} from "../outputs.js"; import { tunnel_subnet_comment, tunnel_subnet_ip_network, tunnel_subnet_is_default_network, tunnel_subnet_name, } from "../schemas.js"; +import { + tunnel_subnet_response_single_nullable_output, + tunnel_subnet_response_single_nullable_result_output, +} from "./outputs.js"; /** * The tools of `network.subnets.warp`. @@ -77,6 +98,38 @@ export const tools: readonly Tool[] = [ "Cloudflare One Networks Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_subnet" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_subnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_subnet": tunnel_subnet_output, + "tunnel_subnet_capacity": tunnel_subnet_capacity_output, + "tunnel_subnet_comment": tunnel_subnet_comment_output, + "tunnel_subnet_id": tunnel_subnet_id_output, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, + "tunnel_subnet_name": tunnel_subnet_name_output, + "tunnel_subnet_response_single": tunnel_subnet_response_single_output, + "tunnel_subnet_type": tunnel_subnet_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets/warp`, body: { value: args["body"], mediaType: "application/json" }, @@ -117,6 +170,74 @@ export const tools: readonly Tool[] = [ "Cloudflare One Networks Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "capacity": { + "$ref": "#/$defs/tunnel_subnet_capacity" + }, + "comment": { + "$ref": "#/$defs/tunnel_subnet_comment" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "deleted_at": { + "$ref": "#/$defs/tunnel_deleted_at" + }, + "id": { + "$ref": "#/$defs/tunnel_subnet_id" + }, + "is_default_network": { + "$ref": "#/$defs/tunnel_subnet_is_default_network" + }, + "name": { + "$ref": "#/$defs/tunnel_subnet_name" + }, + "network": { + "$ref": "#/$defs/tunnel_subnet_ip_network" + }, + "subnet_type": { + "$ref": "#/$defs/tunnel_subnet_type" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_subnet_response_single_nullable" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_subnet_capacity": tunnel_subnet_capacity_output, + "tunnel_subnet_comment": tunnel_subnet_comment_output, + "tunnel_subnet_id": tunnel_subnet_id_output, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, + "tunnel_subnet_name": tunnel_subnet_name_output, + "tunnel_subnet_response_single_nullable": tunnel_subnet_response_single_nullable_output, + "tunnel_subnet_response_single_nullable_result": tunnel_subnet_response_single_nullable_result_output, + "tunnel_subnet_type": tunnel_subnet_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets/warp/${pathParam(args, "subnet_id")}`, }), @@ -186,6 +307,38 @@ export const tools: readonly Tool[] = [ "Cloudflare One Networks Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_subnet" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_subnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_subnet": tunnel_subnet_output, + "tunnel_subnet_capacity": tunnel_subnet_capacity_output, + "tunnel_subnet_comment": tunnel_subnet_comment_output, + "tunnel_subnet_id": tunnel_subnet_id_output, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, + "tunnel_subnet_name": tunnel_subnet_name_output, + "tunnel_subnet_response_single": tunnel_subnet_response_single_output, + "tunnel_subnet_type": tunnel_subnet_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets/warp/${pathParam(args, "subnet_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -227,6 +380,38 @@ export const tools: readonly Tool[] = [ "Cloudflare One Networks Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_subnet" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_subnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_subnet": tunnel_subnet_output, + "tunnel_subnet_capacity": tunnel_subnet_capacity_output, + "tunnel_subnet_comment": tunnel_subnet_comment_output, + "tunnel_subnet_id": tunnel_subnet_id_output, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, + "tunnel_subnet_name": tunnel_subnet_name_output, + "tunnel_subnet_response_single": tunnel_subnet_response_single_output, + "tunnel_subnet_type": tunnel_subnet_type_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets/warp/${pathParam(args, "subnet_id")}`, }), diff --git a/src/generated/forge-mcp/network/virtualNetworks/outputs.ts b/src/generated/forge-mcp/network/virtualNetworks/outputs.ts new file mode 100644 index 00000000..6314e8a7 --- /dev/null +++ b/src/generated/forge-mcp/network/virtualNetworks/outputs.ts @@ -0,0 +1,118 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tunnel_is_default_network` in responses. + */ +export const tunnel_is_default_network_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tunnel_virtual-network` in responses. + */ +export const tunnel_virtual_network_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/tunnel_virtual_network_comment" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "deleted_at": { + "$ref": "#/$defs/tunnel_deleted_at" + }, + "id": { + "$ref": "#/$defs/tunnel_virtual_network_id" + }, + "is_default_network": { + "$ref": "#/$defs/tunnel_is_default_network" + }, + "name": { + "$ref": "#/$defs/tunnel_virtual_network_name" + } + }, + "required": [ + "comment", + "created_at", + "id", + "is_default_network", + "name" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_virtual_network_comment` in responses. + */ +export const tunnel_virtual_network_comment_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_vnet_response_collection` in responses. + */ +export const tunnel_vnet_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tunnel_virtual-network" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_vnet_response_single` in responses. + */ +export const tunnel_vnet_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_virtual-network" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/network/virtualNetworks/tools.ts b/src/generated/forge-mcp/network/virtualNetworks/tools.ts index 32a73529..8bea6c24 100644 --- a/src/generated/forge-mcp/network/virtualNetworks/tools.ts +++ b/src/generated/forge-mcp/network/virtualNetworks/tools.ts @@ -2,10 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_messages_output, + tunnel_result_info_output, +} from "../../outputs.js"; +import { + tunnel_virtual_network_id_output, + tunnel_virtual_network_name_output, +} from "../outputs.js"; import { tunnel_virtual_network_id, tunnel_virtual_network_name, } from "../schemas.js"; +import { + tunnel_is_default_network_output, + tunnel_virtual_network_comment_output, + tunnel_virtual_network_output, + tunnel_vnet_response_collection_output, + tunnel_vnet_response_single_output, +} from "./outputs.js"; import { tunnel_is_default_network, tunnel_is_default_network_optional, @@ -80,6 +98,35 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_virtual-network" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_vnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_is_default_network": tunnel_is_default_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_virtual-network": tunnel_virtual_network_output, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, + "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/virtual_networks`, body: { value: args["body"], mediaType: "application/json" }, @@ -121,6 +168,35 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_virtual-network" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_vnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_is_default_network": tunnel_is_default_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_virtual-network": tunnel_virtual_network_output, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, + "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/virtual_networks/${pathParam(args, "virtual_network_id")}`, }), @@ -186,6 +262,35 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_virtual-network" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_vnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_is_default_network": tunnel_is_default_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_virtual-network": tunnel_virtual_network_output, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, + "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/virtual_networks/${pathParam(args, "virtual_network_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -245,6 +350,35 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_virtual-network" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_vnet_response_single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_is_default_network": tunnel_is_default_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_virtual-network": tunnel_virtual_network_output, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, + "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/virtual_networks/${pathParam(args, "virtual_network_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -308,6 +442,50 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tunnel_virtual-network" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_vnet_response_collection" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_is_default_network": tunnel_is_default_network_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_result_info": tunnel_result_info_output, + "tunnel_virtual-network": tunnel_virtual_network_output, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, + "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + "tunnel_vnet_response_collection": tunnel_vnet_response_collection_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/virtual_networks`, query: [ diff --git a/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts b/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts new file mode 100644 index 00000000..4234c2a3 --- /dev/null +++ b/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts @@ -0,0 +1,140 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `nsc_BgpControl` in responses. + */ +export const nsc_BgpControl_output: JsonSchema = { + "properties": { + "customer_asn": { + "type": "integer" + }, + "extra_prefixes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "md5_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "customer_asn", + "extra_prefixes" + ], + "type": "object" +}; + +/** + * The schema of `nsc_BgpMode` in responses. + */ +export const nsc_BgpMode_output: JsonSchema = { + "enum": [ + "dynamic_route_exchange", + "advertise_only" + ], + "type": "string" +}; + +/** + * The schema of `nsc_Cni` in responses. + */ +export const nsc_Cni_output: JsonSchema = { + "properties": { + "account": { + "$ref": "#/$defs/nsc_AccountTag" + }, + "bgp": { + "$ref": "#/$defs/nsc_BgpControl" + }, + "bgp_mode": { + "$ref": "#/$defs/nsc_BgpMode" + }, + "cust_ip": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "interconnect": { + "type": "string" + }, + "magic": { + "$ref": "#/$defs/nsc_MagicSettings" + }, + "p2p_ip": { + "type": "string" + } + }, + "required": [ + "account", + "cust_ip", + "id", + "interconnect", + "magic", + "p2p_ip" + ], + "type": "object" +}; + +/** + * The schema of `nsc_CniList` in responses. + */ +export const nsc_CniList_output: JsonSchema = { + "properties": { + "items": { + "items": { + "$ref": "#/$defs/nsc_Cni" + }, + "type": "array" + }, + "next": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "items" + ], + "type": "object" +}; + +/** + * The schema of `nsc_MagicSettings` in responses. + */ +export const nsc_MagicSettings_output: JsonSchema = { + "properties": { + "conduit_name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mtu": { + "type": "integer" + } + }, + "required": [ + "conduit_name", + "description", + "mtu" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts b/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts index 7822d1c9..11510642 100644 --- a/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts @@ -2,7 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { nsc_AccountTag_output } from "../outputs.js"; import { nsc_AccountTag } from "../schemas.js"; +import { + nsc_BgpControl_output, + nsc_BgpMode_output, + nsc_CniList_output, + nsc_Cni_output, + nsc_MagicSettings_output, +} from "./outputs.js"; import { nsc_BgpControl, nsc_BgpMode, @@ -56,6 +64,23 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_Cni" + }, + "400": null, + "409": null, + "500": null + }, + $defs: { + "nsc_AccountTag": nsc_AccountTag_output, + "nsc_BgpControl": nsc_BgpControl_output, + "nsc_BgpMode": nsc_BgpMode_output, + "nsc_Cni": nsc_Cni_output, + "nsc_MagicSettings": nsc_MagicSettings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/cnis`, body: { value: args["body"], mediaType: "application/json" }, @@ -98,6 +123,14 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": null, + "400": null, + "404": null, + "500": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/cnis/${pathParam(args, "cni")}`, }), @@ -141,6 +174,23 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_Cni" + }, + "400": null, + "404": null, + "500": null + }, + $defs: { + "nsc_AccountTag": nsc_AccountTag_output, + "nsc_BgpControl": nsc_BgpControl_output, + "nsc_BgpMode": nsc_BgpMode_output, + "nsc_Cni": nsc_Cni_output, + "nsc_MagicSettings": nsc_MagicSettings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/cnis/${pathParam(args, "cni")}`, }), @@ -220,6 +270,24 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_CniList" + }, + "400": null, + "404": null, + "500": null + }, + $defs: { + "nsc_AccountTag": nsc_AccountTag_output, + "nsc_BgpControl": nsc_BgpControl_output, + "nsc_BgpMode": nsc_BgpMode_output, + "nsc_Cni": nsc_Cni_output, + "nsc_CniList": nsc_CniList_output, + "nsc_MagicSettings": nsc_MagicSettings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/cnis`, query: [ @@ -278,6 +346,23 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_Cni" + }, + "400": null, + "404": null, + "500": null + }, + $defs: { + "nsc_AccountTag": nsc_AccountTag_output, + "nsc_BgpControl": nsc_BgpControl_output, + "nsc_BgpMode": nsc_BgpMode_output, + "nsc_Cni": nsc_Cni_output, + "nsc_MagicSettings": nsc_MagicSettings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/cnis/${pathParam(args, "cni")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts b/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts new file mode 100644 index 00000000..11190f7f --- /dev/null +++ b/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts @@ -0,0 +1,291 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `nsc_ApiBandwidth` in responses. + */ +export const nsc_ApiBandwidth_output: JsonSchema = { + "enum": [ + "50M", + "100M", + "200M", + "300M", + "400M", + "500M", + "1G", + "2G", + "5G", + "10G", + "20G", + "50G" + ], + "type": "string" +}; + +/** + * The schema of `nsc_CloudflareSite` in responses. + */ +export const nsc_CloudflareSite_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `nsc_DefaultNameResponse` in responses. + */ +export const nsc_DefaultNameResponse_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" +}; + +/** + * The schema of `nsc_Interconnect` in responses. + */ +export const nsc_Interconnect_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/nsc_Interconnect_Physical_Body" + }, + { + "$ref": "#/$defs/nsc_Interconnect_GcpPartner_Body" + } + ] +}; + +/** + * The schema of `nsc_InterconnectList` in responses. + */ +export const nsc_InterconnectList_output: JsonSchema = { + "properties": { + "items": { + "items": { + "$ref": "#/$defs/nsc_Interconnect" + }, + "type": "array" + }, + "next": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "items" + ], + "type": "object" +}; + +/** + * The schema of `nsc_Interconnect_GcpPartner_Body` in responses. + */ +export const nsc_Interconnect_GcpPartner_Body_output: JsonSchema = { + "allOf": [ + { + "properties": { + "account": { + "type": "string" + }, + "name": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "account", + "name", + "type" + ], + "type": "object" + }, + { + "properties": { + "region": { + "type": "string" + }, + "speed": { + "$ref": "#/$defs/nsc_ApiBandwidth" + }, + "virtual_port_reservation_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "region", + "virtual_port_reservation_id" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `nsc_Interconnect_Physical_Body` in responses. + */ +export const nsc_Interconnect_Physical_Body_output: JsonSchema = { + "allOf": [ + { + "properties": { + "account": { + "type": "string" + }, + "name": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "account", + "name", + "type" + ], + "type": "object" + }, + { + "properties": { + "ccr_device_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "facility": { + "$ref": "#/$defs/nsc_FacilityInfo" + }, + "site": { + "$ref": "#/$defs/nsc_CloudflareSite" + }, + "slot_id": { + "format": "uuid", + "type": "string" + }, + "speed": { + "type": "string" + }, + "virtual_port_reservation_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "facility", + "site", + "slot_id", + "speed", + "virtual_port_reservation_id" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `nsc_StatusInfo` in responses. + */ +export const nsc_StatusInfo_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "state": { + "enum": [ + "Pending" + ], + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + }, + { + "properties": { + "reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "state": { + "enum": [ + "Down" + ], + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + }, + { + "properties": { + "reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "state": { + "enum": [ + "Unhealthy" + ], + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + }, + { + "properties": { + "state": { + "enum": [ + "Healthy" + ], + "type": "string" + } + }, + "required": [ + "state" + ], + "type": "object" + } + ] +}; diff --git a/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts b/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts index 62a861a5..91454b08 100644 --- a/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { nsc_FacilityInfo_output } from "../outputs.js"; +import { + nsc_ApiBandwidth_output, + nsc_CloudflareSite_output, + nsc_DefaultNameResponse_output, + nsc_InterconnectList_output, + nsc_Interconnect_GcpPartner_Body_output, + nsc_Interconnect_Physical_Body_output, + nsc_Interconnect_output, + nsc_StatusInfo_output, +} from "./outputs.js"; import { nsc_ApiBandwidth, nsc_InterconnectCreate, @@ -54,6 +65,23 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_Interconnect" + }, + "400": null, + "500": null + }, + $defs: { + "nsc_ApiBandwidth": nsc_ApiBandwidth_output, + "nsc_CloudflareSite": nsc_CloudflareSite_output, + "nsc_FacilityInfo": nsc_FacilityInfo_output, + "nsc_Interconnect": nsc_Interconnect_output, + "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body_output, + "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/interconnects`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +123,14 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": null, + "400": null, + "404": null, + "500": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/interconnects/${pathParam(args, "icon")}`, }), @@ -137,6 +173,24 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_Interconnect" + }, + "400": null, + "404": null, + "500": null + }, + $defs: { + "nsc_ApiBandwidth": nsc_ApiBandwidth_output, + "nsc_CloudflareSite": nsc_CloudflareSite_output, + "nsc_FacilityInfo": nsc_FacilityInfo_output, + "nsc_Interconnect": nsc_Interconnect_output, + "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body_output, + "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/interconnects/${pathParam(args, "icon")}`, }), @@ -216,6 +270,24 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_InterconnectList" + }, + "400": null, + "500": null + }, + $defs: { + "nsc_ApiBandwidth": nsc_ApiBandwidth_output, + "nsc_CloudflareSite": nsc_CloudflareSite_output, + "nsc_FacilityInfo": nsc_FacilityInfo_output, + "nsc_Interconnect": nsc_Interconnect_output, + "nsc_InterconnectList": nsc_InterconnectList_output, + "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body_output, + "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/interconnects`, query: [ @@ -275,6 +347,14 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": null, + "400": null, + "404": null, + "500": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/interconnects/${pathParam(args, "icon")}/loa`, query: [ @@ -320,6 +400,19 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_DefaultNameResponse" + }, + "400": null, + "404": null, + "500": null + }, + $defs: { + "nsc_DefaultNameResponse": nsc_DefaultNameResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/interconnects/${pathParam(args, "icon")}/loa/default`, }), @@ -362,6 +455,19 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_StatusInfo" + }, + "400": null, + "404": null, + "500": null + }, + $defs: { + "nsc_StatusInfo": nsc_StatusInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/interconnects/${pathParam(args, "icon")}/status`, }), diff --git a/src/generated/forge-mcp/networkInterconnects/outputs.ts b/src/generated/forge-mcp/networkInterconnects/outputs.ts new file mode 100644 index 00000000..1a96d0fd --- /dev/null +++ b/src/generated/forge-mcp/networkInterconnects/outputs.ts @@ -0,0 +1,33 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `nsc_AccountTag` in responses. + */ +export const nsc_AccountTag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `nsc_FacilityInfo` in responses. + */ +export const nsc_FacilityInfo_output: JsonSchema = { + "properties": { + "address": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "required": [ + "address", + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/networkInterconnects/settings/outputs.ts b/src/generated/forge-mcp/networkInterconnects/settings/outputs.ts new file mode 100644 index 00000000..51224717 --- /dev/null +++ b/src/generated/forge-mcp/networkInterconnects/settings/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `nsc_Settings` in responses. + */ +export const nsc_Settings_output: JsonSchema = { + "properties": { + "default_asn": { + "type": "integer" + } + }, + "required": [ + "default_asn" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/networkInterconnects/settings/tools.ts b/src/generated/forge-mcp/networkInterconnects/settings/tools.ts index 2ee68db0..7360402f 100644 --- a/src/generated/forge-mcp/networkInterconnects/settings/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/settings/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { nsc_Settings_output } from "./outputs.js"; import { nsc_SettingsRequest } from "./schemas.js"; /** @@ -41,6 +42,19 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_Settings" + }, + "400": null, + "404": null, + "500": null + }, + $defs: { + "nsc_Settings": nsc_Settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/settings`, }), @@ -83,6 +97,19 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_Settings" + }, + "400": null, + "404": null, + "500": null + }, + $defs: { + "nsc_Settings": nsc_Settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts b/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts new file mode 100644 index 00000000..3b584472 --- /dev/null +++ b/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts @@ -0,0 +1,77 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `nsc_SlotInfo` in responses. + */ +export const nsc_SlotInfo_output: JsonSchema = { + "properties": { + "account": { + "$ref": "#/$defs/nsc_AccountTag" + }, + "ccr_device_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "facility": { + "$ref": "#/$defs/nsc_FacilityInfo" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "occupied": { + "type": "boolean" + }, + "site": { + "type": "string" + }, + "speed": { + "type": "string" + } + }, + "required": [ + "facility", + "id", + "occupied", + "site", + "speed" + ], + "type": "object" +}; + +/** + * The schema of `nsc_SlotList` in responses. + */ +export const nsc_SlotList_output: JsonSchema = { + "properties": { + "items": { + "items": { + "$ref": "#/$defs/nsc_SlotInfo" + }, + "type": "array" + }, + "next": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "items" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/networkInterconnects/slots/tools.ts b/src/generated/forge-mcp/networkInterconnects/slots/tools.ts index e892ee54..cbcb0eb8 100644 --- a/src/generated/forge-mcp/networkInterconnects/slots/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/slots/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { nsc_AccountTag_output, nsc_FacilityInfo_output } from "../outputs.js"; +import { nsc_SlotInfo_output, nsc_SlotList_output } from "./outputs.js"; /** * The tools of `network_interconnects.slots`. @@ -45,6 +47,21 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_SlotInfo" + }, + "400": null, + "404": null, + "500": null + }, + $defs: { + "nsc_AccountTag": nsc_AccountTag_output, + "nsc_FacilityInfo": nsc_FacilityInfo_output, + "nsc_SlotInfo": nsc_SlotInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/slots/${pathParam(args, "slot")}`, }), @@ -146,6 +163,21 @@ export const tools: readonly Tool[] = [ "Magic Transit Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/nsc_SlotList" + }, + "400": null, + "500": null + }, + $defs: { + "nsc_AccountTag": nsc_AccountTag_output, + "nsc_FacilityInfo": nsc_FacilityInfo_output, + "nsc_SlotInfo": nsc_SlotInfo_output, + "nsc_SlotList": nsc_SlotList_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/slots`, query: [ diff --git a/src/generated/forge-mcp/o11y/agents/sessions/outputs.ts b/src/generated/forge-mcp/o11y/agents/sessions/outputs.ts new file mode 100644 index 00000000..1044b6e2 --- /dev/null +++ b/src/generated/forge-mcp/o11y/agents/sessions/outputs.ts @@ -0,0 +1,140 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `workers-observability_agent_session` in responses. + */ +export const workers_observability_agent_session_output: JsonSchema = { + "properties": { + "conversationId": { + "type": "string" + }, + "inputTokens": { + "type": "number" + }, + "lastActiveMs": { + "type": "integer" + }, + "models": { + "items": { + "type": "string" + }, + "type": "array" + }, + "outputTokens": { + "type": "number" + }, + "providers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "sessionDurationMs": { + "type": "integer" + }, + "sessionStartMs": { + "type": "integer" + }, + "status": { + "enum": [ + "observed_no_error", + "error" + ], + "type": "string" + }, + "traceCount": { + "type": "integer" + } + }, + "required": [ + "conversationId", + "lastActiveMs", + "models", + "providers", + "sessionDurationMs", + "sessionStartMs", + "status", + "traceCount" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_agent_session_run` in responses. + */ +export const workers_observability_agent_session_run_output: JsonSchema = { + "properties": { + "conversationId": { + "type": "string" + }, + "errors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "inputTokens": { + "type": "number" + }, + "models": { + "items": { + "type": "string" + }, + "type": "array" + }, + "outputTokens": { + "type": "number" + }, + "providers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "services": { + "items": { + "type": "string" + }, + "type": "array" + }, + "spans": { + "type": "integer" + }, + "status": { + "enum": [ + "completed", + "error" + ], + "type": "string" + }, + "traceDurationMs": { + "type": "integer" + }, + "traceEndMs": { + "type": "integer" + }, + "traceId": { + "type": "string" + }, + "traceStartMs": { + "type": "integer" + } + }, + "required": [ + "conversationId", + "errors", + "models", + "providers", + "services", + "spans", + "status", + "traceDurationMs", + "traceEndMs", + "traceId", + "traceStartMs" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/o11y/agents/sessions/tools.ts b/src/generated/forge-mcp/o11y/agents/sessions/tools.ts index 589bafe9..7000e0da 100644 --- a/src/generated/forge-mcp/o11y/agents/sessions/tools.ts +++ b/src/generated/forge-mcp/o11y/agents/sessions/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + workers_observability_agent_session_output, + workers_observability_agent_session_run_output, +} from "./outputs.js"; /** * The tools of `o11y.agents.sessions`. @@ -60,6 +64,361 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/agents/sessions", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers-observability_agent_session" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursors": { + "properties": { + "after": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "after" + ], + "type": "object" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursors", + "per_page" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Too many requests" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "504": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Gateway timeout" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + $defs: { + "workers-observability_agent_session": workers_observability_agent_session_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/agents/sessions`, query: [ @@ -130,6 +489,361 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/agents/sessions/{conversationId}/runs", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers-observability_agent_session_run" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursors": { + "properties": { + "after": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "after" + ], + "type": "object" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursors", + "per_page" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Too many requests" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "504": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Gateway timeout" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + $defs: { + "workers-observability_agent_session_run": workers_observability_agent_session_run_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/agents/sessions/${pathParam(args, "conversation_id")}/runs`, query: [ diff --git a/src/generated/forge-mcp/o11y/destinations/tools.ts b/src/generated/forge-mcp/o11y/destinations/tools.ts index ffc1a856..ccc39e14 100644 --- a/src/generated/forge-mcp/o11y/destinations/tools.ts +++ b/src/generated/forge-mcp/o11y/destinations/tools.ts @@ -85,6 +85,298 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/destinations", + responses: { + schemas: { + "201": { + "properties": { + "configuration": { + "properties": { + "headers": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "jobStatus": { + "properties": { + "error_message": { + "type": "string" + }, + "last_complete": { + "type": "string" + }, + "last_error": { + "type": "string" + } + }, + "required": [ + "error_message", + "last_complete", + "last_error" + ], + "type": "object" + }, + "logpushDataset": { + "enum": [ + "opentelemetry-traces", + "opentelemetry-logs", + "opentelemetry-metrics" + ], + "type": "string" + }, + "type": { + "enum": [ + "logpush" + ], + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "jobStatus", + "logpushDataset", + "type", + "url" + ], + "type": "object" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "scripts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "configuration", + "enabled", + "name", + "scripts", + "slug" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/destinations`, body: { value: args["body"], mediaType: "application/json" }, @@ -117,8 +409,300 @@ export const tools: readonly Tool[] = [ "readOnlyHint": false, "title": "Delete Destination" }, - method: "DELETE", - path: "/accounts/{account_id}/workers/observability/destinations/{slug}", + method: "DELETE", + path: "/accounts/{account_id}/workers/observability/destinations/{slug}", + responses: { + schemas: { + "200": { + "properties": { + "configuration": { + "properties": { + "headers": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "jobStatus": { + "properties": { + "error_message": { + "type": "string" + }, + "last_complete": { + "type": "string" + }, + "last_error": { + "type": "string" + } + }, + "required": [ + "error_message", + "last_complete", + "last_error" + ], + "type": "object" + }, + "logpushDataset": { + "enum": [ + "opentelemetry-traces", + "opentelemetry-logs", + "opentelemetry-metrics" + ], + "type": "string" + }, + "type": { + "enum": [ + "logpush" + ], + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "jobStatus", + "logpushDataset", + "type", + "url" + ], + "type": "object" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "scripts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "configuration", + "enabled", + "name", + "scripts", + "slug" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Conflict" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/destinations/${pathParam(args, "slug")}`, }), @@ -172,6 +756,262 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/destinations", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "configuration": { + "properties": { + "headers": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "jobStatus": { + "properties": { + "error_message": { + "type": "string" + }, + "last_complete": { + "type": "string" + }, + "last_error": { + "type": "string" + } + }, + "required": [ + "error_message", + "last_complete", + "last_error" + ], + "type": "object" + }, + "logpushDataset": { + "enum": [ + "opentelemetry-traces", + "opentelemetry-logs", + "opentelemetry-metrics" + ], + "type": "string" + }, + "type": { + "enum": [ + "logpush" + ], + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "jobStatus", + "logpushDataset", + "type", + "url" + ], + "type": "object" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "scripts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "configuration", + "enabled", + "name", + "scripts", + "slug" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/destinations`, query: [ @@ -257,6 +1097,348 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/workers/observability/destinations/{slug}", + responses: { + schemas: { + "200": { + "properties": { + "configuration": { + "properties": { + "headers": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "jobStatus": { + "properties": { + "error_message": { + "type": "string" + }, + "last_complete": { + "type": "string" + }, + "last_error": { + "type": "string" + } + }, + "required": [ + "error_message", + "last_complete", + "last_error" + ], + "type": "object" + }, + "logpushDataset": { + "enum": [ + "opentelemetry-traces", + "opentelemetry-logs", + "opentelemetry-metrics" + ], + "type": "string" + }, + "type": { + "enum": [ + "logpush" + ], + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "jobStatus", + "logpushDataset", + "type", + "url" + ], + "type": "object" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "scripts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "configuration", + "enabled", + "name", + "scripts", + "slug" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Conflict" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/destinations/${pathParam(args, "slug")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/o11y/issues/automations/tools.ts b/src/generated/forge-mcp/o11y/issues/automations/tools.ts index 5c67faf3..bca9f77f 100644 --- a/src/generated/forge-mcp/o11y/issues/automations/tools.ts +++ b/src/generated/forge-mcp/o11y/issues/automations/tools.ts @@ -59,6 +59,335 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/issues/automations", + responses: { + schemas: { + "200": { + "properties": { + "automation": { + "properties": { + "ansPolicyId": { + "type": "string" + }, + "created": { + "type": "number" + }, + "createdByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "inactivitySeconds": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "revision": { + "type": "number" + }, + "scope": { + "enum": [ + "account", + "service" + ], + "type": "string" + }, + "service": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "serviceType": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "threshold": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "triggerType": { + "enum": [ + "occurrence_threshold", + "recurrence_after_inactivity" + ], + "type": "string" + }, + "updated": { + "type": "number" + }, + "updatedByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "ansPolicyId", + "created", + "createdByUserId", + "enabled", + "id", + "inactivitySeconds", + "name", + "revision", + "scope", + "service", + "serviceType", + "threshold", + "triggerType", + "updated", + "updatedByUserId" + ], + "type": "object" + } + }, + "required": [ + "automation" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations`, body: { value: args["body"], mediaType: "application/json" }, @@ -93,6 +422,335 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/workers/observability/issues/automations/{automationId}", + responses: { + schemas: { + "200": { + "properties": { + "automation": { + "properties": { + "ansPolicyId": { + "type": "string" + }, + "created": { + "type": "number" + }, + "createdByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "inactivitySeconds": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "revision": { + "type": "number" + }, + "scope": { + "enum": [ + "account", + "service" + ], + "type": "string" + }, + "service": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "serviceType": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "threshold": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "triggerType": { + "enum": [ + "occurrence_threshold", + "recurrence_after_inactivity" + ], + "type": "string" + }, + "updated": { + "type": "number" + }, + "updatedByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "ansPolicyId", + "created", + "createdByUserId", + "enabled", + "id", + "inactivitySeconds", + "name", + "revision", + "scope", + "service", + "serviceType", + "threshold", + "triggerType", + "updated", + "updatedByUserId" + ], + "type": "object" + } + }, + "required": [ + "automation" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations/${pathParam(args, "automation_id")}`, }), @@ -126,6 +784,335 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/issues/automations/{automationId}", + responses: { + schemas: { + "200": { + "properties": { + "automation": { + "properties": { + "ansPolicyId": { + "type": "string" + }, + "created": { + "type": "number" + }, + "createdByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "inactivitySeconds": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "revision": { + "type": "number" + }, + "scope": { + "enum": [ + "account", + "service" + ], + "type": "string" + }, + "service": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "serviceType": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "threshold": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "triggerType": { + "enum": [ + "occurrence_threshold", + "recurrence_after_inactivity" + ], + "type": "string" + }, + "updated": { + "type": "number" + }, + "updatedByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "ansPolicyId", + "created", + "createdByUserId", + "enabled", + "id", + "inactivitySeconds", + "name", + "revision", + "scope", + "service", + "serviceType", + "threshold", + "triggerType", + "updated", + "updatedByUserId" + ], + "type": "object" + } + }, + "required": [ + "automation" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations/${pathParam(args, "automation_id")}`, }), @@ -158,6 +1145,338 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/issues/automations", + responses: { + schemas: { + "200": { + "properties": { + "automations": { + "items": { + "properties": { + "ansPolicyId": { + "type": "string" + }, + "created": { + "type": "number" + }, + "createdByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "inactivitySeconds": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "revision": { + "type": "number" + }, + "scope": { + "enum": [ + "account", + "service" + ], + "type": "string" + }, + "service": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "serviceType": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "threshold": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "triggerType": { + "enum": [ + "occurrence_threshold", + "recurrence_after_inactivity" + ], + "type": "string" + }, + "updated": { + "type": "number" + }, + "updatedByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "ansPolicyId", + "created", + "createdByUserId", + "enabled", + "id", + "inactivitySeconds", + "name", + "revision", + "scope", + "service", + "serviceType", + "threshold", + "triggerType", + "updated", + "updatedByUserId" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "automations" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations`, query: [ @@ -221,6 +1540,335 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/workers/observability/issues/automations/{automationId}", + responses: { + schemas: { + "200": { + "properties": { + "automation": { + "properties": { + "ansPolicyId": { + "type": "string" + }, + "created": { + "type": "number" + }, + "createdByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "inactivitySeconds": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "revision": { + "type": "number" + }, + "scope": { + "enum": [ + "account", + "service" + ], + "type": "string" + }, + "service": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "serviceType": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "threshold": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "triggerType": { + "enum": [ + "occurrence_threshold", + "recurrence_after_inactivity" + ], + "type": "string" + }, + "updated": { + "type": "number" + }, + "updatedByUserId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "ansPolicyId", + "created", + "createdByUserId", + "enabled", + "id", + "inactivitySeconds", + "name", + "revision", + "scope", + "service", + "serviceType", + "threshold", + "triggerType", + "updated", + "updatedByUserId" + ], + "type": "object" + } + }, + "required": [ + "automation" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations/${pathParam(args, "automation_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/o11y/issues/outputs.ts b/src/generated/forge-mcp/o11y/issues/outputs.ts new file mode 100644 index 00000000..3c29f1dd --- /dev/null +++ b/src/generated/forge-mcp/o11y/issues/outputs.ts @@ -0,0 +1,312 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers-observability_issue_occurrence` in responses. + */ +export const workers_observability_issue_occurrence_output: JsonSchema = { + "properties": { + "context": { + "$ref": "#/$defs/workers-observability_issue_occurrence_context" + }, + "error": { + "$ref": "#/$defs/workers-observability_issue_occurrence_error" + }, + "id": { + "type": "string" + }, + "invocation": { + "$ref": "#/$defs/workers-observability_issue_occurrence_invocation" + }, + "request": { + "$ref": "#/$defs/workers-observability_issue_occurrence_request" + }, + "timestamp": { + "type": "number" + }, + "trail": { + "items": { + "anyOf": [ + { + "properties": { + "level": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "number" + }, + "type": { + "enum": [ + "log" + ], + "type": "string" + } + }, + "required": [ + "level", + "message", + "timestamp", + "type" + ], + "type": "object" + }, + { + "properties": { + "name": { + "type": "string" + }, + "ongoing": { + "type": "boolean" + }, + "parentSpanId": { + "type": "string" + }, + "spanId": { + "type": "string" + }, + "timestamp": { + "type": "number" + }, + "type": { + "enum": [ + "span" + ], + "type": "string" + } + }, + "required": [ + "name", + "ongoing", + "spanId", + "timestamp", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "worker": { + "$ref": "#/$defs/workers-observability_issue_occurrence_worker" + } + }, + "required": [ + "error", + "id", + "invocation", + "timestamp", + "trail", + "worker" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_issue_occurrence_context` in responses. + */ +export const workers_observability_issue_occurrence_context_output: JsonSchema = { + "properties": { + "account": { + "type": "string" + }, + "session": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers-observability_issue_occurrence_error` in responses. + */ +export const workers_observability_issue_occurrence_error_output: JsonSchema = { + "properties": { + "handled": { + "type": "boolean" + }, + "mechanism": { + "enum": [ + "structured-log", + "error-log", + "stack-log", + "http-status", + "exception", + "outcome" + ], + "type": "string" + }, + "message": { + "type": "string" + }, + "name": { + "type": "string" + }, + "signature": { + "type": "string" + }, + "stack": { + "type": "string" + } + }, + "required": [ + "handled", + "mechanism", + "message", + "name", + "signature" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_issue_occurrence_invocation` in + * responses. + */ +export const workers_observability_issue_occurrence_invocation_output: JsonSchema = { + "properties": { + "batchSize": { + "type": "number" + }, + "cron": { + "type": "string" + }, + "id": { + "type": "string" + }, + "jsrpcMethod": { + "type": "string" + }, + "mailFrom": { + "type": "string" + }, + "method": { + "type": "string" + }, + "path": { + "type": "string" + }, + "queue": { + "type": "string" + }, + "rawSize": { + "type": "number" + }, + "rayId": { + "type": "string" + }, + "rcptTo": { + "type": "string" + }, + "scheduledTime": { + "type": "number" + }, + "spanId": { + "type": "string" + }, + "statusCode": { + "type": "integer" + }, + "traceId": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "websocketCloseCode": { + "type": "number" + }, + "websocketEvent": { + "type": "string" + } + }, + "required": [ + "id", + "traceId", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_issue_occurrence_request` in responses. + */ +export const workers_observability_issue_occurrence_request_output: JsonSchema = { + "properties": { + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "headers" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_issue_occurrence_worker` in responses. + */ +export const workers_observability_issue_occurrence_worker_output: JsonSchema = { + "properties": { + "dispatchNamespace": { + "type": "string" + }, + "entrypoint": { + "type": "string" + }, + "executionModel": { + "type": "string" + }, + "scriptName": { + "type": "string" + }, + "scriptTags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scriptVersion": { + "$ref": "#/$defs/workers-observability_issue_occurrence_worker_scriptVersion" + } + }, + "required": [ + "executionModel", + "scriptName", + "scriptTags" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_issue_occurrence_worker_scriptVersion` + * in responses. + */ +export const workers_observability_issue_occurrence_worker_scriptVersion_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "tag": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/o11y/issues/tools.ts b/src/generated/forge-mcp/o11y/issues/tools.ts index e1da315a..74a857c3 100644 --- a/src/generated/forge-mcp/o11y/issues/tools.ts +++ b/src/generated/forge-mcp/o11y/issues/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_observability_issue_occurrence_context_output, + workers_observability_issue_occurrence_error_output, + workers_observability_issue_occurrence_invocation_output, + workers_observability_issue_occurrence_output, + workers_observability_issue_occurrence_request_output, + workers_observability_issue_occurrence_worker_output, + workers_observability_issue_occurrence_worker_scriptVersion_output, +} from "./outputs.js"; /** * The tools of `o11y.issues`. @@ -53,6 +62,390 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/issues/groups/{groupId}/members", + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "number" + }, + "created": { + "type": "number" + }, + "fingerprint": { + "type": "string" + }, + "firstObserved": { + "type": "number" + }, + "id": { + "type": "string" + }, + "lastObserved": { + "type": "number" + }, + "members": { + "items": { + "properties": { + "fingerprint": { + "type": "string" + }, + "issueId": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "fingerprint", + "issueId", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "service": { + "type": "string" + }, + "status": { + "enum": [ + "active", + "resolved", + "ignored" + ], + "type": "string" + }, + "statusUpdated": { + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "updated": { + "type": "number" + } + }, + "required": [ + "count", + "created", + "firstObserved", + "id", + "lastObserved", + "service", + "status", + "statusUpdated", + "title", + "updated" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Conflict" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups/${pathParam(args, "group_id")}/members`, body: { value: args["body"], mediaType: "application/json" }, @@ -87,6 +480,420 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/issues/{issueId}", + responses: { + schemas: { + "200": { + "properties": { + "issue": { + "properties": { + "activity": { + "items": { + "properties": { + "automationId": { + "type": "string" + }, + "automationName": { + "type": "string" + }, + "automationRevision": { + "type": "number" + }, + "created": { + "type": "number" + }, + "id": { + "type": "string" + }, + "inactivitySeconds": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "initiatedBy": { + "enum": [ + "automatic", + "manual" + ], + "type": "string" + }, + "issueCount": { + "type": "number" + }, + "issueId": { + "type": "string" + }, + "lastError": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "policyId": { + "type": "string" + }, + "scope": { + "enum": [ + "account", + "service" + ], + "type": "string" + }, + "status": { + "enum": [ + "pending", + "succeeded", + "failed" + ], + "type": "string" + }, + "terminalAt": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "threshold": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "triggerType": { + "enum": [ + "occurrence_threshold", + "recurrence_after_inactivity" + ], + "type": "string" + }, + "type": { + "enum": [ + "notification" + ], + "type": "string" + } + }, + "required": [ + "created", + "id", + "inactivitySeconds", + "initiatedBy", + "issueCount", + "issueId", + "lastError", + "policyId", + "status", + "terminalAt", + "threshold", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "count": { + "type": "number" + }, + "created": { + "type": "number" + }, + "fingerprint": { + "type": "string" + }, + "firstObserved": { + "type": "number" + }, + "id": { + "type": "string" + }, + "lastObserved": { + "type": "number" + }, + "members": { + "items": { + "properties": { + "fingerprint": { + "type": "string" + }, + "issueId": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "fingerprint", + "issueId", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "service": { + "type": "string" + }, + "status": { + "enum": [ + "active", + "resolved", + "ignored" + ], + "type": "string" + }, + "statusUpdated": { + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "updated": { + "type": "number" + } + }, + "required": [ + "activity", + "count", + "created", + "firstObserved", + "id", + "lastObserved", + "service", + "status", + "statusUpdated", + "title", + "updated" + ], + "type": "object" + } + }, + "required": [ + "issue" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issue_id")}`, }), @@ -137,34 +944,418 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/issues/groups", - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "o11y_issues_list", - title: "List detected issues", - description: "List detected issues.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "order": { - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order_by": { - "enum": [ - "id", - "service", - "title", + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "number" + }, + "created": { + "type": "number" + }, + "fingerprint": { + "type": "string" + }, + "firstObserved": { + "type": "number" + }, + "id": { + "type": "string" + }, + "lastObserved": { + "type": "number" + }, + "members": { + "items": { + "properties": { + "fingerprint": { + "type": "string" + }, + "issueId": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "fingerprint", + "issueId", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "service": { + "type": "string" + }, + "status": { + "enum": [ + "active", + "resolved", + "ignored" + ], + "type": "string" + }, + "statusUpdated": { + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "updated": { + "type": "number" + } + }, + "required": [ + "count", + "created", + "firstObserved", + "id", + "lastObserved", + "service", + "status", + "statusUpdated", + "title", + "updated" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Conflict" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "o11y_issues_list", + title: "List detected issues", + description: "List detected issues.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "order": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order_by": { + "enum": [ + "id", + "service", + "title", "type", "status", "statusUpdated", @@ -213,100 +1404,1328 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/issues", - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues`, - query: [ - ["page", args["page"], true], - ["perPage", args["per_page"], true], - ["order", args["order"], true], - ["orderBy", args["order_by"], true], - ["search", args["search"], true], - ["service", args["service"], true], - ["type", args["type"], true], - ["status", args["status"], true], - ], - }), - }, - { - name: "o11y_issues_notify", - title: "Notify about an issue", - description: "Send the issue to one ANS policy, or every matching Real-Time Issue policy when no policy ID is provided.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "activity": { + "items": { + "properties": { + "automationId": { + "type": "string" + }, + "automationName": { + "type": "string" + }, + "automationRevision": { + "type": "number" + }, + "created": { + "type": "number" + }, + "id": { + "type": "string" + }, + "inactivitySeconds": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "initiatedBy": { + "enum": [ + "automatic", + "manual" + ], + "type": "string" + }, + "issueCount": { + "type": "number" + }, + "issueId": { + "type": "string" + }, + "lastError": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "policyId": { + "type": "string" + }, + "scope": { + "enum": [ + "account", + "service" + ], + "type": "string" + }, + "status": { + "enum": [ + "pending", + "succeeded", + "failed" + ], + "type": "string" + }, + "terminalAt": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "threshold": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "triggerType": { + "enum": [ + "occurrence_threshold", + "recurrence_after_inactivity" + ], + "type": "string" + }, + "type": { + "enum": [ + "notification" + ], + "type": "string" + } + }, + "required": [ + "created", + "id", + "inactivitySeconds", + "initiatedBy", + "issueCount", + "issueId", + "lastError", + "policyId", + "status", + "terminalAt", + "threshold", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "count": { + "type": "number" + }, + "created": { + "type": "number" + }, + "fingerprint": { + "type": "string" + }, + "firstObserved": { + "type": "number" + }, + "id": { + "type": "string" + }, + "lastObserved": { + "type": "number" + }, + "members": { + "items": { + "properties": { + "fingerprint": { + "type": "string" + }, + "issueId": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "fingerprint", + "issueId", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "service": { + "type": "string" + }, + "status": { + "enum": [ + "active", + "resolved", + "ignored" + ], + "type": "string" + }, + "statusUpdated": { + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "updated": { + "type": "number" + } + }, + "required": [ + "activity", + "count", + "created", + "firstObserved", + "id", + "lastObserved", + "service", + "status", + "statusUpdated", + "title", + "updated" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues`, + query: [ + ["page", args["page"], true], + ["perPage", args["per_page"], true], + ["order", args["order"], true], + ["orderBy", args["order_by"], true], + ["search", args["search"], true], + ["service", args["service"], true], + ["type", args["type"], true], + ["status", args["status"], true], + ], + }), + }, + { + name: "o11y_issues_notify", + title: "Notify about an issue", + description: "Send the issue to one ANS policy, or every matching Real-Time Issue policy when no policy ID is provided.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "body": { + "properties": { + "policyId": { + "type": "string" + } + }, + "type": "object" + }, + "issue_id": { + "type": "string" + } + }, + required: [ + "account_id", + "issue_id", + "body" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Notify about an issue" + }, + method: "POST", + path: "/accounts/{account_id}/workers/observability/issues/{issueId}/notification-runs", + responses: { + schemas: { + "200": { + "properties": { + "run": { + "properties": { + "automationId": { + "type": "string" + }, + "automationName": { + "type": "string" + }, + "automationRevision": { + "type": "number" + }, + "created": { + "type": "number" + }, + "id": { + "type": "string" + }, + "inactivitySeconds": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "initiatedBy": { + "enum": [ + "automatic", + "manual" + ], + "type": "string" + }, + "issueCount": { + "type": "number" + }, + "issueId": { + "type": "string" + }, + "lastError": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "policyId": { + "type": "string" + }, + "scope": { + "enum": [ + "account", + "service" + ], + "type": "string" + }, + "status": { + "enum": [ + "pending", + "succeeded", + "failed" + ], + "type": "string" + }, + "terminalAt": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "threshold": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "triggerType": { + "enum": [ + "occurrence_threshold", + "recurrence_after_inactivity" + ], + "type": "string" + } + }, + "required": [ + "created", + "id", + "inactivitySeconds", + "initiatedBy", + "issueCount", + "issueId", + "lastError", + "policyId", + "status", + "terminalAt", + "threshold" + ], + "type": "object" + } + }, + "required": [ + "run" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issue_id")}/notification-runs`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "o11y_issues_occurrences", + title: "List issue occurrences", + description: "List the retained error occurrences grouped into an issue, newest first.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "cursor": { + "description": "Opaque cursor returned in result_info.cursors.after.", + "type": "string" + }, + "issue_id": { + "description": "Issue ID returned by the issues API.", + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + required: [ + "account_id", + "issue_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "List issue occurrences" + }, + method: "GET", + path: "/accounts/{account_id}/workers/observability/issues/{issueId}/occurrences", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers-observability_issue_occurrence" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursors": { + "properties": { + "after": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "after" + ], + "type": "object" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursors", + "per_page" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Too many requests" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" }, - "body": { + "504": { "properties": { - "policyId": { - "type": "string" + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Gateway timeout" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" } }, + "required": [ + "errors", + "messages", + "success" + ], "type": "object" - }, - "issue_id": { - "type": "string" } }, - required: [ - "account_id", - "issue_id", - "body" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Notify about an issue" - }, - method: "POST", - path: "/accounts/{account_id}/workers/observability/issues/{issueId}/notification-runs", - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issue_id")}/notification-runs`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "o11y_issues_occurrences", - title: "List issue occurrences", - description: "List the retained error occurrences grouped into an issue, newest first.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "cursor": { - "description": "Opaque cursor returned in result_info.cursors.after.", - "type": "string" - }, - "issue_id": { - "description": "Issue ID returned by the issues API.", - "type": "string" - }, - "per_page": { - "type": "integer" - } + $defs: { + "workers-observability_issue_occurrence": workers_observability_issue_occurrence_output, + "workers-observability_issue_occurrence_context": workers_observability_issue_occurrence_context_output, + "workers-observability_issue_occurrence_error": workers_observability_issue_occurrence_error_output, + "workers-observability_issue_occurrence_invocation": workers_observability_issue_occurrence_invocation_output, + "workers-observability_issue_occurrence_request": workers_observability_issue_occurrence_request_output, + "workers-observability_issue_occurrence_worker": workers_observability_issue_occurrence_worker_output, + "workers-observability_issue_occurrence_worker_scriptVersion": workers_observability_issue_occurrence_worker_scriptVersion_output, }, - required: [ - "account_id", - "issue_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "List issue occurrences" }, - method: "GET", - path: "/accounts/{account_id}/workers/observability/issues/{issueId}/occurrences", request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issue_id")}/occurrences`, query: [ @@ -348,6 +2767,397 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/workers/observability/issues/groups/{groupId}/members/{issueId}", + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "count": { + "type": "number" + }, + "created": { + "type": "number" + }, + "fingerprint": { + "type": "string" + }, + "firstObserved": { + "type": "number" + }, + "id": { + "type": "string" + }, + "lastObserved": { + "type": "number" + }, + "members": { + "items": { + "properties": { + "fingerprint": { + "type": "string" + }, + "issueId": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "fingerprint", + "issueId", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "service": { + "type": "string" + }, + "status": { + "enum": [ + "active", + "resolved", + "ignored" + ], + "type": "string" + }, + "statusUpdated": { + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "updated": { + "type": "number" + } + }, + "required": [ + "count", + "created", + "firstObserved", + "id", + "lastObserved", + "service", + "status", + "statusUpdated", + "title", + "updated" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Conflict" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups/${pathParam(args, "group_id")}/members/${pathParam(args, "issue_id")}`, }), @@ -363,23 +3173,257 @@ export const tools: readonly Tool[] = [ "description": "Your Cloudflare account ID.", "type": "string" }, - "service": { - "type": "string" + "service": { + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Summarize detected issues" + }, + method: "GET", + path: "/accounts/{account_id}/workers/observability/issues/summary", + responses: { + schemas: { + "200": { + "properties": { + "activeIssues": { + "type": "number" + }, + "activeOccurrences": { + "type": "number" + }, + "lastIssue": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "resolvedIssues": { + "type": "number" + } + }, + "required": [ + "activeIssues", + "activeOccurrences", + "lastIssue", + "resolvedIssues" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" } }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Summarize detected issues" }, - method: "GET", - path: "/accounts/{account_id}/workers/observability/issues/summary", request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/summary`, query: [ @@ -416,6 +3460,224 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/workers/observability/issues/groups/{groupId}", + responses: { + schemas: { + "200": { + "properties": { + "deleted": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "deleted" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups/${pathParam(args, "group_id")}`, }), @@ -467,6 +3729,340 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/workers/observability/issues/{issueId}", + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "number" + }, + "created": { + "type": "number" + }, + "fingerprint": { + "type": "string" + }, + "firstObserved": { + "type": "number" + }, + "id": { + "type": "string" + }, + "lastObserved": { + "type": "number" + }, + "members": { + "items": { + "properties": { + "fingerprint": { + "type": "string" + }, + "issueId": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "fingerprint", + "issueId", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "service": { + "type": "string" + }, + "status": { + "enum": [ + "active", + "resolved", + "ignored" + ], + "type": "string" + }, + "statusUpdated": { + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "updated": { + "type": "number" + } + }, + "required": [ + "count", + "created", + "firstObserved", + "id", + "lastObserved", + "service", + "status", + "statusUpdated", + "title", + "updated" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issue_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/o11y/metricsExport/tools.ts b/src/generated/forge-mcp/o11y/metricsExport/tools.ts index 2545a555..b29eaadb 100644 --- a/src/generated/forge-mcp/o11y/metricsExport/tools.ts +++ b/src/generated/forge-mcp/o11y/metricsExport/tools.ts @@ -32,6 +32,161 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/metricsexport", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "createdAt": { + "type": "string" + }, + "destinations": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "resourceId": { + "type": "string" + }, + "resourceType": { + "enum": [ + "workers", + "d1", + "r2", + "containers" + ], + "type": "string" + }, + "updatedAt": { + "type": "string" + } + }, + "required": [ + "createdAt", + "destinations", + "resourceId", + "resourceType", + "updatedAt" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/metricsexport`, }), @@ -120,6 +275,211 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/metricsexport", + responses: { + schemas: { + "201": { + "properties": { + "result": { + "items": { + "properties": { + "createdAt": { + "type": "string" + }, + "destinations": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "resourceId": { + "type": "string" + }, + "resourceType": { + "enum": [ + "workers", + "d1", + "r2", + "containers" + ], + "type": "string" + }, + "updatedAt": { + "type": "string" + } + }, + "required": [ + "createdAt", + "destinations", + "resourceId", + "resourceType", + "updatedAt" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/metricsexport`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/o11y/outputs.ts b/src/generated/forge-mcp/o11y/outputs.ts new file mode 100644 index 00000000..fd7b5ec8 --- /dev/null +++ b/src/generated/forge-mcp/o11y/outputs.ts @@ -0,0 +1,1821 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `workers-observability_distribution_result` in responses. + */ +export const workers_observability_distribution_result_output: JsonSchema = { + "properties": { + "bins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "bucketBoundaries": { + "items": { + "type": "number" + }, + "type": "array" + }, + "bucketMode": { + "enum": [ + "log", + "linear" + ], + "type": "string" + }, + "buckets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "matrix": { + "items": { + "items": { + "type": "number" + }, + "type": "array" + }, + "type": "array" + } + }, + "required": [ + "bins", + "bucketBoundaries", + "bucketMode", + "buckets", + "matrix" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_filter_leaf` in responses. + */ +export const workers_observability_filter_leaf_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "kind": { + "enum": [ + "filter" + ], + "type": "string" + }, + "operation": { + "enum": [ + "includes", + "not_includes", + "starts_with", + "ends_with", + "regex", + "exists", + "is_null", + "in", + "not_in", + "eq", + "neq", + "gt", + "gte", + "lt", + "lte", + "=", + "!=", + ">", + ">=", + "<", + "<=", + "INCLUDES", + "DOES_NOT_INCLUDE", + "MATCH_REGEX", + "EXISTS", + "DOES_NOT_EXIST", + "IN", + "NOT_IN", + "STARTS_WITH", + "ENDS_WITH" + ], + "type": "string" + }, + "type": { + "enum": [ + "string", + "number", + "boolean" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/workers-observability_filter_leaf_value" + } + }, + "required": [ + "key", + "operation", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_filter_leaf_value` in responses. + */ +export const workers_observability_filter_leaf_value_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] +}; + +/** + * The schema of `workers-observability_filter_node` in responses. + */ +export const workers_observability_filter_node_output: JsonSchema = { + "anyOf": [ + { + "properties": { + "filterCombination": { + "enum": [ + "and", + "or", + "AND", + "OR" + ], + "type": "string" + }, + "filters": { + "items": { + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "kind": { + "enum": [ + "group" + ], + "type": "string" + } + }, + "required": [ + "filterCombination", + "filters", + "kind" + ], + "type": "object" + }, + { + "$ref": "#/$defs/workers-observability_filter_leaf" + } + ] +}; + +/** + * The schema of `workers-observability_performance_information` in responses. + */ +export const workers_observability_performance_information_output: JsonSchema = { + "properties": { + "abr_level": { + "type": "number" + }, + "bytes_read": { + "type": "number" + }, + "elapsed": { + "type": "number" + }, + "rows_read": { + "type": "number" + } + }, + "required": [ + "bytes_read", + "elapsed", + "rows_read" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query` in responses. + */ +export const workers_observability_query_output: JsonSchema = { + "properties": { + "adhoc": { + "type": "boolean" + }, + "created": { + "format": "date-time", + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/workers-observability_query_parameters" + }, + "updated": { + "format": "date-time", + "type": "string" + }, + "updatedBy": { + "type": "string" + } + }, + "required": [ + "adhoc", + "created", + "createdBy", + "description", + "id", + "name", + "parameters", + "updated", + "updatedBy" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_parameters` in responses. + */ +export const workers_observability_query_parameters_output: JsonSchema = { + "properties": { + "calculations": { + "items": { + "oneOf": [ + { + "properties": { + "alias": { + "type": "string" + }, + "key": { + "type": "string" + }, + "keyType": { + "enum": [ + "string", + "number", + "boolean" + ], + "type": "string" + }, + "operator": { + "enum": [ + "count", + "COUNT" + ], + "type": "string" + } + }, + "required": [ + "operator" + ], + "type": "object" + }, + { + "properties": { + "alias": { + "type": "string" + }, + "key": { + "type": "string" + }, + "keyType": { + "enum": [ + "string", + "number", + "boolean" + ], + "type": "string" + }, + "operator": { + "enum": [ + "uniq", + "max", + "min", + "sum", + "avg", + "median", + "p001", + "p01", + "p05", + "p10", + "p25", + "p75", + "p90", + "p95", + "p99", + "p999", + "stddev", + "variance", + "COUNT_DISTINCT", + "MAX", + "MIN", + "SUM", + "AVG", + "MEDIAN", + "P001", + "P01", + "P05", + "P10", + "P25", + "P75", + "P90", + "P95", + "P99", + "P999", + "STDDEV", + "VARIANCE" + ], + "type": "string" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "datasets": { + "items": { + "type": "string" + }, + "type": "array" + }, + "filterCombination": { + "enum": [ + "and", + "or", + "AND", + "OR" + ], + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/$defs/workers-observability_filter_node" + }, + "type": "array" + }, + "groupBys": { + "items": { + "$ref": "#/$defs/workers-observability_query_parameters_groupBysItem" + }, + "type": "array" + }, + "havings": { + "items": { + "$ref": "#/$defs/workers-observability_query_parameters_havingsItem" + }, + "type": "array" + }, + "limit": { + "type": "integer" + }, + "needle": { + "$ref": "#/$defs/workers-observability_query_parameters_needle" + }, + "orderBy": { + "$ref": "#/$defs/workers-observability_query_parameters_orderBy" + } + }, + "type": "object" +}; + +/** + * The schema of `workers-observability_query_parameters_groupBysItem` in + * responses. + */ +export const workers_observability_query_parameters_groupBysItem_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "string", + "number", + "boolean" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_parameters_havingsItem` in + * responses. + */ +export const workers_observability_query_parameters_havingsItem_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "operation": { + "enum": [ + "eq", + "neq", + "gt", + "gte", + "lt", + "lte" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "key", + "operation", + "value" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_parameters_needle` in responses. + */ +export const workers_observability_query_parameters_needle_output: JsonSchema = { + "properties": { + "isRegex": { + "type": "boolean" + }, + "matchCase": { + "type": "boolean" + }, + "value": { + "allOf": [ + { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "value" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_parameters_orderBy` in responses. + */ +export const workers_observability_query_parameters_orderBy_output: JsonSchema = { + "properties": { + "order": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_results` in responses. + */ +export const workers_observability_query_results_output: JsonSchema = { + "properties": { + "agents": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_agentsItem" + }, + "type": "array" + }, + "calculations": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_calculationsItem" + }, + "type": "array" + }, + "compare": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_compareItem" + }, + "type": "array" + }, + "distribution": { + "$ref": "#/$defs/workers-observability_distribution_result" + }, + "events": { + "$ref": "#/$defs/workers-observability_query_results_events" + }, + "invocations": { + "additionalProperties": { + "items": { + "$ref": "#/$defs/workers-observability_telemetry_event" + }, + "type": "array" + }, + "type": "object" + }, + "run": { + "$ref": "#/$defs/workers-observability_query_run" + }, + "statistics": { + "$ref": "#/$defs/workers-observability_performance_information" + }, + "traces": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_tracesItem" + }, + "type": "array" + } + }, + "required": [ + "run", + "statistics" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_results_agentsItem` in responses. + */ +export const workers_observability_query_results_agentsItem_output: JsonSchema = { + "properties": { + "agentId": { + "type": "string" + }, + "agentName": { + "type": "string" + }, + "conversationId": { + "type": "string" + }, + "errors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "inputTokens": { + "type": "number" + }, + "models": { + "items": { + "type": "string" + }, + "type": "array" + }, + "outputTokens": { + "type": "number" + }, + "providers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "services": { + "items": { + "type": "string" + }, + "type": "array" + }, + "spans": { + "type": "number" + }, + "status": { + "enum": [ + "completed", + "error" + ], + "type": "string" + }, + "traceDurationMs": { + "type": "number" + }, + "traceEndMs": { + "type": "number" + }, + "traceId": { + "type": "string" + }, + "traceStartMs": { + "type": "number" + } + }, + "required": [ + "errors", + "id", + "models", + "providers", + "services", + "spans", + "status", + "traceDurationMs", + "traceEndMs", + "traceId", + "traceStartMs" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_results_calculationsItem` in + * responses. + */ +export const workers_observability_query_results_calculationsItem_output: JsonSchema = { + "properties": { + "aggregates": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_calculationsItem_aggregatesItem" + }, + "type": "array" + }, + "alias": { + "type": "string" + }, + "calculation": { + "type": "string" + }, + "series": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_calculationsItem_seriesItem" + }, + "type": "array" + } + }, + "required": [ + "aggregates", + "calculation", + "series" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_calculationsItem_aggregatesItem` in + * responses. + */ +export const workers_observability_query_results_calculationsItem_aggregatesItem_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "groups": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_calculationsItem_aggregatesItem_groupsItem" + }, + "type": "array" + }, + "interval": { + "type": "number" + }, + "sampleInterval": { + "type": "number" + }, + "value": { + "type": "number" + } + }, + "required": [ + "count", + "interval", + "sampleInterval", + "value" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_calculationsItem_aggregatesItem_groupsItem` + * in responses. + */ +export const workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "value": { + "$ref": "#/$defs/workers-observability_query_results_calculationsItem_aggregatesItem_groupsItem_value" + } + }, + "required": [ + "key", + "value" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_calculationsItem_aggregatesItem_groupsItem_value` + * in responses. + */ +export const workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_value_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] +}; + +/** + * The schema of + * `workers-observability_query_results_calculationsItem_seriesItem` in + * responses. + */ +export const workers_observability_query_results_calculationsItem_seriesItem_output: JsonSchema = { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_calculationsItem_seriesItem_dataItem" + }, + "type": "array" + }, + "time": { + "type": "string" + } + }, + "required": [ + "data", + "time" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_calculationsItem_seriesItem_dataItem` in + * responses. + */ +export const workers_observability_query_results_calculationsItem_seriesItem_dataItem_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "firstSeen": { + "type": "string" + }, + "groups": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem" + }, + "type": "array" + }, + "interval": { + "type": "number" + }, + "lastSeen": { + "type": "string" + }, + "sampleInterval": { + "type": "number" + }, + "value": { + "type": "number" + } + }, + "required": [ + "count", + "interval", + "sampleInterval", + "value" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem` + * in responses. + */ +export const workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "value": { + "$ref": "#/$defs/workers-observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_value" + } + }, + "required": [ + "key", + "value" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_value` + * in responses. + */ +export const workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_value_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] +}; + +/** + * The schema of `workers-observability_query_results_compareItem` in responses. + */ +export const workers_observability_query_results_compareItem_output: JsonSchema = { + "properties": { + "aggregates": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_compareItem_aggregatesItem" + }, + "type": "array" + }, + "alias": { + "type": "string" + }, + "calculation": { + "type": "string" + }, + "series": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_compareItem_seriesItem" + }, + "type": "array" + } + }, + "required": [ + "aggregates", + "calculation", + "series" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_compareItem_aggregatesItem` in + * responses. + */ +export const workers_observability_query_results_compareItem_aggregatesItem_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "groups": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_compareItem_aggregatesItem_groupsItem" + }, + "type": "array" + }, + "interval": { + "type": "number" + }, + "sampleInterval": { + "type": "number" + }, + "value": { + "type": "number" + } + }, + "required": [ + "count", + "interval", + "sampleInterval", + "value" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_compareItem_aggregatesItem_groupsItem` + * in responses. + */ +export const workers_observability_query_results_compareItem_aggregatesItem_groupsItem_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "value": { + "$ref": "#/$defs/workers-observability_query_results_compareItem_aggregatesItem_groupsItem_value" + } + }, + "required": [ + "key", + "value" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_compareItem_aggregatesItem_groupsItem_value` + * in responses. + */ +export const workers_observability_query_results_compareItem_aggregatesItem_groupsItem_value_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] +}; + +/** + * The schema of `workers-observability_query_results_compareItem_seriesItem` in + * responses. + */ +export const workers_observability_query_results_compareItem_seriesItem_output: JsonSchema = { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_compareItem_seriesItem_dataItem" + }, + "type": "array" + }, + "time": { + "type": "string" + } + }, + "required": [ + "data", + "time" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_compareItem_seriesItem_dataItem` in + * responses. + */ +export const workers_observability_query_results_compareItem_seriesItem_dataItem_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "firstSeen": { + "type": "string" + }, + "groups": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_compareItem_seriesItem_dataItem_groupsItem" + }, + "type": "array" + }, + "interval": { + "type": "number" + }, + "lastSeen": { + "type": "string" + }, + "sampleInterval": { + "type": "number" + }, + "value": { + "type": "number" + } + }, + "required": [ + "count", + "interval", + "sampleInterval", + "value" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_compareItem_seriesItem_dataItem_groupsItem` + * in responses. + */ +export const workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "value": { + "$ref": "#/$defs/workers-observability_query_results_compareItem_seriesItem_dataItem_groupsItem_value" + } + }, + "required": [ + "key", + "value" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_compareItem_seriesItem_dataItem_groupsItem_value` + * in responses. + */ +export const workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_value_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] +}; + +/** + * The schema of `workers-observability_query_results_events` in responses. + */ +export const workers_observability_query_results_events_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "events": { + "items": { + "$ref": "#/$defs/workers-observability_telemetry_event" + }, + "type": "array" + }, + "fields": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_events_fieldsItem" + }, + "type": "array" + }, + "series": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_events_seriesItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `workers-observability_query_results_events_fieldsItem` in + * responses. + */ +export const workers_observability_query_results_events_fieldsItem_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "key", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_results_events_seriesItem` in + * responses. + */ +export const workers_observability_query_results_events_seriesItem_output: JsonSchema = { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/workers-observability_query_results_events_seriesItem_dataItem" + }, + "type": "array" + }, + "time": { + "type": "string" + } + }, + "required": [ + "data", + "time" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_events_seriesItem_dataItem` in + * responses. + */ +export const workers_observability_query_results_events_seriesItem_dataItem_output: JsonSchema = { + "properties": { + "aggregates": { + "$ref": "#/$defs/workers-observability_query_results_events_seriesItem_dataItem_aggregates" + }, + "count": { + "type": "number" + }, + "errors": { + "type": "number" + }, + "groups": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + "interval": { + "type": "number" + }, + "sampleInterval": { + "type": "number" + } + }, + "required": [ + "aggregates", + "count", + "interval", + "sampleInterval" + ], + "type": "object" +}; + +/** + * The schema of + * `workers-observability_query_results_events_seriesItem_dataItem_aggregates` + * in responses. + */ +export const workers_observability_query_results_events_seriesItem_dataItem_aggregates_output: JsonSchema = { + "properties": { + "_count": { + "type": "integer" + }, + "_firstSeen": { + "type": "string" + }, + "_interval": { + "type": "number" + }, + "_lastSeen": { + "type": "string" + }, + "bin": { + "type": "object" + } + }, + "required": [ + "_count", + "_interval" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_results_tracesItem` in responses. + */ +export const workers_observability_query_results_tracesItem_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "rootSpanName": { + "type": "string" + }, + "rootTransactionName": { + "type": "string" + }, + "service": { + "items": { + "type": "string" + }, + "type": "array" + }, + "spans": { + "type": "number" + }, + "traceDurationMs": { + "type": "number" + }, + "traceEndMs": { + "type": "number" + }, + "traceId": { + "type": "string" + }, + "traceStartMs": { + "type": "number" + } + }, + "required": [ + "rootSpanName", + "rootTransactionName", + "service", + "spans", + "traceDurationMs", + "traceEndMs", + "traceId", + "traceStartMs" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_run` in responses. + */ +export const workers_observability_query_run_output: JsonSchema = { + "properties": { + "accountId": { + "type": "string" + }, + "created": { + "type": "string" + }, + "dry": { + "type": "boolean" + }, + "granularity": { + "type": "number" + }, + "id": { + "type": "string" + }, + "query": { + "allOf": [ + { + "$ref": "#/$defs/workers-observability_query" + }, + { + "properties": { + "created": { + "anyOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "updated": { + "anyOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] + } + }, + "type": "object" + } + ] + }, + "statistics": { + "$ref": "#/$defs/workers-observability_query_run_statistics" + }, + "status": { + "enum": [ + "STARTED", + "COMPLETED" + ], + "type": "string" + }, + "timeframe": { + "$ref": "#/$defs/workers-observability_query_run_timeframe" + }, + "updated": { + "type": "string" + }, + "userId": { + "type": "string" + } + }, + "required": [ + "accountId", + "dry", + "granularity", + "id", + "query", + "status", + "timeframe", + "userId" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_run_statistics` in responses. + */ +export const workers_observability_query_run_statistics_output: JsonSchema = { + "properties": { + "abr_level": { + "type": "number" + }, + "bytes_read": { + "type": "number" + }, + "elapsed": { + "type": "number" + }, + "rows_read": { + "type": "number" + } + }, + "required": [ + "bytes_read", + "elapsed", + "rows_read" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_query_run_timeframe` in responses. + */ +export const workers_observability_query_run_timeframe_output: JsonSchema = { + "properties": { + "from": { + "type": "integer" + }, + "to": { + "type": "integer" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_telemetry_event` in responses. + */ +export const workers_observability_telemetry_event_output: JsonSchema = { + "properties": { + "$containers": { + "type": "object" + }, + "$metadata": { + "$ref": "#/$defs/workers-observability_telemetry_event__metadata" + }, + "$workers": { + "$ref": "#/$defs/workers-observability_telemetry_event__workers" + }, + "dataset": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/workers-observability_telemetry_event_source" + }, + "timestamp": { + "type": "integer" + } + }, + "required": [ + "$metadata", + "dataset", + "source", + "timestamp" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_telemetry_event_$metadata` in responses. + */ +export const workers_observability_telemetry_event__metadata_output: JsonSchema = { + "properties": { + "account": { + "type": "string" + }, + "cloudService": { + "type": "string" + }, + "coldStart": { + "type": "integer" + }, + "cost": { + "type": "integer" + }, + "duration": { + "type": "integer" + }, + "endTime": { + "type": "integer" + }, + "endTimeNs": { + "type": "string" + }, + "error": { + "type": "string" + }, + "errorTemplate": { + "type": "string" + }, + "eventSize": { + "type": "integer" + }, + "fingerprint": { + "type": "string" + }, + "id": { + "type": "string" + }, + "level": { + "type": "string" + }, + "message": { + "type": "string" + }, + "messageTemplate": { + "type": "string" + }, + "metricName": { + "type": "string" + }, + "origin": { + "type": "string" + }, + "parentSpanId": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "rayId": { + "type": "string" + }, + "region": { + "type": "string" + }, + "requestId": { + "type": "string" + }, + "service": { + "type": "string" + }, + "spanId": { + "type": "string" + }, + "spanName": { + "type": "string" + }, + "stackId": { + "type": "string" + }, + "startTime": { + "type": "integer" + }, + "startTimeNs": { + "type": "string" + }, + "statusCode": { + "type": "integer" + }, + "timestampNs": { + "type": "string" + }, + "traceDuration": { + "type": "integer" + }, + "traceId": { + "type": "string" + }, + "transactionName": { + "type": "string" + }, + "trigger": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `workers-observability_telemetry_event_$workers` in responses. + */ +export const workers_observability_telemetry_event__workers_output: JsonSchema = { + "anyOf": [ + { + "properties": { + "durableObjectId": { + "type": "string" + }, + "entrypoint": { + "type": "string" + }, + "event": { + "type": "object" + }, + "eventType": { + "enum": [ + "fetch", + "scheduled", + "alarm", + "cron", + "queue", + "email", + "tail", + "rpc", + "jsrpc", + "websocket", + "workflow", + "unknown" + ], + "type": "string" + }, + "executionModel": { + "enum": [ + "durableObject", + "stateless" + ], + "type": "string" + }, + "outcome": { + "type": "string" + }, + "preview": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + } + }, + "type": "object" + }, + "requestId": { + "type": "string" + }, + "scriptName": { + "type": "string" + }, + "scriptVersion": { + "properties": { + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "tag": { + "type": "string" + } + }, + "type": "object" + }, + "spanId": { + "type": "string" + }, + "traceId": { + "type": "string" + }, + "truncated": { + "type": "boolean" + } + }, + "required": [ + "eventType", + "scriptName" + ], + "type": "object" + }, + { + "properties": { + "cpuTimeMs": { + "type": "number" + }, + "diagnosticsChannelEvents": { + "items": { + "properties": { + "channel": { + "type": "string" + }, + "message": { + "type": "string" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "channel", + "message", + "timestamp" + ], + "type": "object" + }, + "type": "array" + }, + "dispatchNamespace": { + "type": "string" + }, + "durableObjectId": { + "type": "string" + }, + "entrypoint": { + "type": "string" + }, + "event": { + "type": "object" + }, + "eventType": { + "enum": [ + "fetch", + "scheduled", + "alarm", + "cron", + "queue", + "email", + "tail", + "rpc", + "jsrpc", + "websocket", + "workflow", + "unknown" + ], + "type": "string" + }, + "executionModel": { + "enum": [ + "durableObject", + "stateless" + ], + "type": "string" + }, + "outcome": { + "type": "string" + }, + "preview": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + } + }, + "type": "object" + }, + "requestId": { + "type": "string" + }, + "scriptName": { + "type": "string" + }, + "scriptVersion": { + "properties": { + "id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "tag": { + "type": "string" + } + }, + "type": "object" + }, + "spanId": { + "type": "string" + }, + "traceId": { + "type": "string" + }, + "truncated": { + "type": "boolean" + }, + "wallTimeMs": { + "type": "number" + } + }, + "required": [ + "cpuTimeMs", + "eventType", + "outcome", + "scriptName", + "wallTimeMs" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `workers-observability_telemetry_event_source` in responses. + */ +export const workers_observability_telemetry_event_source_output: JsonSchema = { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] +}; diff --git a/src/generated/forge-mcp/o11y/queries/tools.ts b/src/generated/forge-mcp/o11y/queries/tools.ts index 6642e582..4bec854f 100644 --- a/src/generated/forge-mcp/o11y/queries/tools.ts +++ b/src/generated/forge-mcp/o11y/queries/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_observability_filter_leaf_output, + workers_observability_filter_leaf_value_output, + workers_observability_filter_node_output, + workers_observability_query_output, + workers_observability_query_parameters_groupBysItem_output, + workers_observability_query_parameters_havingsItem_output, + workers_observability_query_parameters_needle_output, + workers_observability_query_parameters_orderBy_output, + workers_observability_query_parameters_output, +} from "../outputs.js"; import { workers_observability_filter_leaf, workers_observability_filter_leaf_value, @@ -313,6 +324,174 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/queries", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-observability_query" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Conflict" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + $defs: { + "workers-observability_filter_leaf": workers_observability_filter_leaf_output, + "workers-observability_filter_leaf_value": workers_observability_filter_leaf_value_output, + "workers-observability_filter_node": workers_observability_filter_node_output, + "workers-observability_query": workers_observability_query_output, + "workers-observability_query_parameters": workers_observability_query_parameters_output, + "workers-observability_query_parameters_groupBysItem": workers_observability_query_parameters_groupBysItem_output, + "workers-observability_query_parameters_havingsItem": workers_observability_query_parameters_havingsItem_output, + "workers-observability_query_parameters_needle": workers_observability_query_parameters_needle_output, + "workers-observability_query_parameters_orderBy": workers_observability_query_parameters_orderBy_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries`, body: { value: args["body"], mediaType: "application/json" }, @@ -347,6 +526,174 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/workers/observability/queries/{queryId}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-observability_query" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + $defs: { + "workers-observability_filter_leaf": workers_observability_filter_leaf_output, + "workers-observability_filter_leaf_value": workers_observability_filter_leaf_value_output, + "workers-observability_filter_node": workers_observability_filter_node_output, + "workers-observability_query": workers_observability_query_output, + "workers-observability_query_parameters": workers_observability_query_parameters_output, + "workers-observability_query_parameters_groupBysItem": workers_observability_query_parameters_groupBysItem_output, + "workers-observability_query_parameters_havingsItem": workers_observability_query_parameters_havingsItem_output, + "workers-observability_query_parameters_needle": workers_observability_query_parameters_needle_output, + "workers-observability_query_parameters_orderBy": workers_observability_query_parameters_orderBy_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries/${pathParam(args, "query_id")}`, }), @@ -656,6 +1003,174 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/workers/observability/queries/{queryId}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-observability_query" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + $defs: { + "workers-observability_filter_leaf": workers_observability_filter_leaf_output, + "workers-observability_filter_leaf_value": workers_observability_filter_leaf_value_output, + "workers-observability_filter_node": workers_observability_filter_node_output, + "workers-observability_query": workers_observability_query_output, + "workers-observability_query_parameters": workers_observability_query_parameters_output, + "workers-observability_query_parameters_groupBysItem": workers_observability_query_parameters_groupBysItem_output, + "workers-observability_query_parameters_havingsItem": workers_observability_query_parameters_havingsItem_output, + "workers-observability_query_parameters_needle": workers_observability_query_parameters_needle_output, + "workers-observability_query_parameters_orderBy": workers_observability_query_parameters_orderBy_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries/${pathParam(args, "query_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -690,6 +1205,174 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/queries/{queryId}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-observability_query" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + $defs: { + "workers-observability_filter_leaf": workers_observability_filter_leaf_output, + "workers-observability_filter_leaf_value": workers_observability_filter_leaf_value_output, + "workers-observability_filter_node": workers_observability_filter_node_output, + "workers-observability_query": workers_observability_query_output, + "workers-observability_query_parameters": workers_observability_query_parameters_output, + "workers-observability_query_parameters_groupBysItem": workers_observability_query_parameters_groupBysItem_output, + "workers-observability_query_parameters_havingsItem": workers_observability_query_parameters_havingsItem_output, + "workers-observability_query_parameters_needle": workers_observability_query_parameters_needle_output, + "workers-observability_query_parameters_orderBy": workers_observability_query_parameters_orderBy_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries/${pathParam(args, "query_id")}`, }), @@ -743,6 +1426,188 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/queries", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers-observability_query" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Not found" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + $defs: { + "workers-observability_filter_leaf": workers_observability_filter_leaf_output, + "workers-observability_filter_leaf_value": workers_observability_filter_leaf_value_output, + "workers-observability_filter_node": workers_observability_filter_node_output, + "workers-observability_query": workers_observability_query_output, + "workers-observability_query_parameters": workers_observability_query_parameters_output, + "workers-observability_query_parameters_groupBysItem": workers_observability_query_parameters_groupBysItem_output, + "workers-observability_query_parameters_havingsItem": workers_observability_query_parameters_havingsItem_output, + "workers-observability_query_parameters_needle": workers_observability_query_parameters_needle_output, + "workers-observability_query_parameters_orderBy": workers_observability_query_parameters_orderBy_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries`, query: [ diff --git a/src/generated/forge-mcp/o11y/sharedQueries/tools.ts b/src/generated/forge-mcp/o11y/sharedQueries/tools.ts index 5f307938..12cab294 100644 --- a/src/generated/forge-mcp/o11y/sharedQueries/tools.ts +++ b/src/generated/forge-mcp/o11y/sharedQueries/tools.ts @@ -2,6 +2,50 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_observability_distribution_result_output, + workers_observability_filter_leaf_output, + workers_observability_filter_leaf_value_output, + workers_observability_filter_node_output, + workers_observability_performance_information_output, + workers_observability_query_output, + workers_observability_query_parameters_groupBysItem_output, + workers_observability_query_parameters_havingsItem_output, + workers_observability_query_parameters_needle_output, + workers_observability_query_parameters_orderBy_output, + workers_observability_query_parameters_output, + workers_observability_query_results_agentsItem_output, + workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_output, + workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_value_output, + workers_observability_query_results_calculationsItem_aggregatesItem_output, + workers_observability_query_results_calculationsItem_output, + workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_output, + workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_value_output, + workers_observability_query_results_calculationsItem_seriesItem_dataItem_output, + workers_observability_query_results_calculationsItem_seriesItem_output, + workers_observability_query_results_compareItem_aggregatesItem_groupsItem_output, + workers_observability_query_results_compareItem_aggregatesItem_groupsItem_value_output, + workers_observability_query_results_compareItem_aggregatesItem_output, + workers_observability_query_results_compareItem_output, + workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_output, + workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_value_output, + workers_observability_query_results_compareItem_seriesItem_dataItem_output, + workers_observability_query_results_compareItem_seriesItem_output, + workers_observability_query_results_events_fieldsItem_output, + workers_observability_query_results_events_output, + workers_observability_query_results_events_seriesItem_dataItem_aggregates_output, + workers_observability_query_results_events_seriesItem_dataItem_output, + workers_observability_query_results_events_seriesItem_output, + workers_observability_query_results_output, + workers_observability_query_results_tracesItem_output, + workers_observability_query_run_output, + workers_observability_query_run_statistics_output, + workers_observability_query_run_timeframe_output, + workers_observability_telemetry_event__metadata_output, + workers_observability_telemetry_event__workers_output, + workers_observability_telemetry_event_output, + workers_observability_telemetry_event_source_output, +} from "../outputs.js"; import { workers_observability_filter_leaf, workers_observability_filter_leaf_value, @@ -453,6 +497,221 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/shared/query", + responses: { + schemas: { + "200": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Too many requests" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/shared/query`, body: { value: args["body"], mediaType: "application/json" }, @@ -497,6 +756,257 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/shared/query/{id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-observability_query_results" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + $defs: { + "workers-observability_distribution_result": workers_observability_distribution_result_output, + "workers-observability_filter_leaf": workers_observability_filter_leaf_output, + "workers-observability_filter_leaf_value": workers_observability_filter_leaf_value_output, + "workers-observability_filter_node": workers_observability_filter_node_output, + "workers-observability_performance_information": workers_observability_performance_information_output, + "workers-observability_query": workers_observability_query_output, + "workers-observability_query_parameters": workers_observability_query_parameters_output, + "workers-observability_query_parameters_groupBysItem": workers_observability_query_parameters_groupBysItem_output, + "workers-observability_query_parameters_havingsItem": workers_observability_query_parameters_havingsItem_output, + "workers-observability_query_parameters_needle": workers_observability_query_parameters_needle_output, + "workers-observability_query_parameters_orderBy": workers_observability_query_parameters_orderBy_output, + "workers-observability_query_results": workers_observability_query_results_output, + "workers-observability_query_results_agentsItem": workers_observability_query_results_agentsItem_output, + "workers-observability_query_results_calculationsItem": workers_observability_query_results_calculationsItem_output, + "workers-observability_query_results_calculationsItem_aggregatesItem": workers_observability_query_results_calculationsItem_aggregatesItem_output, + "workers-observability_query_results_calculationsItem_aggregatesItem_groupsItem": workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_output, + "workers-observability_query_results_calculationsItem_aggregatesItem_groupsItem_value": workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_value_output, + "workers-observability_query_results_calculationsItem_seriesItem": workers_observability_query_results_calculationsItem_seriesItem_output, + "workers-observability_query_results_calculationsItem_seriesItem_dataItem": workers_observability_query_results_calculationsItem_seriesItem_dataItem_output, + "workers-observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem": workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_output, + "workers-observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_value": workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_value_output, + "workers-observability_query_results_compareItem": workers_observability_query_results_compareItem_output, + "workers-observability_query_results_compareItem_aggregatesItem": workers_observability_query_results_compareItem_aggregatesItem_output, + "workers-observability_query_results_compareItem_aggregatesItem_groupsItem": workers_observability_query_results_compareItem_aggregatesItem_groupsItem_output, + "workers-observability_query_results_compareItem_aggregatesItem_groupsItem_value": workers_observability_query_results_compareItem_aggregatesItem_groupsItem_value_output, + "workers-observability_query_results_compareItem_seriesItem": workers_observability_query_results_compareItem_seriesItem_output, + "workers-observability_query_results_compareItem_seriesItem_dataItem": workers_observability_query_results_compareItem_seriesItem_dataItem_output, + "workers-observability_query_results_compareItem_seriesItem_dataItem_groupsItem": workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_output, + "workers-observability_query_results_compareItem_seriesItem_dataItem_groupsItem_value": workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_value_output, + "workers-observability_query_results_events": workers_observability_query_results_events_output, + "workers-observability_query_results_events_fieldsItem": workers_observability_query_results_events_fieldsItem_output, + "workers-observability_query_results_events_seriesItem": workers_observability_query_results_events_seriesItem_output, + "workers-observability_query_results_events_seriesItem_dataItem": workers_observability_query_results_events_seriesItem_dataItem_output, + "workers-observability_query_results_events_seriesItem_dataItem_aggregates": workers_observability_query_results_events_seriesItem_dataItem_aggregates_output, + "workers-observability_query_results_tracesItem": workers_observability_query_results_tracesItem_output, + "workers-observability_query_run": workers_observability_query_run_output, + "workers-observability_query_run_statistics": workers_observability_query_run_statistics_output, + "workers-observability_query_run_timeframe": workers_observability_query_run_timeframe_output, + "workers-observability_telemetry_event": workers_observability_telemetry_event_output, + "workers-observability_telemetry_event__metadata": workers_observability_telemetry_event__metadata_output, + "workers-observability_telemetry_event__workers": workers_observability_telemetry_event__workers_output, + "workers-observability_telemetry_event_source": workers_observability_telemetry_event_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/shared/query/${pathParam(args, "id")}`, query: [ diff --git a/src/generated/forge-mcp/o11y/telemetry/tools.ts b/src/generated/forge-mcp/o11y/telemetry/tools.ts index 8888a93f..b771a019 100644 --- a/src/generated/forge-mcp/o11y/telemetry/tools.ts +++ b/src/generated/forge-mcp/o11y/telemetry/tools.ts @@ -2,6 +2,50 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_observability_distribution_result_output, + workers_observability_filter_leaf_output, + workers_observability_filter_leaf_value_output, + workers_observability_filter_node_output, + workers_observability_performance_information_output, + workers_observability_query_output, + workers_observability_query_parameters_groupBysItem_output, + workers_observability_query_parameters_havingsItem_output, + workers_observability_query_parameters_needle_output, + workers_observability_query_parameters_orderBy_output, + workers_observability_query_parameters_output, + workers_observability_query_results_agentsItem_output, + workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_output, + workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_value_output, + workers_observability_query_results_calculationsItem_aggregatesItem_output, + workers_observability_query_results_calculationsItem_output, + workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_output, + workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_value_output, + workers_observability_query_results_calculationsItem_seriesItem_dataItem_output, + workers_observability_query_results_calculationsItem_seriesItem_output, + workers_observability_query_results_compareItem_aggregatesItem_groupsItem_output, + workers_observability_query_results_compareItem_aggregatesItem_groupsItem_value_output, + workers_observability_query_results_compareItem_aggregatesItem_output, + workers_observability_query_results_compareItem_output, + workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_output, + workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_value_output, + workers_observability_query_results_compareItem_seriesItem_dataItem_output, + workers_observability_query_results_compareItem_seriesItem_output, + workers_observability_query_results_events_fieldsItem_output, + workers_observability_query_results_events_output, + workers_observability_query_results_events_seriesItem_dataItem_aggregates_output, + workers_observability_query_results_events_seriesItem_dataItem_output, + workers_observability_query_results_events_seriesItem_output, + workers_observability_query_results_output, + workers_observability_query_results_tracesItem_output, + workers_observability_query_run_output, + workers_observability_query_run_statistics_output, + workers_observability_query_run_timeframe_output, + workers_observability_telemetry_event__metadata_output, + workers_observability_telemetry_event__workers_output, + workers_observability_telemetry_event_output, + workers_observability_telemetry_event_source_output, +} from "../outputs.js"; import { workers_observability_filter_leaf, workers_observability_filter_leaf_value, @@ -47,6 +91,113 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/telemetry/live-tail/heartbeat", + responses: { + schemas: { + "200": { + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/telemetry/live-tail/heartbeat`, body: { value: args["body"], mediaType: "application/json" }, @@ -237,6 +388,348 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/telemetry/keys", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "lastSeenAt": { + "type": "number" + }, + "type": { + "enum": [ + "string", + "boolean", + "number" + ], + "type": "string" + } + }, + "required": [ + "key", + "lastSeenAt", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Too many requests" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "504": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Gateway timeout" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/telemetry/keys`, body: { value: args["body"], mediaType: "application/json" }, @@ -347,20 +840,185 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/telemetry/live-tail", - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/telemetry/live-tail`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "o11y_telemetry_query", - title: "Run a query", - description: "Run a temporary or saved query.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Your Cloudflare account ID.", + responses: { + schemas: { + "200": { + "properties": { + "wsUrl": { + "type": "string" + } + }, + "required": [ + "wsUrl" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/telemetry/live-tail`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "o11y_telemetry_query", + title: "Run a query", + description: "Run a temporary or saved query.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Your Cloudflare account ID.", "type": "string" }, "body": { @@ -793,6 +1451,357 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/telemetry/query", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers-observability_query_results" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Too many requests" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "504": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Gateway timeout" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + $defs: { + "workers-observability_distribution_result": workers_observability_distribution_result_output, + "workers-observability_filter_leaf": workers_observability_filter_leaf_output, + "workers-observability_filter_leaf_value": workers_observability_filter_leaf_value_output, + "workers-observability_filter_node": workers_observability_filter_node_output, + "workers-observability_performance_information": workers_observability_performance_information_output, + "workers-observability_query": workers_observability_query_output, + "workers-observability_query_parameters": workers_observability_query_parameters_output, + "workers-observability_query_parameters_groupBysItem": workers_observability_query_parameters_groupBysItem_output, + "workers-observability_query_parameters_havingsItem": workers_observability_query_parameters_havingsItem_output, + "workers-observability_query_parameters_needle": workers_observability_query_parameters_needle_output, + "workers-observability_query_parameters_orderBy": workers_observability_query_parameters_orderBy_output, + "workers-observability_query_results": workers_observability_query_results_output, + "workers-observability_query_results_agentsItem": workers_observability_query_results_agentsItem_output, + "workers-observability_query_results_calculationsItem": workers_observability_query_results_calculationsItem_output, + "workers-observability_query_results_calculationsItem_aggregatesItem": workers_observability_query_results_calculationsItem_aggregatesItem_output, + "workers-observability_query_results_calculationsItem_aggregatesItem_groupsItem": workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_output, + "workers-observability_query_results_calculationsItem_aggregatesItem_groupsItem_value": workers_observability_query_results_calculationsItem_aggregatesItem_groupsItem_value_output, + "workers-observability_query_results_calculationsItem_seriesItem": workers_observability_query_results_calculationsItem_seriesItem_output, + "workers-observability_query_results_calculationsItem_seriesItem_dataItem": workers_observability_query_results_calculationsItem_seriesItem_dataItem_output, + "workers-observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem": workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_output, + "workers-observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_value": workers_observability_query_results_calculationsItem_seriesItem_dataItem_groupsItem_value_output, + "workers-observability_query_results_compareItem": workers_observability_query_results_compareItem_output, + "workers-observability_query_results_compareItem_aggregatesItem": workers_observability_query_results_compareItem_aggregatesItem_output, + "workers-observability_query_results_compareItem_aggregatesItem_groupsItem": workers_observability_query_results_compareItem_aggregatesItem_groupsItem_output, + "workers-observability_query_results_compareItem_aggregatesItem_groupsItem_value": workers_observability_query_results_compareItem_aggregatesItem_groupsItem_value_output, + "workers-observability_query_results_compareItem_seriesItem": workers_observability_query_results_compareItem_seriesItem_output, + "workers-observability_query_results_compareItem_seriesItem_dataItem": workers_observability_query_results_compareItem_seriesItem_dataItem_output, + "workers-observability_query_results_compareItem_seriesItem_dataItem_groupsItem": workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_output, + "workers-observability_query_results_compareItem_seriesItem_dataItem_groupsItem_value": workers_observability_query_results_compareItem_seriesItem_dataItem_groupsItem_value_output, + "workers-observability_query_results_events": workers_observability_query_results_events_output, + "workers-observability_query_results_events_fieldsItem": workers_observability_query_results_events_fieldsItem_output, + "workers-observability_query_results_events_seriesItem": workers_observability_query_results_events_seriesItem_output, + "workers-observability_query_results_events_seriesItem_dataItem": workers_observability_query_results_events_seriesItem_dataItem_output, + "workers-observability_query_results_events_seriesItem_dataItem_aggregates": workers_observability_query_results_events_seriesItem_dataItem_aggregates_output, + "workers-observability_query_results_tracesItem": workers_observability_query_results_tracesItem_output, + "workers-observability_query_run": workers_observability_query_run_output, + "workers-observability_query_run_statistics": workers_observability_query_run_statistics_output, + "workers-observability_query_run_timeframe": workers_observability_query_run_timeframe_output, + "workers-observability_telemetry_event": workers_observability_telemetry_event_output, + "workers-observability_telemetry_event__metadata": workers_observability_telemetry_event__metadata_output, + "workers-observability_telemetry_event__workers": workers_observability_telemetry_event__workers_output, + "workers-observability_telemetry_event_source": workers_observability_telemetry_event_source_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/telemetry/query`, body: { value: args["body"], mediaType: "application/json" }, @@ -970,6 +1979,362 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/observability/telemetry/values", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "dataset": { + "type": "string" + }, + "key": { + "type": "string" + }, + "type": { + "enum": [ + "string", + "boolean", + "number" + ], + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "dataset", + "key", + "type", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Too many requests" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "504": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Gateway timeout" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/telemetry/values`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/o11y/tools.ts b/src/generated/forge-mcp/o11y/tools.ts index 5ece87d4..3ec8e32b 100644 --- a/src/generated/forge-mcp/o11y/tools.ts +++ b/src/generated/forge-mcp/o11y/tools.ts @@ -46,6 +46,352 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/workers/observability/usage", + responses: { + schemas: { + "200": { + "properties": { + "breakdown": { + "items": { + "properties": { + "bin": { + "type": "string" + }, + "count": { + "type": "number" + }, + "dataset": { + "type": "string" + }, + "eventSize": { + "type": "number" + }, + "service": { + "type": "string" + } + }, + "required": [ + "bin", + "count", + "dataset", + "eventSize", + "service" + ], + "type": "object" + }, + "type": "array" + }, + "events": { + "type": "number" + } + }, + "required": [ + "breakdown", + "events" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Too many requests" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "504": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Gateway timeout" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/usage`, query: [ diff --git a/src/generated/forge-mcp/o11y/tracing/rules/tools.ts b/src/generated/forge-mcp/o11y/tracing/rules/tools.ts index 2aa692b4..a2aa83cf 100644 --- a/src/generated/forge-mcp/o11y/tracing/rules/tools.ts +++ b/src/generated/forge-mcp/o11y/tracing/rules/tools.ts @@ -32,6 +32,260 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/zones/{zone_id}/observability/tracing/rules", + responses: { + schemas: { + "200": { + "properties": { + "rules": { + "items": { + "properties": { + "action": { + "enum": [ + "set_trace_settings" + ], + "type": "string" + }, + "action_parameters": { + "properties": { + "sampling_ratio": { + "type": "number" + } + }, + "required": [ + "sampling_ratio" + ], + "type": "object" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + } + }, + "required": [ + "action", + "action_parameters", + "description", + "enabled", + "expression" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array" + } + }, + "required": [ + "rules" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/observability/tracing/rules`, }), @@ -48,19 +302,273 @@ export const tools: readonly Tool[] = [ "type": "string" } }, - required: [ - "zone_id" - ], + required: [ + "zone_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "View zone trace rules" + }, + method: "GET", + path: "/zones/{zone_id}/observability/tracing/rules", + responses: { + schemas: { + "200": { + "properties": { + "rules": { + "items": { + "properties": { + "action": { + "enum": [ + "set_trace_settings" + ], + "type": "string" + }, + "action_parameters": { + "properties": { + "sampling_ratio": { + "type": "number" + } + }, + "required": [ + "sampling_ratio" + ], + "type": "object" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + } + }, + "required": [ + "action", + "action_parameters", + "description", + "enabled", + "expression" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array" + } + }, + "required": [ + "rules" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "View zone trace rules" - }, - method: "GET", - path: "/zones/{zone_id}/observability/tracing/rules", request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/observability/tracing/rules`, }), @@ -145,6 +653,260 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/zones/{zone_id}/observability/tracing/rules", + responses: { + schemas: { + "200": { + "properties": { + "rules": { + "items": { + "properties": { + "action": { + "enum": [ + "set_trace_settings" + ], + "type": "string" + }, + "action_parameters": { + "properties": { + "sampling_ratio": { + "type": "number" + } + }, + "required": [ + "sampling_ratio" + ], + "type": "object" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + } + }, + "required": [ + "action", + "action_parameters", + "description", + "enabled", + "expression" + ], + "type": "object" + }, + "maxItems": 1000, + "type": "array" + } + }, + "required": [ + "rules" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/observability/tracing/rules`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/o11y/tracing/settings/tools.ts b/src/generated/forge-mcp/o11y/tracing/settings/tools.ts index ba8ad6c1..6e06408e 100644 --- a/src/generated/forge-mcp/o11y/tracing/settings/tools.ts +++ b/src/generated/forge-mcp/o11y/tracing/settings/tools.ts @@ -32,6 +32,250 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/zones/{zone_id}/observability/tracing/settings", + responses: { + schemas: { + "200": { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "maxItems": 100, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "forward_context": { + "type": "boolean" + }, + "persist": { + "type": "boolean" + }, + "propagation_policy": { + "enum": [ + "accept", + "authenticated", + "reject" + ], + "type": "string" + }, + "sampling_ratio": { + "type": "number" + } + }, + "required": [ + "destinations", + "enabled", + "forward_context", + "persist", + "propagation_policy", + "sampling_ratio" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/observability/tracing/settings`, }), @@ -61,6 +305,250 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/zones/{zone_id}/observability/tracing/settings", + responses: { + schemas: { + "200": { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "maxItems": 100, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "forward_context": { + "type": "boolean" + }, + "persist": { + "type": "boolean" + }, + "propagation_policy": { + "enum": [ + "accept", + "authenticated", + "reject" + ], + "type": "string" + }, + "sampling_ratio": { + "type": "number" + } + }, + "required": [ + "destinations", + "enabled", + "forward_context", + "persist", + "propagation_policy", + "sampling_ratio" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/observability/tracing/settings`, }), @@ -130,6 +618,250 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/zones/{zone_id}/observability/tracing/settings", + responses: { + schemas: { + "200": { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "maxItems": 100, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "forward_context": { + "type": "boolean" + }, + "persist": { + "type": "boolean" + }, + "propagation_policy": { + "enum": [ + "accept", + "authenticated", + "reject" + ], + "type": "string" + }, + "sampling_ratio": { + "type": "number" + } + }, + "required": [ + "destinations", + "enabled", + "forward_context", + "persist", + "propagation_policy", + "sampling_ratio" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Bad Request" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "401": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Unauthorized" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Forbidden" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "message": { + "enum": [ + "Internal error" + ], + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/observability/tracing/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/oauthClients/outputs.ts b/src/generated/forge-mcp/oauthClients/outputs.ts new file mode 100644 index 00000000..1ebdfe68 --- /dev/null +++ b/src/generated/forge-mcp/oauthClients/outputs.ts @@ -0,0 +1,266 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `iam_oauth_client` in responses. + */ +export const iam_oauth_client_output: JsonSchema = { + "properties": { + "allowed_cors_origins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "client_id": { + "$ref": "#/$defs/iam_oauth_client_identifier" + }, + "client_name": { + "type": "string" + }, + "client_uri": { + "type": "string" + }, + "client_uri_verification": { + "$ref": "#/$defs/iam_oauth_client_uri_verification" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "grant_types": { + "$ref": "#/$defs/iam_oauth_client_grant_types" + }, + "has_rotated_secret": { + "type": "boolean" + }, + "logo_uri": { + "type": "string" + }, + "optional_scopes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "policy_uri": { + "type": "string" + }, + "post_logout_redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "promoted_at": { + "format": "date-time", + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "response_types": { + "$ref": "#/$defs/iam_oauth_client_response_types" + }, + "scopes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "token_endpoint_auth_method": { + "$ref": "#/$defs/iam_oauth_client_token_endpoint_auth_method" + }, + "tos_uri": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private" + ], + "type": "string" + } + }, + "required": [ + "client_id", + "visibility" + ], + "type": "object" +}; + +/** + * The schema of `iam_oauth_client_grant_types` in responses. + */ +export const iam_oauth_client_grant_types_output: JsonSchema = { + "items": { + "enum": [ + "authorization_code", + "refresh_token" + ], + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `iam_oauth_client_identifier` in responses. + */ +export const iam_oauth_client_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_oauth_client_response_types` in responses. + */ +export const iam_oauth_client_response_types_output: JsonSchema = { + "items": { + "enum": [ + "token", + "id_token", + "code" + ], + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `iam_oauth_client_token_endpoint_auth_method` in responses. + */ +export const iam_oauth_client_token_endpoint_auth_method_output: JsonSchema = { + "enum": [ + "none", + "client_secret_basic", + "client_secret_post" + ], + "type": "string" +}; + +/** + * The schema of `iam_oauth_client_uri_verification` in responses. + */ +export const iam_oauth_client_uri_verification_output: JsonSchema = { + "properties": { + "status": { + "enum": [ + "pending", + "in_progress", + "verified", + "failed" + ], + "type": "string" + }, + "text": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_oauth_client_with_secret` in responses. + */ +export const iam_oauth_client_with_secret_output: JsonSchema = { + "properties": { + "allowed_cors_origins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "client_id": { + "$ref": "#/$defs/iam_oauth_client_identifier" + }, + "client_name": { + "type": "string" + }, + "client_secret": { + "type": "string" + }, + "client_uri": { + "type": "string" + }, + "client_uri_verification": { + "$ref": "#/$defs/iam_oauth_client_uri_verification" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "grant_types": { + "$ref": "#/$defs/iam_oauth_client_grant_types" + }, + "has_rotated_secret": { + "type": "boolean" + }, + "logo_uri": { + "type": "string" + }, + "optional_scopes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "policy_uri": { + "type": "string" + }, + "post_logout_redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "promoted_at": { + "format": "date-time", + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "response_types": { + "$ref": "#/$defs/iam_oauth_client_response_types" + }, + "scopes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "token_endpoint_auth_method": { + "$ref": "#/$defs/iam_oauth_client_token_endpoint_auth_method" + }, + "tos_uri": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "private" + ], + "type": "string" + } + }, + "required": [ + "client_id", + "visibility" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/oauthClients/tools.ts b/src/generated/forge-mcp/oauthClients/tools.ts index 0e3a8314..88ecd49a 100644 --- a/src/generated/forge-mcp/oauthClients/tools.ts +++ b/src/generated/forge-mcp/oauthClients/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_common_components_schemas_identifier_output, + iam_messages_2_output, + iam_result_info_output, +} from "../outputs.js"; +import { + iam_oauth_client_grant_types_output, + iam_oauth_client_identifier_output, + iam_oauth_client_output, + iam_oauth_client_response_types_output, + iam_oauth_client_token_endpoint_auth_method_output, + iam_oauth_client_uri_verification_output, + iam_oauth_client_with_secret_output, +} from "./outputs.js"; import { iam_oauth_client_create_request, iam_oauth_client_grant_types, @@ -70,6 +85,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_oauth_client_with_secret" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, + "iam_oauth_client_identifier": iam_oauth_client_identifier_output, + "iam_oauth_client_response_types": iam_oauth_client_response_types_output, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, + "iam_oauth_client_with_secret": iam_oauth_client_with_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/oauth_clients`, body: { value: args["body"], mediaType: "application/json" }, @@ -126,6 +161,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/oauth_clients/${pathParam(args, "oauth_client_id")}`, }), @@ -181,6 +246,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/oauth_clients/${pathParam(args, "oauth_client_id")}/rotate_secret`, }), @@ -236,6 +331,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_oauth_client" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_oauth_client": iam_oauth_client_output, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, + "iam_oauth_client_identifier": iam_oauth_client_identifier_output, + "iam_oauth_client_response_types": iam_oauth_client_response_types_output, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/oauth_clients/${pathParam(args, "oauth_client_id")}`, }), @@ -286,6 +401,41 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_oauth_client" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_oauth_client": iam_oauth_client_output, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, + "iam_oauth_client_identifier": iam_oauth_client_identifier_output, + "iam_oauth_client_response_types": iam_oauth_client_response_types_output, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, + "iam_result_info": iam_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/oauth_clients`, }), @@ -341,6 +491,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "client_secret": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/oauth_clients/${pathParam(args, "oauth_client_id")}/rotate_secret`, }), @@ -406,6 +575,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_oauth_client" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_oauth_client": iam_oauth_client_output, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, + "iam_oauth_client_identifier": iam_oauth_client_identifier_output, + "iam_oauth_client_response_types": iam_oauth_client_response_types_output, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/oauth_clients/${pathParam(args, "oauth_client_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/oauthScopes/outputs.ts b/src/generated/forge-mcp/oauthScopes/outputs.ts new file mode 100644 index 00000000..d274da55 --- /dev/null +++ b/src/generated/forge-mcp/oauthScopes/outputs.ts @@ -0,0 +1,32 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `iam_oauth_scope` in responses. + */ +export const iam_oauth_scope_output: JsonSchema = { + "properties": { + "category": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "scopes": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/oauthScopes/tools.ts b/src/generated/forge-mcp/oauthScopes/tools.ts index 6154f515..8bb05e79 100644 --- a/src/generated/forge-mcp/oauthScopes/tools.ts +++ b/src/generated/forge-mcp/oauthScopes/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_messages_2_output, + iam_result_info_output, +} from "../outputs.js"; +import { iam_oauth_scope_output } from "./outputs.js"; /** * The tools of `oauth_scopes`. @@ -32,6 +38,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_oauth_scope" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_oauth_scope": iam_oauth_scope_output, + "iam_result_info": iam_result_info_output, + }, + }, request: (_args) => ({ path: `/oauth/scopes`, }), diff --git a/src/generated/forge-mcp/organization/account/tools.ts b/src/generated/forge-mcp/organization/account/tools.ts index 4b3de5c3..26f6cba9 100644 --- a/src/generated/forge-mcp/organization/account/tools.ts +++ b/src/generated/forge-mcp/organization/account/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + organizations_api_Account_output, + organizations_api_Account_settings_output, + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; +import { organizations_api_PageTokenResultInfo_output } from "../outputs.js"; /** * The tools of `organization.account`. @@ -100,6 +107,37 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/organizations/{organization_id}/accounts", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/organizations-api_Account" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/organizations-api_PageTokenResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Account": organizations_api_Account_output, + "organizations-api_Account_settings": organizations_api_Account_settings_output, + "organizations-api_PageTokenResultInfo": organizations_api_PageTokenResultInfo_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/accounts`, query: [ diff --git a/src/generated/forge-mcp/organization/invite/tools.ts b/src/generated/forge-mcp/organization/invite/tools.ts index fdcd4a48..71e9ce44 100644 --- a/src/generated/forge-mcp/organization/invite/tools.ts +++ b/src/generated/forge-mcp/organization/invite/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; +import { + organizations_api_MemberID_output, + organizations_api_MemberSubjectUser_output, + organizations_api_Member_output, +} from "../outputs.js"; import { organizations_api_HandleOrganizationInviteRequest } from "./schemas.js"; /** @@ -46,6 +55,23 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/organizations/{organization_id}/invites/{member_code}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_Member" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Member": organizations_api_Member_output, + "organizations-api_MemberID": organizations_api_MemberID_output, + "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/invites/${pathParam(args, "member_code")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/organization/member/batch/tools.ts b/src/generated/forge-mcp/organization/member/batch/tools.ts index 78ae05ad..6518943a 100644 --- a/src/generated/forge-mcp/organization/member/batch/tools.ts +++ b/src/generated/forge-mcp/organization/member/batch/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../../outputs.js"; +import { + organizations_api_MemberID_output, + organizations_api_MemberSubjectUser_output, + organizations_api_Member_output, +} from "../../outputs.js"; import { organizations_api_CreateSingleMember, organizations_api_CreateSingleMember_user, @@ -45,6 +54,37 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/organizations/{organization_id}/members:batchCreate", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/organizations-api_Member" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Member": organizations_api_Member_output, + "organizations-api_MemberID": organizations_api_MemberID_output, + "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/members:batchCreate`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/organization/member/tools.ts b/src/generated/forge-mcp/organization/member/tools.ts index f5e6f6f6..62e91ad4 100644 --- a/src/generated/forge-mcp/organization/member/tools.ts +++ b/src/generated/forge-mcp/organization/member/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; +import { + organizations_api_MemberID_output, + organizations_api_MemberSubjectUser_output, + organizations_api_Member_output, + organizations_api_PageTokenResultInfo_output, +} from "../outputs.js"; import { organizations_api_CreateMemberRequest, organizations_api_CreateSingleMember, @@ -45,6 +55,23 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/organizations/{organization_id}/members", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_Member" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Member": organizations_api_Member_output, + "organizations-api_MemberID": organizations_api_MemberID_output, + "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/members`, body: { value: args["body"], mediaType: "application/json" }, @@ -79,6 +106,18 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/organizations/{organization_id}/members/{member_id}", + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/members/${pathParam(args, "member_id")}`, }), @@ -112,6 +151,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/organizations/{organization_id}/members/{member_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_Member" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Member": organizations_api_Member_output, + "organizations-api_MemberID": organizations_api_MemberID_output, + "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/members/${pathParam(args, "member_id")}`, }), @@ -177,6 +233,38 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/organizations/{organization_id}/members", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/organizations-api_Member" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/organizations-api_PageTokenResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Member": organizations_api_Member_output, + "organizations-api_MemberID": organizations_api_MemberID_output, + "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, + "organizations-api_PageTokenResultInfo": organizations_api_PageTokenResultInfo_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/members`, query: [ diff --git a/src/generated/forge-mcp/organization/outputs.ts b/src/generated/forge-mcp/organization/outputs.ts new file mode 100644 index 00000000..c4b81ab6 --- /dev/null +++ b/src/generated/forge-mcp/organization/outputs.ts @@ -0,0 +1,114 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `organizations-api_DeleteOrganizationResult` in responses. + */ +export const organizations_api_DeleteOrganizationResult_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_Member` in responses. + */ +export const organizations_api_Member_output: JsonSchema = { + "properties": { + "create_time": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/organizations-api_MemberID" + }, + "meta": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "status": { + "enum": [ + "active", + "pending", + "rejected", + "canceled" + ], + "type": "string" + }, + "update_time": { + "format": "date-time", + "type": "string" + }, + "user": { + "$ref": "#/$defs/organizations-api_MemberSubjectUser" + } + }, + "required": [ + "create_time", + "id", + "meta", + "status", + "update_time", + "user" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_MemberID` in responses. + */ +export const organizations_api_MemberID_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `organizations-api_MemberSubjectUser` in responses. + */ +export const organizations_api_MemberSubjectUser_output: JsonSchema = { + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "two_factor_authentication_enabled": { + "type": "boolean" + } + }, + "required": [ + "email", + "id", + "name", + "two_factor_authentication_enabled" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_PageTokenResultInfo` in responses. + */ +export const organizations_api_PageTokenResultInfo_output: JsonSchema = { + "properties": { + "next_page_token": { + "type": "string" + }, + "total_size": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/organization/profile/tools.ts b/src/generated/forge-mcp/organization/profile/tools.ts index 82a5a9cb..aaa4b60c 100644 --- a/src/generated/forge-mcp/organization/profile/tools.ts +++ b/src/generated/forge-mcp/organization/profile/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + organizations_api_Profile_output, + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; import { organizations_api_ModifyOrganizationProfileRequest } from "./schemas.js"; /** @@ -33,6 +38,21 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/organizations/{organization_id}/profile", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_Profile" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Profile": organizations_api_Profile_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/profile`, }), @@ -68,6 +88,18 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/organizations/{organization_id}/profile", + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/profile`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/organization/share/tools.ts b/src/generated/forge-mcp/organization/share/tools.ts index 522f1ab9..5600548f 100644 --- a/src/generated/forge-mcp/organization/share/tools.ts +++ b/src/generated/forge-mcp/organization/share/tools.ts @@ -2,6 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + resource_sharing_account_id_output, + resource_sharing_account_name_output, + resource_sharing_api_response_common_failure_output, + resource_sharing_created_output, + resource_sharing_modified_output, + resource_sharing_organization_id_output, + resource_sharing_resource_id_output, + resource_sharing_resource_meta_output, + resource_sharing_resource_resource_id_output, + resource_sharing_resource_status_output, + resource_sharing_resource_type_output, + resource_sharing_resource_version_output, + resource_sharing_result_info_output, + resource_sharing_share_id_output, + resource_sharing_share_kind_output, + resource_sharing_share_name_output, + resource_sharing_share_object_output, + resource_sharing_share_resource_object_output, + resource_sharing_share_status_output, + resource_sharing_share_target_type_output, + resource_sharing_v4error_output, + resource_sharing_v4errors_output, +} from "../../outputs.js"; import { resource_sharing_resource_type, resource_sharing_share_kind, @@ -99,6 +123,57 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/resource-sharing_share_object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/resource-sharing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_account_name": resource_sharing_account_name_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_organization_id": resource_sharing_organization_id_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_result_info": resource_sharing_result_info_output, + "resource-sharing_share_id": resource_sharing_share_id_output, + "resource-sharing_share_kind": resource_sharing_share_kind_output, + "resource-sharing_share_name": resource_sharing_share_name_output, + "resource-sharing_share_object": resource_sharing_share_object_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_share_status": resource_sharing_share_status_output, + "resource-sharing_share_target_type": resource_sharing_share_target_type_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/shares`, query: [ diff --git a/src/generated/forge-mcp/organization/tools.ts b/src/generated/forge-mcp/organization/tools.ts index 1ba851b3..60011f83 100644 --- a/src/generated/forge-mcp/organization/tools.ts +++ b/src/generated/forge-mcp/organization/tools.ts @@ -2,12 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + organizations_api_OrganizationFlags_output, + organizations_api_OrganizationID_output, + organizations_api_Organization_meta_output, + organizations_api_Organization_output, + organizations_api_Organization_parent_output, + organizations_api_Profile_output, + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../outputs.js"; import { organizations_api_Organization, organizations_api_OrganizationID, organizations_api_Organization_parent, organizations_api_Profile, } from "../schemas.js"; +import { + organizations_api_DeleteOrganizationResult_output, + organizations_api_PageTokenResultInfo_output, +} from "./outputs.js"; /** * The tools of `organization`. @@ -48,6 +62,26 @@ export const tools: readonly Tool[] = [ "User Details Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_Organization" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Organization": organizations_api_Organization_output, + "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, + "organizations-api_OrganizationID": organizations_api_OrganizationID_output, + "organizations-api_Organization_meta": organizations_api_Organization_meta_output, + "organizations-api_Organization_parent": organizations_api_Organization_parent_output, + "organizations-api_Profile": organizations_api_Profile_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations`, body: { value: args["body"], mediaType: "application/json" }, @@ -78,6 +112,21 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/organizations/{organization_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_DeleteOrganizationResult" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_DeleteOrganizationResult": organizations_api_DeleteOrganizationResult_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}`, }), @@ -107,6 +156,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/organizations/{organization_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_Organization" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Organization": organizations_api_Organization_output, + "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, + "organizations-api_OrganizationID": organizations_api_OrganizationID_output, + "organizations-api_Organization_meta": organizations_api_Organization_meta_output, + "organizations-api_Organization_parent": organizations_api_Organization_parent_output, + "organizations-api_Profile": organizations_api_Profile_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}`, }), @@ -195,6 +264,41 @@ export const tools: readonly Tool[] = [ "User Details Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/organizations-api_Organization" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/organizations-api_PageTokenResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Organization": organizations_api_Organization_output, + "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, + "organizations-api_OrganizationID": organizations_api_OrganizationID_output, + "organizations-api_Organization_meta": organizations_api_Organization_meta_output, + "organizations-api_Organization_parent": organizations_api_Organization_parent_output, + "organizations-api_PageTokenResultInfo": organizations_api_PageTokenResultInfo_output, + "organizations-api_Profile": organizations_api_Profile_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations`, query: [ @@ -248,6 +352,26 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/organizations/{organization_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_Organization" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Organization": organizations_api_Organization_output, + "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, + "organizations-api_OrganizationID": organizations_api_OrganizationID_output, + "organizations-api_Organization_meta": organizations_api_Organization_meta_output, + "organizations-api_Organization_parent": organizations_api_Organization_parent_output, + "organizations-api_Profile": organizations_api_Profile_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/organizations/billing/usage/tools.ts b/src/generated/forge-mcp/organizations/billing/usage/tools.ts index 23bd08f2..86387337 100644 --- a/src/generated/forge-mcp/organizations/billing/usage/tools.ts +++ b/src/generated/forge-mcp/organizations/billing/usage/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + billable_usage_api_api_response_common_failure_output, + billable_usage_api_cost_and_usage_data_output, + billable_usage_api_message_output, +} from "../../../outputs.js"; import { billable_usage_api_identifier } from "../../../schemas.js"; /** @@ -54,6 +59,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/billable-usage-api_cost_and_usage_data" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/billable-usage-api_api-response-common-failure" + } + }, + $defs: { + "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, + "billable-usage-api_cost_and_usage_data": billable_usage_api_cost_and_usage_data_output, + "billable-usage-api_message": billable_usage_api_message_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/billable/usage`, query: [ diff --git a/src/generated/forge-mcp/organizations/logs/audit/outputs.ts b/src/generated/forge-mcp/organizations/logs/audit/outputs.ts new file mode 100644 index 00000000..3650be09 --- /dev/null +++ b/src/generated/forge-mcp/organizations/logs/audit/outputs.ts @@ -0,0 +1,87 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `aaa_audit-logs-v2-org` in responses. + */ +export const aaa_audit_logs_v2_org_output: JsonSchema = { + "properties": { + "action": { + "$ref": "#/$defs/aaa_audit-log-action" + }, + "actor": { + "allOf": [ + { + "$ref": "#/$defs/aaa_audit-log-actor-base" + }, + { + "properties": { + "type": { + "enum": [ + "cloudflare_admin", + "system", + "user" + ], + "type": "string" + } + }, + "type": "object" + } + ] + }, + "id": { + "$ref": "#/$defs/aaa_identifier-2" + }, + "organization": { + "$ref": "#/$defs/aaa_audit-logs-v2-org_organization" + }, + "raw": { + "$ref": "#/$defs/aaa_audit-log-raw" + }, + "resource": { + "$ref": "#/$defs/aaa_audit-logs-v2-org_resource" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs-v2-org_organization` in responses. + */ +export const aaa_audit_logs_v2_org_organization_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs-v2-org_resource` in responses. + */ +export const aaa_audit_logs_v2_org_resource_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "product": { + "type": "string" + }, + "request": { + "type": "object" + }, + "response": { + "type": "object" + }, + "scope": { + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/organizations/logs/audit/tools.ts b/src/generated/forge-mcp/organizations/logs/audit/tools.ts index e6a2238c..6ebee429 100644 --- a/src/generated/forge-mcp/organizations/logs/audit/tools.ts +++ b/src/generated/forge-mcp/organizations/logs/audit/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + aaa_api_response_common_failure_2_errorsItem_output, + aaa_api_response_common_failure_2_messagesItem_output, + aaa_api_response_common_failure_2_output, + aaa_audit_log_action_output, + aaa_audit_log_actor_base_output, + aaa_audit_log_raw_output, + aaa_audit_logs_v2_history_not_found_output, + aaa_audit_logs_v2_history_result_info_output, + aaa_history_status_output, + aaa_identifier_2_output, + aaa_messages_2_output, + aaa_result_info_output, +} from "../../../outputs.js"; +import { + aaa_audit_logs_v2_org_organization_output, + aaa_audit_logs_v2_org_output, + aaa_audit_logs_v2_org_resource_output, +} from "./outputs.js"; /** * The tools of `organizations.logs.audit`. @@ -374,6 +393,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_audit-logs-v2-org" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/aaa_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-2" + } + }, + $defs: { + "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, + "aaa_api-response-common-failure-2_errorsItem": aaa_api_response_common_failure_2_errorsItem_output, + "aaa_api-response-common-failure-2_messagesItem": aaa_api_response_common_failure_2_messagesItem_output, + "aaa_audit-log-action": aaa_audit_log_action_output, + "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, + "aaa_audit-log-raw": aaa_audit_log_raw_output, + "aaa_audit-logs-v2-org": aaa_audit_logs_v2_org_output, + "aaa_audit-logs-v2-org_organization": aaa_audit_logs_v2_org_organization_output, + "aaa_audit-logs-v2-org_resource": aaa_audit_logs_v2_org_resource_output, + "aaa_identifier-2": aaa_identifier_2_output, + "aaa_result_info": aaa_result_info_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/logs/audit`, query: [ @@ -496,6 +552,49 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/aaa_audit-logs-v2-org" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/aaa_audit-logs-v2-history-result-info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "404": { + "$ref": "#/$defs/aaa_audit-logs-v2-history-not-found" + }, + "4XX": { + "$ref": "#/$defs/aaa_api-response-common-failure-2" + } + }, + $defs: { + "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, + "aaa_api-response-common-failure-2_errorsItem": aaa_api_response_common_failure_2_errorsItem_output, + "aaa_api-response-common-failure-2_messagesItem": aaa_api_response_common_failure_2_messagesItem_output, + "aaa_audit-log-action": aaa_audit_log_action_output, + "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, + "aaa_audit-log-raw": aaa_audit_log_raw_output, + "aaa_audit-logs-v2-history-not-found": aaa_audit_logs_v2_history_not_found_output, + "aaa_audit-logs-v2-history-result-info": aaa_audit_logs_v2_history_result_info_output, + "aaa_audit-logs-v2-org": aaa_audit_logs_v2_org_output, + "aaa_audit-logs-v2-org_organization": aaa_audit_logs_v2_org_organization_output, + "aaa_audit-logs-v2-org_resource": aaa_audit_logs_v2_org_resource_output, + "aaa_history-status": aaa_history_status_output, + "aaa_identifier-2": aaa_identifier_2_output, + "aaa_messages-2": aaa_messages_2_output, + }, + }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/logs/audit/${pathParam(args, "id")}/history`, query: [ diff --git a/src/generated/forge-mcp/outputs.ts b/src/generated/forge-mcp/outputs.ts new file mode 100644 index 00000000..eaccfdfe --- /dev/null +++ b/src/generated/forge-mcp/outputs.ts @@ -0,0 +1,11185 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "./_/tool.js"; + +/** + * The schema of `aaa_api-response-common` in responses. + */ +export const aaa_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages" + }, + "messages": { + "$ref": "#/$defs/aaa_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_api-response-common-failure` in responses. + */ +export const aaa_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages" + }, + "messages": { + "$ref": "#/$defs/aaa_messages" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_api-response-common-failure-2` in responses. + */ +export const aaa_api_response_common_failure_2_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/aaa_api-response-common-failure-2_errorsItem" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/aaa_api-response-common-failure-2_messagesItem" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_api-response-common-failure-2_errorsItem` in responses. + */ +export const aaa_api_response_common_failure_2_errorsItem_output: JsonSchema = { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" +}; + +/** + * The schema of `aaa_api-response-common-failure-2_messagesItem` in responses. + */ +export const aaa_api_response_common_failure_2_messagesItem_output: JsonSchema = { + "properties": { + "message": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-log-action` in responses. + */ +export const aaa_audit_log_action_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "result": { + "type": "string" + }, + "time": { + "format": "date-time", + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-log-actor-base` in responses. + */ +export const aaa_audit_log_actor_base_output: JsonSchema = { + "properties": { + "context": { + "enum": [ + "api", + "api_key", + "api_token", + "dash", + "oauth", + "origin_ca_key" + ], + "type": "string" + }, + "email": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ip_address": { + "type": "string" + }, + "token_id": { + "type": "string" + }, + "token_name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-log-raw` in responses. + */ +export const aaa_audit_log_raw_output: JsonSchema = { + "properties": { + "cf_ray_id": { + "type": "string" + }, + "method": { + "type": "string" + }, + "status_code": { + "type": "integer" + }, + "uri": { + "type": "string" + }, + "user_agent": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs` in responses. + */ +export const aaa_audit_logs_output: JsonSchema = { + "properties": { + "action": { + "$ref": "#/$defs/aaa_audit-logs_action" + }, + "actor": { + "$ref": "#/$defs/aaa_audit-logs_actor" + }, + "id": { + "type": "string" + }, + "interface": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "newValue": { + "type": "string" + }, + "oldValue": { + "type": "string" + }, + "owner": { + "$ref": "#/$defs/aaa_audit-logs_owner" + }, + "resource": { + "$ref": "#/$defs/aaa_audit-logs_resource" + }, + "when": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs-v2-history-not-found` in responses. + */ +export const aaa_audit_logs_v2_history_not_found_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages-2" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/aaa_audit-logs-v2-history-result-info" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "result_info", + "success" + ], + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs-v2-history-result-info` in responses. + */ +export const aaa_audit_logs_v2_history_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "history_status": { + "$ref": "#/$defs/aaa_history-status" + } + }, + "required": [ + "count", + "history_status" + ], + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs_action` in responses. + */ +export const aaa_audit_logs_action_output: JsonSchema = { + "properties": { + "result": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs_actor` in responses. + */ +export const aaa_audit_logs_actor_output: JsonSchema = { + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "type": { + "enum": [ + "user", + "admin", + "Cloudflare" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs_owner` in responses. + */ +export const aaa_audit_logs_owner_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/aaa_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit-logs_resource` in responses. + */ +export const aaa_audit_logs_resource_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `aaa_audit_logs_response_collection_alt` in responses. + */ +export const aaa_audit_logs_response_collection_alt_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "errors": { + "$ref": "#/$defs/aaa_messages" + }, + "messages": { + "$ref": "#/$defs/aaa_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/aaa_audit-logs" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/aaa_api-response-common" + } + ] +}; + +/** + * The schema of `aaa_history-status` in responses. + */ +export const aaa_history_status_output: JsonSchema = { + "enum": [ + "exact", + "approximate", + "unavailable" + ], + "type": "string" +}; + +/** + * The schema of `aaa_identifier` in responses. + */ +export const aaa_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_identifier-2` in responses. + */ +export const aaa_identifier_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `aaa_messages` in responses. + */ +export const aaa_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `aaa_messages-2` in responses. + */ +export const aaa_messages_2_output: JsonSchema = { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `aaa_result_info` in responses. + */ +export const aaa_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "string" + }, + "cursor": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `analytics-sql_ApiErrorResponse` in responses. + */ +export const analytics_sql_ApiErrorResponse_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "error_chain": { + "items": { + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_Attribute` in responses. + */ +export const analytics_sql_Attribute_output: JsonSchema = { + "properties": { + "data_type": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "data_type", + "name" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_ClickHouseJsonQueryResponse` in responses. + */ +export const analytics_sql_ClickHouseJsonQueryResponse_output: JsonSchema = { + "properties": { + "data": { + "items": { + "type": "object" + }, + "type": "array" + }, + "meta": { + "items": { + "$ref": "#/$defs/analytics-sql_ClickHouseJsonQueryResponse_metaItem" + }, + "type": "array" + }, + "rows": { + "type": "integer" + }, + "rows_before_limit_at_least": { + "type": "integer" + }, + "statistics": { + "$ref": "#/$defs/analytics-sql_SqlQueryStatistics" + } + }, + "required": [ + "data", + "meta", + "rows", + "rows_before_limit_at_least", + "statistics" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_ClickHouseJsonQueryResponse_metaItem` in + * responses. + */ +export const analytics_sql_ClickHouseJsonQueryResponse_metaItem_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_CustomAttribute` in responses. + */ +export const analytics_sql_CustomAttribute_output: JsonSchema = { + "properties": { + "data_type": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "data_type", + "name" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_DatasetAvailability` in responses. + */ +export const analytics_sql_DatasetAvailability_output: JsonSchema = { + "properties": { + "scope": { + "enum": [ + "account", + "zone" + ], + "type": "string" + }, + "zone": { + "type": "string" + } + }, + "required": [ + "scope" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_GatewayApiErrorResponse` in responses. + */ +export const analytics_sql_GatewayApiErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/analytics-sql_ApiErrorResponse" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/analytics-sql_ApiErrorResponse" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_IntrospectionColumn` in responses. + */ +export const analytics_sql_IntrospectionColumn_output: JsonSchema = { + "properties": { + "data_type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "hidden": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "data_type", + "description", + "hidden", + "name" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_IntrospectionDataset` in responses. + */ +export const analytics_sql_IntrospectionDataset_output: JsonSchema = { + "properties": { + "attributes": { + "items": { + "$ref": "#/$defs/analytics-sql_Attribute" + }, + "type": "array" + }, + "category": { + "type": "string" + }, + "columns": { + "items": { + "$ref": "#/$defs/analytics-sql_IntrospectionColumn" + }, + "type": "array" + }, + "custom_attributes": { + "items": { + "$ref": "#/$defs/analytics-sql_CustomAttribute" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "hidden": { + "type": "boolean" + }, + "kind": { + "$ref": "#/$defs/analytics-sql_IntrospectionDatasetKind" + }, + "name": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "category", + "description", + "hidden", + "kind", + "name", + "title" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_IntrospectionDatasetKind` in responses. + */ +export const analytics_sql_IntrospectionDatasetKind_output: JsonSchema = { + "properties": { + "availability": { + "items": { + "$ref": "#/$defs/analytics-sql_DatasetAvailability" + }, + "type": "array" + }, + "events": { + "$ref": "#/$defs/analytics-sql_IntrospectionDatasetKind_events" + }, + "logs": { + "$ref": "#/$defs/analytics-sql_IntrospectionDatasetKind_logs" + }, + "states": { + "$ref": "#/$defs/analytics-sql_IntrospectionDatasetKind_states" + } + }, + "type": "object" +}; + +/** + * The schema of `analytics-sql_IntrospectionDatasetKind_events` in responses. + */ +export const analytics_sql_IntrospectionDatasetKind_events_output: JsonSchema = { + "properties": { + "sampling": { + "$ref": "#/$defs/analytics-sql_IntrospectionSampling" + } + }, + "required": [ + "sampling" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_IntrospectionDatasetKind_logs` in responses. + */ +export const analytics_sql_IntrospectionDatasetKind_logs_output: JsonSchema = { + "properties": { + "sampling": { + "$ref": "#/$defs/analytics-sql_IntrospectionSampling" + } + }, + "required": [ + "sampling" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_IntrospectionDatasetKind_states` in responses. + */ +export const analytics_sql_IntrospectionDatasetKind_states_output: JsonSchema = { + "properties": { + "sampling": { + "$ref": "#/$defs/analytics-sql_IntrospectionSampling" + }, + "valid_aggregations": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "sampling", + "valid_aggregations" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_IntrospectionResponse` in responses. + */ +export const analytics_sql_IntrospectionResponse_output: JsonSchema = { + "properties": { + "datasets": { + "items": { + "$ref": "#/$defs/analytics-sql_IntrospectionDataset" + }, + "type": "array" + } + }, + "required": [ + "datasets" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_IntrospectionSampling` in responses. + */ +export const analytics_sql_IntrospectionSampling_output: JsonSchema = { + "enum": [ + "unsampled", + "adaptive" + ], + "type": "string" +}; + +/** + * The schema of `analytics-sql_LogExplorerQueryResponse` in responses. + */ +export const analytics_sql_LogExplorerQueryResponse_output: JsonSchema = { + "properties": { + "data": { + "items": { + "type": "object" + }, + "type": "array" + }, + "rows": { + "type": "integer" + } + }, + "required": [ + "data", + "rows" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_SqlQueryResponse` in responses. + */ +export const analytics_sql_SqlQueryResponse_output: JsonSchema = { + "properties": { + "data": { + "items": { + "type": "object" + }, + "type": "array" + }, + "rows": { + "type": "integer" + }, + "statistics": { + "$ref": "#/$defs/analytics-sql_SqlQueryStatistics" + } + }, + "required": [ + "data", + "rows", + "statistics" + ], + "type": "object" +}; + +/** + * The schema of `analytics-sql_SqlQueryStatistics` in responses. + */ +export const analytics_sql_SqlQueryStatistics_output: JsonSchema = { + "properties": { + "bytes_read": { + "type": "integer" + }, + "elapsed_ms": { + "type": "integer" + }, + "rows_read": { + "type": "integer" + } + }, + "required": [ + "bytes_read", + "elapsed_ms", + "rows_read" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_api-response-common` in responses. + */ +export const api_shield_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/api-shield_messages" + }, + "messages": { + "$ref": "#/$defs/api-shield_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_api-response-common-failure` in responses. + */ +export const api_shield_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/api-shield_messages" + }, + "messages": { + "$ref": "#/$defs/api-shield_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_auth_id_tokens` in responses. + */ +export const api_shield_auth_id_tokens_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `api-shield_basic_operation` in responses. + */ +export const api_shield_basic_operation_output: JsonSchema = { + "properties": { + "endpoint": { + "$ref": "#/$defs/api-shield_endpoint" + }, + "host": { + "$ref": "#/$defs/api-shield_host" + }, + "method": { + "$ref": "#/$defs/api-shield_method" + } + }, + "required": [ + "endpoint", + "host", + "method" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_confidence_intervals_bounds` in responses. + */ +export const api_shield_confidence_intervals_bounds_output: JsonSchema = { + "properties": { + "lower": { + "type": "number" + }, + "upper": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_data_points` in responses. + */ +export const api_shield_data_points_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `api-shield_endpoint` in responses. + */ +export const api_shield_endpoint_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_host` in responses. + */ +export const api_shield_host_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_messages` in responses. + */ +export const api_shield_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `api-shield_method` in responses. + */ +export const api_shield_method_output: JsonSchema = { + "enum": [ + "GET", + "POST", + "HEAD", + "OPTIONS", + "PUT", + "DELETE", + "CONNECT", + "PATCH", + "TRACE" + ], + "type": "string" +}; + +/** + * The schema of `api-shield_operation` in responses. + */ +export const api_shield_operation_output: JsonSchema = { + "properties": { + "endpoint": { + "$ref": "#/$defs/api-shield_endpoint" + }, + "features": { + "$ref": "#/$defs/api-shield_operation_features" + }, + "host": { + "$ref": "#/$defs/api-shield_host" + }, + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "method": { + "$ref": "#/$defs/api-shield_method" + }, + "operation_id": { + "$ref": "#/$defs/api-shield_uuid-2" + } + }, + "required": [ + "endpoint", + "host", + "method", + "last_updated", + "operation_id" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_operation_feature_api_routing` in responses. + */ +export const api_shield_operation_feature_api_routing_output: JsonSchema = { + "properties": { + "api_routing": { + "$ref": "#/$defs/api-shield_operation_feature_api_routing_api_routing" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_operation_feature_api_routing_api_routing` in + * responses. + */ +export const api_shield_operation_feature_api_routing_api_routing_output: JsonSchema = { + "properties": { + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp" + }, + "route": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_operation_feature_confidence_intervals` in + * responses. + */ +export const api_shield_operation_feature_confidence_intervals_output: JsonSchema = { + "properties": { + "confidence_intervals": { + "$ref": "#/$defs/api-shield_operation_feature_confidence_intervals_confidence_intervals" + } + }, + "type": "object" +}; + +/** + * The schema of + * `api-shield_operation_feature_confidence_intervals_confidence_intervals` in + * responses. + */ +export const api_shield_operation_feature_confidence_intervals_confidence_intervals_output: JsonSchema = { + "properties": { + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp" + }, + "suggested_threshold": { + "$ref": "#/$defs/api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold" + } + }, + "type": "object" +}; + +/** + * The schema of + * `api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold` + * in responses. + */ +export const api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_output: JsonSchema = { + "properties": { + "confidence_intervals": { + "$ref": "#/$defs/api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals" + }, + "mean": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of + * `api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals` + * in responses. + */ +export const api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals_output: JsonSchema = { + "properties": { + "p90": { + "$ref": "#/$defs/api-shield_confidence_intervals_bounds" + }, + "p95": { + "$ref": "#/$defs/api-shield_confidence_intervals_bounds" + }, + "p99": { + "$ref": "#/$defs/api-shield_confidence_intervals_bounds" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_operation_feature_parameter_schemas` in responses. + */ +export const api_shield_operation_feature_parameter_schemas_output: JsonSchema = { + "properties": { + "parameter_schemas": { + "$ref": "#/$defs/api-shield_operation_feature_parameter_schemas_parameter_schemas" + } + }, + "required": [ + "parameter_schemas" + ], + "type": "object" +}; + +/** + * The schema of + * `api-shield_operation_feature_parameter_schemas_parameter_schemas` in + * responses. + */ +export const api_shield_operation_feature_parameter_schemas_parameter_schemas_output: JsonSchema = { + "properties": { + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp" + }, + "parameter_schemas": { + "$ref": "#/$defs/api-shield_parameter_schemas_definition" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_operation_feature_schema_info` in responses. + */ +export const api_shield_operation_feature_schema_info_output: JsonSchema = { + "properties": { + "schema_info": { + "$ref": "#/$defs/api-shield_operation_feature_schema_info_schema_info" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_operation_feature_schema_info_schema_info` in + * responses. + */ +export const api_shield_operation_feature_schema_info_schema_info_output: JsonSchema = { + "properties": { + "active_schema": { + "$ref": "#/$defs/api-shield_operation_feature_schema_info_schema_info_active_schema" + }, + "mitigation_action": { + "oneOf": [ + { + "enum": [ + "none", + "log", + "block" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of + * `api-shield_operation_feature_schema_info_schema_info_active_schema` in + * responses. + */ +export const api_shield_operation_feature_schema_info_schema_info_active_schema_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/api-shield_timestamp" + }, + "id": { + "$ref": "#/$defs/api-shield_uuid-2" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_operation_feature_thresholds` in responses. + */ +export const api_shield_operation_feature_thresholds_output: JsonSchema = { + "properties": { + "thresholds": { + "$ref": "#/$defs/api-shield_operation_feature_thresholds_thresholds" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_operation_feature_thresholds_thresholds` in + * responses. + */ +export const api_shield_operation_feature_thresholds_thresholds_output: JsonSchema = { + "properties": { + "auth_id_tokens": { + "$ref": "#/$defs/api-shield_auth_id_tokens" + }, + "data_points": { + "$ref": "#/$defs/api-shield_data_points" + }, + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp" + }, + "p50": { + "$ref": "#/$defs/api-shield_p50" + }, + "p90": { + "$ref": "#/$defs/api-shield_p90" + }, + "p99": { + "$ref": "#/$defs/api-shield_p99" + }, + "period_seconds": { + "$ref": "#/$defs/api-shield_period_seconds" + }, + "requests": { + "$ref": "#/$defs/api-shield_requests" + }, + "suggested_threshold": { + "$ref": "#/$defs/api-shield_suggested_threshold" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_operation_features` in responses. + */ +export const api_shield_operation_features_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/api-shield_operation_feature_thresholds" + }, + { + "$ref": "#/$defs/api-shield_operation_feature_parameter_schemas" + }, + { + "$ref": "#/$defs/api-shield_operation_feature_api_routing" + }, + { + "$ref": "#/$defs/api-shield_operation_feature_confidence_intervals" + }, + { + "$ref": "#/$defs/api-shield_operation_feature_schema_info" + } + ] +}; + +/** + * The schema of `api-shield_p50` in responses. + */ +export const api_shield_p50_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `api-shield_p90` in responses. + */ +export const api_shield_p90_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `api-shield_p99` in responses. + */ +export const api_shield_p99_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `api-shield_parameter_schemas_definition` in responses. + */ +export const api_shield_parameter_schemas_definition_output: JsonSchema = { + "properties": { + "parameters": { + "items": { + "type": "object" + }, + "type": "array" + }, + "responses": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_period_seconds` in responses. + */ +export const api_shield_period_seconds_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `api-shield_requests` in responses. + */ +export const api_shield_requests_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `api-shield_suggested_threshold` in responses. + */ +export const api_shield_suggested_threshold_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `api-shield_timestamp` in responses. + */ +export const api_shield_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `api-shield_timestamp-2` in responses. + */ +export const api_shield_timestamp_2_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/api-shield_timestamp" + }, + { + "type": "string" + } + ] +}; + +/** + * The schema of `api-shield_uuid` in responses. + */ +export const api_shield_uuid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_uuid-2` in responses. + */ +export const api_shield_uuid_2_output: JsonSchema = { + "allOf": [ + { + "type": "string" + }, + { + "$ref": "#/$defs/api-shield_uuid" + } + ] +}; + +/** + * The schema of `bill-subs-api_api-response-common-failure` in responses. + */ +export const bill_subs_api_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/bill-subs-api_messages" + }, + "messages": { + "$ref": "#/$defs/bill-subs-api_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `bill-subs-api_component_value` in responses. + */ +export const bill_subs_api_component_value_output: JsonSchema = { + "properties": { + "default": { + "type": "number" + }, + "display_name": { + "type": "string" + }, + "kind": { + "enum": [ + "enum", + "sum", + "usage" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "price": { + "type": "number" + }, + "value": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `bill-subs-api_component_values` in responses. + */ +export const bill_subs_api_component_values_output: JsonSchema = { + "items": { + "$ref": "#/$defs/bill-subs-api_component_value" + }, + "type": "array" +}; + +/** + * The schema of `bill-subs-api_components-schemas-identifier` in responses. + */ +export const bill_subs_api_components_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bill-subs-api_currency` in responses. + */ +export const bill_subs_api_currency_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bill-subs-api_current_period_end` in responses. + */ +export const bill_subs_api_current_period_end_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `bill-subs-api_current_period_start` in responses. + */ +export const bill_subs_api_current_period_start_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `bill-subs-api_frequency` in responses. + */ +export const bill_subs_api_frequency_output: JsonSchema = { + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly" + ], + "type": "string" +}; + +/** + * The schema of `bill-subs-api_identifier` in responses. + */ +export const bill_subs_api_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bill-subs-api_install_id` in responses. + */ +export const bill_subs_api_install_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bill-subs-api_messages` in responses. + */ +export const bill_subs_api_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `bill-subs-api_name` in responses. + */ +export const bill_subs_api_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bill-subs-api_price` in responses. + */ +export const bill_subs_api_price_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `bill-subs-api_rate_plan` in responses. + */ +export const bill_subs_api_rate_plan_output: JsonSchema = { + "properties": { + "currency": { + "type": "string" + }, + "externally_managed": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "is_contract": { + "type": "boolean" + }, + "public_name": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "sets": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `bill-subs-api_result_info` in responses. + */ +export const bill_subs_api_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `bill-subs-api_schemas-identifier` in responses. + */ +export const bill_subs_api_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bill-subs-api_state` in responses. + */ +export const bill_subs_api_state_output: JsonSchema = { + "enum": [ + "Trial", + "Provisioned", + "Paid", + "AwaitingPayment", + "Cancelled", + "Failed", + "Expired" + ], + "type": "string" +}; + +/** + * The schema of `bill-subs-api_subscription-v2` in responses. + */ +export const bill_subs_api_subscription_v2_output: JsonSchema = { + "properties": { + "app": { + "$ref": "#/$defs/bill-subs-api_subscription-v2_app" + }, + "component_values": { + "$ref": "#/$defs/bill-subs-api_component_values" + }, + "currency": { + "$ref": "#/$defs/bill-subs-api_currency" + }, + "current_period_end": { + "$ref": "#/$defs/bill-subs-api_current_period_end" + }, + "current_period_start": { + "$ref": "#/$defs/bill-subs-api_current_period_start" + }, + "frequency": { + "$ref": "#/$defs/bill-subs-api_frequency" + }, + "id": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier" + }, + "price": { + "$ref": "#/$defs/bill-subs-api_price" + }, + "rate_plan": { + "$ref": "#/$defs/bill-subs-api_rate_plan" + }, + "state": { + "$ref": "#/$defs/bill-subs-api_state" + }, + "zone": { + "$ref": "#/$defs/bill-subs-api_zone" + } + }, + "type": "object" +}; + +/** + * The schema of `bill-subs-api_subscription-v2_app` in responses. + */ +export const bill_subs_api_subscription_v2_app_output: JsonSchema = { + "properties": { + "install_id": { + "$ref": "#/$defs/bill-subs-api_install_id" + } + }, + "type": "object" +}; + +/** + * The schema of `bill-subs-api_zone` in responses. + */ +export const bill_subs_api_zone_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/bill-subs-api_identifier" + }, + "name": { + "$ref": "#/$defs/bill-subs-api_name" + } + }, + "type": "object" +}; + +/** + * The schema of `billable-usage-api_api-response-common-failure` in responses. + */ +export const billable_usage_api_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/billable-usage-api_message" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/billable-usage-api_message" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `billable-usage-api_cost_and_usage_data` in responses. + */ +export const billable_usage_api_cost_and_usage_data_output: JsonSchema = { + "properties": { + "BilledCost": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "BillingAccountId": { + "type": "string" + }, + "BillingAccountName": { + "type": "string" + }, + "BillingCurrency": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "BillingPeriodEnd": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "BillingPeriodStart": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ChargeCategory": { + "enum": [ + "Usage" + ], + "type": "string" + }, + "ChargeClass": { + "oneOf": [ + { + "enum": [ + "Correction" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ChargeDescription": { + "type": "string" + }, + "ChargeFrequency": { + "enum": [ + "Usage-Based" + ], + "type": "string" + }, + "ChargePeriodEnd": { + "format": "date-time", + "type": "string" + }, + "ChargePeriodStart": { + "format": "date-time", + "type": "string" + }, + "ConsumedQuantity": { + "type": "number" + }, + "ConsumedUnit": { + "type": "string" + }, + "ContractedCost": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "ContractedUnitPrice": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "EffectiveCost": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "HostProviderName": { + "type": "string" + }, + "InvoiceIssuerName": { + "type": "string" + }, + "ListCost": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "ListUnitPrice": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "PricingQuantity": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "PricingUnit": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "RegionId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "RegionName": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ServiceProviderName": { + "type": "string" + }, + "SubAccountId": { + "type": "string" + }, + "SubAccountName": { + "type": "string" + }, + "Tags": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "enum": [ + true + ], + "type": "boolean" + } + ] + }, + "type": "object" + }, + "x_BillableMetricId": { + "type": "string" + }, + "x_BillableMetricName": { + "type": "string" + }, + "x_ProductCategoryName": { + "type": "string" + }, + "x_ProductFamilyId": { + "type": "string" + }, + "x_ProductFamilyName": { + "type": "string" + }, + "x_ZoneId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x_ZoneName": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "ChargeCategory", + "ChargeDescription", + "ChargeFrequency", + "ChargePeriodEnd", + "ChargePeriodStart", + "ConsumedUnit", + "HostProviderName", + "InvoiceIssuerName", + "ServiceProviderName", + "x_BillableMetricId" + ], + "type": "object" +}; + +/** + * The schema of `billable-usage-api_message` in responses. + */ +export const billable_usage_api_message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" +}; + +/** + * The schema of `brand-protection-api_Error` in responses. + */ +export const brand_protection_api_Error_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "errors": { + "type": "object" + }, + "message": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_ApiError` in responses. + */ +export const builds_ApiError_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" +}; + +/** + * The schema of `builds_BuildOutcome` in responses. + */ +export const builds_BuildOutcome_output: JsonSchema = { + "enum": [ + "success", + "fail", + "skipped", + "cancelled", + "terminated" + ], + "type": "string" +}; + +/** + * The schema of `builds_BuildResponse` in responses. + */ +export const builds_BuildResponse_output: JsonSchema = { + "properties": { + "build_outcome": { + "oneOf": [ + { + "$ref": "#/$defs/builds_BuildOutcome" + }, + { + "type": "null" + } + ] + }, + "build_trigger_metadata": { + "$ref": "#/$defs/builds_BuildTriggerMetadataResponse" + }, + "build_uuid": { + "$ref": "#/$defs/builds_build_uuid" + }, + "created_on": { + "$ref": "#/$defs/builds_created_on" + }, + "deploy_hook": { + "$ref": "#/$defs/builds_BuildResponse_deploy_hook" + }, + "initializing_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "modified_on": { + "$ref": "#/$defs/builds_modified_on" + }, + "preview_url": { + "type": "string" + }, + "pull_request": { + "$ref": "#/$defs/builds_BuildResponse_pull_request" + }, + "running_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "$ref": "#/$defs/builds_BuildStatus" + }, + "stopped_on": { + "$ref": "#/$defs/builds_stopped_on" + }, + "trigger": { + "$ref": "#/$defs/builds_BuildResponse_trigger" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_BuildResponse_deploy_hook` in responses. + */ +export const builds_BuildResponse_deploy_hook_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "deploy_hook_name": { + "$ref": "#/$defs/builds_deploy_hook_name" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `builds_BuildResponse_pull_request` in responses. + */ +export const builds_BuildResponse_pull_request_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "closed_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_on": { + "$ref": "#/$defs/builds_created_on" + }, + "pull_request_url": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `builds_BuildResponse_trigger` in responses. + */ +export const builds_BuildResponse_trigger_output: JsonSchema = { + "properties": { + "branch_excludes": { + "$ref": "#/$defs/builds_branch_excludes" + }, + "branch_includes": { + "$ref": "#/$defs/builds_branch_includes" + }, + "build_caching_enabled": { + "$ref": "#/$defs/builds_build_caching_enabled" + }, + "build_command": { + "$ref": "#/$defs/builds_build_command" + }, + "created_on": { + "$ref": "#/$defs/builds_created_on" + }, + "deleted_on": { + "$ref": "#/$defs/builds_deleted_on" + }, + "deploy_command": { + "$ref": "#/$defs/builds_deploy_command" + }, + "external_script_id": { + "$ref": "#/$defs/builds_external_script_id" + }, + "modified_on": { + "$ref": "#/$defs/builds_modified_on" + }, + "path_excludes": { + "$ref": "#/$defs/builds_path_excludes" + }, + "path_includes": { + "$ref": "#/$defs/builds_path_includes" + }, + "repo_connection": { + "$ref": "#/$defs/builds_UpsertRepoConnectionResponse" + }, + "root_directory": { + "$ref": "#/$defs/builds_root_directory" + }, + "trigger_name": { + "$ref": "#/$defs/builds_trigger_name" + }, + "trigger_uuid": { + "$ref": "#/$defs/builds_trigger_uuid" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_BuildStatus` in responses. + */ +export const builds_BuildStatus_output: JsonSchema = { + "enum": [ + "queued", + "initializing", + "running", + "stopped" + ], + "type": "string" +}; + +/** + * The schema of `builds_BuildTriggerMetadataResponse` in responses. + */ +export const builds_BuildTriggerMetadataResponse_output: JsonSchema = { + "properties": { + "author": { + "type": "string" + }, + "branch": { + "$ref": "#/$defs/builds_branch" + }, + "build_command": { + "$ref": "#/$defs/builds_build_command" + }, + "build_token_name": { + "$ref": "#/$defs/builds_build_token_name" + }, + "build_token_uuid": { + "$ref": "#/$defs/builds_build_token_uuid" + }, + "build_trigger_source": { + "$ref": "#/$defs/builds_BuildTriggerSource" + }, + "commit_hash": { + "$ref": "#/$defs/builds_commit_hash" + }, + "commit_message": { + "type": "string" + }, + "deploy_command": { + "$ref": "#/$defs/builds_deploy_command" + }, + "environment_variables": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "provider_account_name": { + "$ref": "#/$defs/builds_provider_account_name" + }, + "provider_type": { + "$ref": "#/$defs/builds_SCMProviderType" + }, + "repo_name": { + "$ref": "#/$defs/builds_repo_name" + }, + "root_directory": { + "$ref": "#/$defs/builds_root_directory" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_BuildTriggerSource` in responses. + */ +export const builds_BuildTriggerSource_output: JsonSchema = { + "enum": [ + "push", + "pull_request", + "manual", + "api" + ], + "type": "string" +}; + +/** + * The schema of `builds_EnvironmentVariablesResponse` in responses. + */ +export const builds_EnvironmentVariablesResponse_output: JsonSchema = { + "additionalProperties": { + "properties": { + "created_on": { + "$ref": "#/$defs/builds_created_on" + }, + "is_secret": { + "$ref": "#/$defs/builds_is_secret" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_on", + "is_secret" + ], + "type": "object" + }, + "type": "object" +}; + +/** + * The schema of `builds_ErrorResponse` in responses. + */ +export const builds_ErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/builds_ApiError" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `builds_PaginationInfo` in responses. + */ +export const builds_PaginationInfo_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_SCMProviderType` in responses. + */ +export const builds_SCMProviderType_output: JsonSchema = { + "enum": [ + "github", + "gitlab", + "gitlab_internal", + "origin" + ], + "type": "string" +}; + +/** + * The schema of `builds_UpsertRepoConnectionResponse` in responses. + */ +export const builds_UpsertRepoConnectionResponse_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/builds_created_on" + }, + "deleted_on": { + "$ref": "#/$defs/builds_deleted_on" + }, + "modified_on": { + "$ref": "#/$defs/builds_modified_on" + }, + "provider_account_id": { + "$ref": "#/$defs/builds_provider_account_id" + }, + "provider_account_name": { + "$ref": "#/$defs/builds_provider_account_name" + }, + "provider_type": { + "$ref": "#/$defs/builds_SCMProviderType" + }, + "repo_connection_uuid": { + "$ref": "#/$defs/builds_repo_connection_uuid" + }, + "repo_id": { + "$ref": "#/$defs/builds_repo_id" + }, + "repo_name": { + "$ref": "#/$defs/builds_repo_name" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_WorkerBuildSettings` in responses. + */ +export const builds_WorkerBuildSettings_output: JsonSchema = { + "properties": { + "build_caching_enabled": { + "$ref": "#/$defs/builds_build_caching_enabled" + }, + "build_command": { + "$ref": "#/$defs/builds_build_command" + }, + "build_token_uuid": { + "$ref": "#/$defs/builds_build_token_uuid" + }, + "deploy_command": { + "$ref": "#/$defs/builds_deploy_command" + }, + "environment_variables": { + "$ref": "#/$defs/builds_EnvironmentVariablesResponse" + }, + "path_excludes": { + "$ref": "#/$defs/builds_path_excludes" + }, + "path_includes": { + "$ref": "#/$defs/builds_path_includes" + }, + "proposed_deploy_command": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "root_directory": { + "$ref": "#/$defs/builds_root_directory" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_WorkerGitRepository` in responses. + */ +export const builds_WorkerGitRepository_output: JsonSchema = { + "properties": { + "branch": { + "type": "string" + }, + "grant_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "provider_account_id": { + "$ref": "#/$defs/builds_provider_account_id" + }, + "provider_account_name": { + "$ref": "#/$defs/builds_provider_account_name" + }, + "provider_type": { + "$ref": "#/$defs/builds_SCMProviderType" + }, + "repo_id": { + "$ref": "#/$defs/builds_repo_id" + }, + "repo_name": { + "$ref": "#/$defs/builds_repo_name" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_WorkerResponse` in responses. + */ +export const builds_WorkerResponse_output: JsonSchema = { + "properties": { + "git_repository": { + "$ref": "#/$defs/builds_WorkerGitRepository" + }, + "previews_base_config": { + "$ref": "#/$defs/builds_WorkerBuildSettings" + }, + "previews_enabled": { + "type": "boolean" + }, + "production_settings": { + "$ref": "#/$defs/builds_WorkerBuildSettings" + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_branch` in responses. + */ +export const builds_branch_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_branch_excludes` in responses. + */ +export const builds_branch_excludes_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `builds_branch_includes` in responses. + */ +export const builds_branch_includes_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `builds_build_caching_enabled` in responses. + */ +export const builds_build_caching_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `builds_build_command` in responses. + */ +export const builds_build_command_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_build_token_name` in responses. + */ +export const builds_build_token_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_build_token_uuid` in responses. + */ +export const builds_build_token_uuid_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `builds_build_uuid` in responses. + */ +export const builds_build_uuid_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `builds_commit_hash` in responses. + */ +export const builds_commit_hash_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_created_on` in responses. + */ +export const builds_created_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `builds_deleted_on` in responses. + */ +export const builds_deleted_on_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `builds_deploy_command` in responses. + */ +export const builds_deploy_command_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_deploy_hook_name` in responses. + */ +export const builds_deploy_hook_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_external_script_id` in responses. + */ +export const builds_external_script_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_is_secret` in responses. + */ +export const builds_is_secret_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `builds_modified_on` in responses. + */ +export const builds_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `builds_path_excludes` in responses. + */ +export const builds_path_excludes_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `builds_path_includes` in responses. + */ +export const builds_path_includes_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `builds_provider_account_id` in responses. + */ +export const builds_provider_account_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_provider_account_name` in responses. + */ +export const builds_provider_account_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_repo_connection_uuid` in responses. + */ +export const builds_repo_connection_uuid_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `builds_repo_id` in responses. + */ +export const builds_repo_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_repo_name` in responses. + */ +export const builds_repo_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_root_directory` in responses. + */ +export const builds_root_directory_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_stopped_on` in responses. + */ +export const builds_stopped_on_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `builds_trigger_name` in responses. + */ +export const builds_trigger_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `builds_trigger_uuid` in responses. + */ +export const builds_trigger_uuid_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `cache-settings_api-response-common-failure` in responses. + */ +export const cache_settings_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cache-settings_messages" + }, + "messages": { + "$ref": "#/$defs/cache-settings_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_messages` in responses. + */ +export const cache_settings_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `dns-custom-nameservers_api-response-common-failure` in + * responses. + */ +export const dns_custom_nameservers_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "messages": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_identifier-2` in responses. + */ +export const dns_custom_nameservers_identifier_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-custom-nameservers_messages` in responses. + */ +export const dns_custom_nameservers_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `dns-custom-nameservers_ns_name` in responses. + */ +export const dns_custom_nameservers_ns_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dns-custom-nameservers_ns_set` in responses. + */ +export const dns_custom_nameservers_ns_set_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `dos_api-response-common-failure` in responses. + */ +export const dos_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dos_messages" + }, + "messages": { + "$ref": "#/$defs/dos_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dos_messages` in responses. + */ +export const dos_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `email_created` in responses. + */ +export const email_created_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `email_dns_record` in responses. + */ +export const email_dns_record_output: JsonSchema = { + "properties": { + "content": { + "type": "string" + }, + "name": { + "type": "string" + }, + "priority": { + "type": "number" + }, + "ttl": { + "$ref": "#/$defs/email_dns_record_ttl" + }, + "type": { + "enum": [ + "A", + "AAAA", + "CNAME", + "HTTPS", + "TXT", + "SRV", + "LOC", + "MX", + "NS", + "CERT", + "DNSKEY", + "DS", + "NAPTR", + "SMIMEA", + "SSHFP", + "SVCB", + "TLSA", + "URI" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `email_dns_record_ttl` in responses. + */ +export const email_dns_record_ttl_output: JsonSchema = { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + 1 + ], + "type": "integer" + } + ] +}; + +/** + * The schema of `email_modified` in responses. + */ +export const email_modified_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `firewall_api-response-common-failure` in responses. + */ +export const firewall_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/firewall_messages" + }, + "messages": { + "$ref": "#/$defs/firewall_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `firewall_asn_configuration` in responses. + */ +export const firewall_asn_configuration_output: JsonSchema = { + "properties": { + "target": { + "enum": [ + "asn" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `firewall_cidr_configuration` in responses. + */ +export const firewall_cidr_configuration_output: JsonSchema = { + "properties": { + "target": { + "enum": [ + "ip_range" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `firewall_configuration` in responses. + */ +export const firewall_configuration_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/firewall_ip_configuration" + }, + { + "$ref": "#/$defs/firewall_ipv6_configuration" + }, + { + "$ref": "#/$defs/firewall_cidr_configuration" + }, + { + "$ref": "#/$defs/firewall_asn_configuration" + }, + { + "$ref": "#/$defs/firewall_country_configuration" + } + ] +}; + +/** + * The schema of `firewall_country_configuration` in responses. + */ +export const firewall_country_configuration_output: JsonSchema = { + "properties": { + "target": { + "enum": [ + "country" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `firewall_ip_configuration` in responses. + */ +export const firewall_ip_configuration_output: JsonSchema = { + "properties": { + "target": { + "enum": [ + "ip" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `firewall_ipv6_configuration` in responses. + */ +export const firewall_ipv6_configuration_output: JsonSchema = { + "properties": { + "target": { + "enum": [ + "ip6" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `firewall_messages` in responses. + */ +export const firewall_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `firewall_notes` in responses. + */ +export const firewall_notes_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `firewall_result_info` in responses. + */ +export const firewall_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `firewall_schemas-identifier` in responses. + */ +export const firewall_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `firewall_schemas-mode` in responses. + */ +export const firewall_schemas_mode_output: JsonSchema = { + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" +}; + +/** + * The schema of `iam_access` in responses. + */ +export const iam_access_output: JsonSchema = { + "enum": [ + "allow", + "deny" + ], + "type": "string" +}; + +/** + * The schema of `iam_account-type` in responses. + */ +export const iam_account_type_output: JsonSchema = { + "enum": [ + "standard", + "enterprise" + ], + "type": "string" +}; + +/** + * The schema of `iam_account_managed_by` in responses. + */ +export const iam_account_managed_by_output: JsonSchema = { + "properties": { + "parent_org_id": { + "type": "string" + }, + "parent_org_name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_account_settings` in responses. + */ +export const iam_account_settings_output: JsonSchema = { + "properties": { + "abuse_contact_email": { + "type": "string" + }, + "enforce_twofactor": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_api-response-common-failure` in responses. + */ +export const iam_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/iam_messages-2" + }, + "messages": { + "$ref": "#/$defs/iam_messages-2" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `iam_cidr_list` in responses. + */ +export const iam_cidr_list_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `iam_common_components-schemas-identifier` in responses. + */ +export const iam_common_components_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_condition` in responses. + */ +export const iam_condition_output: JsonSchema = { + "properties": { + "request_ip": { + "$ref": "#/$defs/iam_request_ip" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_creator_email_at_creation` in responses. + */ +export const iam_creator_email_at_creation_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_effect` in responses. + */ +export const iam_effect_output: JsonSchema = { + "enum": [ + "allow", + "deny" + ], + "type": "string" +}; + +/** + * The schema of `iam_email` in responses. + */ +export const iam_email_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_expires_on` in responses. + */ +export const iam_expires_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `iam_first_name` in responses. + */ +export const iam_first_name_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `iam_grants` in responses. + */ +export const iam_grants_output: JsonSchema = { + "properties": { + "read": { + "type": "boolean" + }, + "write": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_issued_on` in responses. + */ +export const iam_issued_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `iam_last_name` in responses. + */ +export const iam_last_name_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `iam_last_used_on` in responses. + */ +export const iam_last_used_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `iam_list_member_policy` in responses. + */ +export const iam_list_member_policy_output: JsonSchema = { + "properties": { + "access": { + "$ref": "#/$defs/iam_access" + }, + "id": { + "$ref": "#/$defs/iam_policy_identifier" + }, + "permission_groups": { + "$ref": "#/$defs/iam_permission_groups" + }, + "resource_groups": { + "$ref": "#/$defs/iam_resource_groups" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_membership_components-schemas-identifier` in responses. + */ +export const iam_membership_components_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_messages-2` in responses. + */ +export const iam_messages_2_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `iam_modified_on` in responses. + */ +export const iam_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `iam_name` in responses. + */ +export const iam_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_not_before` in responses. + */ +export const iam_not_before_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `iam_permission_group` in responses. + */ +export const iam_permission_group_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/iam_permission_group_meta" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `iam_permission_group_meta` in responses. + */ +export const iam_permission_group_meta_output: JsonSchema = { + "properties": { + "category": { + "type": "string" + }, + "deprecated": { + "type": "string" + }, + "description": { + "type": "string" + }, + "editable": { + "type": "string" + }, + "eol_at": { + "format": "date-time", + "type": "string" + }, + "label": { + "type": "string" + }, + "scopes": { + "type": "string" + }, + "visibility": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_permission_groups` in responses. + */ +export const iam_permission_groups_output: JsonSchema = { + "items": { + "$ref": "#/$defs/iam_permission_group" + }, + "type": "array" +}; + +/** + * The schema of `iam_permissions` in responses. + */ +export const iam_permissions_output: JsonSchema = { + "properties": { + "analytics": { + "$ref": "#/$defs/iam_grants" + }, + "billing": { + "$ref": "#/$defs/iam_grants" + }, + "cache_purge": { + "$ref": "#/$defs/iam_grants" + }, + "dns": { + "$ref": "#/$defs/iam_grants" + }, + "dns_records": { + "$ref": "#/$defs/iam_grants" + }, + "lb": { + "$ref": "#/$defs/iam_grants" + }, + "logs": { + "$ref": "#/$defs/iam_grants" + }, + "organization": { + "$ref": "#/$defs/iam_grants" + }, + "ssl": { + "$ref": "#/$defs/iam_grants" + }, + "waf": { + "$ref": "#/$defs/iam_grants" + }, + "zone_settings": { + "$ref": "#/$defs/iam_grants" + }, + "zones": { + "$ref": "#/$defs/iam_grants" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_policy_identifier` in responses. + */ +export const iam_policy_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_policy_with_permission_groups_and_resources` in responses. + */ +export const iam_policy_with_permission_groups_and_resources_output: JsonSchema = { + "properties": { + "effect": { + "$ref": "#/$defs/iam_effect" + }, + "id": { + "$ref": "#/$defs/iam_policy_identifier" + }, + "permission_groups": { + "$ref": "#/$defs/iam_permission_groups" + }, + "resources": { + "$ref": "#/$defs/iam_resources" + } + }, + "required": [ + "effect", + "id", + "permission_groups", + "resources" + ], + "type": "object" +}; + +/** + * The schema of `iam_provisioner_id` in responses. + */ +export const iam_provisioner_id_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `iam_provisioner_type` in responses. + */ +export const iam_provisioner_type_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_request_ip` in responses. + */ +export const iam_request_ip_output: JsonSchema = { + "properties": { + "in": { + "$ref": "#/$defs/iam_cidr_list" + }, + "not_in": { + "$ref": "#/$defs/iam_cidr_list" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_resource_group` in responses. + */ +export const iam_resource_group_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/iam_resource_group_meta" + }, + "name": { + "type": "string" + }, + "scope": { + "$ref": "#/$defs/iam_scope" + } + }, + "required": [ + "id", + "scope" + ], + "type": "object" +}; + +/** + * The schema of `iam_resource_group_meta` in responses. + */ +export const iam_resource_group_meta_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_resource_groups` in responses. + */ +export const iam_resource_groups_output: JsonSchema = { + "items": { + "$ref": "#/$defs/iam_resource_group" + }, + "type": "array" +}; + +/** + * The schema of `iam_resources` in responses. + */ +export const iam_resources_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/iam_resources_type_object_string" + }, + { + "$ref": "#/$defs/iam_resources_type_object_nested" + } + ] +}; + +/** + * The schema of `iam_resources_type_object_nested` in responses. + */ +export const iam_resources_type_object_nested_output: JsonSchema = { + "additionalProperties": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": "object" +}; + +/** + * The schema of `iam_resources_type_object_string` in responses. + */ +export const iam_resources_type_object_string_output: JsonSchema = { + "additionalProperties": { + "type": "string" + }, + "type": "object" +}; + +/** + * The schema of `iam_result_info` in responses. + */ +export const iam_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_scope` in responses. + */ +export const iam_scope_output: JsonSchema = { + "properties": { + "key": { + "$ref": "#/$defs/iam_scope_key" + }, + "objects": { + "items": { + "$ref": "#/$defs/iam_scope_object" + }, + "type": "array" + } + }, + "required": [ + "key", + "objects" + ], + "type": "object" +}; + +/** + * The schema of `iam_scope_key` in responses. + */ +export const iam_scope_key_output: JsonSchema = {}; + +/** + * The schema of `iam_scope_object` in responses. + */ +export const iam_scope_object_output: JsonSchema = { + "properties": { + "key": { + "$ref": "#/$defs/iam_scope_object_key" + } + }, + "required": [ + "key" + ], + "type": "object" +}; + +/** + * The schema of `iam_scope_object_key` in responses. + */ +export const iam_scope_object_key_output: JsonSchema = {}; + +/** + * The schema of `iam_token_base` in responses. + */ +export const iam_token_base_output: JsonSchema = { + "properties": { + "condition": { + "$ref": "#/$defs/iam_condition" + }, + "creator_email_at_creation": { + "$ref": "#/$defs/iam_creator_email_at_creation" + }, + "expires_on": { + "$ref": "#/$defs/iam_expires_on" + }, + "id": { + "$ref": "#/$defs/iam_token_identifier" + }, + "issued_on": { + "$ref": "#/$defs/iam_issued_on" + }, + "last_used_on": { + "$ref": "#/$defs/iam_last_used_on" + }, + "modified_on": { + "$ref": "#/$defs/iam_modified_on" + }, + "name": { + "$ref": "#/$defs/iam_name" + }, + "not_before": { + "$ref": "#/$defs/iam_not_before" + }, + "policies": { + "$ref": "#/$defs/iam_token_policies" + }, + "provisioner_id": { + "$ref": "#/$defs/iam_provisioner_id" + }, + "provisioner_type": { + "$ref": "#/$defs/iam_provisioner_type" + }, + "status": { + "$ref": "#/$defs/iam_token_status" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_token_identifier` in responses. + */ +export const iam_token_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_token_policies` in responses. + */ +export const iam_token_policies_output: JsonSchema = { + "items": { + "$ref": "#/$defs/iam_policy_with_permission_groups_and_resources" + }, + "type": "array" +}; + +/** + * The schema of `iam_token_status` in responses. + */ +export const iam_token_status_output: JsonSchema = { + "enum": [ + "active", + "disabled", + "expired" + ], + "type": "string" +}; + +/** + * The schema of `iam_token_with_value` in responses. + */ +export const iam_token_with_value_output: JsonSchema = { + "properties": { + "condition": { + "$ref": "#/$defs/iam_condition" + }, + "creator_email_at_creation": { + "$ref": "#/$defs/iam_creator_email_at_creation" + }, + "expires_on": { + "$ref": "#/$defs/iam_expires_on" + }, + "id": { + "$ref": "#/$defs/iam_token_identifier" + }, + "issued_on": { + "$ref": "#/$defs/iam_issued_on" + }, + "last_used_on": { + "$ref": "#/$defs/iam_last_used_on" + }, + "modified_on": { + "$ref": "#/$defs/iam_modified_on" + }, + "name": { + "$ref": "#/$defs/iam_name" + }, + "not_before": { + "$ref": "#/$defs/iam_not_before" + }, + "policies": { + "$ref": "#/$defs/iam_token_policies" + }, + "provisioner_id": { + "$ref": "#/$defs/iam_provisioner_id" + }, + "provisioner_type": { + "$ref": "#/$defs/iam_provisioner_type" + }, + "status": { + "$ref": "#/$defs/iam_token_status" + }, + "value": { + "$ref": "#/$defs/iam_value" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_two_factor_authentication_enabled` in responses. + */ +export const iam_two_factor_authentication_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `iam_value` in responses. + */ +export const iam_value_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `infra_api-response-common-failure` in responses. + */ +export const infra_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/infra_messages" + }, + "messages": { + "$ref": "#/$defs/infra_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `infra_messages` in responses. + */ +export const infra_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `load-balancing_Host` in responses. + */ +export const load_balancing_Host_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `load-balancing_address` in responses. + */ +export const load_balancing_address_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_allow_insecure` in responses. + */ +export const load_balancing_allow_insecure_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `load-balancing_api-response-common-failure` in responses. + */ +export const load_balancing_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/load-balancing_messages" + }, + "messages": { + "$ref": "#/$defs/load-balancing_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `load-balancing_check_regions` in responses. + */ +export const load_balancing_check_regions_output: JsonSchema = { + "oneOf": [ + { + "items": { + "enum": [ + "WNAM", + "ENAM", + "WEU", + "EEU", + "NSAM", + "SSAM", + "OC", + "ME", + "NAF", + "SAF", + "SAS", + "SEAS", + "NEAS", + "CHINA", + "ALL_REGIONS" + ], + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `load-balancing_consecutive_down` in responses. + */ +export const load_balancing_consecutive_down_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `load-balancing_consecutive_up` in responses. + */ +export const load_balancing_consecutive_up_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `load-balancing_description` in responses. + */ +export const load_balancing_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_disabled_at` in responses. + */ +export const load_balancing_disabled_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `load-balancing_enabled` in responses. + */ +export const load_balancing_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `load-balancing_expected_body` in responses. + */ +export const load_balancing_expected_body_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_expected_codes` in responses. + */ +export const load_balancing_expected_codes_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_filter_options` in responses. + */ +export const load_balancing_filter_options_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "disable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "healthy": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `load-balancing_follow_redirects` in responses. + */ +export const load_balancing_follow_redirects_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `load-balancing_header` in responses. + */ +export const load_balancing_header_output: JsonSchema = { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_health_sources` in responses. + */ +export const load_balancing_health_sources_output: JsonSchema = { + "oneOf": [ + { + "items": { + "enum": [ + "local", + "regional", + "global" + ], + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `load-balancing_identifier` in responses. + */ +export const load_balancing_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_interval` in responses. + */ +export const load_balancing_interval_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `load-balancing_latitude` in responses. + */ +export const load_balancing_latitude_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `load-balancing_load_shedding` in responses. + */ +export const load_balancing_load_shedding_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "default_percent": { + "type": "number" + }, + "default_policy": { + "enum": [ + "random", + "hash" + ], + "type": "string" + }, + "session_percent": { + "type": "number" + }, + "session_policy": { + "enum": [ + "hash" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `load-balancing_longitude` in responses. + */ +export const load_balancing_longitude_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `load-balancing_messages` in responses. + */ +export const load_balancing_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `load-balancing_method` in responses. + */ +export const load_balancing_method_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_minimum_origins` in responses. + */ +export const load_balancing_minimum_origins_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `load-balancing_monitor` in responses. + */ +export const load_balancing_monitor_output: JsonSchema = { + "properties": { + "allow_insecure": { + "$ref": "#/$defs/load-balancing_allow_insecure" + }, + "consecutive_down": { + "$ref": "#/$defs/load-balancing_consecutive_down" + }, + "consecutive_up": { + "$ref": "#/$defs/load-balancing_consecutive_up" + }, + "created_on": { + "$ref": "#/$defs/load-balancing_timestamp" + }, + "description": { + "$ref": "#/$defs/load-balancing_description" + }, + "expected_body": { + "$ref": "#/$defs/load-balancing_expected_body" + }, + "expected_codes": { + "$ref": "#/$defs/load-balancing_expected_codes" + }, + "follow_redirects": { + "$ref": "#/$defs/load-balancing_follow_redirects" + }, + "header": { + "$ref": "#/$defs/load-balancing_header" + }, + "id": { + "$ref": "#/$defs/load-balancing_identifier" + }, + "interval": { + "$ref": "#/$defs/load-balancing_interval" + }, + "method": { + "$ref": "#/$defs/load-balancing_method" + }, + "modified_on": { + "$ref": "#/$defs/load-balancing_timestamp" + }, + "path": { + "$ref": "#/$defs/load-balancing_path" + }, + "port": { + "$ref": "#/$defs/load-balancing_port" + }, + "probe_zone": { + "$ref": "#/$defs/load-balancing_probe_zone" + }, + "retries": { + "$ref": "#/$defs/load-balancing_retries" + }, + "timeout": { + "$ref": "#/$defs/load-balancing_timeout" + }, + "type": { + "$ref": "#/$defs/load-balancing_type" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_monitor_group_id` in responses. + */ +export const load_balancing_monitor_group_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_monitor_id` in responses. + */ +export const load_balancing_monitor_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_name` in responses. + */ +export const load_balancing_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_networks` in responses. + */ +export const load_balancing_networks_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `load-balancing_notification_email` in responses. + */ +export const load_balancing_notification_email_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_notification_filter` in responses. + */ +export const load_balancing_notification_filter_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "origin": { + "$ref": "#/$defs/load-balancing_filter_options" + }, + "pool": { + "$ref": "#/$defs/load-balancing_filter_options" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `load-balancing_origin` in responses. + */ +export const load_balancing_origin_output: JsonSchema = { + "properties": { + "address": { + "$ref": "#/$defs/load-balancing_address" + }, + "disabled_at": { + "$ref": "#/$defs/load-balancing_disabled_at" + }, + "enabled": { + "$ref": "#/$defs/load-balancing_schemas-enabled" + }, + "flatten_cname": { + "$ref": "#/$defs/load-balancing_origin_flatten_cname" + }, + "header": { + "$ref": "#/$defs/load-balancing_schemas-header" + }, + "name": { + "$ref": "#/$defs/load-balancing_schemas-name" + }, + "port": { + "$ref": "#/$defs/load-balancing_origin_port" + }, + "virtual_network_id": { + "$ref": "#/$defs/load-balancing_virtual_network_id" + }, + "weight": { + "$ref": "#/$defs/load-balancing_weight" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_origin-health` in responses. + */ +export const load_balancing_origin_health_output: JsonSchema = { + "properties": { + "ip": { + "$ref": "#/$defs/load-balancing_origin-health_ip" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_origin-health_ip` in responses. + */ +export const load_balancing_origin_health_ip_output: JsonSchema = { + "properties": { + "failure_reason": { + "type": "string" + }, + "healthy": { + "type": "boolean" + }, + "response_code": { + "type": "number" + }, + "rtt": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_origin_flatten_cname` in responses. + */ +export const load_balancing_origin_flatten_cname_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `load-balancing_origin_health_data` in responses. + */ +export const load_balancing_origin_health_data_output: JsonSchema = { + "properties": { + "failure_reason": { + "type": "string" + }, + "healthy": { + "type": "boolean" + }, + "response_code": { + "type": "number" + }, + "rtt": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_origin_port` in responses. + */ +export const load_balancing_origin_port_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `load-balancing_origin_steering` in responses. + */ +export const load_balancing_origin_steering_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "policy": { + "enum": [ + "random", + "hash", + "least_outstanding_requests", + "least_connections" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `load-balancing_origins` in responses. + */ +export const load_balancing_origins_output: JsonSchema = { + "items": { + "$ref": "#/$defs/load-balancing_origin" + }, + "type": "array" +}; + +/** + * The schema of `load-balancing_path` in responses. + */ +export const load_balancing_path_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_pool` in responses. + */ +export const load_balancing_pool_output: JsonSchema = { + "properties": { + "check_regions": { + "$ref": "#/$defs/load-balancing_check_regions" + }, + "created_on": { + "$ref": "#/$defs/load-balancing_timestamp" + }, + "description": { + "$ref": "#/$defs/load-balancing_schemas-description" + }, + "disabled_at": { + "$ref": "#/$defs/load-balancing_schemas-disabled_at" + }, + "enabled": { + "$ref": "#/$defs/load-balancing_enabled" + }, + "health_sources": { + "$ref": "#/$defs/load-balancing_health_sources" + }, + "id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + }, + "latitude": { + "$ref": "#/$defs/load-balancing_latitude" + }, + "load_shedding": { + "$ref": "#/$defs/load-balancing_load_shedding" + }, + "longitude": { + "$ref": "#/$defs/load-balancing_longitude" + }, + "minimum_origins": { + "$ref": "#/$defs/load-balancing_minimum_origins" + }, + "modified_on": { + "$ref": "#/$defs/load-balancing_timestamp" + }, + "monitor": { + "$ref": "#/$defs/load-balancing_monitor_id" + }, + "monitor_group": { + "$ref": "#/$defs/load-balancing_monitor_group_id" + }, + "name": { + "$ref": "#/$defs/load-balancing_name" + }, + "networks": { + "$ref": "#/$defs/load-balancing_networks" + }, + "notification_email": { + "$ref": "#/$defs/load-balancing_notification_email" + }, + "notification_filter": { + "$ref": "#/$defs/load-balancing_notification_filter" + }, + "origin_steering": { + "$ref": "#/$defs/load-balancing_origin_steering" + }, + "origins": { + "$ref": "#/$defs/load-balancing_origins" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_port` in responses. + */ +export const load_balancing_port_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `load-balancing_preview_result` in responses. + */ +export const load_balancing_preview_result_output: JsonSchema = { + "additionalProperties": { + "properties": { + "healthy": { + "type": "boolean" + }, + "origins": { + "items": { + "additionalProperties": { + "$ref": "#/$defs/load-balancing_origin_health_data" + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_probe_zone` in responses. + */ +export const load_balancing_probe_zone_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_result_info` in responses. + */ +export const load_balancing_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_retries` in responses. + */ +export const load_balancing_retries_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `load-balancing_schemas-description` in responses. + */ +export const load_balancing_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_schemas-disabled_at` in responses. + */ +export const load_balancing_schemas_disabled_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `load-balancing_schemas-enabled` in responses. + */ +export const load_balancing_schemas_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `load-balancing_schemas-header` in responses. + */ +export const load_balancing_schemas_header_output: JsonSchema = { + "properties": { + "Host": { + "$ref": "#/$defs/load-balancing_Host" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_schemas-identifier` in responses. + */ +export const load_balancing_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_schemas-name` in responses. + */ +export const load_balancing_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_timeout` in responses. + */ +export const load_balancing_timeout_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `load-balancing_timestamp` in responses. + */ +export const load_balancing_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `load-balancing_type` in responses. + */ +export const load_balancing_type_output: JsonSchema = { + "enum": [ + "http", + "https", + "tcp", + "udp_icmp", + "icmp_ping", + "smtp" + ], + "type": "string" +}; + +/** + * The schema of `load-balancing_virtual_network_id` in responses. + */ +export const load_balancing_virtual_network_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_weight` in responses. + */ +export const load_balancing_weight_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `mconn-telemetry_coded_message` in responses. + */ +export const mconn_telemetry_coded_message_output: JsonSchema = { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `mconn-telemetry_envelope` in responses. + */ +export const mconn_telemetry_envelope_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/mconn-telemetry_coded_message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/mconn-telemetry_coded_message" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" +}; + +/** + * The schema of `mconn_bad_response` in responses. + */ +export const mconn_bad_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/mconn_coded_message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/mconn_coded_message" + }, + "type": "array" + }, + "result": { + "$ref": "#/$defs/mconn_none" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "messages", + "success", + "errors", + "result" + ], + "type": "object" +}; + +/** + * The schema of `mconn_coded_message` in responses. + */ +export const mconn_coded_message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `mconn_none` in responses. + */ +export const mconn_none_output: JsonSchema = { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `organizations-api_Account` in responses. + */ +export const organizations_api_Account_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "settings": { + "$ref": "#/$defs/organizations-api_Account_settings" + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": { + "enum": [ + "standard", + "enterprise" + ], + "type": "string" + } + }, + "required": [ + "created_on", + "id", + "name", + "settings", + "type" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_Account_settings` in responses. + */ +export const organizations_api_Account_settings_output: JsonSchema = { + "properties": { + "abuse_contact_email": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "access_approval_expiry": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "api_access_enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "default_nameservers": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enforce_twofactor": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "use_account_custom_ns_by_default": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "abuse_contact_email", + "access_approval_expiry", + "api_access_enabled", + "default_nameservers", + "enforce_twofactor", + "use_account_custom_ns_by_default" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_Organization` in responses. + */ +export const organizations_api_Organization_output: JsonSchema = { + "properties": { + "create_time": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/organizations-api_OrganizationID" + }, + "meta": { + "$ref": "#/$defs/organizations-api_Organization_meta" + }, + "name": { + "type": "string" + }, + "parent": { + "$ref": "#/$defs/organizations-api_Organization_parent" + }, + "profile": { + "$ref": "#/$defs/organizations-api_Profile" + } + }, + "required": [ + "create_time", + "id", + "meta", + "name" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_OrganizationFlags` in responses. + */ +export const organizations_api_OrganizationFlags_output: JsonSchema = { + "properties": { + "account_creation": { + "type": "string" + }, + "account_creation_applies_tenant_defaults": { + "type": "string" + }, + "account_deletion": { + "type": "string" + }, + "account_migration": { + "type": "string" + }, + "account_mobility": { + "type": "string" + }, + "enterprise_capability": { + "type": "string" + }, + "member_management": { + "type": "string" + }, + "sub_org_creation": { + "type": "string" + } + }, + "required": [ + "account_creation", + "account_creation_applies_tenant_defaults", + "account_deletion", + "account_migration", + "account_mobility", + "enterprise_capability", + "member_management", + "sub_org_creation" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_OrganizationID` in responses. + */ +export const organizations_api_OrganizationID_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `organizations-api_Organization_meta` in responses. + */ +export const organizations_api_Organization_meta_output: JsonSchema = { + "additionalProperties": { + "type": "object" + }, + "properties": { + "hierarchy_tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "managed_by": { + "type": "string" + }, + "tenant_flags": { + "$ref": "#/$defs/organizations-api_OrganizationFlags" + } + }, + "type": "object" +}; + +/** + * The schema of `organizations-api_Organization_parent` in responses. + */ +export const organizations_api_Organization_parent_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/organizations-api_OrganizationID" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_Profile` in responses. + */ +export const organizations_api_Profile_output: JsonSchema = { + "properties": { + "business_address": { + "type": "string" + }, + "business_email": { + "type": "string" + }, + "business_name": { + "type": "string" + }, + "business_phone": { + "type": "string" + }, + "external_metadata": { + "type": "string" + } + }, + "required": [ + "business_address", + "business_email", + "business_name", + "business_phone", + "external_metadata" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_V4ErrorResponse` in responses. + */ +export const organizations_api_V4ErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/organizations-api_V4Message" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/organizations-api_V4Message" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_V4Message` in responses. + */ +export const organizations_api_V4Message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_ErrorSource` in responses. + */ +export const pay_per_crawl_ErrorSource_output: JsonSchema = { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_Msg` in responses. + */ +export const pay_per_crawl_Msg_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "error_chain": { + "items": { + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "meta": {}, + "source": { + "$ref": "#/$defs/pay-per-crawl_Source" + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_RESTError` in responses. + */ +export const pay_per_crawl_RESTError_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "error": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/pay-per-crawl_ErrorSource" + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_ResultInfo` in responses. + */ +export const pay_per_crawl_ResultInfo_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_Source` in responses. + */ +export const pay_per_crawl_Source_output: JsonSchema = { + "properties": { + "parameter": { + "type": "string" + }, + "parameter_value_index": { + "type": "integer" + }, + "pointer": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_apiErrorResponse` in responses. + */ +export const pay_per_crawl_apiErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/pay-per-crawl_RESTError" + }, + "type": "array" + }, + "result": {}, + "success": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_apiNoResultResponse` in responses. + */ +export const pay_per_crawl_apiNoResultResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/pay-per-crawl_Msg" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/pay-per-crawl_Msg" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/pay-per-crawl_ResultInfo" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_api-response-common-failure` in responses. + */ +export const r2_data_catalog_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/r2-data-catalog_api-response-common-failure_errorsItem" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_api-response-common-failure_errorsItem` in + * responses. + */ +export const r2_data_catalog_api_response_common_failure_errorsItem_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_catalog` in responses. + */ +export const r2_data_catalog_catalog_output: JsonSchema = { + "properties": { + "bucket": { + "type": "string" + }, + "credential_status": { + "oneOf": [ + { + "$ref": "#/$defs/r2-data-catalog_credential-status" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "maintenance_config": { + "oneOf": [ + { + "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-config" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/r2-data-catalog_catalog-status" + } + }, + "required": [ + "bucket", + "id", + "name", + "status" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_catalog-activation-response` in responses. + */ +export const r2_data_catalog_catalog_activation_response_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_catalog-compaction-config` in responses. + */ +export const r2_data_catalog_catalog_compaction_config_output: JsonSchema = { + "properties": { + "state": { + "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state" + }, + "target_size_mb": { + "$ref": "#/$defs/r2-data-catalog_catalog-target-file-size" + } + }, + "required": [ + "state", + "target_size_mb" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_catalog-list` in responses. + */ +export const r2_data_catalog_catalog_list_output: JsonSchema = { + "properties": { + "warehouses": { + "items": { + "$ref": "#/$defs/r2-data-catalog_catalog" + }, + "type": "array" + } + }, + "required": [ + "warehouses" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_catalog-maintenance-config` in responses. + */ +export const r2_data_catalog_catalog_maintenance_config_output: JsonSchema = { + "properties": { + "compaction": { + "$ref": "#/$defs/r2-data-catalog_catalog-compaction-config" + }, + "interval": { + "$ref": "#/$defs/r2-data-catalog_maintenance-interval" + }, + "snapshot_expiration": { + "$ref": "#/$defs/r2-data-catalog_snapshot-expiration-config" + } + }, + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_catalog-maintenance-config-response` in + * responses. + */ +export const r2_data_catalog_catalog_maintenance_config_response_output: JsonSchema = { + "properties": { + "credential_status": { + "$ref": "#/$defs/r2-data-catalog_credential-status" + }, + "maintenance_config": { + "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-config" + } + }, + "required": [ + "credential_status", + "maintenance_config" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_catalog-maintenance-state` in responses. + */ +export const r2_data_catalog_catalog_maintenance_state_output: JsonSchema = { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" +}; + +/** + * The schema of `r2-data-catalog_catalog-status` in responses. + */ +export const r2_data_catalog_catalog_status_output: JsonSchema = { + "enum": [ + "active", + "inactive" + ], + "type": "string" +}; + +/** + * The schema of `r2-data-catalog_catalog-target-file-size` in responses. + */ +export const r2_data_catalog_catalog_target_file_size_output: JsonSchema = { + "enum": [ + "64", + "128", + "256", + "512" + ], + "type": "string" +}; + +/** + * The schema of `r2-data-catalog_credential-probe-status` in responses. + */ +export const r2_data_catalog_credential_probe_status_output: JsonSchema = { + "enum": [ + "valid", + "invalid", + "absent" + ], + "type": "string" +}; + +/** + * The schema of `r2-data-catalog_credential-status` in responses. + */ +export const r2_data_catalog_credential_status_output: JsonSchema = { + "enum": [ + "present", + "absent" + ], + "type": "string" +}; + +/** + * The schema of `r2-data-catalog_get-table-response` in responses. + */ +export const r2_data_catalog_get_table_response_output: JsonSchema = { + "properties": { + "identifier": { + "$ref": "#/$defs/r2-data-catalog_table-identifier" + }, + "metadata": { + "$ref": "#/$defs/r2-data-catalog_table-metadata" + }, + "metadata_location": { + "type": "string" + }, + "returned_snapshots": { + "type": "integer" + }, + "table_uuid": { + "format": "uuid", + "type": "string" + }, + "total_snapshots": { + "type": "integer" + } + }, + "required": [ + "identifier", + "metadata", + "returned_snapshots", + "table_uuid", + "total_snapshots" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_maintenance-interval` in responses. + */ +export const r2_data_catalog_maintenance_interval_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `r2-data-catalog_maintenance-run-operation` in responses. + */ +export const r2_data_catalog_maintenance_run_operation_output: JsonSchema = { + "properties": { + "duration_ms": { + "type": "integer" + }, + "error_code": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "metrics": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "operation": { + "enum": [ + "rewrite_manifests", + "compaction", + "snapshot_expiration" + ], + "type": "string" + }, + "status": { + "enum": [ + "succeeded", + "failed", + "skipped", + "not_run" + ], + "type": "string" + } + }, + "required": [ + "duration_ms", + "operation", + "status" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_maintenance-run-record` in responses. + */ +export const r2_data_catalog_maintenance_run_record_output: JsonSchema = { + "properties": { + "completed_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "configuration_type": { + "enum": [ + "compaction", + "snapshot_expiration" + ], + "type": "string" + }, + "customer_message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "duration_ms": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "operation_results": { + "items": { + "$ref": "#/$defs/r2-data-catalog_maintenance-run-operation" + }, + "type": "array" + }, + "outcome": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "primary_error_code": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "request_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "run_id": { + "type": "integer" + }, + "started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "running", + "succeeded", + "failed", + "interrupted", + "timed_out", + "cancelled" + ], + "type": "string" + } + }, + "required": [ + "configuration_type", + "operation_results", + "run_id", + "started_at", + "status" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_maintenance-runs-response` in responses. + */ +export const r2_data_catalog_maintenance_runs_response_output: JsonSchema = { + "properties": { + "next_page_token": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "runs": { + "items": { + "$ref": "#/$defs/r2-data-catalog_maintenance-run-record" + }, + "type": "array" + } + }, + "required": [ + "next_page_token", + "runs" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_namespace-details` in responses. + */ +export const r2_data_catalog_namespace_details_output: JsonSchema = { + "properties": { + "created_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "$ref": "#/$defs/r2-data-catalog_namespace-identifier" + }, + "namespace_uuid": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "namespace", + "namespace_uuid" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_namespace-identifier` in responses. + */ +export const r2_data_catalog_namespace_identifier_output: JsonSchema = { + "items": { + "type": "string" + }, + "maxItems": 16, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `r2-data-catalog_namespace-list-response` in responses. + */ +export const r2_data_catalog_namespace_list_response_output: JsonSchema = { + "properties": { + "details": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/r2-data-catalog_namespace-details" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "namespace_uuids": { + "oneOf": [ + { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "namespaces": { + "items": { + "$ref": "#/$defs/r2-data-catalog_namespace-identifier" + }, + "type": "array" + }, + "next_page_token": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "namespaces" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_queue-maintenance-response` in responses. + */ +export const r2_data_catalog_queue_maintenance_response_output: JsonSchema = { + "properties": { + "message": { + "type": "string" + }, + "queued": { + "type": "boolean" + }, + "request_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "message", + "queued" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_snapshot-expiration-config` in responses. + */ +export const r2_data_catalog_snapshot_expiration_config_output: JsonSchema = { + "properties": { + "max_snapshot_age": { + "type": "string" + }, + "min_snapshots_to_keep": { + "type": "integer" + }, + "state": { + "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state" + } + }, + "required": [ + "max_snapshot_age", + "min_snapshots_to_keep", + "state" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_table-compaction-config` in responses. + */ +export const r2_data_catalog_table_compaction_config_output: JsonSchema = { + "properties": { + "next_eligible_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "state": { + "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state" + }, + "target_size_mb": { + "$ref": "#/$defs/r2-data-catalog_catalog-target-file-size" + } + }, + "required": [ + "state", + "target_size_mb" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_table-details` in responses. + */ +export const r2_data_catalog_table_details_output: JsonSchema = { + "properties": { + "created_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "identifier": { + "$ref": "#/$defs/r2-data-catalog_table-identifier" + }, + "location": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "metadata_location": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "table_uuid": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "identifier", + "table_uuid" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_table-identifier` in responses. + */ +export const r2_data_catalog_table_identifier_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "$ref": "#/$defs/r2-data-catalog_namespace-identifier" + } + }, + "required": [ + "name", + "namespace" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_table-list-response` in responses. + */ +export const r2_data_catalog_table_list_response_output: JsonSchema = { + "properties": { + "details": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/r2-data-catalog_table-details" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "identifiers": { + "items": { + "$ref": "#/$defs/r2-data-catalog_table-identifier" + }, + "type": "array" + }, + "next_page_token": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "table_uuids": { + "oneOf": [ + { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "identifiers" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_table-maintenance-config` in responses. + */ +export const r2_data_catalog_table_maintenance_config_output: JsonSchema = { + "properties": { + "compaction": { + "$ref": "#/$defs/r2-data-catalog_table-compaction-config" + }, + "interval": { + "$ref": "#/$defs/r2-data-catalog_maintenance-interval" + }, + "snapshot_expiration": { + "$ref": "#/$defs/r2-data-catalog_table-snapshot-expiration-config" + } + }, + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_table-maintenance-config-response` in + * responses. + */ +export const r2_data_catalog_table_maintenance_config_response_output: JsonSchema = { + "properties": { + "maintenance_config": { + "$ref": "#/$defs/r2-data-catalog_table-maintenance-config" + } + }, + "required": [ + "maintenance_config" + ], + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_table-metadata` in responses. + */ +export const r2_data_catalog_table_metadata_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `r2-data-catalog_table-snapshot-expiration-config` in + * responses. + */ +export const r2_data_catalog_table_snapshot_expiration_config_output: JsonSchema = { + "properties": { + "max_snapshot_age": { + "type": "string" + }, + "min_snapshots_to_keep": { + "type": "integer" + }, + "next_eligible_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "state": { + "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state" + } + }, + "required": [ + "max_snapshot_age", + "min_snapshots_to_keep", + "state" + ], + "type": "object" +}; + +/** + * The schema of `resource-sharing_account_id` in responses. + */ +export const resource_sharing_account_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_account_name` in responses. + */ +export const resource_sharing_account_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_api-response-common-failure` in responses. + */ +export const resource_sharing_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/resource-sharing_v4errors" + }, + "result": { + "type": "null" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `resource-sharing_created` in responses. + */ +export const resource_sharing_created_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `resource-sharing_modified` in responses. + */ +export const resource_sharing_modified_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `resource-sharing_organization_id` in responses. + */ +export const resource_sharing_organization_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_resource_id` in responses. + */ +export const resource_sharing_resource_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_resource_meta` in responses. + */ +export const resource_sharing_resource_meta_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `resource-sharing_resource_resource_id` in responses. + */ +export const resource_sharing_resource_resource_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_resource_status` in responses. + */ +export const resource_sharing_resource_status_output: JsonSchema = { + "enum": [ + "active", + "deleting", + "deleted" + ], + "type": "string" +}; + +/** + * The schema of `resource-sharing_resource_type` in responses. + */ +export const resource_sharing_resource_type_output: JsonSchema = { + "enum": [ + "custom-ruleset", + "gateway-policy", + "gateway-destination-ip", + "gateway-block-page-settings", + "gateway-extended-email-matching", + "idp-federation-grant", + "trust-grant" + ], + "type": "string" +}; + +/** + * The schema of `resource-sharing_resource_version` in responses. + */ +export const resource_sharing_resource_version_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `resource-sharing_result_info` in responses. + */ +export const resource_sharing_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `resource-sharing_share_id` in responses. + */ +export const resource_sharing_share_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_share_kind` in responses. + */ +export const resource_sharing_share_kind_output: JsonSchema = { + "enum": [ + "sent", + "received" + ], + "type": "string" +}; + +/** + * The schema of `resource-sharing_share_name` in responses. + */ +export const resource_sharing_share_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_share_object` in responses. + */ +export const resource_sharing_share_object_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id" + }, + "account_name": { + "$ref": "#/$defs/resource-sharing_account_name" + }, + "associated_recipient_count": { + "type": "integer" + }, + "associating_recipient_count": { + "type": "integer" + }, + "created": { + "$ref": "#/$defs/resource-sharing_created" + }, + "disassociated_recipient_count": { + "type": "integer" + }, + "disassociating_recipient_count": { + "type": "integer" + }, + "id": { + "$ref": "#/$defs/resource-sharing_share_id" + }, + "kind": { + "$ref": "#/$defs/resource-sharing_share_kind" + }, + "modified": { + "$ref": "#/$defs/resource-sharing_modified" + }, + "name": { + "$ref": "#/$defs/resource-sharing_share_name" + }, + "organization_id": { + "$ref": "#/$defs/resource-sharing_organization_id" + }, + "resources": { + "items": { + "$ref": "#/$defs/resource-sharing_share_resource_object" + }, + "type": "array" + }, + "status": { + "$ref": "#/$defs/resource-sharing_share_status" + }, + "target_type": { + "$ref": "#/$defs/resource-sharing_share_target_type" + } + }, + "required": [ + "account_id", + "account_name", + "created", + "id", + "modified", + "name", + "organization_id", + "status", + "target_type" + ], + "type": "object" +}; + +/** + * The schema of `resource-sharing_share_resource_object` in responses. + */ +export const resource_sharing_share_resource_object_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/resource-sharing_created" + }, + "id": { + "$ref": "#/$defs/resource-sharing_resource_id" + }, + "meta": { + "$ref": "#/$defs/resource-sharing_resource_meta" + }, + "modified": { + "$ref": "#/$defs/resource-sharing_modified" + }, + "resource_account_id": { + "$ref": "#/$defs/resource-sharing_account_id" + }, + "resource_id": { + "$ref": "#/$defs/resource-sharing_resource_resource_id" + }, + "resource_type": { + "$ref": "#/$defs/resource-sharing_resource_type" + }, + "resource_version": { + "$ref": "#/$defs/resource-sharing_resource_version" + }, + "status": { + "$ref": "#/$defs/resource-sharing_resource_status" + } + }, + "required": [ + "created", + "id", + "meta", + "modified", + "resource_account_id", + "resource_id", + "resource_type", + "resource_version", + "status" + ], + "type": "object" +}; + +/** + * The schema of `resource-sharing_share_status` in responses. + */ +export const resource_sharing_share_status_output: JsonSchema = { + "enum": [ + "active", + "deleting", + "deleted" + ], + "type": "string" +}; + +/** + * The schema of `resource-sharing_share_target_type` in responses. + */ +export const resource_sharing_share_target_type_output: JsonSchema = { + "enum": [ + "account", + "organization" + ], + "type": "string" +}; + +/** + * The schema of `resource-sharing_v4error` in responses. + */ +export const resource_sharing_v4error_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `resource-sharing_v4errors` in responses. + */ +export const resource_sharing_v4errors_output: JsonSchema = { + "items": { + "$ref": "#/$defs/resource-sharing_v4error" + }, + "type": "array" +}; + +/** + * The schema of `rulesets_Errors` in responses. + */ +export const rulesets_Errors_output: JsonSchema = { + "items": { + "$ref": "#/$defs/rulesets_Message" + }, + "type": "array" +}; + +/** + * The schema of `rulesets_Message` in responses. + */ +export const rulesets_Message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/rulesets_Message_source" + } + }, + "required": [ + "message" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_Message_source` in responses. + */ +export const rulesets_Message_source_output: JsonSchema = { + "properties": { + "pointer": { + "type": "string" + } + }, + "required": [ + "pointer" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_Messages` in responses. + */ +export const rulesets_Messages_output: JsonSchema = { + "items": { + "$ref": "#/$defs/rulesets_Message" + }, + "type": "array" +}; + +/** + * The schema of `rulesets_Response` in responses. + */ +export const rulesets_Response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/rulesets_Errors" + }, + "messages": { + "$ref": "#/$defs/rulesets_Messages" + }, + "result": { + "$ref": "#/$defs/rulesets_Response_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_Response_result` in responses. + */ +export const rulesets_Response_result_output: JsonSchema = { + "oneOf": [ + { + "type": "object" + }, + { + "items": {}, + "type": "array" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `rum_api-response-common-failure` in responses. + */ +export const rum_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/rum_messages-2" + }, + "messages": { + "$ref": "#/$defs/rum_messages-2" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `rum_messages-2` in responses. + */ +export const rum_messages_2_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `security-center_api-response-common` in responses. + */ +export const security_center_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/security-center_messages" + }, + "messages": { + "$ref": "#/$defs/security-center_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `security-center_api-response-common-failure` in responses. + */ +export const security_center_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/security-center_messages" + }, + "messages": { + "$ref": "#/$defs/security-center_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `security-center_count` in responses. + */ +export const security_center_count_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `security-center_issue` in responses. + */ +export const security_center_issue_output: JsonSchema = { + "properties": { + "dismissed": { + "type": "boolean" + }, + "has_extended_context": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "issue_class": { + "$ref": "#/$defs/security-center_issueClass" + }, + "issue_type": { + "$ref": "#/$defs/security-center_issueType" + }, + "payload": { + "$ref": "#/$defs/security-center_issue_payload" + }, + "resolve_link": { + "type": "string" + }, + "resolve_text": { + "type": "string" + }, + "severity": { + "enum": [ + "Low", + "Moderate", + "Critical" + ], + "type": "string" + }, + "since": { + "format": "date-time", + "type": "string" + }, + "source": { + "$ref": "#/$defs/security-center_source" + }, + "status": { + "enum": [ + "active", + "resolved" + ], + "type": "string" + }, + "subject": { + "$ref": "#/$defs/security-center_subject" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "user_classification": { + "$ref": "#/$defs/security-center_userClassification" + } + }, + "type": "object" +}; + +/** + * The schema of `security-center_issueClass` in responses. + */ +export const security_center_issueClass_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `security-center_issueType` in responses. + */ +export const security_center_issueType_output: JsonSchema = { + "enum": [ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + "configuration_suggestion" + ], + "type": "string" +}; + +/** + * The schema of `security-center_issue_payload` in responses. + */ +export const security_center_issue_payload_output: JsonSchema = { + "properties": { + "detection_method": { + "type": "string" + }, + "zone_tag": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `security-center_messages` in responses. + */ +export const security_center_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `security-center_page` in responses. + */ +export const security_center_page_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `security-center_perPage` in responses. + */ +export const security_center_perPage_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `security-center_source` in responses. + */ +export const security_center_source_output: JsonSchema = { + "enum": [ + "cloudflare", + "riskrecon" + ], + "type": "string" +}; + +/** + * The schema of `security-center_subject` in responses. + */ +export const security_center_subject_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `security-center_userClassification` in responses. + */ +export const security_center_userClassification_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "false_positive", + "accept_risk", + "other" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `speed_api-response-common-failure` in responses. + */ +export const speed_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/speed_messages" + }, + "messages": { + "$ref": "#/$defs/speed_messages" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `speed_messages` in responses. + */ +export const speed_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `tls-certificates-and-hostnames_api-response-collection` in + * responses. + */ +export const tls_certificates_and_hostnames_api_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_api-response-collection_result_info` in + * responses. + */ +export const tls_certificates_and_hostnames_api_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_api-response-common-failure` in + * responses. + */ +export const tls_certificates_and_hostnames_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_expires_on-2` in responses. + */ +export const tls_certificates_and_hostnames_expires_on_2_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_issuer` in responses. + */ +export const tls_certificates_and_hostnames_issuer_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_messages` in responses. + */ +export const tls_certificates_and_hostnames_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `tls-certificates-and-hostnames_signature` in responses. + */ +export const tls_certificates_and_hostnames_signature_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_uploaded_on` in responses. + */ +export const tls_certificates_and_hostnames_uploaded_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_validation_record` in + * responses. + */ +export const tls_certificates_and_hostnames_validation_record_output: JsonSchema = { + "properties": { + "cname": { + "type": "string" + }, + "cname_target": { + "type": "string" + }, + "emails": { + "items": { + "type": "string" + }, + "type": "array" + }, + "http_body": { + "type": "string" + }, + "http_url": { + "type": "string" + }, + "status": { + "type": "string" + }, + "txt_name": { + "type": "string" + }, + "txt_value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_account_id` in responses. + */ +export const tunnel_account_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_api-response-common-failure` in responses. + */ +export const tunnel_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_api-response-common-failure-2` in responses. + */ +export const tunnel_api_response_common_failure_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages-2" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages-2" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_arch` in responses. + */ +export const tunnel_arch_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_cfd_tunnel` in responses. + */ +export const tunnel_cfd_tunnel_output: JsonSchema = { + "properties": { + "account_tag": { + "$ref": "#/$defs/tunnel_account_id" + }, + "config_src": { + "$ref": "#/$defs/tunnel_config_src" + }, + "connections": { + "$ref": "#/$defs/tunnel_connections_deprecated" + }, + "conns_active_at": { + "$ref": "#/$defs/tunnel_conns_active_at" + }, + "conns_inactive_at": { + "$ref": "#/$defs/tunnel_conns_inactive_at" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "deleted_at": { + "$ref": "#/$defs/tunnel_deleted_at" + }, + "id": { + "$ref": "#/$defs/tunnel_tunnel_id" + }, + "metadata": { + "$ref": "#/$defs/tunnel_metadata" + }, + "name": { + "$ref": "#/$defs/tunnel_tunnel_name" + }, + "remote_config": { + "$ref": "#/$defs/tunnel_remote_config" + }, + "status": { + "$ref": "#/$defs/tunnel_status" + }, + "tun_type": { + "$ref": "#/$defs/tunnel_tunnel_type" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_client_id` in responses. + */ +export const tunnel_client_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `tunnel_colo_name` in responses. + */ +export const tunnel_colo_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_config_src` in responses. + */ +export const tunnel_config_src_output: JsonSchema = { + "enum": [ + "local", + "cloudflare" + ], + "type": "string" +}; + +/** + * The schema of `tunnel_connection_id` in responses. + */ +export const tunnel_connection_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `tunnel_connections_deprecated` in responses. + */ +export const tunnel_connections_deprecated_output: JsonSchema = { + "items": { + "$ref": "#/$defs/tunnel_schemas-connection" + }, + "type": "array" +}; + +/** + * The schema of `tunnel_conns_active_at` in responses. + */ +export const tunnel_conns_active_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tunnel_conns_inactive_at` in responses. + */ +export const tunnel_conns_inactive_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tunnel_created_at` in responses. + */ +export const tunnel_created_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tunnel_deleted_at` in responses. + */ +export const tunnel_deleted_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tunnel_empty_response` in responses. + */ +export const tunnel_empty_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_features` in responses. + */ +export const tunnel_features_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `tunnel_ip` in responses. + */ +export const tunnel_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_is_pending_reconnect` in responses. + */ +export const tunnel_is_pending_reconnect_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tunnel_messages` in responses. + */ +export const tunnel_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `tunnel_messages-2` in responses. + */ +export const tunnel_messages_2_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `tunnel_metadata` in responses. + */ +export const tunnel_metadata_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `tunnel_remote_config` in responses. + */ +export const tunnel_remote_config_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tunnel_result_info` in responses. + */ +export const tunnel_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_run_at` in responses. + */ +export const tunnel_run_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tunnel_schemas-connection` in responses. + */ +export const tunnel_schemas_connection_output: JsonSchema = { + "properties": { + "client_id": { + "$ref": "#/$defs/tunnel_client_id" + }, + "client_version": { + "$ref": "#/$defs/tunnel_version" + }, + "colo_name": { + "$ref": "#/$defs/tunnel_colo_name" + }, + "id": { + "$ref": "#/$defs/tunnel_connection_id" + }, + "is_pending_reconnect": { + "$ref": "#/$defs/tunnel_is_pending_reconnect" + }, + "opened_at": { + "format": "date-time", + "type": "string" + }, + "origin_ip": { + "$ref": "#/$defs/tunnel_ip" + }, + "uuid": { + "$ref": "#/$defs/tunnel_connection_id" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_status` in responses. + */ +export const tunnel_status_output: JsonSchema = { + "enum": [ + "inactive", + "degraded", + "healthy", + "down" + ], + "type": "string" +}; + +/** + * The schema of `tunnel_tunnel_id` in responses. + */ +export const tunnel_tunnel_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `tunnel_tunnel_id-2` in responses. + */ +export const tunnel_tunnel_id_2_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `tunnel_tunnel_name` in responses. + */ +export const tunnel_tunnel_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_tunnel_response_token` in responses. + */ +export const tunnel_tunnel_response_token_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_tunnel_token" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_tunnel_token` in responses. + */ +export const tunnel_tunnel_token_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_tunnel_type` in responses. + */ +export const tunnel_tunnel_type_output: JsonSchema = { + "enum": [ + "cfd_tunnel", + "warp_connector", + "warp", + "magic", + "ip_sec", + "gre", + "cni" + ], + "type": "string" +}; + +/** + * The schema of `tunnel_version` in responses. + */ +export const tunnel_version_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_warp_connector_tunnel` in responses. + */ +export const tunnel_warp_connector_tunnel_output: JsonSchema = { + "properties": { + "account_tag": { + "$ref": "#/$defs/tunnel_account_id" + }, + "connections": { + "$ref": "#/$defs/tunnel_connections_deprecated" + }, + "conns_active_at": { + "$ref": "#/$defs/tunnel_conns_active_at" + }, + "conns_inactive_at": { + "$ref": "#/$defs/tunnel_conns_inactive_at" + }, + "created_at": { + "$ref": "#/$defs/tunnel_created_at" + }, + "deleted_at": { + "$ref": "#/$defs/tunnel_deleted_at" + }, + "id": { + "$ref": "#/$defs/tunnel_tunnel_id" + }, + "metadata": { + "$ref": "#/$defs/tunnel_metadata" + }, + "name": { + "$ref": "#/$defs/tunnel_tunnel_name" + }, + "status": { + "$ref": "#/$defs/tunnel_status" + }, + "tun_type": { + "$ref": "#/$defs/tunnel_tunnel_type" + } + }, + "type": "object" +}; + +/** + * The schema of `usage-analytics_api_error` in responses. + */ +export const usage_analytics_api_error_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `usage-analytics_api_message` in responses. + */ +export const usage_analytics_api_message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `usage-analytics_error_response` in responses. + */ +export const usage_analytics_error_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/usage-analytics_api_error" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/usage-analytics_api_message" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "success" + ], + "type": "object" +}; + +/** + * The schema of `usage-analytics_stream_usage_data_point` in responses. + */ +export const usage_analytics_stream_usage_data_point_output: JsonSchema = { + "properties": { + "streamMinutesViewed": { + "type": "integer" + }, + "ts": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `waf-product-api-bundle_identifier` in responses. + */ +export const waf_product_api_bundle_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waf-product-api-bundle_messages` in responses. + */ +export const waf_product_api_bundle_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `workers_api-response-common` in responses. + */ +export const workers_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers_messages" + }, + "messages": { + "$ref": "#/$defs/workers_messages" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `workers_api-response-common-failure` in responses. + */ +export const workers_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers_messages" + }, + "messages": { + "$ref": "#/$defs/workers_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_item` in responses. + */ +export const workers_binding_item_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/workers_binding_kind_ai" + }, + { + "$ref": "#/$defs/workers_binding_kind_ai_search" + }, + { + "$ref": "#/$defs/workers_binding_kind_ai_search_namespace" + }, + { + "$ref": "#/$defs/workers_binding_kind_messaging" + }, + { + "$ref": "#/$defs/workers_binding_kind_analytics_engine" + }, + { + "$ref": "#/$defs/workers_binding_kind_artifacts" + }, + { + "$ref": "#/$defs/workers_binding_kind_assets" + }, + { + "$ref": "#/$defs/workers_binding_kind_browser" + }, + { + "$ref": "#/$defs/workers_binding_kind_d1" + }, + { + "$ref": "#/$defs/workers_binding_kind_data_blob" + }, + { + "$ref": "#/$defs/workers_binding_kind_dispatch_namespace" + }, + { + "$ref": "#/$defs/workers_binding_kind_durable_object_namespace" + }, + { + "$ref": "#/$defs/workers_binding_kind_hyperdrive" + }, + { + "$ref": "#/$defs/workers_binding_kind_inherit" + }, + { + "$ref": "#/$defs/workers_binding_kind_images" + }, + { + "$ref": "#/$defs/workers_binding_kind_json" + }, + { + "$ref": "#/$defs/workers_binding_kind_kv_namespace" + }, + { + "$ref": "#/$defs/workers_binding_kind_media" + }, + { + "$ref": "#/$defs/workers_binding_kind_mtls_certificate" + }, + { + "$ref": "#/$defs/workers_binding_kind_plain_text" + }, + { + "$ref": "#/$defs/workers_binding_kind_pipelines" + }, + { + "$ref": "#/$defs/workers_binding_kind_k2" + }, + { + "$ref": "#/$defs/workers_binding_kind_queue" + }, + { + "$ref": "#/$defs/workers_binding_kind_ratelimit" + }, + { + "$ref": "#/$defs/workers_binding_kind_r2_bucket" + }, + { + "$ref": "#/$defs/workers_binding_kind_secret_text" + }, + { + "$ref": "#/$defs/workers_binding_kind_send_email" + }, + { + "$ref": "#/$defs/workers_binding_kind_service" + }, + { + "$ref": "#/$defs/workers_binding_kind_text_blob" + }, + { + "$ref": "#/$defs/workers_binding_kind_vectorize" + }, + { + "$ref": "#/$defs/workers_binding_kind_version_metadata" + }, + { + "$ref": "#/$defs/workers_binding_kind_secrets_store_secret" + }, + { + "$ref": "#/$defs/workers_binding_kind_flagship" + }, + { + "$ref": "#/$defs/workers_binding_kind_secret_key" + }, + { + "$ref": "#/$defs/workers_binding_kind_workflow" + }, + { + "$ref": "#/$defs/workers_binding_kind_wasm_module" + }, + { + "$ref": "#/$defs/workers_binding_kind_vpc_service" + }, + { + "$ref": "#/$defs/workers_binding_kind_vpc_network" + } + ] +}; + +/** + * The schema of `workers_binding_kind_ai` in responses. + */ +export const workers_binding_kind_ai_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "ai" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_ai_search` in responses. + */ +export const workers_binding_kind_ai_search_output: JsonSchema = { + "properties": { + "instance_name": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "namespace": { + "type": "string" + }, + "type": { + "enum": [ + "ai_search" + ], + "type": "string" + } + }, + "required": [ + "instance_name", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_ai_search_namespace` in responses. + */ +export const workers_binding_kind_ai_search_namespace_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "namespace": { + "type": "string" + }, + "type": { + "enum": [ + "ai_search_namespace" + ], + "type": "string" + } + }, + "required": [ + "name", + "namespace", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_analytics_engine` in responses. + */ +export const workers_binding_kind_analytics_engine_output: JsonSchema = { + "properties": { + "dataset": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "analytics_engine" + ], + "type": "string" + } + }, + "required": [ + "dataset", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_artifacts` in responses. + */ +export const workers_binding_kind_artifacts_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "namespace": { + "type": "string" + }, + "type": { + "enum": [ + "artifacts" + ], + "type": "string" + } + }, + "required": [ + "name", + "namespace", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_assets` in responses. + */ +export const workers_binding_kind_assets_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "assets" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_browser` in responses. + */ +export const workers_binding_kind_browser_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "browser" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_d1` in responses. + */ +export const workers_binding_kind_d1_output: JsonSchema = { + "properties": { + "database_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "d1" + ], + "type": "string" + } + }, + "required": [ + "database_id", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_data_blob` in responses. + */ +export const workers_binding_kind_data_blob_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "part": { + "type": "string" + }, + "type": { + "enum": [ + "data_blob" + ], + "type": "string" + } + }, + "required": [ + "name", + "part", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_dispatch_namespace` in responses. + */ +export const workers_binding_kind_dispatch_namespace_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "namespace": { + "type": "string" + }, + "outbound": { + "$ref": "#/$defs/workers_binding_kind_dispatch_namespace_outbound" + }, + "type": { + "enum": [ + "dispatch_namespace" + ], + "type": "string" + } + }, + "required": [ + "name", + "namespace", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_dispatch_namespace_outbound` in + * responses. + */ +export const workers_binding_kind_dispatch_namespace_outbound_output: JsonSchema = { + "properties": { + "params": { + "items": { + "$ref": "#/$defs/workers_binding_kind_dispatch_namespace_outbound_paramsItem" + }, + "type": "array" + }, + "worker": { + "$ref": "#/$defs/workers_binding_kind_dispatch_namespace_outbound_worker" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_dispatch_namespace_outbound_paramsItem` + * in responses. + */ +export const workers_binding_kind_dispatch_namespace_outbound_paramsItem_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_dispatch_namespace_outbound_worker` in + * responses. + */ +export const workers_binding_kind_dispatch_namespace_outbound_worker_output: JsonSchema = { + "properties": { + "entrypoint": { + "type": "string" + }, + "environment": { + "type": "string" + }, + "service": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_durable_object_namespace` in responses. + */ +export const workers_binding_kind_durable_object_namespace_output: JsonSchema = { + "properties": { + "class_name": { + "type": "string" + }, + "dispatch_namespace": { + "type": "string" + }, + "environment": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "namespace_id": { + "allOf": [ + { + "$ref": "#/$defs/workers_namespace_identifier" + }, + { + "type": "string" + } + ] + }, + "script_name": { + "type": "string" + }, + "type": { + "enum": [ + "durable_object_namespace" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_flagship` in responses. + */ +export const workers_binding_kind_flagship_output: JsonSchema = { + "properties": { + "app_id": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "flagship" + ], + "type": "string" + } + }, + "required": [ + "app_id", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_hyperdrive` in responses. + */ +export const workers_binding_kind_hyperdrive_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "hyperdrive" + ], + "type": "string" + } + }, + "required": [ + "id", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_images` in responses. + */ +export const workers_binding_kind_images_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "images" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_inherit` in responses. + */ +export const workers_binding_kind_inherit_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "old_name": { + "type": "string" + }, + "type": { + "enum": [ + "inherit" + ], + "type": "string" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_json` in responses. + */ +export const workers_binding_kind_json_output: JsonSchema = { + "properties": { + "json": { + "type": "object" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "json" + ], + "type": "string" + } + }, + "required": [ + "json", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_k2` in responses. + */ +export const workers_binding_kind_k2_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "stream": { + "type": "string" + }, + "type": { + "enum": [ + "k2" + ], + "type": "string" + } + }, + "required": [ + "name", + "stream", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_kv_namespace` in responses. + */ +export const workers_binding_kind_kv_namespace_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "namespace_id": { + "$ref": "#/$defs/workers_namespace_identifier" + }, + "type": { + "enum": [ + "kv_namespace" + ], + "type": "string" + } + }, + "required": [ + "name", + "namespace_id", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_media` in responses. + */ +export const workers_binding_kind_media_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "media" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_messaging` in responses. + */ +export const workers_binding_kind_messaging_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "namespace": { + "type": "string" + }, + "type": { + "enum": [ + "messaging" + ], + "type": "string" + } + }, + "required": [ + "name", + "namespace", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_mtls_certificate` in responses. + */ +export const workers_binding_kind_mtls_certificate_output: JsonSchema = { + "properties": { + "certificate_id": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "mtls_certificate" + ], + "type": "string" + } + }, + "required": [ + "certificate_id", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_pipelines` in responses. + */ +export const workers_binding_kind_pipelines_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "pipeline": { + "type": "string" + }, + "type": { + "enum": [ + "pipelines" + ], + "type": "string" + } + }, + "required": [ + "name", + "pipeline", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_plain_text` in responses. + */ +export const workers_binding_kind_plain_text_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "text": { + "type": "string" + }, + "type": { + "enum": [ + "plain_text" + ], + "type": "string" + } + }, + "required": [ + "name", + "text", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_queue` in responses. + */ +export const workers_binding_kind_queue_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "queue_name": { + "type": "string" + }, + "type": { + "enum": [ + "queue" + ], + "type": "string" + } + }, + "required": [ + "name", + "queue_name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_r2_bucket` in responses. + */ +export const workers_binding_kind_r2_bucket_output: JsonSchema = { + "properties": { + "bucket_name": { + "type": "string" + }, + "jurisdiction": { + "enum": [ + "eu", + "fedramp", + "fedramp-high", + "us" + ], + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "r2_bucket" + ], + "type": "string" + } + }, + "required": [ + "bucket_name", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_ratelimit` in responses. + */ +export const workers_binding_kind_ratelimit_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "namespace_id": { + "type": "string" + }, + "simple": { + "$ref": "#/$defs/workers_binding_kind_ratelimit_simple" + }, + "type": { + "enum": [ + "ratelimit" + ], + "type": "string" + } + }, + "required": [ + "name", + "namespace_id", + "simple", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_ratelimit_simple` in responses. + */ +export const workers_binding_kind_ratelimit_simple_output: JsonSchema = { + "properties": { + "limit": { + "type": "number" + }, + "mitigation_timeout": { + "type": "integer" + }, + "period": { + "type": "integer" + } + }, + "required": [ + "limit", + "period" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_secret_key` in responses. + */ +export const workers_binding_kind_secret_key_output: JsonSchema = { + "properties": { + "algorithm": { + "type": "object" + }, + "format": { + "enum": [ + "raw", + "pkcs8", + "spki", + "jwk" + ], + "type": "string" + }, + "key_base64": { + "type": "string" + }, + "key_jwk": { + "type": "object" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "secret_key" + ], + "type": "string" + }, + "usages": { + "items": { + "enum": [ + "encrypt", + "decrypt", + "sign", + "verify", + "deriveKey", + "deriveBits", + "wrapKey", + "unwrapKey" + ], + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "algorithm", + "format", + "name", + "type", + "usages" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_secret_text` in responses. + */ +export const workers_binding_kind_secret_text_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "text": { + "type": "string" + }, + "type": { + "enum": [ + "secret_text" + ], + "type": "string" + } + }, + "required": [ + "name", + "text", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_secrets_store_secret` in responses. + */ +export const workers_binding_kind_secrets_store_secret_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "secret_name": { + "type": "string" + }, + "store_id": { + "type": "string" + }, + "type": { + "enum": [ + "secrets_store_secret" + ], + "type": "string" + } + }, + "required": [ + "name", + "secret_name", + "store_id", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_send_email` in responses. + */ +export const workers_binding_kind_send_email_output: JsonSchema = { + "properties": { + "allowed_destination_addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "allowed_sender_addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "destination_address": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "send_email" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_service` in responses. + */ +export const workers_binding_kind_service_output: JsonSchema = { + "properties": { + "entrypoint": { + "type": "string" + }, + "environment": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "service": { + "type": "string" + }, + "type": { + "enum": [ + "service" + ], + "type": "string" + } + }, + "required": [ + "name", + "service", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_text_blob` in responses. + */ +export const workers_binding_kind_text_blob_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "part": { + "type": "string" + }, + "type": { + "enum": [ + "text_blob" + ], + "type": "string" + } + }, + "required": [ + "name", + "part", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_vectorize` in responses. + */ +export const workers_binding_kind_vectorize_output: JsonSchema = { + "properties": { + "index_name": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "vectorize" + ], + "type": "string" + } + }, + "required": [ + "index_name", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_version_metadata` in responses. + */ +export const workers_binding_kind_version_metadata_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "type": { + "enum": [ + "version_metadata" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_vpc_network` in responses. + */ +export const workers_binding_kind_vpc_network_output: JsonSchema = { + "properties": { + "identity": { + "enum": [ + "runtime-email-alpha" + ], + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "network_id": { + "type": "string" + }, + "tunnel_id": { + "type": "string" + }, + "type": { + "enum": [ + "vpc_network" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_vpc_service` in responses. + */ +export const workers_binding_kind_vpc_service_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "service_id": { + "type": "string" + }, + "type": { + "enum": [ + "vpc_service" + ], + "type": "string" + } + }, + "required": [ + "name", + "service_id", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_wasm_module` in responses. + */ +export const workers_binding_kind_wasm_module_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "part": { + "type": "string" + }, + "type": { + "enum": [ + "wasm_module" + ], + "type": "string" + } + }, + "required": [ + "name", + "part", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_kind_workflow` in responses. + */ +export const workers_binding_kind_workflow_output: JsonSchema = { + "properties": { + "class_name": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/workers_binding_name" + }, + "script_name": { + "type": "string" + }, + "type": { + "enum": [ + "workflow" + ], + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "name", + "type", + "workflow_name" + ], + "type": "object" +}; + +/** + * The schema of `workers_binding_name` in responses. + */ +export const workers_binding_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers_bindings` in responses. + */ +export const workers_bindings_output: JsonSchema = { + "items": { + "$ref": "#/$defs/workers_binding_item" + }, + "type": "array" +}; + +/** + * The schema of `workers_cache_options` in responses. + */ +export const workers_cache_options_output: JsonSchema = { + "properties": { + "cross_version_cache": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; + +/** + * The schema of `workers_compatibility_date` in responses. + */ +export const workers_compatibility_date_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers_compatibility_flag` in responses. + */ +export const workers_compatibility_flag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers_compatibility_flags` in responses. + */ +export const workers_compatibility_flags_output: JsonSchema = { + "items": { + "$ref": "#/$defs/workers_compatibility_flag" + }, + "type": "array" +}; + +/** + * The schema of `workers_created_on` in responses. + */ +export const workers_created_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `workers_durable_object_deleted_export` in responses. + */ +export const workers_durable_object_deleted_export_output: JsonSchema = { + "properties": { + "state": { + "enum": [ + "deleted" + ], + "type": "string" + }, + "type": { + "enum": [ + "durable-object" + ], + "type": "string" + } + }, + "required": [ + "state", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_durable_object_expecting_transfer_export` in + * responses. + */ +export const workers_durable_object_expecting_transfer_export_output: JsonSchema = { + "properties": { + "container": { + "type": "string" + }, + "state": { + "enum": [ + "expecting-transfer" + ], + "type": "string" + }, + "storage": { + "$ref": "#/$defs/workers_export_storage" + }, + "transfer_from": { + "type": "string" + }, + "type": { + "enum": [ + "durable-object" + ], + "type": "string" + } + }, + "required": [ + "state", + "storage", + "transfer_from", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_durable_object_export` in responses. + */ +export const workers_durable_object_export_output: JsonSchema = { + "properties": { + "container": { + "type": "string" + }, + "state": { + "enum": [ + "created" + ], + "type": "string" + }, + "storage": { + "$ref": "#/$defs/workers_export_storage" + }, + "type": { + "enum": [ + "durable-object" + ], + "type": "string" + } + }, + "required": [ + "storage", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_durable_object_export_variants` in responses. + */ +export const workers_durable_object_export_variants_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/workers_durable_object_export" + }, + { + "$ref": "#/$defs/workers_durable_object_deleted_export" + }, + { + "$ref": "#/$defs/workers_durable_object_renamed_export" + }, + { + "$ref": "#/$defs/workers_durable_object_transferred_export" + }, + { + "$ref": "#/$defs/workers_durable_object_expecting_transfer_export" + } + ] +}; + +/** + * The schema of `workers_durable_object_renamed_export` in responses. + */ +export const workers_durable_object_renamed_export_output: JsonSchema = { + "properties": { + "renamed_to": { + "type": "string" + }, + "state": { + "enum": [ + "renamed" + ], + "type": "string" + }, + "type": { + "enum": [ + "durable-object" + ], + "type": "string" + } + }, + "required": [ + "renamed_to", + "state", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_durable_object_transferred_export` in responses. + */ +export const workers_durable_object_transferred_export_output: JsonSchema = { + "properties": { + "state": { + "enum": [ + "transferred" + ], + "type": "string" + }, + "transferred_to": { + "type": "string" + }, + "type": { + "enum": [ + "durable-object" + ], + "type": "string" + } + }, + "required": [ + "state", + "transferred_to", + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_entrypoint_cache_options` in responses. + */ +export const workers_entrypoint_cache_options_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; + +/** + * The schema of `workers_etag` in responses. + */ +export const workers_etag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers_export_config` in responses. + */ +export const workers_export_config_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/workers_worker_export" + }, + { + "$ref": "#/$defs/workers_durable_object_export_variants" + } + ] +}; + +/** + * The schema of `workers_export_storage` in responses. + */ +export const workers_export_storage_output: JsonSchema = { + "enum": [ + "sqlite", + "legacy-kv" + ], + "type": "string" +}; + +/** + * The schema of `workers_exports_config_map` in responses. + */ +export const workers_exports_config_map_output: JsonSchema = { + "additionalProperties": { + "$ref": "#/$defs/workers_export_config" + }, + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_error` in responses. + */ +export const workers_exports_reconciliation_error_output: JsonSchema = { + "properties": { + "class": { + "type": "string" + }, + "message": { + "type": "string" + }, + "namespace_id": { + "format": "uuid", + "type": "string" + }, + "referencing_scripts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scenario": { + "$ref": "#/$defs/workers_exports_reconciliation_scenario" + }, + "suggestion": { + "type": "string" + } + }, + "required": [ + "class", + "message", + "scenario" + ], + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_error_response` in responses. + */ +export const workers_exports_reconciliation_error_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_exports_reconciliation_error_response_errorsItem" + }, + "type": "array" + }, + "messages": { + "$ref": "#/$defs/workers_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_error_response_errorsItem` in + * responses. + */ +export const workers_exports_reconciliation_error_response_errorsItem_output: JsonSchema = { + "properties": { + "code": { + "enum": [ + 100402 + ], + "type": "integer" + }, + "message": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/workers_exports_reconciliation_error_response_errorsItem_meta" + } + }, + "required": [ + "code", + "message", + "meta" + ], + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_error_response_errorsItem_meta` + * in responses. + */ +export const workers_exports_reconciliation_error_response_errorsItem_meta_output: JsonSchema = { + "properties": { + "details": { + "items": { + "$ref": "#/$defs/workers_exports_reconciliation_error" + }, + "type": "array" + } + }, + "required": [ + "details" + ], + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_info` in responses. + */ +export const workers_exports_reconciliation_info_output: JsonSchema = { + "properties": { + "class": { + "type": "string" + }, + "message": { + "type": "string" + }, + "namespace_id": { + "format": "uuid", + "type": "string" + }, + "referencing_scripts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scenario": { + "$ref": "#/$defs/workers_exports_reconciliation_scenario" + } + }, + "required": [ + "class", + "message", + "scenario" + ], + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_rename` in responses. + */ +export const workers_exports_reconciliation_rename_output: JsonSchema = { + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_result` in responses. + */ +export const workers_exports_reconciliation_result_output: JsonSchema = { + "properties": { + "created": { + "items": { + "type": "string" + }, + "type": "array" + }, + "deleted": { + "items": { + "type": "string" + }, + "type": "array" + }, + "info": { + "items": { + "$ref": "#/$defs/workers_exports_reconciliation_info" + }, + "type": "array" + }, + "removable_entries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "renamed": { + "items": { + "$ref": "#/$defs/workers_exports_reconciliation_rename" + }, + "type": "array" + }, + "transfer_pending": { + "items": { + "$ref": "#/$defs/workers_exports_reconciliation_transfer_pending" + }, + "type": "array" + }, + "transferred": { + "items": { + "$ref": "#/$defs/workers_exports_reconciliation_transfer" + }, + "type": "array" + }, + "updated": { + "items": { + "type": "string" + }, + "type": "array" + }, + "warnings": { + "items": { + "$ref": "#/$defs/workers_exports_reconciliation_warning" + }, + "type": "array" + } + }, + "required": [ + "created", + "deleted", + "info", + "removable_entries", + "renamed", + "transfer_pending", + "transferred", + "updated", + "warnings" + ], + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_scenario` in responses. + */ +export const workers_exports_reconciliation_scenario_output: JsonSchema = { + "enum": [ + "code_class_not_in_exports", + "provisioned_class_missing_from_config", + "config_export_not_in_code", + "config_references_nonexistent_class", + "orphaned_provisioned_namespace", + "storage_type_mismatch", + "free_tier_requires_sqlite", + "invalid_export", + "tombstone_delete_class_still_in_code", + "tombstone_delete_blocked_by_external_bindings", + "tombstone_renamed_to_occupied", + "transferred_pending_not_found", + "transferred_target_missing", + "transferred_target_mismatch", + "phase_one_transfer_source_missing", + "phase_one_transfer_source_namespace_missing", + "phase_one_transfer_target_class_provisioned", + "phase_one_transfer_after_commit_mismatch", + "phase_one_transfer_duplicate", + "phase_one_transfer_target_in_dispatch_namespace", + "phase_one_transfer_source_in_dispatch_namespace", + "transferred_source_in_dispatch_namespace", + "transferred_target_in_dispatch_namespace", + "container_undeclared_reference", + "container_class_not_durable_object", + "container_wiring_inconsistent", + "container_multiple_durable_objects", + "transfer_container_parity_mismatch", + "transfer_container_parity_mismatch_on_commit", + "tombstone_class_still_in_code", + "stale_tombstone", + "transfer_receive_already_applied", + "transfer_receive_cleanup_complete" + ], + "type": "string" +}; + +/** + * The schema of `workers_exports_reconciliation_transfer` in responses. + */ +export const workers_exports_reconciliation_transfer_output: JsonSchema = { + "properties": { + "class": { + "type": "string" + }, + "phase": { + "enum": [ + "committed" + ], + "type": "string" + }, + "to": { + "type": "string" + } + }, + "required": [ + "class", + "phase", + "to" + ], + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_transfer_pending` in responses. + */ +export const workers_exports_reconciliation_transfer_pending_output: JsonSchema = { + "properties": { + "class": { + "type": "string" + }, + "from": { + "type": "string" + } + }, + "required": [ + "class", + "from" + ], + "type": "object" +}; + +/** + * The schema of `workers_exports_reconciliation_warning` in responses. + */ +export const workers_exports_reconciliation_warning_output: JsonSchema = { + "properties": { + "class": { + "type": "string" + }, + "message": { + "type": "string" + }, + "namespace_id": { + "format": "uuid", + "type": "string" + }, + "scenario": { + "$ref": "#/$defs/workers_exports_reconciliation_scenario" + } + }, + "required": [ + "class", + "message", + "scenario" + ], + "type": "object" +}; + +/** + * The schema of `workers_has_assets` in responses. + */ +export const workers_has_assets_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `workers_has_modules` in responses. + */ +export const workers_has_modules_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `workers_identifier` in responses. + */ +export const workers_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers_limits` in responses. + */ +export const workers_limits_output: JsonSchema = { + "properties": { + "cpu_ms": { + "type": "integer" + }, + "subrequests": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_logpush` in responses. + */ +export const workers_logpush_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `workers_messages` in responses. + */ +export const workers_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `workers_migration_step` in responses. + */ +export const workers_migration_step_output: JsonSchema = { + "properties": { + "deleted_classes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "new_classes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "new_sqlite_classes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "renamed_classes": { + "items": { + "$ref": "#/$defs/workers_migration_step_renamed_classesItem" + }, + "type": "array" + }, + "transferred_classes": { + "items": { + "$ref": "#/$defs/workers_migration_step_transferred_classesItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_migration_step_renamed_classesItem` in responses. + */ +export const workers_migration_step_renamed_classesItem_output: JsonSchema = { + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_migration_step_transferred_classesItem` in responses. + */ +export const workers_migration_step_transferred_classesItem_output: JsonSchema = { + "properties": { + "from": { + "type": "string" + }, + "from_script": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_migration_tag_conditions` in responses. + */ +export const workers_migration_tag_conditions_output: JsonSchema = { + "properties": { + "new_tag": { + "type": "string" + }, + "old_tag": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_modified_on` in responses. + */ +export const workers_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `workers_multiple_step_migrations` in responses. + */ +export const workers_multiple_step_migrations_output: JsonSchema = { + "properties": { + "new_tag": { + "type": "string" + }, + "old_tag": { + "type": "string" + }, + "steps": { + "items": { + "$ref": "#/$defs/workers_migration_step" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_namespace_identifier` in responses. + */ +export const workers_namespace_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers_observability-2` in responses. + */ +export const workers_observability_2_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "issues": { + "$ref": "#/$defs/workers_observability-2_issues" + }, + "logs": { + "$ref": "#/$defs/workers_observability-2_logs" + }, + "redact_query_string": { + "type": "boolean" + }, + "traces": { + "$ref": "#/$defs/workers_observability-2_traces" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; + +/** + * The schema of `workers_observability-2_issues` in responses. + */ +export const workers_observability_2_issues_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `workers_observability-2_logs` in responses. + */ +export const workers_observability_2_logs_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "invocation_logs": { + "type": "boolean" + }, + "persist": { + "type": "boolean" + } + }, + "required": [ + "enabled", + "invocation_logs" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `workers_observability-2_traces` in responses. + */ +export const workers_observability_2_traces_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "persist": { + "type": "boolean" + }, + "propagation_policy": { + "oneOf": [ + { + "enum": [ + "authenticated", + "accept" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `workers_placement_info` in responses. + */ +export const workers_placement_info_output: JsonSchema = { + "allOf": [ + { + "oneOf": [ + { + "properties": { + "mode": { + "enum": [ + "smart" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + { + "properties": { + "region": { + "type": "string" + } + }, + "required": [ + "region" + ], + "type": "object" + }, + { + "properties": { + "hostname": { + "type": "string" + } + }, + "required": [ + "hostname" + ], + "type": "object" + }, + { + "properties": { + "host": { + "type": "string" + } + }, + "required": [ + "host" + ], + "type": "object" + }, + { + "properties": { + "mode": { + "enum": [ + "targeted" + ], + "type": "string" + }, + "region": { + "type": "string" + } + }, + "required": [ + "mode", + "region" + ], + "type": "object" + }, + { + "properties": { + "hostname": { + "type": "string" + }, + "mode": { + "enum": [ + "targeted" + ], + "type": "string" + } + }, + "required": [ + "hostname", + "mode" + ], + "type": "object" + }, + { + "properties": { + "host": { + "type": "string" + }, + "mode": { + "enum": [ + "targeted" + ], + "type": "string" + } + }, + "required": [ + "host", + "mode" + ], + "type": "object" + }, + { + "properties": { + "mode": { + "enum": [ + "targeted" + ], + "type": "string" + }, + "target": { + "items": { + "$ref": "#/$defs/workers_placement_target" + }, + "maxItems": 1, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "mode", + "target" + ], + "type": "object" + } + ] + }, + { + "properties": { + "last_analyzed_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "$ref": "#/$defs/workers_placement_status" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `workers_placement_info_no_status` in responses. + */ +export const workers_placement_info_no_status_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "mode": { + "enum": [ + "smart" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + { + "properties": { + "region": { + "type": "string" + } + }, + "required": [ + "region" + ], + "type": "object" + }, + { + "properties": { + "hostname": { + "type": "string" + } + }, + "required": [ + "hostname" + ], + "type": "object" + }, + { + "properties": { + "host": { + "type": "string" + } + }, + "required": [ + "host" + ], + "type": "object" + }, + { + "properties": { + "mode": { + "enum": [ + "targeted" + ], + "type": "string" + }, + "region": { + "type": "string" + } + }, + "required": [ + "mode", + "region" + ], + "type": "object" + }, + { + "properties": { + "hostname": { + "type": "string" + }, + "mode": { + "enum": [ + "targeted" + ], + "type": "string" + } + }, + "required": [ + "hostname", + "mode" + ], + "type": "object" + }, + { + "properties": { + "host": { + "type": "string" + }, + "mode": { + "enum": [ + "targeted" + ], + "type": "string" + } + }, + "required": [ + "host", + "mode" + ], + "type": "object" + }, + { + "properties": { + "mode": { + "enum": [ + "targeted" + ], + "type": "string" + }, + "target": { + "items": { + "$ref": "#/$defs/workers_placement_target" + }, + "maxItems": 1, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "mode", + "target" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `workers_placement_mode` in responses. + */ +export const workers_placement_mode_output: JsonSchema = { + "enum": [ + "smart", + "targeted" + ], + "type": "string" +}; + +/** + * The schema of `workers_placement_status` in responses. + */ +export const workers_placement_status_output: JsonSchema = { + "enum": [ + "SUCCESS", + "UNSUPPORTED_APPLICATION", + "INSUFFICIENT_INVOCATIONS" + ], + "type": "string" +}; + +/** + * The schema of `workers_placement_target` in responses. + */ +export const workers_placement_target_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "region": { + "type": "string" + } + }, + "required": [ + "region" + ], + "type": "object" + }, + { + "properties": { + "hostname": { + "type": "string" + } + }, + "required": [ + "hostname" + ], + "type": "object" + }, + { + "properties": { + "host": { + "type": "string" + } + }, + "required": [ + "host" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `workers_script-response` in responses. + */ +export const workers_script_response_output: JsonSchema = { + "properties": { + "cache_options": { + "$ref": "#/$defs/workers_cache_options" + }, + "compatibility_date": { + "$ref": "#/$defs/workers_compatibility_date" + }, + "compatibility_flags": { + "$ref": "#/$defs/workers_compatibility_flags" + }, + "created_on": { + "$ref": "#/$defs/workers_created_on" + }, + "etag": { + "$ref": "#/$defs/workers_etag" + }, + "exports": { + "$ref": "#/$defs/workers_exports_config_map" + }, + "handlers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "has_assets": { + "$ref": "#/$defs/workers_has_assets" + }, + "has_modules": { + "$ref": "#/$defs/workers_has_modules" + }, + "id": { + "type": "string" + }, + "last_deployed_from": { + "type": "string" + }, + "logpush": { + "$ref": "#/$defs/workers_logpush" + }, + "migration_tag": { + "type": "string" + }, + "modified_on": { + "$ref": "#/$defs/workers_modified_on" + }, + "named_handlers": { + "items": { + "$ref": "#/$defs/workers_script-response_named_handlersItem" + }, + "type": "array" + }, + "observability": { + "$ref": "#/$defs/workers_observability-2" + }, + "placement": { + "$ref": "#/$defs/workers_placement_info" + }, + "placement_mode": { + "allOf": [ + { + "$ref": "#/$defs/workers_placement_mode" + }, + { + "type": "string" + } + ] + }, + "placement_status": { + "allOf": [ + { + "$ref": "#/$defs/workers_placement_status" + }, + { + "type": "string" + } + ] + }, + "tag": { + "type": "string" + }, + "tags": { + "$ref": "#/$defs/workers_tags" + }, + "tail_consumers": { + "$ref": "#/$defs/workers_tail_consumers" + }, + "usage_model": { + "$ref": "#/$defs/workers_usage_model" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_script-response_named_handlersItem` in responses. + */ +export const workers_script_response_named_handlersItem_output: JsonSchema = { + "properties": { + "handlers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_secret` in responses. + */ +export const workers_secret_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/workers_binding_kind_secret_text" + }, + { + "$ref": "#/$defs/workers_binding_kind_secret_key" + } + ] +}; + +/** + * The schema of `workers_secret-patch-response` in responses. + */ +export const workers_secret_patch_response_output: JsonSchema = { + "additionalProperties": { + "$ref": "#/$defs/workers_secret" + }, + "type": "object" +}; + +/** + * The schema of `workers_single_step_migrations` in responses. + */ +export const workers_single_step_migrations_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/workers_migration_tag_conditions" + }, + { + "$ref": "#/$defs/workers_migration_step" + } + ] +}; + +/** + * The schema of `workers_tag` in responses. + */ +export const workers_tag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers_tags` in responses. + */ +export const workers_tags_output: JsonSchema = { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/workers_tag" + }, + "maxItems": 10, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `workers_tail_consumers` in responses. + */ +export const workers_tail_consumers_output: JsonSchema = { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/workers_tail_consumers_script" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `workers_tail_consumers_script` in responses. + */ +export const workers_tail_consumers_script_output: JsonSchema = { + "properties": { + "environment": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "service": { + "type": "string" + } + }, + "required": [ + "service" + ], + "type": "object" +}; + +/** + * The schema of `workers_usage_model` in responses. + */ +export const workers_usage_model_output: JsonSchema = { + "enum": [ + "standard", + "bundled", + "unbound" + ], + "type": "string" +}; + +/** + * The schema of `workers_worker_export` in responses. + */ +export const workers_worker_export_output: JsonSchema = { + "properties": { + "cache": { + "$ref": "#/$defs/workers_entrypoint_cache_options" + }, + "state": { + "enum": [ + "created" + ], + "type": "string" + }, + "type": { + "enum": [ + "worker" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `zones_api-response-common-failure-2` in responses. + */ +export const zones_api_response_common_failure_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zones_messages-2" + }, + "messages": { + "$ref": "#/$defs/zones_messages-2" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zones_messages-2` in responses. + */ +export const zones_messages_2_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/pageRules/outputs.ts b/src/generated/forge-mcp/pageRules/outputs.ts new file mode 100644 index 00000000..928f4d74 --- /dev/null +++ b/src/generated/forge-mcp/pageRules/outputs.ts @@ -0,0 +1,1157 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `zones_actions` in responses. + */ +export const zones_actions_output: JsonSchema = { + "items": { + "oneOf": [ + { + "$ref": "#/$defs/zones_always_use_https" + }, + { + "$ref": "#/$defs/zones_automatic_https_rewrites" + }, + { + "$ref": "#/$defs/zones_browser_cache_ttl" + }, + { + "$ref": "#/$defs/zones_browser_check" + }, + { + "$ref": "#/$defs/zones_bypass_cache_on_cookie" + }, + { + "$ref": "#/$defs/zones_cache_by_device_type" + }, + { + "$ref": "#/$defs/zones_cache_deception_armor" + }, + { + "$ref": "#/$defs/zones_cache_key_fields" + }, + { + "$ref": "#/$defs/zones_cache_level" + }, + { + "$ref": "#/$defs/zones_cache_on_cookie" + }, + { + "$ref": "#/$defs/zones_cache_ttl_by_status" + }, + { + "$ref": "#/$defs/zones_disable_apps" + }, + { + "$ref": "#/$defs/zones_disable_performance" + }, + { + "$ref": "#/$defs/zones_disable_security" + }, + { + "$ref": "#/$defs/zones_disable_zaraz" + }, + { + "$ref": "#/$defs/zones_edge_cache_ttl" + }, + { + "$ref": "#/$defs/zones_email_obfuscation" + }, + { + "$ref": "#/$defs/zones_explicit_cache_control" + }, + { + "$ref": "#/$defs/zones_forwarding_url" + }, + { + "$ref": "#/$defs/zones_host_header_override" + }, + { + "$ref": "#/$defs/zones_ip_geolocation" + }, + { + "$ref": "#/$defs/zones_mirage" + }, + { + "$ref": "#/$defs/zones_opportunistic_encryption" + }, + { + "$ref": "#/$defs/zones_origin_error_page_pass_thru" + }, + { + "$ref": "#/$defs/zones_polish" + }, + { + "$ref": "#/$defs/zones_resolve_override" + }, + { + "$ref": "#/$defs/zones_respect_strong_etag" + }, + { + "$ref": "#/$defs/zones_response_buffering" + }, + { + "$ref": "#/$defs/zones_rocket_loader" + }, + { + "$ref": "#/$defs/zones_security_level" + }, + { + "$ref": "#/$defs/zones_sort_query_string_for_cache" + }, + { + "$ref": "#/$defs/zones_ssl" + }, + { + "$ref": "#/$defs/zones_true_client_ip_header" + }, + { + "$ref": "#/$defs/zones_waf" + } + ] + }, + "type": "array" +}; + +/** + * The schema of `zones_always_use_https` in responses. + */ +export const zones_always_use_https_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "always_use_https" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_automatic_https_rewrites` in responses. + */ +export const zones_automatic_https_rewrites_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "automatic_https_rewrites" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_browser_cache_ttl` in responses. + */ +export const zones_browser_cache_ttl_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "browser_cache_ttl" + ], + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_browser_check` in responses. + */ +export const zones_browser_check_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "browser_check" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_bypass_cache_on_cookie` in responses. + */ +export const zones_bypass_cache_on_cookie_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "bypass_cache_on_cookie" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_by_device_type` in responses. + */ +export const zones_cache_by_device_type_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "cache_by_device_type" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_deception_armor` in responses. + */ +export const zones_cache_deception_armor_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "cache_deception_armor" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_key_fields` in responses. + */ +export const zones_cache_key_fields_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "cache_key_fields" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/zones_cache_key_fields_value" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_key_fields_value` in responses. + */ +export const zones_cache_key_fields_value_output: JsonSchema = { + "properties": { + "cookie": { + "$ref": "#/$defs/zones_cache_key_fields_value_cookie" + }, + "header": { + "$ref": "#/$defs/zones_cache_key_fields_value_header" + }, + "host": { + "$ref": "#/$defs/zones_cache_key_fields_value_host" + }, + "query_string": { + "$ref": "#/$defs/zones_cache_key_fields_value_query_string" + }, + "user": { + "$ref": "#/$defs/zones_cache_key_fields_value_user" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_key_fields_value_cookie` in responses. + */ +export const zones_cache_key_fields_value_cookie_output: JsonSchema = { + "properties": { + "check_presence": { + "items": { + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + }, + "include": { + "items": { + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_key_fields_value_header` in responses. + */ +export const zones_cache_key_fields_value_header_output: JsonSchema = { + "properties": { + "check_presence": { + "items": { + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + }, + "exclude": { + "items": { + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + }, + "include": { + "items": { + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_key_fields_value_host` in responses. + */ +export const zones_cache_key_fields_value_host_output: JsonSchema = { + "properties": { + "resolved": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_key_fields_value_query_string` in responses. + */ +export const zones_cache_key_fields_value_query_string_output: JsonSchema = { + "properties": { + "exclude": { + "$ref": "#/$defs/zones_cache_key_fields_value_query_string_exclude" + }, + "include": { + "$ref": "#/$defs/zones_cache_key_fields_value_query_string_include" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_key_fields_value_query_string_exclude` in + * responses. + */ +export const zones_cache_key_fields_value_query_string_exclude_output: JsonSchema = { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + }, + { + "enum": [ + "*" + ], + "type": "string" + } + ] +}; + +/** + * The schema of `zones_cache_key_fields_value_query_string_include` in + * responses. + */ +export const zones_cache_key_fields_value_query_string_include_output: JsonSchema = { + "oneOf": [ + { + "items": { + "type": "string" + }, + "maxItems": 50, + "minItems": 1, + "type": "array" + }, + { + "enum": [ + "*" + ], + "type": "string" + } + ] +}; + +/** + * The schema of `zones_cache_key_fields_value_user` in responses. + */ +export const zones_cache_key_fields_value_user_output: JsonSchema = { + "properties": { + "device_type": { + "type": "boolean" + }, + "geo": { + "type": "boolean" + }, + "lang": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_level` in responses. + */ +export const zones_cache_level_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "cache_level" + ], + "type": "string" + }, + "value": { + "enum": [ + "bypass", + "basic", + "simplified", + "aggressive", + "cache_everything" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_on_cookie` in responses. + */ +export const zones_cache_on_cookie_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "cache_on_cookie" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache_ttl_by_status` in responses. + */ +export const zones_cache_ttl_by_status_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "cache_ttl_by_status" + ], + "type": "string" + }, + "value": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "enum": [ + "no-cache", + "no-store" + ], + "type": "string" + } + ] + }, + "type": "object" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_created_on` in responses. + */ +export const zones_created_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `zones_disable_apps` in responses. + */ +export const zones_disable_apps_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "disable_apps" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_disable_performance` in responses. + */ +export const zones_disable_performance_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "disable_performance" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_disable_security` in responses. + */ +export const zones_disable_security_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "disable_security" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_disable_zaraz` in responses. + */ +export const zones_disable_zaraz_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "disable_zaraz" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_edge_cache_ttl` in responses. + */ +export const zones_edge_cache_ttl_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "edge_cache_ttl" + ], + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_email_obfuscation` in responses. + */ +export const zones_email_obfuscation_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "email_obfuscation" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_explicit_cache_control` in responses. + */ +export const zones_explicit_cache_control_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "explicit_cache_control" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_forwarding_url` in responses. + */ +export const zones_forwarding_url_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "forwarding_url" + ], + "type": "string" + }, + "value": { + "properties": { + "status_code": { + "enum": [ + 301, + 302 + ], + "type": "integer" + }, + "url": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_host_header_override` in responses. + */ +export const zones_host_header_override_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "host_header_override" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_identifier-2` in responses. + */ +export const zones_identifier_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zones_ip_geolocation` in responses. + */ +export const zones_ip_geolocation_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "ip_geolocation" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_mirage` in responses. + */ +export const zones_mirage_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "mirage" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_modified_on` in responses. + */ +export const zones_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `zones_opportunistic_encryption` in responses. + */ +export const zones_opportunistic_encryption_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "opportunistic_encryption" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_origin_error_page_pass_thru` in responses. + */ +export const zones_origin_error_page_pass_thru_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "origin_error_page_pass_thru" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_page_rule` in responses. + */ +export const zones_page_rule_output: JsonSchema = { + "properties": { + "actions": { + "$ref": "#/$defs/zones_actions" + }, + "created_on": { + "$ref": "#/$defs/zones_created_on" + }, + "id": { + "$ref": "#/$defs/zones_identifier-2" + }, + "modified_on": { + "$ref": "#/$defs/zones_modified_on" + }, + "priority": { + "$ref": "#/$defs/zones_priority" + }, + "status": { + "$ref": "#/$defs/zones_status" + }, + "targets": { + "$ref": "#/$defs/zones_targets" + } + }, + "required": [ + "actions", + "created_on", + "id", + "modified_on", + "priority", + "status", + "targets" + ], + "type": "object" +}; + +/** + * The schema of `zones_polish` in responses. + */ +export const zones_polish_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "polish" + ], + "type": "string" + }, + "value": { + "enum": [ + "off", + "lossless", + "lossy" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_priority` in responses. + */ +export const zones_priority_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `zones_resolve_override` in responses. + */ +export const zones_resolve_override_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "resolve_override" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_respect_strong_etag` in responses. + */ +export const zones_respect_strong_etag_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "respect_strong_etag" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_response_buffering` in responses. + */ +export const zones_response_buffering_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "response_buffering" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_rocket_loader` in responses. + */ +export const zones_rocket_loader_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "rocket_loader" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_security_level` in responses. + */ +export const zones_security_level_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "security_level" + ], + "type": "string" + }, + "value": { + "enum": [ + "off", + "essentially_off", + "low", + "medium", + "high", + "under_attack" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_sort_query_string_for_cache` in responses. + */ +export const zones_sort_query_string_for_cache_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "sort_query_string_for_cache" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_ssl` in responses. + */ +export const zones_ssl_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "ssl" + ], + "type": "string" + }, + "value": { + "enum": [ + "off", + "flexible", + "full", + "strict", + "origin_pull" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_status` in responses. + */ +export const zones_status_output: JsonSchema = { + "enum": [ + "active", + "disabled" + ], + "type": "string" +}; + +/** + * The schema of `zones_string_constraint` in responses. + */ +export const zones_string_constraint_output: JsonSchema = { + "properties": { + "operator": { + "enum": [ + "matches", + "contains", + "equals", + "not_equal", + "not_contain" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "operator", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_target` in responses. + */ +export const zones_target_output: JsonSchema = { + "$ref": "#/$defs/zones_url_target" +}; + +/** + * The schema of `zones_targets` in responses. + */ +export const zones_targets_output: JsonSchema = { + "items": { + "$ref": "#/$defs/zones_target" + }, + "type": "array" +}; + +/** + * The schema of `zones_true_client_ip_header` in responses. + */ +export const zones_true_client_ip_header_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "true_client_ip_header" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_url_target` in responses. + */ +export const zones_url_target_output: JsonSchema = { + "properties": { + "constraint": { + "allOf": [ + { + "$ref": "#/$defs/zones_string_constraint" + }, + { + "properties": { + "value": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "target": { + "enum": [ + "url" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_waf` in responses. + */ +export const zones_waf_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "waf" + ], + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/pageRules/tools.ts b/src/generated/forge-mcp/pageRules/tools.ts index 0358f18c..cc3de6aa 100644 --- a/src/generated/forge-mcp/pageRules/tools.ts +++ b/src/generated/forge-mcp/pageRules/tools.ts @@ -2,6 +2,65 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + zones_api_response_common_failure_2_output, + zones_messages_2_output, +} from "../outputs.js"; +import { + zones_actions_output, + zones_always_use_https_output, + zones_automatic_https_rewrites_output, + zones_browser_cache_ttl_output, + zones_browser_check_output, + zones_bypass_cache_on_cookie_output, + zones_cache_by_device_type_output, + zones_cache_deception_armor_output, + zones_cache_key_fields_output, + zones_cache_key_fields_value_cookie_output, + zones_cache_key_fields_value_header_output, + zones_cache_key_fields_value_host_output, + zones_cache_key_fields_value_output, + zones_cache_key_fields_value_query_string_exclude_output, + zones_cache_key_fields_value_query_string_include_output, + zones_cache_key_fields_value_query_string_output, + zones_cache_key_fields_value_user_output, + zones_cache_level_output, + zones_cache_on_cookie_output, + zones_cache_ttl_by_status_output, + zones_created_on_output, + zones_disable_apps_output, + zones_disable_performance_output, + zones_disable_security_output, + zones_disable_zaraz_output, + zones_edge_cache_ttl_output, + zones_email_obfuscation_output, + zones_explicit_cache_control_output, + zones_forwarding_url_output, + zones_host_header_override_output, + zones_identifier_2_output, + zones_ip_geolocation_output, + zones_mirage_output, + zones_modified_on_output, + zones_opportunistic_encryption_output, + zones_origin_error_page_pass_thru_output, + zones_page_rule_output, + zones_polish_output, + zones_priority_output, + zones_resolve_override_output, + zones_respect_strong_etag_output, + zones_response_buffering_output, + zones_rocket_loader_output, + zones_security_level_output, + zones_sort_query_string_for_cache_output, + zones_ssl_output, + zones_status_output, + zones_string_constraint_output, + zones_target_output, + zones_targets_output, + zones_true_client_ip_header_output, + zones_url_target_output, + zones_waf_output, +} from "./outputs.js"; import { zones_actions, zones_always_use_https, @@ -168,6 +227,73 @@ export const tools: readonly Tool[] = [ "Page Rules Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zones_page_rule" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_actions": zones_actions_output, + "zones_always_use_https": zones_always_use_https_output, + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, + "zones_browser_cache_ttl": zones_browser_cache_ttl_output, + "zones_browser_check": zones_browser_check_output, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, + "zones_cache_by_device_type": zones_cache_by_device_type_output, + "zones_cache_deception_armor": zones_cache_deception_armor_output, + "zones_cache_key_fields": zones_cache_key_fields_output, + "zones_cache_key_fields_value": zones_cache_key_fields_value_output, + "zones_cache_key_fields_value_cookie": zones_cache_key_fields_value_cookie_output, + "zones_cache_key_fields_value_header": zones_cache_key_fields_value_header_output, + "zones_cache_key_fields_value_host": zones_cache_key_fields_value_host_output, + "zones_cache_key_fields_value_query_string": zones_cache_key_fields_value_query_string_output, + "zones_cache_key_fields_value_query_string_exclude": zones_cache_key_fields_value_query_string_exclude_output, + "zones_cache_key_fields_value_query_string_include": zones_cache_key_fields_value_query_string_include_output, + "zones_cache_key_fields_value_user": zones_cache_key_fields_value_user_output, + "zones_cache_level": zones_cache_level_output, + "zones_cache_on_cookie": zones_cache_on_cookie_output, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, + "zones_created_on": zones_created_on_output, + "zones_disable_apps": zones_disable_apps_output, + "zones_disable_performance": zones_disable_performance_output, + "zones_disable_security": zones_disable_security_output, + "zones_disable_zaraz": zones_disable_zaraz_output, + "zones_edge_cache_ttl": zones_edge_cache_ttl_output, + "zones_email_obfuscation": zones_email_obfuscation_output, + "zones_explicit_cache_control": zones_explicit_cache_control_output, + "zones_forwarding_url": zones_forwarding_url_output, + "zones_host_header_override": zones_host_header_override_output, + "zones_identifier-2": zones_identifier_2_output, + "zones_ip_geolocation": zones_ip_geolocation_output, + "zones_messages-2": zones_messages_2_output, + "zones_mirage": zones_mirage_output, + "zones_modified_on": zones_modified_on_output, + "zones_opportunistic_encryption": zones_opportunistic_encryption_output, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, + "zones_page_rule": zones_page_rule_output, + "zones_polish": zones_polish_output, + "zones_priority": zones_priority_output, + "zones_resolve_override": zones_resolve_override_output, + "zones_respect_strong_etag": zones_respect_strong_etag_output, + "zones_response_buffering": zones_response_buffering_output, + "zones_rocket_loader": zones_rocket_loader_output, + "zones_security_level": zones_security_level_output, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, + "zones_ssl": zones_ssl_output, + "zones_status": zones_status_output, + "zones_string_constraint": zones_string_constraint_output, + "zones_target": zones_target_output, + "zones_targets": zones_targets_output, + "zones_true_client_ip_header": zones_true_client_ip_header_output, + "zones_url_target": zones_url_target_output, + "zones_waf": zones_waf_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pagerules`, body: { value: args["body"], mediaType: "application/json" }, @@ -209,6 +335,36 @@ export const tools: readonly Tool[] = [ "Page Rules Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/zones_identifier-2" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_identifier-2": zones_identifier_2_output, + "zones_messages-2": zones_messages_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pagerules/${pathParam(args, "pagerule_id")}`, }), @@ -324,6 +480,73 @@ export const tools: readonly Tool[] = [ "Page Rules Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zones_page_rule" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_actions": zones_actions_output, + "zones_always_use_https": zones_always_use_https_output, + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, + "zones_browser_cache_ttl": zones_browser_cache_ttl_output, + "zones_browser_check": zones_browser_check_output, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, + "zones_cache_by_device_type": zones_cache_by_device_type_output, + "zones_cache_deception_armor": zones_cache_deception_armor_output, + "zones_cache_key_fields": zones_cache_key_fields_output, + "zones_cache_key_fields_value": zones_cache_key_fields_value_output, + "zones_cache_key_fields_value_cookie": zones_cache_key_fields_value_cookie_output, + "zones_cache_key_fields_value_header": zones_cache_key_fields_value_header_output, + "zones_cache_key_fields_value_host": zones_cache_key_fields_value_host_output, + "zones_cache_key_fields_value_query_string": zones_cache_key_fields_value_query_string_output, + "zones_cache_key_fields_value_query_string_exclude": zones_cache_key_fields_value_query_string_exclude_output, + "zones_cache_key_fields_value_query_string_include": zones_cache_key_fields_value_query_string_include_output, + "zones_cache_key_fields_value_user": zones_cache_key_fields_value_user_output, + "zones_cache_level": zones_cache_level_output, + "zones_cache_on_cookie": zones_cache_on_cookie_output, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, + "zones_created_on": zones_created_on_output, + "zones_disable_apps": zones_disable_apps_output, + "zones_disable_performance": zones_disable_performance_output, + "zones_disable_security": zones_disable_security_output, + "zones_disable_zaraz": zones_disable_zaraz_output, + "zones_edge_cache_ttl": zones_edge_cache_ttl_output, + "zones_email_obfuscation": zones_email_obfuscation_output, + "zones_explicit_cache_control": zones_explicit_cache_control_output, + "zones_forwarding_url": zones_forwarding_url_output, + "zones_host_header_override": zones_host_header_override_output, + "zones_identifier-2": zones_identifier_2_output, + "zones_ip_geolocation": zones_ip_geolocation_output, + "zones_messages-2": zones_messages_2_output, + "zones_mirage": zones_mirage_output, + "zones_modified_on": zones_modified_on_output, + "zones_opportunistic_encryption": zones_opportunistic_encryption_output, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, + "zones_page_rule": zones_page_rule_output, + "zones_polish": zones_polish_output, + "zones_priority": zones_priority_output, + "zones_resolve_override": zones_resolve_override_output, + "zones_respect_strong_etag": zones_respect_strong_etag_output, + "zones_response_buffering": zones_response_buffering_output, + "zones_rocket_loader": zones_rocket_loader_output, + "zones_security_level": zones_security_level_output, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, + "zones_ssl": zones_ssl_output, + "zones_status": zones_status_output, + "zones_string_constraint": zones_string_constraint_output, + "zones_target": zones_target_output, + "zones_targets": zones_targets_output, + "zones_true_client_ip_header": zones_true_client_ip_header_output, + "zones_url_target": zones_url_target_output, + "zones_waf": zones_waf_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pagerules/${pathParam(args, "pagerule_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -402,6 +625,73 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zones_page_rule" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_actions": zones_actions_output, + "zones_always_use_https": zones_always_use_https_output, + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, + "zones_browser_cache_ttl": zones_browser_cache_ttl_output, + "zones_browser_check": zones_browser_check_output, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, + "zones_cache_by_device_type": zones_cache_by_device_type_output, + "zones_cache_deception_armor": zones_cache_deception_armor_output, + "zones_cache_key_fields": zones_cache_key_fields_output, + "zones_cache_key_fields_value": zones_cache_key_fields_value_output, + "zones_cache_key_fields_value_cookie": zones_cache_key_fields_value_cookie_output, + "zones_cache_key_fields_value_header": zones_cache_key_fields_value_header_output, + "zones_cache_key_fields_value_host": zones_cache_key_fields_value_host_output, + "zones_cache_key_fields_value_query_string": zones_cache_key_fields_value_query_string_output, + "zones_cache_key_fields_value_query_string_exclude": zones_cache_key_fields_value_query_string_exclude_output, + "zones_cache_key_fields_value_query_string_include": zones_cache_key_fields_value_query_string_include_output, + "zones_cache_key_fields_value_user": zones_cache_key_fields_value_user_output, + "zones_cache_level": zones_cache_level_output, + "zones_cache_on_cookie": zones_cache_on_cookie_output, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, + "zones_created_on": zones_created_on_output, + "zones_disable_apps": zones_disable_apps_output, + "zones_disable_performance": zones_disable_performance_output, + "zones_disable_security": zones_disable_security_output, + "zones_disable_zaraz": zones_disable_zaraz_output, + "zones_edge_cache_ttl": zones_edge_cache_ttl_output, + "zones_email_obfuscation": zones_email_obfuscation_output, + "zones_explicit_cache_control": zones_explicit_cache_control_output, + "zones_forwarding_url": zones_forwarding_url_output, + "zones_host_header_override": zones_host_header_override_output, + "zones_identifier-2": zones_identifier_2_output, + "zones_ip_geolocation": zones_ip_geolocation_output, + "zones_messages-2": zones_messages_2_output, + "zones_mirage": zones_mirage_output, + "zones_modified_on": zones_modified_on_output, + "zones_opportunistic_encryption": zones_opportunistic_encryption_output, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, + "zones_page_rule": zones_page_rule_output, + "zones_polish": zones_polish_output, + "zones_priority": zones_priority_output, + "zones_resolve_override": zones_resolve_override_output, + "zones_respect_strong_etag": zones_respect_strong_etag_output, + "zones_response_buffering": zones_response_buffering_output, + "zones_rocket_loader": zones_rocket_loader_output, + "zones_security_level": zones_security_level_output, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, + "zones_ssl": zones_ssl_output, + "zones_status": zones_status_output, + "zones_string_constraint": zones_string_constraint_output, + "zones_target": zones_target_output, + "zones_targets": zones_targets_output, + "zones_true_client_ip_header": zones_true_client_ip_header_output, + "zones_url_target": zones_url_target_output, + "zones_waf": zones_waf_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pagerules/${pathParam(args, "pagerule_id")}`, }), @@ -475,6 +765,87 @@ export const tools: readonly Tool[] = [ "Page Rules Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zones_page_rule" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_actions": zones_actions_output, + "zones_always_use_https": zones_always_use_https_output, + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, + "zones_browser_cache_ttl": zones_browser_cache_ttl_output, + "zones_browser_check": zones_browser_check_output, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, + "zones_cache_by_device_type": zones_cache_by_device_type_output, + "zones_cache_deception_armor": zones_cache_deception_armor_output, + "zones_cache_key_fields": zones_cache_key_fields_output, + "zones_cache_key_fields_value": zones_cache_key_fields_value_output, + "zones_cache_key_fields_value_cookie": zones_cache_key_fields_value_cookie_output, + "zones_cache_key_fields_value_header": zones_cache_key_fields_value_header_output, + "zones_cache_key_fields_value_host": zones_cache_key_fields_value_host_output, + "zones_cache_key_fields_value_query_string": zones_cache_key_fields_value_query_string_output, + "zones_cache_key_fields_value_query_string_exclude": zones_cache_key_fields_value_query_string_exclude_output, + "zones_cache_key_fields_value_query_string_include": zones_cache_key_fields_value_query_string_include_output, + "zones_cache_key_fields_value_user": zones_cache_key_fields_value_user_output, + "zones_cache_level": zones_cache_level_output, + "zones_cache_on_cookie": zones_cache_on_cookie_output, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, + "zones_created_on": zones_created_on_output, + "zones_disable_apps": zones_disable_apps_output, + "zones_disable_performance": zones_disable_performance_output, + "zones_disable_security": zones_disable_security_output, + "zones_disable_zaraz": zones_disable_zaraz_output, + "zones_edge_cache_ttl": zones_edge_cache_ttl_output, + "zones_email_obfuscation": zones_email_obfuscation_output, + "zones_explicit_cache_control": zones_explicit_cache_control_output, + "zones_forwarding_url": zones_forwarding_url_output, + "zones_host_header_override": zones_host_header_override_output, + "zones_identifier-2": zones_identifier_2_output, + "zones_ip_geolocation": zones_ip_geolocation_output, + "zones_messages-2": zones_messages_2_output, + "zones_mirage": zones_mirage_output, + "zones_modified_on": zones_modified_on_output, + "zones_opportunistic_encryption": zones_opportunistic_encryption_output, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, + "zones_page_rule": zones_page_rule_output, + "zones_polish": zones_polish_output, + "zones_priority": zones_priority_output, + "zones_resolve_override": zones_resolve_override_output, + "zones_respect_strong_etag": zones_respect_strong_etag_output, + "zones_response_buffering": zones_response_buffering_output, + "zones_rocket_loader": zones_rocket_loader_output, + "zones_security_level": zones_security_level_output, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, + "zones_ssl": zones_ssl_output, + "zones_status": zones_status_output, + "zones_string_constraint": zones_string_constraint_output, + "zones_target": zones_target_output, + "zones_targets": zones_targets_output, + "zones_true_client_ip_header": zones_true_client_ip_header_output, + "zones_url_target": zones_url_target_output, + "zones_waf": zones_waf_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pagerules`, query: [ @@ -600,6 +971,73 @@ export const tools: readonly Tool[] = [ "Page Rules Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zones_page_rule" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_actions": zones_actions_output, + "zones_always_use_https": zones_always_use_https_output, + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, + "zones_browser_cache_ttl": zones_browser_cache_ttl_output, + "zones_browser_check": zones_browser_check_output, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, + "zones_cache_by_device_type": zones_cache_by_device_type_output, + "zones_cache_deception_armor": zones_cache_deception_armor_output, + "zones_cache_key_fields": zones_cache_key_fields_output, + "zones_cache_key_fields_value": zones_cache_key_fields_value_output, + "zones_cache_key_fields_value_cookie": zones_cache_key_fields_value_cookie_output, + "zones_cache_key_fields_value_header": zones_cache_key_fields_value_header_output, + "zones_cache_key_fields_value_host": zones_cache_key_fields_value_host_output, + "zones_cache_key_fields_value_query_string": zones_cache_key_fields_value_query_string_output, + "zones_cache_key_fields_value_query_string_exclude": zones_cache_key_fields_value_query_string_exclude_output, + "zones_cache_key_fields_value_query_string_include": zones_cache_key_fields_value_query_string_include_output, + "zones_cache_key_fields_value_user": zones_cache_key_fields_value_user_output, + "zones_cache_level": zones_cache_level_output, + "zones_cache_on_cookie": zones_cache_on_cookie_output, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, + "zones_created_on": zones_created_on_output, + "zones_disable_apps": zones_disable_apps_output, + "zones_disable_performance": zones_disable_performance_output, + "zones_disable_security": zones_disable_security_output, + "zones_disable_zaraz": zones_disable_zaraz_output, + "zones_edge_cache_ttl": zones_edge_cache_ttl_output, + "zones_email_obfuscation": zones_email_obfuscation_output, + "zones_explicit_cache_control": zones_explicit_cache_control_output, + "zones_forwarding_url": zones_forwarding_url_output, + "zones_host_header_override": zones_host_header_override_output, + "zones_identifier-2": zones_identifier_2_output, + "zones_ip_geolocation": zones_ip_geolocation_output, + "zones_messages-2": zones_messages_2_output, + "zones_mirage": zones_mirage_output, + "zones_modified_on": zones_modified_on_output, + "zones_opportunistic_encryption": zones_opportunistic_encryption_output, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, + "zones_page_rule": zones_page_rule_output, + "zones_polish": zones_polish_output, + "zones_priority": zones_priority_output, + "zones_resolve_override": zones_resolve_override_output, + "zones_respect_strong_etag": zones_respect_strong_etag_output, + "zones_response_buffering": zones_response_buffering_output, + "zones_rocket_loader": zones_rocket_loader_output, + "zones_security_level": zones_security_level_output, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, + "zones_ssl": zones_ssl_output, + "zones_status": zones_status_output, + "zones_string_constraint": zones_string_constraint_output, + "zones_target": zones_target_output, + "zones_targets": zones_targets_output, + "zones_true_client_ip_header": zones_true_client_ip_header_output, + "zones_url_target": zones_url_target_output, + "zones_waf": zones_waf_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pagerules/${pathParam(args, "pagerule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/pages/buildCache/tools.ts b/src/generated/forge-mcp/pages/buildCache/tools.ts index be0f0cf0..750f292a 100644 --- a/src/generated/forge-mcp/pages/buildCache/tools.ts +++ b/src/generated/forge-mcp/pages/buildCache/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pages_api_response_common_failure_output, + pages_messages_output, +} from "../outputs.js"; /** * The tools of `pages.build_cache`. @@ -42,6 +46,27 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_messages": pages_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/purge_build_cache`, }), diff --git a/src/generated/forge-mcp/pages/deployments/history/logs/outputs.ts b/src/generated/forge-mcp/pages/deployments/history/logs/outputs.ts new file mode 100644 index 00000000..b0aa708e --- /dev/null +++ b/src/generated/forge-mcp/pages/deployments/history/logs/outputs.ts @@ -0,0 +1,49 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `pages_deployment_log` in responses. + */ +export const pages_deployment_log_output: JsonSchema = { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/pages_deployment_log_dataItem" + }, + "type": "array" + }, + "includes_container_logs": { + "type": "boolean" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "data", + "includes_container_logs", + "total" + ], + "type": "object" +}; + +/** + * The schema of `pages_deployment_log_dataItem` in responses. + */ +export const pages_deployment_log_dataItem_output: JsonSchema = { + "properties": { + "line": { + "type": "string" + }, + "ts": { + "type": "string" + } + }, + "required": [ + "line", + "ts" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts b/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts index 3404d8da..b8c1babd 100644 --- a/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts +++ b/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + pages_api_response_common_failure_output, + pages_messages_output, +} from "../../../outputs.js"; +import { + pages_deployment_log_dataItem_output, + pages_deployment_log_output, +} from "./outputs.js"; /** * The tools of `pages.deployments.history.logs`. @@ -48,6 +56,22 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_deployment_log" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_deployment_log": pages_deployment_log_output, + "pages_deployment_log_dataItem": pages_deployment_log_dataItem_output, + "pages_messages": pages_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/deployments/${pathParam(args, "deployment_id")}/history/logs`, }), diff --git a/src/generated/forge-mcp/pages/deployments/tools.ts b/src/generated/forge-mcp/pages/deployments/tools.ts index 5bbc4e95..6f38b5fa 100644 --- a/src/generated/forge-mcp/pages/deployments/tools.ts +++ b/src/generated/forge-mcp/pages/deployments/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pages_api_response_common_failure_output, + pages_build_config_output, + pages_deployment_deployment_trigger_metadata_output, + pages_deployment_deployment_trigger_output, + pages_deployment_output, + pages_env_vars_output, + pages_messages_output, + pages_plain_text_env_var_output, + pages_project_name_output, + pages_secret_text_env_var_output, + pages_source_config_output, + pages_source_output, + pages_source_type_output, + pages_stage_output, +} from "../outputs.js"; /** * The tools of `pages.deployments`. @@ -51,6 +67,27 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_messages": pages_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/deployments/${pathParam(args, "deployment_id")}`, query: [ @@ -99,6 +136,32 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_deployment" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/deployments/${pathParam(args, "deployment_id")}`, }), @@ -155,6 +218,63 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/pages_deployment" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/deployments`, query: [ @@ -204,6 +324,32 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_deployment" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/deployments/${pathParam(args, "deployment_id")}/retry`, }), @@ -248,6 +394,32 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_deployment" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/deployments/${pathParam(args, "deployment_id")}/rollback`, }), diff --git a/src/generated/forge-mcp/pages/domains/outputs.ts b/src/generated/forge-mcp/pages/domains/outputs.ts new file mode 100644 index 00000000..06d3d61a --- /dev/null +++ b/src/generated/forge-mcp/pages/domains/outputs.ts @@ -0,0 +1,134 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pages_domain` in responses. + */ +export const pages_domain_output: JsonSchema = { + "properties": { + "certificate_authority": { + "enum": [ + "google", + "lets_encrypt" + ], + "type": "string" + }, + "created_on": { + "type": "string" + }, + "domain_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/pages_domain_name" + }, + "status": { + "enum": [ + "initializing", + "pending", + "active", + "deactivated", + "blocked", + "error" + ], + "type": "string" + }, + "validation_data": { + "$ref": "#/$defs/pages_domain_validation_data" + }, + "verification_data": { + "$ref": "#/$defs/pages_domain_verification_data" + }, + "zone_tag": { + "type": "string" + } + }, + "required": [ + "certificate_authority", + "created_on", + "domain_id", + "id", + "name", + "status", + "validation_data", + "verification_data", + "zone_tag" + ], + "type": "object" +}; + +/** + * The schema of `pages_domain_name` in responses. + */ +export const pages_domain_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `pages_domain_validation_data` in responses. + */ +export const pages_domain_validation_data_output: JsonSchema = { + "properties": { + "error_message": { + "type": "string" + }, + "method": { + "enum": [ + "http", + "txt" + ], + "type": "string" + }, + "status": { + "enum": [ + "initializing", + "pending", + "active", + "deactivated", + "error" + ], + "type": "string" + }, + "txt_name": { + "type": "string" + }, + "txt_value": { + "type": "string" + } + }, + "required": [ + "method", + "status" + ], + "type": "object" +}; + +/** + * The schema of `pages_domain_verification_data` in responses. + */ +export const pages_domain_verification_data_output: JsonSchema = { + "properties": { + "error_message": { + "type": "string" + }, + "status": { + "enum": [ + "pending", + "active", + "deactivated", + "blocked", + "error" + ], + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/pages/domains/tools.ts b/src/generated/forge-mcp/pages/domains/tools.ts index 9959d7f8..306a6672 100644 --- a/src/generated/forge-mcp/pages/domains/tools.ts +++ b/src/generated/forge-mcp/pages/domains/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pages_api_response_common_failure_output, + pages_messages_output, +} from "../outputs.js"; +import { + pages_domain_name_output, + pages_domain_output, + pages_domain_validation_data_output, + pages_domain_verification_data_output, +} from "./outputs.js"; import { pages_domain_name } from "./schemas.js"; /** @@ -59,6 +69,24 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_domain" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_domain": pages_domain_output, + "pages_domain_name": pages_domain_name_output, + "pages_domain_validation_data": pages_domain_validation_data_output, + "pages_domain_verification_data": pages_domain_verification_data_output, + "pages_messages": pages_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/domains`, body: { value: args["body"], mediaType: "application/json" }, @@ -104,6 +132,27 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_messages": pages_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/domains/${pathParam(args, "domain_name")}`, }), @@ -149,6 +198,24 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_domain" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_domain": pages_domain_output, + "pages_domain_name": pages_domain_name_output, + "pages_domain_validation_data": pages_domain_validation_data_output, + "pages_domain_verification_data": pages_domain_verification_data_output, + "pages_messages": pages_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/domains/${pathParam(args, "domain_name")}`, }), @@ -189,6 +256,55 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/pages_domain" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_domain": pages_domain_output, + "pages_domain_name": pages_domain_name_output, + "pages_domain_validation_data": pages_domain_validation_data_output, + "pages_domain_verification_data": pages_domain_verification_data_output, + "pages_messages": pages_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/domains`, }), diff --git a/src/generated/forge-mcp/pages/domains/validation/tools.ts b/src/generated/forge-mcp/pages/domains/validation/tools.ts index 477a3251..df8f9697 100644 --- a/src/generated/forge-mcp/pages/domains/validation/tools.ts +++ b/src/generated/forge-mcp/pages/domains/validation/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + pages_api_response_common_failure_output, + pages_messages_output, +} from "../../outputs.js"; +import { + pages_domain_name_output, + pages_domain_output, + pages_domain_validation_data_output, + pages_domain_verification_data_output, +} from "../outputs.js"; /** * The tools of `pages.domains.validation`. @@ -47,6 +57,24 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_domain" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_domain": pages_domain_output, + "pages_domain_name": pages_domain_name_output, + "pages_domain_validation_data": pages_domain_validation_data_output, + "pages_domain_verification_data": pages_domain_verification_data_output, + "pages_messages": pages_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/domains/${pathParam(args, "domain_name")}`, }), diff --git a/src/generated/forge-mcp/pages/outputs.ts b/src/generated/forge-mcp/pages/outputs.ts new file mode 100644 index 00000000..942a37df --- /dev/null +++ b/src/generated/forge-mcp/pages/outputs.ts @@ -0,0 +1,978 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `pages_api-response-common-failure` in responses. + */ +export const pages_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/pages_messages" + }, + "messages": { + "$ref": "#/$defs/pages_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `pages_build_config` in responses. + */ +export const pages_build_config_output: JsonSchema = { + "properties": { + "build_caching": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "build_command": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "destination_dir": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "root_dir": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "web_analytics_tag": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "web_analytics_token": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "web_analytics_tag", + "web_analytics_token" + ], + "type": "object" +}; + +/** + * The schema of `pages_deployment` in responses. + */ +export const pages_deployment_output: JsonSchema = { + "properties": { + "aliases": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "build_config": { + "$ref": "#/$defs/pages_build_config" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "deployment_trigger": { + "$ref": "#/$defs/pages_deployment_deployment_trigger" + }, + "env_vars": { + "$ref": "#/$defs/pages_env_vars" + }, + "environment": { + "enum": [ + "preview", + "production" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "is_skipped": { + "type": "boolean" + }, + "latest_stage": { + "$ref": "#/$defs/pages_stage" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "project_id": { + "type": "string" + }, + "project_name": { + "$ref": "#/$defs/pages_project_name" + }, + "short_id": { + "type": "string" + }, + "skip_reason": { + "oneOf": [ + { + "enum": [ + "commit_message", + "preview_deployments_disabled", + "production_deployments_disabled", + "path_config", + "branch_config", + "pages_to_workers_conversion", + "superseded_queued_build" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source": { + "$ref": "#/$defs/pages_source" + }, + "stages": { + "items": { + "$ref": "#/$defs/pages_stage" + }, + "type": "array" + }, + "url": { + "type": "string" + }, + "uses_functions": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "aliases", + "build_config", + "created_on", + "deployment_trigger", + "env_vars", + "environment", + "id", + "is_skipped", + "latest_stage", + "modified_on", + "project_id", + "project_name", + "short_id", + "source", + "stages", + "url" + ], + "type": "object" +}; + +/** + * The schema of `pages_deployment_config_values` in responses. + */ +export const pages_deployment_config_values_output: JsonSchema = { + "properties": { + "ai_bindings": { + "additionalProperties": { + "properties": { + "project_id": { + "type": "string" + } + }, + "required": [ + "project_id" + ], + "type": "object" + }, + "type": "object" + }, + "always_use_latest_compatibility_date": { + "type": "boolean" + }, + "analytics_engine_datasets": { + "additionalProperties": { + "properties": { + "dataset": { + "type": "string" + } + }, + "required": [ + "dataset" + ], + "type": "object" + }, + "type": "object" + }, + "browsers": { + "additionalProperties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "build_image_major_version": { + "type": "integer" + }, + "compatibility_date": { + "type": "string" + }, + "compatibility_flags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "d1_databases": { + "additionalProperties": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "type": "object" + }, + "durable_object_namespaces": { + "additionalProperties": { + "properties": { + "namespace_id": { + "type": "string" + } + }, + "required": [ + "namespace_id" + ], + "type": "object" + }, + "type": "object" + }, + "env_vars": { + "$ref": "#/$defs/pages_env_vars" + }, + "fail_open": { + "type": "boolean" + }, + "hyperdrive_bindings": { + "additionalProperties": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "type": "object" + }, + "kv_namespaces": { + "additionalProperties": { + "properties": { + "namespace_id": { + "type": "string" + } + }, + "required": [ + "namespace_id" + ], + "type": "object" + }, + "type": "object" + }, + "limits": { + "$ref": "#/$defs/pages_deployment_config_values_limits" + }, + "mtls_certificates": { + "additionalProperties": { + "properties": { + "certificate_id": { + "type": "string" + } + }, + "required": [ + "certificate_id" + ], + "type": "object" + }, + "type": "object" + }, + "placement": { + "$ref": "#/$defs/pages_deployment_config_values_placement" + }, + "queue_producers": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "object" + }, + "r2_buckets": { + "additionalProperties": { + "properties": { + "jurisdiction": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "object" + }, + "services": { + "additionalProperties": { + "properties": { + "entrypoint": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "environment": { + "type": "string" + }, + "service": { + "type": "string" + } + }, + "required": [ + "environment", + "service" + ], + "type": "object" + }, + "type": "object" + }, + "usage_model": { + "enum": [ + "standard", + "bundled", + "unbound" + ], + "type": "string" + }, + "vectorize_bindings": { + "additionalProperties": { + "properties": { + "index_name": { + "type": "string" + } + }, + "required": [ + "index_name" + ], + "type": "object" + }, + "type": "object" + }, + "wrangler_config_hash": { + "type": "string" + } + }, + "required": [ + "always_use_latest_compatibility_date", + "build_image_major_version", + "compatibility_date", + "compatibility_flags", + "env_vars", + "fail_open", + "usage_model" + ], + "type": "object" +}; + +/** + * The schema of `pages_deployment_config_values_limits` in responses. + */ +export const pages_deployment_config_values_limits_output: JsonSchema = { + "properties": { + "cpu_ms": { + "type": "integer" + } + }, + "required": [ + "cpu_ms" + ], + "type": "object" +}; + +/** + * The schema of `pages_deployment_config_values_placement` in responses. + */ +export const pages_deployment_config_values_placement_output: JsonSchema = { + "properties": { + "mode": { + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" +}; + +/** + * The schema of `pages_deployment_deployment_trigger` in responses. + */ +export const pages_deployment_deployment_trigger_output: JsonSchema = { + "properties": { + "metadata": { + "$ref": "#/$defs/pages_deployment_deployment_trigger_metadata" + }, + "type": { + "enum": [ + "github:push", + "ad_hoc", + "deploy_hook" + ], + "type": "string" + } + }, + "required": [ + "metadata", + "type" + ], + "type": "object" +}; + +/** + * The schema of `pages_deployment_deployment_trigger_metadata` in responses. + */ +export const pages_deployment_deployment_trigger_metadata_output: JsonSchema = { + "properties": { + "branch": { + "type": "string" + }, + "commit_dirty": { + "type": "boolean" + }, + "commit_hash": { + "type": "string" + }, + "commit_message": { + "type": "string" + } + }, + "required": [ + "branch", + "commit_dirty", + "commit_hash", + "commit_message" + ], + "type": "object" +}; + +/** + * The schema of `pages_env_vars` in responses. + */ +export const pages_env_vars_output: JsonSchema = { + "oneOf": [ + { + "additionalProperties": { + "oneOf": [ + { + "oneOf": [ + { + "$ref": "#/$defs/pages_plain_text_env_var" + }, + { + "$ref": "#/$defs/pages_secret_text_env_var" + } + ] + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `pages_messages` in responses. + */ +export const pages_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `pages_plain_text_env_var` in responses. + */ +export const pages_plain_text_env_var_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "plain_text" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `pages_project` in responses. + */ +export const pages_project_output: JsonSchema = { + "properties": { + "build_config": { + "$ref": "#/$defs/pages_build_config" + }, + "build_image_auto_upgrade": { + "$ref": "#/$defs/pages_project_build_image_auto_upgrade" + }, + "canonical_deployment": { + "$ref": "#/$defs/pages_deployment" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "deployment_configs": { + "$ref": "#/$defs/pages_project_deployment_configs" + }, + "domains": { + "items": { + "type": "string" + }, + "type": "array" + }, + "framework": { + "type": "string" + }, + "framework_version": { + "type": "string" + }, + "id": { + "type": "string" + }, + "latest_deployment": { + "$ref": "#/$defs/pages_deployment" + }, + "name": { + "$ref": "#/$defs/pages_project_name" + }, + "preview_script_name": { + "type": "string" + }, + "production_branch": { + "type": "string" + }, + "production_script_name": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/pages_source" + }, + "subdomain": { + "type": "string" + }, + "uses_functions": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "canonical_deployment", + "created_on", + "deployment_configs", + "framework", + "framework_version", + "id", + "latest_deployment", + "name", + "preview_script_name", + "production_branch", + "production_script_name", + "uses_functions" + ], + "type": "object" +}; + +/** + * The schema of `pages_project_build_image_auto_upgrade` in responses. + */ +export const pages_project_build_image_auto_upgrade_output: JsonSchema = { + "properties": { + "from_version": { + "type": "integer" + }, + "to_version": { + "type": "integer" + } + }, + "required": [ + "from_version", + "to_version" + ], + "type": "object" +}; + +/** + * The schema of `pages_project_deployment_configs` in responses. + */ +export const pages_project_deployment_configs_output: JsonSchema = { + "properties": { + "preview": { + "$ref": "#/$defs/pages_deployment_config_values" + }, + "production": { + "$ref": "#/$defs/pages_deployment_config_values" + } + }, + "required": [ + "preview", + "production" + ], + "type": "object" +}; + +/** + * The schema of `pages_project_name` in responses. + */ +export const pages_project_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `pages_secret_text_env_var` in responses. + */ +export const pages_secret_text_env_var_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "secret_text" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `pages_source` in responses. + */ +export const pages_source_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/pages_source_config" + }, + "type": { + "$ref": "#/$defs/pages_source_type" + } + }, + "required": [ + "config", + "type" + ], + "type": "object" +}; + +/** + * The schema of `pages_source_config` in responses. + */ +export const pages_source_config_output: JsonSchema = { + "properties": { + "deployments_enabled": { + "type": "boolean" + }, + "owner": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "path_excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path_includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pr_comments_enabled": { + "type": "boolean" + }, + "preview_branch_excludes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "preview_branch_includes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "preview_deployment_setting": { + "enum": [ + "all", + "none", + "custom" + ], + "type": "string" + }, + "production_branch": { + "type": "string" + }, + "production_deployments_enabled": { + "type": "boolean" + }, + "repo_id": { + "type": "string" + }, + "repo_name": { + "type": "string" + } + }, + "required": [ + "deployments_enabled", + "owner", + "owner_id", + "path_excludes", + "path_includes", + "pr_comments_enabled", + "preview_branch_excludes", + "preview_branch_includes", + "preview_deployment_setting", + "production_branch", + "production_deployments_enabled", + "repo_id", + "repo_name" + ], + "type": "object" +}; + +/** + * The schema of `pages_source_type` in responses. + */ +export const pages_source_type_output: JsonSchema = { + "enum": [ + "github", + "gitlab" + ], + "type": "string" +}; + +/** + * The schema of `pages_stage` in responses. + */ +export const pages_stage_output: JsonSchema = { + "properties": { + "ended_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "enum": [ + "queued", + "initialize", + "clone_repo", + "build", + "deploy" + ], + "type": "string" + }, + "started_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "success", + "idle", + "active", + "failure", + "canceled", + "skipped" + ], + "type": "string" + } + }, + "required": [ + "ended_on", + "name", + "started_on", + "status" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/pages/source/tools.ts b/src/generated/forge-mcp/pages/source/tools.ts index 2e182424..b27fc7f6 100644 --- a/src/generated/forge-mcp/pages/source/tools.ts +++ b/src/generated/forge-mcp/pages/source/tools.ts @@ -2,6 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pages_api_response_common_failure_output, + pages_build_config_output, + pages_deployment_config_values_limits_output, + pages_deployment_config_values_output, + pages_deployment_config_values_placement_output, + pages_deployment_deployment_trigger_metadata_output, + pages_deployment_deployment_trigger_output, + pages_deployment_output, + pages_env_vars_output, + pages_messages_output, + pages_plain_text_env_var_output, + pages_project_build_image_auto_upgrade_output, + pages_project_deployment_configs_output, + pages_project_name_output, + pages_project_output, + pages_secret_text_env_var_output, + pages_source_config_output, + pages_source_output, + pages_source_type_output, + pages_stage_output, +} from "../outputs.js"; import { pages_source_config, pages_source_type } from "../schemas.js"; import { pages_source_connect_request } from "./schemas.js"; @@ -53,6 +75,38 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_project" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_config_values": pages_deployment_config_values_output, + "pages_deployment_config_values_limits": pages_deployment_config_values_limits_output, + "pages_deployment_config_values_placement": pages_deployment_config_values_placement_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project": pages_project_output, + "pages_project_build_image_auto_upgrade": pages_project_build_image_auto_upgrade_output, + "pages_project_deployment_configs": pages_project_deployment_configs_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/source`, body: { value: args["body"], mediaType: "application/json" }, @@ -93,6 +147,38 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_project" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_config_values": pages_deployment_config_values_output, + "pages_deployment_config_values_limits": pages_deployment_config_values_limits_output, + "pages_deployment_config_values_placement": pages_deployment_config_values_placement_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project": pages_project_output, + "pages_project_build_image_auto_upgrade": pages_project_build_image_auto_upgrade_output, + "pages_project_deployment_configs": pages_project_deployment_configs_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/source`, }), diff --git a/src/generated/forge-mcp/pages/tools.ts b/src/generated/forge-mcp/pages/tools.ts index daf6807c..74cab09f 100644 --- a/src/generated/forge-mcp/pages/tools.ts +++ b/src/generated/forge-mcp/pages/tools.ts @@ -2,6 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + pages_api_response_common_failure_output, + pages_build_config_output, + pages_deployment_config_values_limits_output, + pages_deployment_config_values_output, + pages_deployment_config_values_placement_output, + pages_deployment_deployment_trigger_metadata_output, + pages_deployment_deployment_trigger_output, + pages_deployment_output, + pages_env_vars_output, + pages_messages_output, + pages_plain_text_env_var_output, + pages_project_build_image_auto_upgrade_output, + pages_project_deployment_configs_output, + pages_project_name_output, + pages_project_output, + pages_secret_text_env_var_output, + pages_source_config_output, + pages_source_output, + pages_source_type_output, + pages_stage_output, +} from "./outputs.js"; import { pages_deployment_config_values_request, pages_deployment_config_values_request_limits, @@ -220,6 +242,38 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_project" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_config_values": pages_deployment_config_values_output, + "pages_deployment_config_values_limits": pages_deployment_config_values_limits_output, + "pages_deployment_config_values_placement": pages_deployment_config_values_placement_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project": pages_project_output, + "pages_project_build_image_auto_upgrade": pages_project_build_image_auto_upgrade_output, + "pages_project_deployment_configs": pages_project_deployment_configs_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects`, body: { value: args["body"], mediaType: "application/json" }, @@ -260,6 +314,27 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_messages": pages_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}`, }), @@ -471,6 +546,38 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_project" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_config_values": pages_deployment_config_values_output, + "pages_deployment_config_values_limits": pages_deployment_config_values_limits_output, + "pages_deployment_config_values_placement": pages_deployment_config_values_placement_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project": pages_project_output, + "pages_project_build_image_auto_upgrade": pages_project_build_image_auto_upgrade_output, + "pages_project_deployment_configs": pages_project_deployment_configs_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -512,6 +619,38 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pages_project" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_config_values": pages_deployment_config_values_output, + "pages_deployment_config_values_limits": pages_deployment_config_values_limits_output, + "pages_deployment_config_values_placement": pages_deployment_config_values_placement_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project": pages_project_output, + "pages_project_build_image_auto_upgrade": pages_project_build_image_auto_upgrade_output, + "pages_project_deployment_configs": pages_project_deployment_configs_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}`, }), @@ -555,6 +694,69 @@ export const tools: readonly Tool[] = [ "Pages Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/pages_project" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/pages_api-response-common-failure" + } + }, + $defs: { + "pages_api-response-common-failure": pages_api_response_common_failure_output, + "pages_build_config": pages_build_config_output, + "pages_deployment": pages_deployment_output, + "pages_deployment_config_values": pages_deployment_config_values_output, + "pages_deployment_config_values_limits": pages_deployment_config_values_limits_output, + "pages_deployment_config_values_placement": pages_deployment_config_values_placement_output, + "pages_deployment_deployment_trigger": pages_deployment_deployment_trigger_output, + "pages_deployment_deployment_trigger_metadata": pages_deployment_deployment_trigger_metadata_output, + "pages_env_vars": pages_env_vars_output, + "pages_messages": pages_messages_output, + "pages_plain_text_env_var": pages_plain_text_env_var_output, + "pages_project": pages_project_output, + "pages_project_build_image_auto_upgrade": pages_project_build_image_auto_upgrade_output, + "pages_project_deployment_configs": pages_project_deployment_configs_output, + "pages_project_name": pages_project_name_output, + "pages_secret_text_env_var": pages_secret_text_env_var_output, + "pages_source": pages_source_output, + "pages_source_config": pages_source_config_output, + "pages_source_type": pages_source_type_output, + "pages_stage": pages_stage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects`, query: [ diff --git a/src/generated/forge-mcp/payPerCrawl/config/outputs.ts b/src/generated/forge-mcp/payPerCrawl/config/outputs.ts new file mode 100644 index 00000000..7312b0bb --- /dev/null +++ b/src/generated/forge-mcp/payPerCrawl/config/outputs.ts @@ -0,0 +1,36 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_BotAccessMode` in responses. + */ +export const pay_per_crawl_BotAccessMode_output: JsonSchema = { + "enum": [ + "charge", + "bypass" + ], + "type": "string" +}; + +/** + * The schema of `pay-per-crawl_DaricConfig` in responses. + */ +export const pay_per_crawl_DaricConfig_output: JsonSchema = { + "properties": { + "bot_overrides": { + "additionalProperties": { + "$ref": "#/$defs/pay-per-crawl_BotAccessMode" + }, + "type": "object" + }, + "enabled": { + "type": "boolean" + }, + "price_usd_microcents": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerCrawl/config/tools.ts b/src/generated/forge-mcp/payPerCrawl/config/tools.ts index e1fd41c8..118bdf79 100644 --- a/src/generated/forge-mcp/payPerCrawl/config/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/config/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_apiErrorResponse_output, +} from "../../outputs.js"; +import { + pay_per_crawl_BotAccessMode_output, + pay_per_crawl_DaricConfig_output, +} from "./outputs.js"; import { pay_per_crawl_BotAccessMode, pay_per_crawl_DaricConfig, @@ -51,6 +60,23 @@ export const tools: readonly Tool[] = [ "Zone Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_DaricConfig" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode_output, + "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig_output, + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-crawl/configuration`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +121,23 @@ export const tools: readonly Tool[] = [ "Zone Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_DaricConfig" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode_output, + "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig_output, + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-crawl/configuration`, body: { value: args["body"], mediaType: "application/json" }, @@ -131,6 +174,23 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_DaricConfig" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode_output, + "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig_output, + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-crawl/configuration`, }), diff --git a/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts b/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts index 84b7b714..c3d68305 100644 --- a/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_Msg_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_ResultInfo_output, + pay_per_crawl_Source_output, + pay_per_crawl_apiErrorResponse_output, + pay_per_crawl_apiNoResultResponse_output, +} from "../../../outputs.js"; +import { + pay_per_crawl_StripeConnectResp_output, + pay_per_crawl_StripeConnection_output, +} from "../../outputs.js"; /** * The tools of `pay_per_crawl.crawler.stripe`. @@ -37,6 +50,22 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_StripeConnectResp" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_StripeConnectResp": pay_per_crawl_StripeConnectResp_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/crawler/stripe`, }), @@ -71,6 +100,25 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_Msg": pay_per_crawl_Msg_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, + "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/crawler/stripe`, }), @@ -133,6 +181,22 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_StripeConnection" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_StripeConnection": pay_per_crawl_StripeConnection_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/crawler/stripe`, }), diff --git a/src/generated/forge-mcp/payPerCrawl/crawlers/outputs.ts b/src/generated/forge-mcp/payPerCrawl/crawlers/outputs.ts new file mode 100644 index 00000000..964f8e5d --- /dev/null +++ b/src/generated/forge-mcp/payPerCrawl/crawlers/outputs.ts @@ -0,0 +1,115 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_CrawlerEntry` in responses. + */ +export const pay_per_crawl_CrawlerEntry_output: JsonSchema = { + "properties": { + "bot_management": { + "type": "boolean" + }, + "category": { + "type": "string" + }, + "category_id": { + "type": "integer" + }, + "heuristic_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "info_url": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "onboarded": { + "type": "boolean" + }, + "operator": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "testing_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "user_agent": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "verified_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "visible": { + "type": "boolean" + }, + "wba_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_listCrawlersResponse_result` in responses. + */ +export const pay_per_crawl_listCrawlersResponse_result_output: JsonSchema = { + "properties": { + "crawlers": { + "items": { + "$ref": "#/$defs/pay-per-crawl_CrawlerEntry" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts b/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts index 72891656..7aebe829 100644 --- a/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_apiErrorResponse_output, +} from "../../outputs.js"; +import { + pay_per_crawl_CrawlerEntry_output, + pay_per_crawl_listCrawlersResponse_result_output, +} from "./outputs.js"; /** * The tools of `pay_per_crawl.crawlers`. @@ -32,6 +41,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/pay-per-crawl/crawlers", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_listCrawlersResponse_result" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_CrawlerEntry": pay_per_crawl_CrawlerEntry_output, + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_listCrawlersResponse_result": pay_per_crawl_listCrawlersResponse_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/crawlers`, }), diff --git a/src/generated/forge-mcp/payPerCrawl/outputs.ts b/src/generated/forge-mcp/payPerCrawl/outputs.ts new file mode 100644 index 00000000..fd6b1962 --- /dev/null +++ b/src/generated/forge-mcp/payPerCrawl/outputs.ts @@ -0,0 +1,31 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `pay-per-crawl_StripeConnectResp` in responses. + */ +export const pay_per_crawl_StripeConnectResp_output: JsonSchema = { + "properties": { + "url": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_StripeConnection` in responses. + */ +export const pay_per_crawl_StripeConnection_output: JsonSchema = { + "properties": { + "connect_status": { + "type": "string" + }, + "stripe_account_id": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts b/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts index 90e0e937..35af9e4c 100644 --- a/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_Msg_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_ResultInfo_output, + pay_per_crawl_Source_output, + pay_per_crawl_apiErrorResponse_output, + pay_per_crawl_apiNoResultResponse_output, +} from "../../../outputs.js"; +import { + pay_per_crawl_StripeConnectResp_output, + pay_per_crawl_StripeConnection_output, +} from "../../outputs.js"; /** * The tools of `pay_per_crawl.publisher.stripe`. @@ -37,6 +50,22 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_StripeConnectResp" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_StripeConnectResp": pay_per_crawl_StripeConnectResp_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/publisher/stripe`, }), @@ -71,6 +100,25 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_Msg": pay_per_crawl_Msg_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, + "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/publisher/stripe`, }), @@ -133,6 +181,22 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_StripeConnection" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_StripeConnection": pay_per_crawl_StripeConnection_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/publisher/stripe`, }), diff --git a/src/generated/forge-mcp/payPerCrawl/terms/outputs.ts b/src/generated/forge-mcp/payPerCrawl/terms/outputs.ts new file mode 100644 index 00000000..c820c045 --- /dev/null +++ b/src/generated/forge-mcp/payPerCrawl/terms/outputs.ts @@ -0,0 +1,31 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_IronCladContract` in responses. + */ +export const pay_per_crawl_IronCladContract_output: JsonSchema = { + "properties": { + "body": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_SignatureLinkResponse` in responses. + */ +export const pay_per_crawl_SignatureLinkResponse_output: JsonSchema = { + "properties": { + "link": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerCrawl/terms/tools.ts b/src/generated/forge-mcp/payPerCrawl/terms/tools.ts index 63c23765..db3ce936 100644 --- a/src/generated/forge-mcp/payPerCrawl/terms/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/terms/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_Msg_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_ResultInfo_output, + pay_per_crawl_Source_output, + pay_per_crawl_apiErrorResponse_output, + pay_per_crawl_apiNoResultResponse_output, +} from "../../outputs.js"; +import { + pay_per_crawl_IronCladContract_output, + pay_per_crawl_SignatureLinkResponse_output, +} from "./outputs.js"; /** * The tools of `pay_per_crawl.terms`. @@ -65,6 +78,22 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_IronCladContract" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_IronCladContract": pay_per_crawl_IronCladContract_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/terms`, }), @@ -131,6 +160,28 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/terms/signature`, query: [ @@ -196,6 +247,22 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_SignatureLinkResponse" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_SignatureLinkResponse": pay_per_crawl_SignatureLinkResponse_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/signature_link`, }), @@ -244,6 +311,25 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_Msg": pay_per_crawl_Msg_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, + "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/terms/signature`, query: [ diff --git a/src/generated/forge-mcp/payPerCrawl/zones/outputs.ts b/src/generated/forge-mcp/payPerCrawl/zones/outputs.ts new file mode 100644 index 00000000..0cd11f05 --- /dev/null +++ b/src/generated/forge-mcp/payPerCrawl/zones/outputs.ts @@ -0,0 +1,37 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_DaricZoneCanBeEnabled` in responses. + */ +export const pay_per_crawl_DaricZoneCanBeEnabled_output: JsonSchema = { + "properties": { + "can_be_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_ZonesCanBeEnabledPayload` in responses. + */ +export const pay_per_crawl_ZonesCanBeEnabledPayload_output: JsonSchema = { + "properties": { + "zones": { + "items": { + "$ref": "#/$defs/pay-per-crawl_DaricZoneCanBeEnabled" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerCrawl/zones/tools.ts b/src/generated/forge-mcp/payPerCrawl/zones/tools.ts index 1f9a0d15..1bc829d6 100644 --- a/src/generated/forge-mcp/payPerCrawl/zones/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/zones/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_Msg_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_ResultInfo_output, + pay_per_crawl_Source_output, + pay_per_crawl_apiErrorResponse_output, + pay_per_crawl_apiNoResultResponse_output, +} from "../../outputs.js"; +import { + pay_per_crawl_DaricZoneCanBeEnabled_output, + pay_per_crawl_ZonesCanBeEnabledPayload_output, +} from "./outputs.js"; import { pay_per_crawl_DaricZoneCanBeEnabledUpdate, pay_per_crawl_ZonesCanBeEnabledQueryPayload, @@ -43,6 +56,22 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_DaricZoneCanBeEnabled" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_DaricZoneCanBeEnabled": pay_per_crawl_DaricZoneCanBeEnabled_output, + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-crawl/can_be_enabled`, }), @@ -113,6 +142,23 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_ZonesCanBeEnabledPayload" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_DaricZoneCanBeEnabled": pay_per_crawl_DaricZoneCanBeEnabled_output, + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_ZonesCanBeEnabledPayload": pay_per_crawl_ZonesCanBeEnabledPayload_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/zones_can_be_enabled/query`, body: { value: args["body"], mediaType: "application/json" }, @@ -157,6 +203,25 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_Msg": pay_per_crawl_Msg_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, + "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/zones_can_be_enabled`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/payPerUse/enabledDomains/outputs.ts b/src/generated/forge-mcp/payPerUse/enabledDomains/outputs.ts new file mode 100644 index 00000000..32940969 --- /dev/null +++ b/src/generated/forge-mcp/payPerUse/enabledDomains/outputs.ts @@ -0,0 +1,84 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_EnabledDomain` in responses. + */ +export const pay_per_crawl_EnabledDomain_output: JsonSchema = { + "properties": { + "domain": { + "type": "string" + }, + "license_expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "license_status": { + "enum": [ + "active", + "expired" + ], + "type": "string" + }, + "non_billable_since": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "price_usd_microcents": { + "type": "integer" + } + }, + "required": [ + "domain", + "license_expires_at", + "license_status", + "non_billable_since", + "price_usd_microcents" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_EnabledDomainsResult` in responses. + */ +export const pay_per_crawl_EnabledDomainsResult_output: JsonSchema = { + "properties": { + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "domains": { + "items": { + "$ref": "#/$defs/pay-per-crawl_EnabledDomain" + }, + "type": "array" + } + }, + "required": [ + "cursor", + "domains" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts b/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts index a6849fba..abca18af 100644 --- a/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts +++ b/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_apiErrorResponse_output, +} from "../../outputs.js"; +import { + pay_per_crawl_EnabledDomain_output, + pay_per_crawl_EnabledDomainsResult_output, +} from "./outputs.js"; /** * The tools of `pay_per_use.enabled_domains`. @@ -41,6 +50,32 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/pay-per-use/enabled-domains", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_EnabledDomainsResult" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "401": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "500": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_EnabledDomain": pay_per_crawl_EnabledDomain_output, + "pay-per-crawl_EnabledDomainsResult": pay_per_crawl_EnabledDomainsResult_output, + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-use/enabled-domains`, query: [ diff --git a/src/generated/forge-mcp/payPerUse/operator/outputs.ts b/src/generated/forge-mcp/payPerUse/operator/outputs.ts new file mode 100644 index 00000000..4b7578db --- /dev/null +++ b/src/generated/forge-mcp/payPerUse/operator/outputs.ts @@ -0,0 +1,62 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_PPUOperatorConfiguration` in responses. + */ +export const pay_per_crawl_PPUOperatorConfiguration_output: JsonSchema = { + "properties": { + "default_price_usd_microcents": { + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "default_price_usd_microcents", + "enabled", + "name" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_PPUOperatorConfigurationResult` in responses. + */ +export const pay_per_crawl_PPUOperatorConfigurationResult_output: JsonSchema = { + "properties": { + "default_price_usd_microcents": { + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "non_billable_since": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "default_price_usd_microcents", + "enabled", + "name", + "non_billable_since" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerUse/operator/tools.ts b/src/generated/forge-mcp/payPerUse/operator/tools.ts index cc794291..2a688920 100644 --- a/src/generated/forge-mcp/payPerUse/operator/tools.ts +++ b/src/generated/forge-mcp/payPerUse/operator/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_apiErrorResponse_output, +} from "../../outputs.js"; +import { + pay_per_crawl_PPUOperatorConfigurationResult_output, + pay_per_crawl_PPUOperatorConfiguration_output, +} from "./outputs.js"; import { pay_per_crawl_PPUOperatorConfiguration, pay_per_crawl_PPUOperatorConfigurationUpdate, @@ -36,6 +45,25 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/pay-per-use/operator/configuration", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUOperatorConfigurationResult" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "404": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUOperatorConfigurationResult": pay_per_crawl_PPUOperatorConfigurationResult_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-use/operator/configuration`, }), @@ -73,6 +101,28 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/pay-per-use/operator/configuration", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUOperatorConfiguration" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "409": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUOperatorConfiguration": pay_per_crawl_PPUOperatorConfiguration_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-use/operator/configuration`, body: { value: args["body"], mediaType: "application/json" }, @@ -111,6 +161,31 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/pay-per-use/operator/configuration", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUOperatorConfiguration" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "404": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "409": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUOperatorConfiguration": pay_per_crawl_PPUOperatorConfiguration_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-use/operator/configuration`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/payPerUse/outputs.ts b/src/generated/forge-mcp/payPerUse/outputs.ts new file mode 100644 index 00000000..ea828096 --- /dev/null +++ b/src/generated/forge-mcp/payPerUse/outputs.ts @@ -0,0 +1,55 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `pay-per-crawl_PPUPrice` in responses. + */ +export const pay_per_crawl_PPUPrice_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "effective_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "price_usd_microcents": { + "type": "integer" + }, + "status": { + "enum": [ + "proposed", + "accepted", + "rejected" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "price_usd_microcents", + "status" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerUse/pricing/outputs.ts b/src/generated/forge-mcp/payPerUse/pricing/outputs.ts new file mode 100644 index 00000000..06cc25cd --- /dev/null +++ b/src/generated/forge-mcp/payPerUse/pricing/outputs.ts @@ -0,0 +1,66 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_PPUOperatorPrice` in responses. + */ +export const pay_per_crawl_PPUOperatorPrice_output: JsonSchema = { + "properties": { + "current_price": { + "$ref": "#/$defs/pay-per-crawl_PPUPrice" + }, + "default_price_usd_microcents": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "non_billable_since": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "operator_id": { + "type": "string" + }, + "proposed_price": { + "$ref": "#/$defs/pay-per-crawl_PPUPrice" + }, + "scheduled_price": { + "$ref": "#/$defs/pay-per-crawl_PPUPrice" + } + }, + "required": [ + "default_price_usd_microcents", + "name", + "non_billable_since", + "operator_id" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_PPUOperatorPrices` in responses. + */ +export const pay_per_crawl_PPUOperatorPrices_output: JsonSchema = { + "properties": { + "operators": { + "items": { + "$ref": "#/$defs/pay-per-crawl_PPUOperatorPrice" + }, + "type": "array" + } + }, + "required": [ + "operators" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerUse/pricing/tools.ts b/src/generated/forge-mcp/payPerUse/pricing/tools.ts index 18e1a777..7d677456 100644 --- a/src/generated/forge-mcp/payPerUse/pricing/tools.ts +++ b/src/generated/forge-mcp/payPerUse/pricing/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_Msg_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_ResultInfo_output, + pay_per_crawl_Source_output, + pay_per_crawl_apiErrorResponse_output, + pay_per_crawl_apiNoResultResponse_output, +} from "../../outputs.js"; +import { pay_per_crawl_PPUPrice_output } from "../outputs.js"; +import { + pay_per_crawl_PPUOperatorPrice_output, + pay_per_crawl_PPUOperatorPrices_output, +} from "./outputs.js"; import { pay_per_crawl_PPUPublisherPriceAcceptDefaultRequest, pay_per_crawl_PPUPublisherPriceActionRequest, @@ -49,6 +63,30 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/zones/{zone_id}/pay-per-use/operators", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUOperatorPrices" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "404": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUOperatorPrice": pay_per_crawl_PPUOperatorPrice_output, + "pay-per-crawl_PPUOperatorPrices": pay_per_crawl_PPUOperatorPrices_output, + "pay-per-crawl_PPUPrice": pay_per_crawl_PPUPrice_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-use/operators`, query: [ @@ -87,6 +125,31 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/zones/{zone_id}/pay-per-use/operators/{operator_id}/price", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "404": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_Msg": pay_per_crawl_Msg_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, + "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-use/operators/${pathParam(args, "operator_id")}/price`, }), @@ -133,6 +196,31 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/zones/{zone_id}/pay-per-use/operators/{operator_id}/price", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUPrice" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "404": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "409": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUPrice": pay_per_crawl_PPUPrice_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-use/operators/${pathParam(args, "operator_id")}/price`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/payPerUse/proposals/outputs.ts b/src/generated/forge-mcp/payPerUse/proposals/outputs.ts new file mode 100644 index 00000000..f0c4674b --- /dev/null +++ b/src/generated/forge-mcp/payPerUse/proposals/outputs.ts @@ -0,0 +1,68 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_PPUProposal` in responses. + */ +export const pay_per_crawl_PPUProposal_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "non_billable_since": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "price_id": { + "type": "integer" + }, + "price_usd_microcents": { + "type": "integer" + }, + "zone_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "non_billable_since", + "price_id", + "price_usd_microcents" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_PPUProposals` in responses. + */ +export const pay_per_crawl_PPUProposals_output: JsonSchema = { + "properties": { + "proposals": { + "items": { + "$ref": "#/$defs/pay-per-crawl_PPUProposal" + }, + "type": "array" + } + }, + "required": [ + "proposals" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerUse/proposals/tools.ts b/src/generated/forge-mcp/payPerUse/proposals/tools.ts index c74cf75b..86dccf54 100644 --- a/src/generated/forge-mcp/payPerUse/proposals/tools.ts +++ b/src/generated/forge-mcp/payPerUse/proposals/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_apiErrorResponse_output, +} from "../../outputs.js"; +import { pay_per_crawl_PPUPrice_output } from "../outputs.js"; +import { + pay_per_crawl_PPUProposal_output, + pay_per_crawl_PPUProposals_output, +} from "./outputs.js"; import { pay_per_crawl_PPUOperatorProposalActionRequest } from "./schemas.js"; /** @@ -41,6 +51,31 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/pay-per-use/proposals", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUPrice" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "404": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "409": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUPrice": pay_per_crawl_PPUPrice_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-use/proposals`, body: { value: args["body"], mediaType: "application/json" }, @@ -81,6 +116,29 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/pay-per-use/proposals", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUProposals" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "404": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUProposal": pay_per_crawl_PPUProposal_output, + "pay-per-crawl_PPUProposals": pay_per_crawl_PPUProposals_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-use/proposals`, query: [ diff --git a/src/generated/forge-mcp/payPerUse/usageStats/outputs.ts b/src/generated/forge-mcp/payPerUse/usageStats/outputs.ts new file mode 100644 index 00000000..2ca9aa5e --- /dev/null +++ b/src/generated/forge-mcp/payPerUse/usageStats/outputs.ts @@ -0,0 +1,141 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_PPUUsageStats` in responses. + */ +export const pay_per_crawl_PPUUsageStats_output: JsonSchema = { + "properties": { + "buyers": { + "items": { + "$ref": "#/$defs/pay-per-crawl_PPUUsageStatsBuyer" + }, + "type": "array" + }, + "data": { + "items": { + "$ref": "#/$defs/pay-per-crawl_PPUUsageStatsDataPoint" + }, + "type": "array" + }, + "interval": { + "enum": [ + "hour", + "day" + ], + "type": "string" + }, + "last_updated_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "since": { + "format": "date-time", + "type": "string" + }, + "totals": { + "$ref": "#/$defs/pay-per-crawl_PPUUsageStatsTotals" + }, + "until": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "buyers", + "data", + "interval", + "last_updated_at", + "since", + "totals", + "until" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_PPUUsageStatsBuyer` in responses. + */ +export const pay_per_crawl_PPUUsageStatsBuyer_output: JsonSchema = { + "properties": { + "operator_id": { + "type": "string" + }, + "operator_name": { + "type": "string" + }, + "total_price_usd_microcents": { + "type": "integer" + }, + "usage_count": { + "type": "integer" + } + }, + "required": [ + "operator_id", + "operator_name", + "total_price_usd_microcents", + "usage_count" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_PPUUsageStatsDataPoint` in responses. + */ +export const pay_per_crawl_PPUUsageStatsDataPoint_output: JsonSchema = { + "properties": { + "operator_id": { + "type": "string" + }, + "operator_name": { + "type": "string" + }, + "period_start": { + "format": "date-time", + "type": "string" + }, + "total_price_usd_microcents": { + "type": "integer" + }, + "usage_count": { + "type": "integer" + } + }, + "required": [ + "operator_id", + "operator_name", + "period_start", + "total_price_usd_microcents", + "usage_count" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_PPUUsageStatsTotals` in responses. + */ +export const pay_per_crawl_PPUUsageStatsTotals_output: JsonSchema = { + "properties": { + "total_price_usd_microcents": { + "type": "integer" + }, + "usage_count": { + "type": "integer" + } + }, + "required": [ + "total_price_usd_microcents", + "usage_count" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerUse/usageStats/tools.ts b/src/generated/forge-mcp/payPerUse/usageStats/tools.ts index 3ca82042..b87b8fe6 100644 --- a/src/generated/forge-mcp/payPerUse/usageStats/tools.ts +++ b/src/generated/forge-mcp/payPerUse/usageStats/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_apiErrorResponse_output, +} from "../../outputs.js"; +import { + pay_per_crawl_PPUUsageStatsBuyer_output, + pay_per_crawl_PPUUsageStatsDataPoint_output, + pay_per_crawl_PPUUsageStatsTotals_output, + pay_per_crawl_PPUUsageStats_output, +} from "./outputs.js"; /** * The tools of `pay_per_use.usage_stats`. @@ -63,6 +74,31 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/{account_or_zone}/{account_or_zone_id}/pay-per-use/usage-stats", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUUsageStats" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "500": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUUsageStats": pay_per_crawl_PPUUsageStats_output, + "pay-per-crawl_PPUUsageStatsBuyer": pay_per_crawl_PPUUsageStatsBuyer_output, + "pay-per-crawl_PPUUsageStatsDataPoint": pay_per_crawl_PPUUsageStatsDataPoint_output, + "pay-per-crawl_PPUUsageStatsTotals": pay_per_crawl_PPUUsageStatsTotals_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/pay-per-use/usage-stats`, query: [ diff --git a/src/generated/forge-mcp/payPerUse/zones/outputs.ts b/src/generated/forge-mcp/payPerUse/zones/outputs.ts new file mode 100644 index 00000000..471b15b8 --- /dev/null +++ b/src/generated/forge-mcp/payPerUse/zones/outputs.ts @@ -0,0 +1,161 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `pay-per-crawl_PPUZoneCanBeEnabled` in responses. + */ +export const pay_per_crawl_PPUZoneCanBeEnabled_output: JsonSchema = { + "properties": { + "can_be_enabled": { + "type": "boolean" + }, + "disabled_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "non_billable_since": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "can_be_enabled", + "disabled_at", + "enabled", + "expires_at", + "id", + "non_billable_since" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_PPUZoneConfiguration` in responses. + */ +export const pay_per_crawl_PPUZoneConfiguration_output: JsonSchema = { + "properties": { + "can_be_enabled": { + "type": "boolean" + }, + "disabled_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "can_be_enabled", + "disabled_at", + "enabled", + "expires_at" + ], + "type": "object" +}; + +/** + * The schema of `pay-per-crawl_PPUZoneConfigurationResult` in responses. + */ +export const pay_per_crawl_PPUZoneConfigurationResult_output: JsonSchema = { + "properties": { + "can_be_enabled": { + "type": "boolean" + }, + "disabled_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "non_billable_since": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "can_be_enabled", + "disabled_at", + "enabled", + "expires_at", + "non_billable_since" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/payPerUse/zones/tools.ts b/src/generated/forge-mcp/payPerUse/zones/tools.ts index 9b6b5516..e94033aa 100644 --- a/src/generated/forge-mcp/payPerUse/zones/tools.ts +++ b/src/generated/forge-mcp/payPerUse/zones/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + pay_per_crawl_ErrorSource_output, + pay_per_crawl_Msg_output, + pay_per_crawl_RESTError_output, + pay_per_crawl_ResultInfo_output, + pay_per_crawl_Source_output, + pay_per_crawl_apiErrorResponse_output, + pay_per_crawl_apiNoResultResponse_output, +} from "../../outputs.js"; +import { + pay_per_crawl_PPUZoneCanBeEnabled_output, + pay_per_crawl_PPUZoneConfigurationResult_output, + pay_per_crawl_PPUZoneConfiguration_output, +} from "./outputs.js"; import { pay_per_crawl_PPUZoneCanBeEnabledUpdate, pay_per_crawl_PPUZoneConfigurationUpdate, @@ -37,6 +51,22 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/zones/{zone_id}/pay-per-use/can_be_enabled", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUZoneCanBeEnabled" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUZoneCanBeEnabled": pay_per_crawl_PPUZoneCanBeEnabled_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-use/can_be_enabled`, }), @@ -66,6 +96,22 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/zones/{zone_id}/pay-per-use/configuration", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUZoneConfigurationResult" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUZoneConfigurationResult": pay_per_crawl_PPUZoneConfigurationResult_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-use/configuration`, }), @@ -104,6 +150,28 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/pay-per-use/zones_can_be_enabled", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_Msg": pay_per_crawl_Msg_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, + "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-use/zones_can_be_enabled`, body: { value: args["body"], mediaType: "application/json" }, @@ -142,6 +210,31 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/zones/{zone_id}/pay-per-use/configuration", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/pay-per-crawl_PPUZoneConfiguration" + }, + "400": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "403": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "404": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + }, + "409": { + "$ref": "#/$defs/pay-per-crawl_apiErrorResponse" + } + }, + $defs: { + "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, + "pay-per-crawl_PPUZoneConfiguration": pay_per_crawl_PPUZoneConfiguration_output, + "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, + "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-use/configuration`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/pipelines/outputs.ts b/src/generated/forge-mcp/pipelines/outputs.ts new file mode 100644 index 00000000..5ab3f5cd --- /dev/null +++ b/src/generated/forge-mcp/pipelines/outputs.ts @@ -0,0 +1,729 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `cloudflare-pipelines_ConnectionSchema` in responses. + */ +export const cloudflare_pipelines_ConnectionSchema_output: JsonSchema = { + "properties": { + "fields": { + "items": { + "$ref": "#/$defs/cloudflare-pipelines_SourceField" + }, + "type": "array" + }, + "inferred": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_DecimalEncoding` in responses. + */ +export const cloudflare_pipelines_DecimalEncoding_output: JsonSchema = { + "enum": [ + "number", + "string", + "bytes" + ], + "type": "string" +}; + +/** + * The schema of `cloudflare-pipelines_ListField` in responses. + */ +export const cloudflare_pipelines_ListField_output: JsonSchema = { + "properties": { + "items": { + "$ref": "#/$defs/cloudflare-pipelines_SourceField" + } + }, + "required": [ + "items" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_ParquetCompression` in responses. + */ +export const cloudflare_pipelines_ParquetCompression_output: JsonSchema = { + "enum": [ + "uncompressed", + "snappy", + "gzip", + "zstd", + "lz4" + ], + "type": "string" +}; + +/** + * The schema of `cloudflare-pipelines_PipelineEdge` in responses. + */ +export const cloudflare_pipelines_PipelineEdge_output: JsonSchema = { + "properties": { + "dest_id": { + "type": "integer" + }, + "edge_type": { + "type": "string" + }, + "key_type": { + "type": "string" + }, + "src_id": { + "type": "integer" + }, + "value_type": { + "type": "string" + } + }, + "required": [ + "dest_id", + "edge_type", + "key_type", + "src_id", + "value_type" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_PipelineGraph` in responses. + */ +export const cloudflare_pipelines_PipelineGraph_output: JsonSchema = { + "properties": { + "edges": { + "items": { + "$ref": "#/$defs/cloudflare-pipelines_PipelineEdge" + }, + "type": "array" + }, + "nodes": { + "items": { + "$ref": "#/$defs/cloudflare-pipelines_PipelineNode" + }, + "type": "array" + } + }, + "required": [ + "edges", + "nodes" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_PipelineNode` in responses. + */ +export const cloudflare_pipelines_PipelineNode_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "node_id": { + "type": "integer" + }, + "operator": { + "type": "string" + }, + "parallelism": { + "type": "integer" + } + }, + "required": [ + "description", + "node_id", + "operator", + "parallelism" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_SourceField` in responses. + */ +export const cloudflare_pipelines_SourceField_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "int32" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "int64" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "float32" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "float64" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "bool" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "string" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "binary" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/cloudflare-pipelines_TimestampField" + }, + { + "properties": { + "type": { + "enum": [ + "timestamp" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "json" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/cloudflare-pipelines_StructField" + }, + { + "properties": { + "type": { + "enum": [ + "struct" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/cloudflare-pipelines_ListField" + }, + { + "properties": { + "type": { + "enum": [ + "list" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "metadata_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "sql_name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `cloudflare-pipelines_StructField` in responses. + */ +export const cloudflare_pipelines_StructField_output: JsonSchema = { + "properties": { + "fields": { + "items": { + "$ref": "#/$defs/cloudflare-pipelines_SourceField" + }, + "type": "array" + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "fields" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_TimestampField` in responses. + */ +export const cloudflare_pipelines_TimestampField_output: JsonSchema = { + "properties": { + "unit": { + "$ref": "#/$defs/cloudflare-pipelines_TimestampUnit" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_TimestampFormat` in responses. + */ +export const cloudflare_pipelines_TimestampFormat_output: JsonSchema = { + "enum": [ + "rfc3339", + "unix_millis" + ], + "type": "string" +}; + +/** + * The schema of `cloudflare-pipelines_TimestampUnit` in responses. + */ +export const cloudflare_pipelines_TimestampUnit_output: JsonSchema = { + "enum": [ + "second", + "millisecond", + "microsecond", + "nanosecond" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/pipelines/sinks/outputs.ts b/src/generated/forge-mcp/pipelines/sinks/outputs.ts new file mode 100644 index 00000000..75c1758a --- /dev/null +++ b/src/generated/forge-mcp/pipelines/sinks/outputs.ts @@ -0,0 +1,391 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cloudflare-pipelines_JsonCompression` in responses. + */ +export const cloudflare_pipelines_JsonCompression_output: JsonSchema = { + "enum": [ + "uncompressed", + "gzip" + ], + "type": "string" +}; + +/** + * The schema of `cloudflare-pipelines_SinkFormat` in responses. + */ +export const cloudflare_pipelines_SinkFormat_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/cloudflare-pipelines_SinkJsonFormat" + }, + { + "$ref": "#/$defs/cloudflare-pipelines_SinkParquetFormat" + } + ] +}; + +/** + * The schema of `cloudflare-pipelines_SinkJsonFormat` in responses. + */ +export const cloudflare_pipelines_SinkJsonFormat_output: JsonSchema = { + "properties": { + "compression": { + "$ref": "#/$defs/cloudflare-pipelines_JsonCompression" + }, + "decimal_encoding": { + "$ref": "#/$defs/cloudflare-pipelines_DecimalEncoding" + }, + "timestamp_format": { + "$ref": "#/$defs/cloudflare-pipelines_TimestampFormat" + }, + "type": { + "enum": [ + "json" + ], + "type": "string" + }, + "unstructured": { + "type": "boolean" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_SinkParquetFormat` in responses. + */ +export const cloudflare_pipelines_SinkParquetFormat_output: JsonSchema = { + "properties": { + "compression": { + "$ref": "#/$defs/cloudflare-pipelines_ParquetCompression" + }, + "row_group_bytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "type": { + "enum": [ + "parquet" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2Table` in responses. + */ +export const cloudflare_pipelines_r2Table_output: JsonSchema = { + "properties": { + "account_id": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "credentials": { + "$ref": "#/$defs/cloudflare-pipelines_r2Table_credentials" + }, + "file_naming": { + "$ref": "#/$defs/cloudflare-pipelines_r2Table_file_naming" + }, + "jurisdiction": { + "type": "string" + }, + "partitioning": { + "$ref": "#/$defs/cloudflare-pipelines_r2Table_partitioning" + }, + "path": { + "type": "string" + }, + "rolling_policy": { + "$ref": "#/$defs/cloudflare-pipelines_r2Table_rolling_policy" + } + }, + "required": [ + "account_id", + "bucket", + "credentials" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2TablePublic` in responses. + */ +export const cloudflare_pipelines_r2TablePublic_output: JsonSchema = { + "properties": { + "account_id": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "file_naming": { + "$ref": "#/$defs/cloudflare-pipelines_r2TablePublic_file_naming" + }, + "jurisdiction": { + "type": "string" + }, + "partitioning": { + "$ref": "#/$defs/cloudflare-pipelines_r2TablePublic_partitioning" + }, + "path": { + "type": "string" + }, + "rolling_policy": { + "$ref": "#/$defs/cloudflare-pipelines_r2TablePublic_rolling_policy" + } + }, + "required": [ + "account_id", + "bucket" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2TablePublic_file_naming` in responses. + */ +export const cloudflare_pipelines_r2TablePublic_file_naming_output: JsonSchema = { + "properties": { + "prefix": { + "type": "string" + }, + "strategy": { + "enum": [ + "serial", + "uuid", + "uuid_v7", + "ulid" + ], + "type": "string" + }, + "suffix": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2TablePublic_partitioning` in responses. + */ +export const cloudflare_pipelines_r2TablePublic_partitioning_output: JsonSchema = { + "properties": { + "time_pattern": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2TablePublic_rolling_policy` in + * responses. + */ +export const cloudflare_pipelines_r2TablePublic_rolling_policy_output: JsonSchema = { + "properties": { + "file_size_bytes": { + "type": "integer" + }, + "inactivity_seconds": { + "type": "integer" + }, + "interval_seconds": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2Table_credentials` in responses. + */ +export const cloudflare_pipelines_r2Table_credentials_output: JsonSchema = { + "properties": { + "access_key_id": { + "type": "string" + }, + "secret_access_key": { + "type": "string" + } + }, + "required": [ + "access_key_id", + "secret_access_key" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2Table_file_naming` in responses. + */ +export const cloudflare_pipelines_r2Table_file_naming_output: JsonSchema = { + "properties": { + "prefix": { + "type": "string" + }, + "strategy": { + "enum": [ + "serial", + "uuid", + "uuid_v7", + "ulid" + ], + "type": "string" + }, + "suffix": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2Table_partitioning` in responses. + */ +export const cloudflare_pipelines_r2Table_partitioning_output: JsonSchema = { + "properties": { + "time_pattern": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2Table_rolling_policy` in responses. + */ +export const cloudflare_pipelines_r2Table_rolling_policy_output: JsonSchema = { + "properties": { + "file_size_bytes": { + "type": "integer" + }, + "inactivity_seconds": { + "type": "integer" + }, + "interval_seconds": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2_data_catalogTable` in responses. + */ +export const cloudflare_pipelines_r2_data_catalogTable_output: JsonSchema = { + "properties": { + "account_id": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "rolling_policy": { + "$ref": "#/$defs/cloudflare-pipelines_r2_data_catalogTable_rolling_policy" + }, + "table_name": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "account_id", + "bucket", + "table_name", + "token" + ], + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2_data_catalogTablePublic` in responses. + */ +export const cloudflare_pipelines_r2_data_catalogTablePublic_output: JsonSchema = { + "properties": { + "account_id": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "rolling_policy": { + "$ref": "#/$defs/cloudflare-pipelines_r2_data_catalogTablePublic_rolling_policy" + }, + "table_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "bucket", + "table_name" + ], + "type": "object" +}; + +/** + * The schema of + * `cloudflare-pipelines_r2_data_catalogTablePublic_rolling_policy` in + * responses. + */ +export const cloudflare_pipelines_r2_data_catalogTablePublic_rolling_policy_output: JsonSchema = { + "properties": { + "file_size_bytes": { + "type": "integer" + }, + "inactivity_seconds": { + "type": "integer" + }, + "interval_seconds": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_r2_data_catalogTable_rolling_policy` in + * responses. + */ +export const cloudflare_pipelines_r2_data_catalogTable_rolling_policy_output: JsonSchema = { + "properties": { + "file_size_bytes": { + "type": "integer" + }, + "inactivity_seconds": { + "type": "integer" + }, + "interval_seconds": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/pipelines/sinks/tools.ts b/src/generated/forge-mcp/pipelines/sinks/tools.ts index 7477e8d6..0ff77af0 100644 --- a/src/generated/forge-mcp/pipelines/sinks/tools.ts +++ b/src/generated/forge-mcp/pipelines/sinks/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cloudflare_pipelines_ConnectionSchema_output, + cloudflare_pipelines_DecimalEncoding_output, + cloudflare_pipelines_ListField_output, + cloudflare_pipelines_ParquetCompression_output, + cloudflare_pipelines_SourceField_output, + cloudflare_pipelines_StructField_output, + cloudflare_pipelines_TimestampField_output, + cloudflare_pipelines_TimestampFormat_output, + cloudflare_pipelines_TimestampUnit_output, +} from "../outputs.js"; import { cloudflare_pipelines_ConnectionSchema, cloudflare_pipelines_DecimalEncoding, @@ -13,6 +24,25 @@ import { cloudflare_pipelines_TimestampFormat, cloudflare_pipelines_TimestampUnit, } from "../schemas.js"; +import { + cloudflare_pipelines_JsonCompression_output, + cloudflare_pipelines_SinkFormat_output, + cloudflare_pipelines_SinkJsonFormat_output, + cloudflare_pipelines_SinkParquetFormat_output, + cloudflare_pipelines_r2TablePublic_file_naming_output, + cloudflare_pipelines_r2TablePublic_output, + cloudflare_pipelines_r2TablePublic_partitioning_output, + cloudflare_pipelines_r2TablePublic_rolling_policy_output, + cloudflare_pipelines_r2Table_credentials_output, + cloudflare_pipelines_r2Table_file_naming_output, + cloudflare_pipelines_r2Table_output, + cloudflare_pipelines_r2Table_partitioning_output, + cloudflare_pipelines_r2Table_rolling_policy_output, + cloudflare_pipelines_r2_data_catalogTablePublic_output, + cloudflare_pipelines_r2_data_catalogTablePublic_rolling_policy_output, + cloudflare_pipelines_r2_data_catalogTable_output, + cloudflare_pipelines_r2_data_catalogTable_rolling_policy_output, +} from "./outputs.js"; import { cloudflare_pipelines_JsonCompression, cloudflare_pipelines_SinkFormat, @@ -130,6 +160,83 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "config": { + "oneOf": [ + { + "$ref": "#/$defs/cloudflare-pipelines_r2Table" + }, + { + "$ref": "#/$defs/cloudflare-pipelines_r2_data_catalogTable" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "format": { + "$ref": "#/$defs/cloudflare-pipelines_SinkFormat" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "$ref": "#/$defs/cloudflare-pipelines_ConnectionSchema" + }, + "type": { + "enum": [ + "r2", + "r2_data_catalog", + "basin_catalog" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "modified_at", + "name", + "type" + ], + "type": "object" + }, + "4XX": null + }, + $defs: { + "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, + "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, + "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression_output, + "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, + "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, + "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat_output, + "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat_output, + "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat_output, + "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, + "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, + "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, + "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, + "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, + "cloudflare-pipelines_r2Table": cloudflare_pipelines_r2Table_output, + "cloudflare-pipelines_r2Table_credentials": cloudflare_pipelines_r2Table_credentials_output, + "cloudflare-pipelines_r2Table_file_naming": cloudflare_pipelines_r2Table_file_naming_output, + "cloudflare-pipelines_r2Table_partitioning": cloudflare_pipelines_r2Table_partitioning_output, + "cloudflare-pipelines_r2Table_rolling_policy": cloudflare_pipelines_r2Table_rolling_policy_output, + "cloudflare-pipelines_r2_data_catalogTable": cloudflare_pipelines_r2_data_catalogTable_output, + "cloudflare-pipelines_r2_data_catalogTable_rolling_policy": cloudflare_pipelines_r2_data_catalogTable_rolling_policy_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/sinks`, body: { value: args["body"], mediaType: "application/json" }, @@ -173,6 +280,14 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/sinks/${pathParam(args, "sink_id")}`, }), @@ -219,6 +334,82 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "config": { + "oneOf": [ + { + "$ref": "#/$defs/cloudflare-pipelines_r2TablePublic" + }, + { + "$ref": "#/$defs/cloudflare-pipelines_r2_data_catalogTablePublic" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "format": { + "$ref": "#/$defs/cloudflare-pipelines_SinkFormat" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "$ref": "#/$defs/cloudflare-pipelines_ConnectionSchema" + }, + "type": { + "enum": [ + "r2", + "r2_data_catalog", + "basin_catalog" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "modified_at", + "name", + "type" + ], + "type": "object" + }, + "4XX": null + }, + $defs: { + "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, + "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, + "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression_output, + "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, + "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, + "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat_output, + "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat_output, + "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat_output, + "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, + "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, + "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, + "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, + "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, + "cloudflare-pipelines_r2TablePublic": cloudflare_pipelines_r2TablePublic_output, + "cloudflare-pipelines_r2TablePublic_file_naming": cloudflare_pipelines_r2TablePublic_file_naming_output, + "cloudflare-pipelines_r2TablePublic_partitioning": cloudflare_pipelines_r2TablePublic_partitioning_output, + "cloudflare-pipelines_r2TablePublic_rolling_policy": cloudflare_pipelines_r2TablePublic_rolling_policy_output, + "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare_pipelines_r2_data_catalogTablePublic_output, + "cloudflare-pipelines_r2_data_catalogTablePublic_rolling_policy": cloudflare_pipelines_r2_data_catalogTablePublic_rolling_policy_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/sinks/${pathParam(args, "sink_id")}`, }), @@ -291,6 +482,116 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "config": { + "oneOf": [ + { + "$ref": "#/$defs/cloudflare-pipelines_r2TablePublic" + }, + { + "$ref": "#/$defs/cloudflare-pipelines_r2_data_catalogTablePublic" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "format": { + "$ref": "#/$defs/cloudflare-pipelines_SinkFormat" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "$ref": "#/$defs/cloudflare-pipelines_ConnectionSchema" + }, + "type": { + "enum": [ + "r2", + "r2_data_catalog", + "basin_catalog" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "modified_at", + "name", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": null + }, + $defs: { + "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, + "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, + "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression_output, + "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, + "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, + "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat_output, + "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat_output, + "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat_output, + "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, + "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, + "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, + "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, + "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, + "cloudflare-pipelines_r2TablePublic": cloudflare_pipelines_r2TablePublic_output, + "cloudflare-pipelines_r2TablePublic_file_naming": cloudflare_pipelines_r2TablePublic_file_naming_output, + "cloudflare-pipelines_r2TablePublic_partitioning": cloudflare_pipelines_r2TablePublic_partitioning_output, + "cloudflare-pipelines_r2TablePublic_rolling_policy": cloudflare_pipelines_r2TablePublic_rolling_policy_output, + "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare_pipelines_r2_data_catalogTablePublic_output, + "cloudflare-pipelines_r2_data_catalogTablePublic_rolling_policy": cloudflare_pipelines_r2_data_catalogTablePublic_rolling_policy_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/sinks`, query: [ diff --git a/src/generated/forge-mcp/pipelines/streams/outputs.ts b/src/generated/forge-mcp/pipelines/streams/outputs.ts new file mode 100644 index 00000000..4b669856 --- /dev/null +++ b/src/generated/forge-mcp/pipelines/streams/outputs.ts @@ -0,0 +1,94 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cloudflare-pipelines_Format` in responses. + */ +export const cloudflare_pipelines_Format_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/cloudflare-pipelines_JsonFormat" + }, + { + "properties": { + "type": { + "enum": [ + "json" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/cloudflare-pipelines_ParquetFormat" + }, + { + "properties": { + "type": { + "enum": [ + "parquet" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `cloudflare-pipelines_JsonFormat` in responses. + */ +export const cloudflare_pipelines_JsonFormat_output: JsonSchema = { + "properties": { + "decimal_encoding": { + "$ref": "#/$defs/cloudflare-pipelines_DecimalEncoding" + }, + "timestamp_format": { + "$ref": "#/$defs/cloudflare-pipelines_TimestampFormat" + }, + "unstructured": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `cloudflare-pipelines_ParquetFormat` in responses. + */ +export const cloudflare_pipelines_ParquetFormat_output: JsonSchema = { + "properties": { + "compression": { + "$ref": "#/$defs/cloudflare-pipelines_ParquetCompression" + }, + "row_group_bytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/pipelines/streams/tools.ts b/src/generated/forge-mcp/pipelines/streams/tools.ts index 1ed7c340..45295936 100644 --- a/src/generated/forge-mcp/pipelines/streams/tools.ts +++ b/src/generated/forge-mcp/pipelines/streams/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cloudflare_pipelines_ConnectionSchema_output, + cloudflare_pipelines_DecimalEncoding_output, + cloudflare_pipelines_ListField_output, + cloudflare_pipelines_ParquetCompression_output, + cloudflare_pipelines_SourceField_output, + cloudflare_pipelines_StructField_output, + cloudflare_pipelines_TimestampField_output, + cloudflare_pipelines_TimestampFormat_output, + cloudflare_pipelines_TimestampUnit_output, +} from "../outputs.js"; import { cloudflare_pipelines_ConnectionSchema, cloudflare_pipelines_DecimalEncoding, @@ -13,6 +24,11 @@ import { cloudflare_pipelines_TimestampFormat, cloudflare_pipelines_TimestampUnit, } from "../schemas.js"; +import { + cloudflare_pipelines_Format_output, + cloudflare_pipelines_JsonFormat_output, + cloudflare_pipelines_ParquetFormat_output, +} from "./outputs.js"; import { cloudflare_pipelines_Format, cloudflare_pipelines_JsonFormat, @@ -143,6 +159,103 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "format": { + "$ref": "#/$defs/cloudflare-pipelines_Format" + }, + "http": { + "properties": { + "authentication": { + "type": "boolean" + }, + "cors": { + "properties": { + "origins": { + "items": { + "type": "string" + }, + "maxItems": 5, + "type": "array" + } + }, + "type": "object" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "authentication", + "enabled" + ], + "type": "object" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "$ref": "#/$defs/cloudflare-pipelines_ConnectionSchema" + }, + "version": { + "type": "integer" + }, + "worker_binding": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + } + }, + "required": [ + "created_at", + "http", + "id", + "modified_at", + "name", + "version", + "worker_binding" + ], + "type": "object" + }, + "4XX": null + }, + $defs: { + "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, + "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, + "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, + "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, + "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, + "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, + "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, + "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, + "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, + "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, + "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, + "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/streams`, body: { value: args["body"], mediaType: "application/json" }, @@ -186,6 +299,14 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/streams/${pathParam(args, "stream_id")}`, }), @@ -232,6 +353,103 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "format": { + "$ref": "#/$defs/cloudflare-pipelines_Format" + }, + "http": { + "properties": { + "authentication": { + "type": "boolean" + }, + "cors": { + "properties": { + "origins": { + "items": { + "type": "string" + }, + "maxItems": 5, + "type": "array" + } + }, + "type": "object" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "authentication", + "enabled" + ], + "type": "object" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "$ref": "#/$defs/cloudflare-pipelines_ConnectionSchema" + }, + "version": { + "type": "integer" + }, + "worker_binding": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + } + }, + "required": [ + "created_at", + "http", + "id", + "modified_at", + "name", + "version", + "worker_binding" + ], + "type": "object" + }, + "4XX": null + }, + $defs: { + "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, + "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, + "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, + "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, + "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, + "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, + "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, + "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, + "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, + "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, + "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, + "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/streams/${pathParam(args, "stream_id")}`, }), @@ -308,6 +526,137 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "format": { + "$ref": "#/$defs/cloudflare-pipelines_Format" + }, + "http": { + "properties": { + "authentication": { + "type": "boolean" + }, + "cors": { + "properties": { + "origins": { + "items": { + "type": "string" + }, + "maxItems": 5, + "type": "array" + } + }, + "type": "object" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "authentication", + "enabled" + ], + "type": "object" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "$ref": "#/$defs/cloudflare-pipelines_ConnectionSchema" + }, + "version": { + "type": "integer" + }, + "worker_binding": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + } + }, + "required": [ + "created_at", + "http", + "id", + "modified_at", + "name", + "version", + "worker_binding" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": null + }, + $defs: { + "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, + "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, + "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, + "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, + "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, + "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, + "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, + "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, + "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, + "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, + "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, + "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/streams`, query: [ @@ -405,6 +754,103 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "format": { + "$ref": "#/$defs/cloudflare-pipelines_Format" + }, + "http": { + "properties": { + "authentication": { + "type": "boolean" + }, + "cors": { + "properties": { + "origins": { + "items": { + "type": "string" + }, + "maxItems": 5, + "type": "array" + } + }, + "type": "object" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "authentication", + "enabled" + ], + "type": "object" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "$ref": "#/$defs/cloudflare-pipelines_ConnectionSchema" + }, + "version": { + "type": "integer" + }, + "worker_binding": { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + } + }, + "required": [ + "created_at", + "http", + "id", + "modified_at", + "name", + "version", + "worker_binding" + ], + "type": "object" + }, + "4XX": null + }, + $defs: { + "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, + "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, + "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, + "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, + "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, + "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, + "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, + "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, + "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, + "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, + "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, + "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/streams/${pathParam(args, "stream_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/pipelines/tools.ts b/src/generated/forge-mcp/pipelines/tools.ts index dc59a715..a76624fc 100644 --- a/src/generated/forge-mcp/pipelines/tools.ts +++ b/src/generated/forge-mcp/pipelines/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + cloudflare_pipelines_PipelineEdge_output, + cloudflare_pipelines_PipelineGraph_output, + cloudflare_pipelines_PipelineNode_output, +} from "./outputs.js"; /** * The tools of `pipelines`. @@ -60,6 +65,42 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sql": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "modified_at", + "name", + "sql", + "status" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/pipelines`, body: { value: args["body"], mediaType: "application/json" }, @@ -103,6 +144,14 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/pipelines/${pathParam(args, "pipeline_id")}`, }), @@ -149,6 +198,80 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "type": "string" + }, + "failure_reason": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sql": { + "type": "string" + }, + "status": { + "type": "string" + }, + "tables": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "latest": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "type": { + "enum": [ + "stream", + "sink" + ], + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "id", + "latest", + "name", + "type", + "version" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "created_at", + "id", + "modified_at", + "name", + "sql", + "status", + "tables" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/pipelines/${pathParam(args, "pipeline_id")}`, }), @@ -201,6 +324,76 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "modified_at": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sql": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "modified_at", + "name", + "sql", + "status" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/pipelines`, query: [ @@ -258,6 +451,158 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "graph": { + "$ref": "#/$defs/cloudflare-pipelines_PipelineGraph" + }, + "tables": { + "additionalProperties": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "type", + "version" + ], + "type": "object" + }, + "type": "object" + } + }, + "required": [ + "tables" + ], + "type": "object" + }, + "422": { + "properties": { + "diagnostics": { + "items": { + "properties": { + "message": { + "type": "string" + }, + "span": { + "oneOf": [ + { + "properties": { + "end": { + "properties": { + "column": { + "type": "integer" + }, + "line": { + "type": "integer" + } + }, + "required": [ + "column", + "line" + ], + "type": "object" + }, + "start": { + "properties": { + "column": { + "type": "integer" + }, + "line": { + "type": "integer" + } + }, + "required": [ + "column", + "line" + ], + "type": "object" + } + }, + "required": [ + "end", + "start" + ], + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "diagnostics", + "errors", + "result", + "success" + ], + "type": "object" + }, + "4XX": null + }, + $defs: { + "cloudflare-pipelines_PipelineEdge": cloudflare_pipelines_PipelineEdge_output, + "cloudflare-pipelines_PipelineGraph": cloudflare_pipelines_PipelineGraph_output, + "cloudflare-pipelines_PipelineNode": cloudflare_pipelines_PipelineNode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/validate_sql`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/precursor/outputs.ts b/src/generated/forge-mcp/precursor/outputs.ts new file mode 100644 index 00000000..459927f2 --- /dev/null +++ b/src/generated/forge-mcp/precursor/outputs.ts @@ -0,0 +1,171 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `precursor_api-response-common-failure` in responses. + */ +export const precursor_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/precursor_messages" + }, + "messages": { + "$ref": "#/$defs/precursor_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `precursor_messages` in responses. + */ +export const precursor_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `precursor_precursor_config` in responses. + */ +export const precursor_precursor_config_output: JsonSchema = { + "properties": { + "mode": { + "$ref": "#/$defs/precursor_precursor_mode" + }, + "rules": { + "$ref": "#/$defs/precursor_precursor_rules" + }, + "show_interstitial": { + "$ref": "#/$defs/precursor_show_interstitial" + } + }, + "type": "object" +}; + +/** + * The schema of `precursor_precursor_config_response_body` in responses. + */ +export const precursor_precursor_config_response_body_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/precursor_messages" + }, + "messages": { + "$ref": "#/$defs/precursor_messages" + }, + "result": { + "$ref": "#/$defs/precursor_precursor_config" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `precursor_precursor_mode` in responses. + */ +export const precursor_precursor_mode_output: JsonSchema = { + "enum": [ + "off", + "monitor", + "arm" + ], + "type": "string" +}; + +/** + * The schema of `precursor_precursor_rule` in responses. + */ +export const precursor_precursor_rule_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "show_interstitial": { + "$ref": "#/$defs/precursor_show_interstitial" + } + }, + "required": [ + "expression", + "show_interstitial" + ], + "type": "object" +}; + +/** + * The schema of `precursor_precursor_rules` in responses. + */ +export const precursor_precursor_rules_output: JsonSchema = { + "items": { + "$ref": "#/$defs/precursor_precursor_rule" + }, + "type": "array" +}; + +/** + * The schema of `precursor_show_interstitial` in responses. + */ +export const precursor_show_interstitial_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/precursor/tools.ts b/src/generated/forge-mcp/precursor/tools.ts index fd2e5d38..1692de12 100644 --- a/src/generated/forge-mcp/precursor/tools.ts +++ b/src/generated/forge-mcp/precursor/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + precursor_api_response_common_failure_output, + precursor_messages_output, + precursor_precursor_config_output, + precursor_precursor_config_response_body_output, + precursor_precursor_mode_output, + precursor_precursor_rule_output, + precursor_precursor_rules_output, + precursor_show_interstitial_output, +} from "./outputs.js"; import { precursor_precursor_config, precursor_precursor_mode, @@ -70,6 +80,33 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/precursor_precursor_config" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/precursor_precursor_config_response_body" + }, + { + "$ref": "#/$defs/precursor_api-response-common-failure" + } + ] + } + }, + $defs: { + "precursor_api-response-common-failure": precursor_api_response_common_failure_output, + "precursor_messages": precursor_messages_output, + "precursor_precursor_config": precursor_precursor_config_output, + "precursor_precursor_config_response_body": precursor_precursor_config_response_body_output, + "precursor_precursor_mode": precursor_precursor_mode_output, + "precursor_precursor_rule": precursor_precursor_rule_output, + "precursor_precursor_rules": precursor_precursor_rules_output, + "precursor_show_interstitial": precursor_show_interstitial_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/precursor`, headers: [ @@ -140,6 +177,33 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/precursor_precursor_config" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/precursor_precursor_config_response_body" + }, + { + "$ref": "#/$defs/precursor_api-response-common-failure" + } + ] + } + }, + $defs: { + "precursor_api-response-common-failure": precursor_api_response_common_failure_output, + "precursor_messages": precursor_messages_output, + "precursor_precursor_config": precursor_precursor_config_output, + "precursor_precursor_config_response_body": precursor_precursor_config_response_body_output, + "precursor_precursor_mode": precursor_precursor_mode_output, + "precursor_precursor_rule": precursor_precursor_rule_output, + "precursor_precursor_rules": precursor_precursor_rules_output, + "precursor_show_interstitial": precursor_show_interstitial_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/precursor`, headers: [ diff --git a/src/generated/forge-mcp/previews/tools.ts b/src/generated/forge-mcp/previews/tools.ts index 7198c790..27bc22a2 100644 --- a/src/generated/forge-mcp/previews/tools.ts +++ b/src/generated/forge-mcp/previews/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_api_response_common_output, + workers_messages_output, +} from "../outputs.js"; /** * The tools of `previews`. @@ -51,6 +56,21 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common": workers_api_response_common_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker")}/previews/${pathParam(args, "name")}`, query: [ diff --git a/src/generated/forge-mcp/queries/bulk/tools.ts b/src/generated/forge-mcp/queries/bulk/tools.ts index 70fc3b12..5fa768b5 100644 --- a/src/generated/forge-mcp/queries/bulk/tools.ts +++ b/src/generated/forge-mcp/queries/bulk/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { brand_protection_api_Error_output } from "../../outputs.js"; import { brand_protection_api_QueryBulk } from "./schemas.js"; /** @@ -44,6 +45,20 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "204": null, + "422": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries/bulk`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/queries/matches/tools.ts b/src/generated/forge-mcp/queries/matches/tools.ts index 145a68b8..9b97923a 100644 --- a/src/generated/forge-mcp/queries/matches/tools.ts +++ b/src/generated/forge-mcp/queries/matches/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { brand_protection_api_Error_output } from "../../outputs.js"; /** * The tools of `queries.matches`. @@ -44,6 +45,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries/${pathParam(args, "query_id")}/matches/${pathParam(args, "domain_id")}/dismiss`, }), @@ -85,6 +96,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries/${pathParam(args, "query_id")}/matches/${pathParam(args, "domain_id")}/undismiss`, }), diff --git a/src/generated/forge-mcp/queries/tools.ts b/src/generated/forge-mcp/queries/tools.ts index 1eea0492..648c28ad 100644 --- a/src/generated/forge-mcp/queries/tools.ts +++ b/src/generated/forge-mcp/queries/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; import { brand_protection_api_Query } from "./schemas.js"; /** @@ -47,6 +48,20 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "204": null, + "422": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries`, query: [ @@ -93,6 +108,20 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "204": null, + "422": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries`, query: [ @@ -169,6 +198,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries`, body: { value: args["body"], mediaType: "application/json" }, @@ -204,6 +243,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries`, }), diff --git a/src/generated/forge-mcp/queues/consumers/tools.ts b/src/generated/forge-mcp/queues/consumers/tools.ts index 682149bd..f29751a1 100644 --- a/src/generated/forge-mcp/queues/consumers/tools.ts +++ b/src/generated/forge-mcp/queues/consumers/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + mq_api_v4_error_output, + mq_api_v4_failure_output, + mq_api_v4_message_output, + mq_api_v4_success_output, + mq_batch_size_output, + mq_consumer_response_output, + mq_http_consumer_response_output, + mq_http_consumer_response_settings_output, + mq_identifier_output, + mq_max_concurrency_output, + mq_max_retries_output, + mq_max_wait_time_output, + mq_queue_name_output, + mq_retry_delay_output, + mq_script_name_output, + mq_visibility_timeout_output, + mq_worker_consumer_response_output, + mq_worker_consumer_response_settings_output, +} from "../outputs.js"; import { mq_batch_size, mq_max_concurrency, @@ -88,6 +108,35 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_consumer-response" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_batch-size": mq_batch_size_output, + "mq_consumer-response": mq_consumer_response_output, + "mq_http-consumer-response": mq_http_consumer_response_output, + "mq_http-consumer-response_settings": mq_http_consumer_response_settings_output, + "mq_identifier": mq_identifier_output, + "mq_max-concurrency": mq_max_concurrency_output, + "mq_max-retries": mq_max_retries_output, + "mq_max-wait-time": mq_max_wait_time_output, + "mq_queue-name": mq_queue_name_output, + "mq_retry-delay": mq_retry_delay_output, + "mq_script-name": mq_script_name_output, + "mq_visibility-timeout": mq_visibility_timeout_output, + "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_worker-consumer-response_settings": mq_worker_consumer_response_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/consumers`, body: { value: args["body"], mediaType: "application/json" }, @@ -144,6 +193,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_api-v4-success" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_api-v4-success": mq_api_v4_success_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/consumers/${pathParam(args, "consumer_id")}`, }), @@ -201,6 +266,35 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_consumer-response" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_batch-size": mq_batch_size_output, + "mq_consumer-response": mq_consumer_response_output, + "mq_http-consumer-response": mq_http_consumer_response_output, + "mq_http-consumer-response_settings": mq_http_consumer_response_settings_output, + "mq_identifier": mq_identifier_output, + "mq_max-concurrency": mq_max_concurrency_output, + "mq_max-retries": mq_max_retries_output, + "mq_max-wait-time": mq_max_wait_time_output, + "mq_queue-name": mq_queue_name_output, + "mq_retry-delay": mq_retry_delay_output, + "mq_script-name": mq_script_name_output, + "mq_visibility-timeout": mq_visibility_timeout_output, + "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_worker-consumer-response_settings": mq_worker_consumer_response_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/consumers/${pathParam(args, "consumer_id")}`, }), @@ -253,6 +347,49 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mq_consumer-response" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_batch-size": mq_batch_size_output, + "mq_consumer-response": mq_consumer_response_output, + "mq_http-consumer-response": mq_http_consumer_response_output, + "mq_http-consumer-response_settings": mq_http_consumer_response_settings_output, + "mq_identifier": mq_identifier_output, + "mq_max-concurrency": mq_max_concurrency_output, + "mq_max-retries": mq_max_retries_output, + "mq_max-wait-time": mq_max_wait_time_output, + "mq_queue-name": mq_queue_name_output, + "mq_retry-delay": mq_retry_delay_output, + "mq_script-name": mq_script_name_output, + "mq_visibility-timeout": mq_visibility_timeout_output, + "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_worker-consumer-response_settings": mq_worker_consumer_response_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/consumers`, }), @@ -327,6 +464,35 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_consumer-response" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_batch-size": mq_batch_size_output, + "mq_consumer-response": mq_consumer_response_output, + "mq_http-consumer-response": mq_http_consumer_response_output, + "mq_http-consumer-response_settings": mq_http_consumer_response_settings_output, + "mq_identifier": mq_identifier_output, + "mq_max-concurrency": mq_max_concurrency_output, + "mq_max-retries": mq_max_retries_output, + "mq_max-wait-time": mq_max_wait_time_output, + "mq_queue-name": mq_queue_name_output, + "mq_retry-delay": mq_retry_delay_output, + "mq_script-name": mq_script_name_output, + "mq_visibility-timeout": mq_visibility_timeout_output, + "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_worker-consumer-response_settings": mq_worker_consumer_response_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/consumers/${pathParam(args, "consumer_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/queues/messages/outputs.ts b/src/generated/forge-mcp/queues/messages/outputs.ts new file mode 100644 index 00000000..dd5e36bc --- /dev/null +++ b/src/generated/forge-mcp/queues/messages/outputs.ts @@ -0,0 +1,78 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `mq_lease-id` in responses. + */ +export const mq_lease_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `mq_queue-peek-batch` in responses. + */ +export const mq_queue_peek_batch_output: JsonSchema = { + "items": { + "properties": { + "attempts": { + "type": "number" + }, + "body": { + "type": "string" + }, + "id": { + "type": "string" + }, + "metadata": { + "type": "object" + }, + "ref": { + "$ref": "#/$defs/mq_ref" + }, + "timestamp_ms": { + "type": "number" + } + }, + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `mq_queue-pull-batch` in responses. + */ +export const mq_queue_pull_batch_output: JsonSchema = { + "items": { + "properties": { + "attempts": { + "type": "number" + }, + "body": { + "type": "string" + }, + "id": { + "type": "string" + }, + "lease_id": { + "$ref": "#/$defs/mq_lease-id" + }, + "metadata": { + "type": "object" + }, + "timestamp_ms": { + "type": "number" + } + }, + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `mq_ref` in responses. + */ +export const mq_ref_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/queues/messages/tools.ts b/src/generated/forge-mcp/queues/messages/tools.ts index 5a077d23..f763f9d8 100644 --- a/src/generated/forge-mcp/queues/messages/tools.ts +++ b/src/generated/forge-mcp/queues/messages/tools.ts @@ -2,11 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + mq_api_v4_error_output, + mq_api_v4_failure_output, + mq_api_v4_message_output, + mq_queue_metrics_output, +} from "../outputs.js"; import { mq_batch_size, mq_retry_delay, mq_visibility_timeout, } from "../schemas.js"; +import { + mq_lease_id_output, + mq_queue_peek_batch_output, + mq_queue_pull_batch_output, + mq_ref_output, +} from "./outputs.js"; import { mq_lease_id, mq_queue_batch, @@ -104,6 +116,35 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "ackCount": { + "type": "number" + }, + "retryCount": { + "type": "number" + }, + "warnings": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/messages/ack`, body: { value: args["body"], mediaType: "application/json" }, @@ -165,6 +206,32 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "metadata": { + "properties": { + "metrics": { + "$ref": "#/$defs/mq_queue-metrics" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_queue-metrics": mq_queue_metrics_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/messages/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -242,6 +309,32 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "extendCount": { + "type": "number" + }, + "warnings": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/messages/extend`, body: { value: args["body"], mediaType: "application/json" }, @@ -306,6 +399,28 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "messages": { + "$ref": "#/$defs/mq_queue-peek-batch" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_queue-peek-batch": mq_queue_peek_batch_output, + "mq_ref": mq_ref_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/messages/peek`, body: { value: args["body"], mediaType: "application/json" }, @@ -375,6 +490,40 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "message_backlog_count": { + "type": "number" + }, + "messages": { + "$ref": "#/$defs/mq_queue-pull-batch" + }, + "metadata": { + "properties": { + "metrics": { + "$ref": "#/$defs/mq_queue-metrics" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_lease-id": mq_lease_id_output, + "mq_queue-metrics": mq_queue_metrics_output, + "mq_queue-pull-batch": mq_queue_pull_batch_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/messages/pull`, body: { value: args["body"], mediaType: "application/json" }, @@ -454,6 +603,40 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "warnings": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/messages/purge`, body: { value: args["body"], mediaType: "application/json" }, @@ -514,6 +697,32 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "metadata": { + "properties": { + "metrics": { + "$ref": "#/$defs/mq_queue-metrics" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_queue-metrics": mq_queue_metrics_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/messages`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/queues/metrics/tools.ts b/src/generated/forge-mcp/queues/metrics/tools.ts index a90e339d..5405ba71 100644 --- a/src/generated/forge-mcp/queues/metrics/tools.ts +++ b/src/generated/forge-mcp/queues/metrics/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + mq_api_v4_error_output, + mq_api_v4_failure_output, + mq_api_v4_message_output, + mq_queue_metrics_output, +} from "../outputs.js"; /** * The tools of `queues.metrics`. @@ -45,6 +51,22 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_queue-metrics" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_queue-metrics": mq_queue_metrics_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/metrics`, }), diff --git a/src/generated/forge-mcp/queues/outputs.ts b/src/generated/forge-mcp/queues/outputs.ts new file mode 100644 index 00000000..a1c3c225 --- /dev/null +++ b/src/generated/forge-mcp/queues/outputs.ts @@ -0,0 +1,413 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `mq_api-v4-error` in responses. + */ +export const mq_api_v4_error_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `mq_api-v4-failure` in responses. + */ +export const mq_api_v4_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/mq_api-v4-error" + }, + "messages": { + "$ref": "#/$defs/mq_api-v4-message" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_api-v4-message` in responses. + */ +export const mq_api_v4_message_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `mq_api-v4-success` in responses. + */ +export const mq_api_v4_success_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/mq_api-v4-error" + }, + "messages": { + "$ref": "#/$defs/mq_api-v4-message" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_batch-size` in responses. + */ +export const mq_batch_size_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `mq_consumer-response` in responses. + */ +export const mq_consumer_response_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/mq_worker-consumer-response" + }, + { + "$ref": "#/$defs/mq_http-consumer-response" + } + ] +}; + +/** + * The schema of `mq_http-consumer-response` in responses. + */ +export const mq_http_consumer_response_output: JsonSchema = { + "properties": { + "consumer_id": { + "$ref": "#/$defs/mq_identifier" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "dead_letter_queue": { + "type": "string" + }, + "queue_name": { + "$ref": "#/$defs/mq_queue-name" + }, + "settings": { + "$ref": "#/$defs/mq_http-consumer-response_settings" + }, + "type": { + "enum": [ + "http_pull" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_http-consumer-response_settings` in responses. + */ +export const mq_http_consumer_response_settings_output: JsonSchema = { + "properties": { + "batch_size": { + "$ref": "#/$defs/mq_batch-size" + }, + "max_retries": { + "$ref": "#/$defs/mq_max-retries" + }, + "retry_delay": { + "$ref": "#/$defs/mq_retry-delay" + }, + "visibility_timeout_ms": { + "$ref": "#/$defs/mq_visibility-timeout" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_identifier` in responses. + */ +export const mq_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `mq_jurisdiction` in responses. + */ +export const mq_jurisdiction_output: JsonSchema = { + "enum": [ + "eu", + "us", + "fedramp" + ], + "type": "string" +}; + +/** + * The schema of `mq_max-concurrency` in responses. + */ +export const mq_max_concurrency_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `mq_max-retries` in responses. + */ +export const mq_max_retries_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `mq_max-wait-time` in responses. + */ +export const mq_max_wait_time_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `mq_producer` in responses. + */ +export const mq_producer_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/mq_worker-producer" + }, + { + "$ref": "#/$defs/mq_r2-producer" + } + ] +}; + +/** + * The schema of `mq_queue` in responses. + */ +export const mq_queue_output: JsonSchema = { + "properties": { + "consumers": { + "items": { + "$ref": "#/$defs/mq_consumer-response" + }, + "type": "array" + }, + "consumers_total_count": { + "type": "number" + }, + "created_on": { + "type": "string" + }, + "jurisdiction": { + "$ref": "#/$defs/mq_jurisdiction" + }, + "modified_on": { + "type": "string" + }, + "producers": { + "items": { + "$ref": "#/$defs/mq_producer" + }, + "type": "array" + }, + "producers_total_count": { + "type": "number" + }, + "queue_id": { + "type": "string" + }, + "queue_name": { + "$ref": "#/$defs/mq_queue-name" + }, + "settings": { + "$ref": "#/$defs/mq_queue-settings" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_queue-metrics` in responses. + */ +export const mq_queue_metrics_output: JsonSchema = { + "properties": { + "backlog_bytes": { + "type": "number" + }, + "backlog_count": { + "type": "number" + }, + "oldest_message_timestamp_ms": { + "type": "number" + } + }, + "required": [ + "backlog_bytes", + "backlog_count", + "oldest_message_timestamp_ms" + ], + "type": "object" +}; + +/** + * The schema of `mq_queue-name` in responses. + */ +export const mq_queue_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `mq_queue-settings` in responses. + */ +export const mq_queue_settings_output: JsonSchema = { + "properties": { + "delivery_delay": { + "type": "number" + }, + "delivery_paused": { + "type": "boolean" + }, + "message_retention_period": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_r2-producer` in responses. + */ +export const mq_r2_producer_output: JsonSchema = { + "properties": { + "bucket_name": { + "type": "string" + }, + "type": { + "enum": [ + "r2_bucket" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_retry-delay` in responses. + */ +export const mq_retry_delay_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `mq_script-name` in responses. + */ +export const mq_script_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `mq_visibility-timeout` in responses. + */ +export const mq_visibility_timeout_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `mq_worker-consumer-response` in responses. + */ +export const mq_worker_consumer_response_output: JsonSchema = { + "properties": { + "consumer_id": { + "$ref": "#/$defs/mq_identifier" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "dead_letter_queue": { + "type": "string" + }, + "queue_name": { + "$ref": "#/$defs/mq_queue-name" + }, + "script_name": { + "$ref": "#/$defs/mq_script-name" + }, + "settings": { + "$ref": "#/$defs/mq_worker-consumer-response_settings" + }, + "type": { + "enum": [ + "worker" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_worker-consumer-response_settings` in responses. + */ +export const mq_worker_consumer_response_settings_output: JsonSchema = { + "properties": { + "batch_size": { + "$ref": "#/$defs/mq_batch-size" + }, + "max_concurrency": { + "$ref": "#/$defs/mq_max-concurrency" + }, + "max_retries": { + "$ref": "#/$defs/mq_max-retries" + }, + "max_wait_time_ms": { + "$ref": "#/$defs/mq_max-wait-time" + }, + "retry_delay": { + "$ref": "#/$defs/mq_retry-delay" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_worker-producer` in responses. + */ +export const mq_worker_producer_output: JsonSchema = { + "properties": { + "script": { + "type": "string" + }, + "type": { + "enum": [ + "worker" + ], + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/queues/purge/tools.ts b/src/generated/forge-mcp/queues/purge/tools.ts index cd41c990..5ea19f5a 100644 --- a/src/generated/forge-mcp/queues/purge/tools.ts +++ b/src/generated/forge-mcp/queues/purge/tools.ts @@ -2,6 +2,31 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + mq_api_v4_error_output, + mq_api_v4_failure_output, + mq_api_v4_message_output, + mq_batch_size_output, + mq_consumer_response_output, + mq_http_consumer_response_output, + mq_http_consumer_response_settings_output, + mq_identifier_output, + mq_jurisdiction_output, + mq_max_concurrency_output, + mq_max_retries_output, + mq_max_wait_time_output, + mq_producer_output, + mq_queue_name_output, + mq_queue_output, + mq_queue_settings_output, + mq_r2_producer_output, + mq_retry_delay_output, + mq_script_name_output, + mq_visibility_timeout_output, + mq_worker_consumer_response_output, + mq_worker_consumer_response_settings_output, + mq_worker_producer_output, +} from "../outputs.js"; /** * The tools of `queues.purge`. @@ -62,6 +87,41 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_queue" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_batch-size": mq_batch_size_output, + "mq_consumer-response": mq_consumer_response_output, + "mq_http-consumer-response": mq_http_consumer_response_output, + "mq_http-consumer-response_settings": mq_http_consumer_response_settings_output, + "mq_identifier": mq_identifier_output, + "mq_jurisdiction": mq_jurisdiction_output, + "mq_max-concurrency": mq_max_concurrency_output, + "mq_max-retries": mq_max_retries_output, + "mq_max-wait-time": mq_max_wait_time_output, + "mq_producer": mq_producer_output, + "mq_queue": mq_queue_output, + "mq_queue-name": mq_queue_name_output, + "mq_queue-settings": mq_queue_settings_output, + "mq_r2-producer": mq_r2_producer_output, + "mq_retry-delay": mq_retry_delay_output, + "mq_script-name": mq_script_name_output, + "mq_visibility-timeout": mq_visibility_timeout_output, + "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_worker-consumer-response_settings": mq_worker_consumer_response_settings_output, + "mq_worker-producer": mq_worker_producer_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/purge`, body: { value: args["body"], mediaType: "application/json" }, @@ -115,6 +175,29 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "completed": { + "type": "string" + }, + "started_at": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}/purge`, }), diff --git a/src/generated/forge-mcp/queues/subscriptions/outputs.ts b/src/generated/forge-mcp/queues/subscriptions/outputs.ts new file mode 100644 index 00000000..6a2377e9 --- /dev/null +++ b/src/generated/forge-mcp/queues/subscriptions/outputs.ts @@ -0,0 +1,264 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `mq_event-destination` in responses. + */ +export const mq_event_destination_output: JsonSchema = { + "$ref": "#/$defs/mq_event-destination-queue" +}; + +/** + * The schema of `mq_event-destination-queue` in responses. + */ +export const mq_event_destination_queue_output: JsonSchema = { + "properties": { + "queue_id": { + "type": "string" + }, + "type": { + "enum": [ + "queues.queue" + ], + "type": "string" + } + }, + "required": [ + "queue_id", + "type" + ], + "type": "object" +}; + +/** + * The schema of `mq_event-source` in responses. + */ +export const mq_event_source_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/mq_event-source-images" + }, + { + "$ref": "#/$defs/mq_event-source-kv" + }, + { + "$ref": "#/$defs/mq_event-source-r2" + }, + { + "$ref": "#/$defs/mq_event-source-super-slurper" + }, + { + "$ref": "#/$defs/mq_event-source-vectorize" + }, + { + "$ref": "#/$defs/mq_event-source-workers-ai-model" + }, + { + "$ref": "#/$defs/mq_event-source-workers-builds-worker" + }, + { + "$ref": "#/$defs/mq_event-source-workers-script" + }, + { + "$ref": "#/$defs/mq_event-source-workflows-workflow" + } + ] +}; + +/** + * The schema of `mq_event-source-images` in responses. + */ +export const mq_event_source_images_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "images" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_event-source-kv` in responses. + */ +export const mq_event_source_kv_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "kv" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_event-source-r2` in responses. + */ +export const mq_event_source_r2_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "r2" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_event-source-super-slurper` in responses. + */ +export const mq_event_source_super_slurper_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "superSlurper" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_event-source-vectorize` in responses. + */ +export const mq_event_source_vectorize_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "vectorize" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_event-source-workers-ai-model` in responses. + */ +export const mq_event_source_workers_ai_model_output: JsonSchema = { + "properties": { + "model_name": { + "type": "string" + }, + "type": { + "enum": [ + "workersAi.model" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_event-source-workers-builds-worker` in responses. + */ +export const mq_event_source_workers_builds_worker_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "workersBuilds.worker" + ], + "type": "string" + }, + "worker_name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_event-source-workers-script` in responses. + */ +export const mq_event_source_workers_script_output: JsonSchema = { + "properties": { + "script_tag": { + "type": "string" + }, + "type": { + "enum": [ + "workers.script" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_event-source-workflows-workflow` in responses. + */ +export const mq_event_source_workflows_workflow_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "workflows.workflow" + ], + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `mq_event-subscription` in responses. + */ +export const mq_event_subscription_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "destination": { + "$ref": "#/$defs/mq_event-destination" + }, + "enabled": { + "type": "boolean" + }, + "events": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "id": { + "type": "string" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/mq_event-source" + } + }, + "required": [ + "created_at", + "destination", + "enabled", + "events", + "id", + "modified_at", + "name", + "source" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/queues/subscriptions/tools.ts b/src/generated/forge-mcp/queues/subscriptions/tools.ts index ab911519..913721ab 100644 --- a/src/generated/forge-mcp/queues/subscriptions/tools.ts +++ b/src/generated/forge-mcp/queues/subscriptions/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + mq_api_v4_error_output, + mq_api_v4_failure_output, + mq_api_v4_message_output, +} from "../outputs.js"; +import { + mq_event_destination_output, + mq_event_destination_queue_output, + mq_event_source_images_output, + mq_event_source_kv_output, + mq_event_source_output, + mq_event_source_r2_output, + mq_event_source_super_slurper_output, + mq_event_source_vectorize_output, + mq_event_source_workers_ai_model_output, + mq_event_source_workers_builds_worker_output, + mq_event_source_workers_script_output, + mq_event_source_workflows_workflow_output, + mq_event_subscription_output, +} from "./outputs.js"; import { mq_event_destination, mq_event_destination_queue, @@ -96,6 +116,40 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_event-subscription" + }, + "400": { + "$ref": "#/$defs/mq_api-v4-failure" + }, + "404": { + "$ref": "#/$defs/mq_api-v4-failure" + }, + "405": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_event-destination": mq_event_destination_output, + "mq_event-destination-queue": mq_event_destination_queue_output, + "mq_event-source": mq_event_source_output, + "mq_event-source-images": mq_event_source_images_output, + "mq_event-source-kv": mq_event_source_kv_output, + "mq_event-source-r2": mq_event_source_r2_output, + "mq_event-source-super-slurper": mq_event_source_super_slurper_output, + "mq_event-source-vectorize": mq_event_source_vectorize_output, + "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, + "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, + "mq_event-source-workers-script": mq_event_source_workers_script_output, + "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, + "mq_event-subscription": mq_event_subscription_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_subscriptions/subscriptions`, body: { value: args["body"], mediaType: "application/json" }, @@ -137,6 +191,34 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_event-subscription" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_event-destination": mq_event_destination_output, + "mq_event-destination-queue": mq_event_destination_queue_output, + "mq_event-source": mq_event_source_output, + "mq_event-source-images": mq_event_source_images_output, + "mq_event-source-kv": mq_event_source_kv_output, + "mq_event-source-r2": mq_event_source_r2_output, + "mq_event-source-super-slurper": mq_event_source_super_slurper_output, + "mq_event-source-vectorize": mq_event_source_vectorize_output, + "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, + "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, + "mq_event-source-workers-script": mq_event_source_workers_script_output, + "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, + "mq_event-subscription": mq_event_subscription_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_subscriptions/subscriptions/${pathParam(args, "subscription_id")}`, }), @@ -177,6 +259,34 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_event-subscription" + }, + "404": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_event-destination": mq_event_destination_output, + "mq_event-destination-queue": mq_event_destination_queue_output, + "mq_event-source": mq_event_source_output, + "mq_event-source-images": mq_event_source_images_output, + "mq_event-source-kv": mq_event_source_kv_output, + "mq_event-source-r2": mq_event_source_r2_output, + "mq_event-source-super-slurper": mq_event_source_super_slurper_output, + "mq_event-source-vectorize": mq_event_source_vectorize_output, + "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, + "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, + "mq_event-source-workers-script": mq_event_source_workers_script_output, + "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, + "mq_event-subscription": mq_event_subscription_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_subscriptions/subscriptions/${pathParam(args, "subscription_id")}`, }), @@ -244,6 +354,72 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mq_event-subscription" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_event-destination": mq_event_destination_output, + "mq_event-destination-queue": mq_event_destination_queue_output, + "mq_event-source": mq_event_source_output, + "mq_event-source-images": mq_event_source_images_output, + "mq_event-source-kv": mq_event_source_kv_output, + "mq_event-source-r2": mq_event_source_r2_output, + "mq_event-source-super-slurper": mq_event_source_super_slurper_output, + "mq_event-source-vectorize": mq_event_source_vectorize_output, + "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, + "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, + "mq_event-source-workers-script": mq_event_source_workers_script_output, + "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, + "mq_event-subscription": mq_event_subscription_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_subscriptions/subscriptions`, query: [ @@ -325,6 +501,37 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_event-subscription" + }, + "400": { + "$ref": "#/$defs/mq_api-v4-failure" + }, + "404": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_event-destination": mq_event_destination_output, + "mq_event-destination-queue": mq_event_destination_queue_output, + "mq_event-source": mq_event_source_output, + "mq_event-source-images": mq_event_source_images_output, + "mq_event-source-kv": mq_event_source_kv_output, + "mq_event-source-r2": mq_event_source_r2_output, + "mq_event-source-super-slurper": mq_event_source_super_slurper_output, + "mq_event-source-vectorize": mq_event_source_vectorize_output, + "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, + "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, + "mq_event-source-workers-script": mq_event_source_workers_script_output, + "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, + "mq_event-subscription": mq_event_subscription_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_subscriptions/subscriptions/${pathParam(args, "subscription_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/queues/tools.ts b/src/generated/forge-mcp/queues/tools.ts index 4b3381fc..4ae41b87 100644 --- a/src/generated/forge-mcp/queues/tools.ts +++ b/src/generated/forge-mcp/queues/tools.ts @@ -2,6 +2,32 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + mq_api_v4_error_output, + mq_api_v4_failure_output, + mq_api_v4_message_output, + mq_api_v4_success_output, + mq_batch_size_output, + mq_consumer_response_output, + mq_http_consumer_response_output, + mq_http_consumer_response_settings_output, + mq_identifier_output, + mq_jurisdiction_output, + mq_max_concurrency_output, + mq_max_retries_output, + mq_max_wait_time_output, + mq_producer_output, + mq_queue_name_output, + mq_queue_output, + mq_queue_settings_output, + mq_r2_producer_output, + mq_retry_delay_output, + mq_script_name_output, + mq_visibility_timeout_output, + mq_worker_consumer_response_output, + mq_worker_consumer_response_settings_output, + mq_worker_producer_output, +} from "./outputs.js"; import { mq_jurisdiction, mq_queue, @@ -72,6 +98,41 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_queue" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_batch-size": mq_batch_size_output, + "mq_consumer-response": mq_consumer_response_output, + "mq_http-consumer-response": mq_http_consumer_response_output, + "mq_http-consumer-response_settings": mq_http_consumer_response_settings_output, + "mq_identifier": mq_identifier_output, + "mq_jurisdiction": mq_jurisdiction_output, + "mq_max-concurrency": mq_max_concurrency_output, + "mq_max-retries": mq_max_retries_output, + "mq_max-wait-time": mq_max_wait_time_output, + "mq_producer": mq_producer_output, + "mq_queue": mq_queue_output, + "mq_queue-name": mq_queue_name_output, + "mq_queue-settings": mq_queue_settings_output, + "mq_r2-producer": mq_r2_producer_output, + "mq_retry-delay": mq_retry_delay_output, + "mq_script-name": mq_script_name_output, + "mq_visibility-timeout": mq_visibility_timeout_output, + "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_worker-consumer-response_settings": mq_worker_consumer_response_settings_output, + "mq_worker-producer": mq_worker_producer_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues`, body: { value: args["body"], mediaType: "application/json" }, @@ -123,6 +184,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_api-v4-success" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_api-v4-success": mq_api_v4_success_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}`, }), @@ -182,6 +259,41 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_queue" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_batch-size": mq_batch_size_output, + "mq_consumer-response": mq_consumer_response_output, + "mq_http-consumer-response": mq_http_consumer_response_output, + "mq_http-consumer-response_settings": mq_http_consumer_response_settings_output, + "mq_identifier": mq_identifier_output, + "mq_jurisdiction": mq_jurisdiction_output, + "mq_max-concurrency": mq_max_concurrency_output, + "mq_max-retries": mq_max_retries_output, + "mq_max-wait-time": mq_max_wait_time_output, + "mq_producer": mq_producer_output, + "mq_queue": mq_queue_output, + "mq_queue-name": mq_queue_name_output, + "mq_queue-settings": mq_queue_settings_output, + "mq_r2-producer": mq_r2_producer_output, + "mq_retry-delay": mq_retry_delay_output, + "mq_script-name": mq_script_name_output, + "mq_visibility-timeout": mq_visibility_timeout_output, + "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_worker-consumer-response_settings": mq_worker_consumer_response_settings_output, + "mq_worker-producer": mq_worker_producer_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -235,6 +347,41 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/mq_queue" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_batch-size": mq_batch_size_output, + "mq_consumer-response": mq_consumer_response_output, + "mq_http-consumer-response": mq_http_consumer_response_output, + "mq_http-consumer-response_settings": mq_http_consumer_response_settings_output, + "mq_identifier": mq_identifier_output, + "mq_jurisdiction": mq_jurisdiction_output, + "mq_max-concurrency": mq_max_concurrency_output, + "mq_max-retries": mq_max_retries_output, + "mq_max-wait-time": mq_max_wait_time_output, + "mq_producer": mq_producer_output, + "mq_queue": mq_queue_output, + "mq_queue-name": mq_queue_name_output, + "mq_queue-settings": mq_queue_settings_output, + "mq_r2-producer": mq_r2_producer_output, + "mq_retry-delay": mq_retry_delay_output, + "mq_script-name": mq_script_name_output, + "mq_visibility-timeout": mq_visibility_timeout_output, + "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_worker-consumer-response_settings": mq_worker_consumer_response_settings_output, + "mq_worker-producer": mq_worker_producer_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues/${pathParam(args, "queue_id")}`, }), @@ -282,6 +429,72 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/mq_queue" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/mq_api-v4-failure" + } + }, + $defs: { + "mq_api-v4-error": mq_api_v4_error_output, + "mq_api-v4-failure": mq_api_v4_failure_output, + "mq_api-v4-message": mq_api_v4_message_output, + "mq_batch-size": mq_batch_size_output, + "mq_consumer-response": mq_consumer_response_output, + "mq_http-consumer-response": mq_http_consumer_response_output, + "mq_http-consumer-response_settings": mq_http_consumer_response_settings_output, + "mq_identifier": mq_identifier_output, + "mq_jurisdiction": mq_jurisdiction_output, + "mq_max-concurrency": mq_max_concurrency_output, + "mq_max-retries": mq_max_retries_output, + "mq_max-wait-time": mq_max_wait_time_output, + "mq_producer": mq_producer_output, + "mq_queue": mq_queue_output, + "mq_queue-name": mq_queue_name_output, + "mq_queue-settings": mq_queue_settings_output, + "mq_r2-producer": mq_r2_producer_output, + "mq_retry-delay": mq_retry_delay_output, + "mq_script-name": mq_script_name_output, + "mq_visibility-timeout": mq_visibility_timeout_output, + "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_worker-consumer-response_settings": mq_worker_consumer_response_settings_output, + "mq_worker-producer": mq_worker_producer_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/queues`, }), diff --git a/src/generated/forge-mcp/r2/buckets/cors/outputs.ts b/src/generated/forge-mcp/r2/buckets/cors/outputs.ts new file mode 100644 index 00000000..3f570c8b --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/cors/outputs.ts @@ -0,0 +1,69 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2_cors-rule` in responses. + */ +export const r2_cors_rule_output: JsonSchema = { + "properties": { + "allowed": { + "$ref": "#/$defs/r2_cors-rule_allowed" + }, + "exposeHeaders": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "maxAgeSeconds": { + "type": "number" + } + }, + "required": [ + "allowed" + ], + "type": "object" +}; + +/** + * The schema of `r2_cors-rule_allowed` in responses. + */ +export const r2_cors_rule_allowed_output: JsonSchema = { + "properties": { + "headers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "methods": { + "items": { + "enum": [ + "GET", + "PUT", + "POST", + "DELETE", + "HEAD" + ], + "type": "string" + }, + "type": "array" + }, + "origins": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "methods", + "origins" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/buckets/cors/tools.ts b/src/generated/forge-mcp/r2/buckets/cors/tools.ts index 31a81009..e40a03e9 100644 --- a/src/generated/forge-mcp/r2/buckets/cors/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/cors/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../../outputs.js"; +import { r2_cors_rule_allowed_output, r2_cors_rule_output } from "./outputs.js"; import { r2_cors_rule, r2_cors_rule_allowed } from "./schemas.js"; /** @@ -49,6 +55,21 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/r2/buckets/{bucket_name}/cors", + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/cors`, headers: [ @@ -97,6 +118,31 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/r2/buckets/{bucket_name}/cors", + responses: { + schemas: { + "200": { + "properties": { + "rules": { + "items": { + "$ref": "#/$defs/r2_cors-rule" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_cors-rule": r2_cors_rule_output, + "r2_cors-rule_allowed": r2_cors_rule_allowed_output, + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/cors`, headers: [ @@ -161,6 +207,21 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/r2/buckets/{bucket_name}/cors", + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/cors`, headers: [ diff --git a/src/generated/forge-mcp/r2/buckets/domains/custom/outputs.ts b/src/generated/forge-mcp/r2/buckets/domains/custom/outputs.ts new file mode 100644 index 00000000..1ce4e54e --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/domains/custom/outputs.ts @@ -0,0 +1,267 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `r2_add_custom_domain_response` in responses. + */ +export const r2_add_custom_domain_response_output: JsonSchema = { + "properties": { + "ciphers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "domain": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "minTLS": { + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3" + ], + "type": "string" + }, + "zoneId": { + "type": "string" + } + }, + "required": [ + "domain", + "enabled", + "zoneId" + ], + "type": "object" +}; + +/** + * The schema of `r2_edit_custom_domain_response` in responses. + */ +export const r2_edit_custom_domain_response_output: JsonSchema = { + "properties": { + "ciphers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "domain": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "minTLS": { + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3" + ], + "type": "string" + } + }, + "required": [ + "domain" + ], + "type": "object" +}; + +/** + * The schema of `r2_get_custom_domain_response` in responses. + */ +export const r2_get_custom_domain_response_output: JsonSchema = { + "properties": { + "ciphers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "domain": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "minTLS": { + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3" + ], + "type": "string" + }, + "status": { + "$ref": "#/$defs/r2_get_custom_domain_response_status" + }, + "zoneId": { + "type": "string" + }, + "zoneName": { + "type": "string" + } + }, + "required": [ + "domain", + "enabled", + "status" + ], + "type": "object" +}; + +/** + * The schema of `r2_get_custom_domain_response_status` in responses. + */ +export const r2_get_custom_domain_response_status_output: JsonSchema = { + "properties": { + "ownership": { + "enum": [ + "pending", + "active", + "deactivated", + "blocked", + "error", + "unknown" + ], + "type": "string" + }, + "ssl": { + "enum": [ + "initializing", + "pending", + "active", + "deactivated", + "error", + "unknown" + ], + "type": "string" + } + }, + "required": [ + "ownership", + "ssl" + ], + "type": "object" +}; + +/** + * The schema of `r2_list_custom_domains_response` in responses. + */ +export const r2_list_custom_domains_response_output: JsonSchema = { + "properties": { + "domains": { + "items": { + "$ref": "#/$defs/r2_list_custom_domains_response_domainsItem" + }, + "type": "array" + } + }, + "required": [ + "domains" + ], + "type": "object" +}; + +/** + * The schema of `r2_list_custom_domains_response_domainsItem` in responses. + */ +export const r2_list_custom_domains_response_domainsItem_output: JsonSchema = { + "properties": { + "ciphers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "domain": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "minTLS": { + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3" + ], + "type": "string" + }, + "status": { + "$ref": "#/$defs/r2_list_custom_domains_response_domainsItem_status" + }, + "zoneId": { + "type": "string" + }, + "zoneName": { + "type": "string" + } + }, + "required": [ + "domain", + "enabled", + "status" + ], + "type": "object" +}; + +/** + * The schema of `r2_list_custom_domains_response_domainsItem_status` in + * responses. + */ +export const r2_list_custom_domains_response_domainsItem_status_output: JsonSchema = { + "properties": { + "ownership": { + "enum": [ + "pending", + "active", + "deactivated", + "blocked", + "error", + "unknown" + ], + "type": "string" + }, + "ssl": { + "enum": [ + "initializing", + "pending", + "active", + "deactivated", + "error", + "unknown" + ], + "type": "string" + } + }, + "required": [ + "ownership", + "ssl" + ], + "type": "object" +}; + +/** + * The schema of `r2_remove_custom_domain_response` in responses. + */ +export const r2_remove_custom_domain_response_output: JsonSchema = { + "properties": { + "domain": { + "type": "string" + } + }, + "required": [ + "domain" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts b/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts index be27c099..fd5d4bf9 100644 --- a/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../../../outputs.js"; +import { + r2_add_custom_domain_response_output, + r2_edit_custom_domain_response_output, + r2_get_custom_domain_response_output, + r2_get_custom_domain_response_status_output, + r2_list_custom_domains_response_domainsItem_output, + r2_list_custom_domains_response_domainsItem_status_output, + r2_list_custom_domains_response_output, + r2_remove_custom_domain_response_output, +} from "./outputs.js"; import { r2_add_custom_domain_request, r2_edit_custom_domain_request, @@ -71,6 +86,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_add_custom_domain_response" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_add_custom_domain_response": r2_add_custom_domain_response_output, + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom`, headers: [ @@ -130,6 +161,22 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_remove_custom_domain_response" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_remove_custom_domain_response": r2_remove_custom_domain_response_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom/${pathParam(args, "domain")}`, headers: [ @@ -189,6 +236,23 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_get_custom_domain_response" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_get_custom_domain_response": r2_get_custom_domain_response_output, + "r2_get_custom_domain_response_status": r2_get_custom_domain_response_status_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom/${pathParam(args, "domain")}`, headers: [ @@ -249,6 +313,24 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_list_custom_domains_response" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_list_custom_domains_response": r2_list_custom_domains_response_output, + "r2_list_custom_domains_response_domainsItem": r2_list_custom_domains_response_domainsItem_output, + "r2_list_custom_domains_response_domainsItem_status": r2_list_custom_domains_response_domainsItem_status_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom`, headers: [ @@ -321,6 +403,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_edit_custom_domain_response" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_edit_custom_domain_response": r2_edit_custom_domain_response_output, + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom/${pathParam(args, "domain")}`, headers: [ diff --git a/src/generated/forge-mcp/r2/buckets/domains/managed/outputs.ts b/src/generated/forge-mcp/r2/buckets/domains/managed/outputs.ts new file mode 100644 index 00000000..b4a87597 --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/domains/managed/outputs.ts @@ -0,0 +1,27 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `r2_managed_domain_response` in responses. + */ +export const r2_managed_domain_response_output: JsonSchema = { + "properties": { + "bucketId": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "bucketId", + "domain", + "enabled" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts b/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts index 190c12ad..c9149611 100644 --- a/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../../../outputs.js"; +import { r2_managed_domain_response_output } from "./outputs.js"; import { r2_edit_managed_domain_request } from "./schemas.js"; /** @@ -61,6 +67,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_managed_domain_response" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_managed_domain_response": r2_managed_domain_response_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/managed`, headers: [ @@ -128,6 +150,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_managed_domain_response" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_managed_domain_response": r2_managed_domain_response_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/managed`, headers: [ diff --git a/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts b/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts new file mode 100644 index 00000000..c5c839b8 --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts @@ -0,0 +1,102 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2_bucket-config` in responses. + */ +export const r2_bucket_config_output: JsonSchema = { + "properties": { + "bucketName": { + "type": "string" + }, + "queues": { + "items": { + "$ref": "#/$defs/r2_queues-config" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_queues-config` in responses. + */ +export const r2_queues_config_output: JsonSchema = { + "properties": { + "queueId": { + "type": "string" + }, + "queueName": { + "type": "string" + }, + "rules": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/r2_rule" + }, + { + "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "ruleId": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_r2-action` in responses. + */ +export const r2_r2_action_output: JsonSchema = { + "enum": [ + "PutObject", + "CopyObject", + "DeleteObject", + "CompleteMultipartUpload", + "LifecycleDeletion" + ], + "type": "string" +}; + +/** + * The schema of `r2_rule` in responses. + */ +export const r2_rule_output: JsonSchema = { + "properties": { + "actions": { + "items": { + "$ref": "#/$defs/r2_r2-action" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "prefix": { + "type": "string" + }, + "suffix": { + "type": "string" + } + }, + "required": [ + "actions" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts b/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts index 56f7b435..fe3eb37a 100644 --- a/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../../outputs.js"; +import { + r2_bucket_config_output, + r2_queues_config_output, + r2_r2_action_output, + r2_rule_output, +} from "./outputs.js"; import { r2_r2_action, r2_rule } from "./schemas.js"; /** @@ -71,6 +82,21 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_notifications/r2/${pathParam(args, "bucket_name")}/configuration/queues/${pathParam(args, "queue_id")}`, headers: [ @@ -131,6 +157,27 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_queues-config" + }, + "404": { + "$ref": "#/$defs/r2_v4_response_failure" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_queues-config": r2_queues_config_output, + "r2_r2-action": r2_r2_action_output, + "r2_rule": r2_rule_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_notifications/r2/${pathParam(args, "bucket_name")}/configuration/queues/${pathParam(args, "queue_id")}`, headers: [ @@ -185,6 +232,28 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_bucket-config" + }, + "404": { + "$ref": "#/$defs/r2_v4_response_failure" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_bucket-config": r2_bucket_config_output, + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_queues-config": r2_queues_config_output, + "r2_r2-action": r2_r2_action_output, + "r2_rule": r2_rule_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_notifications/r2/${pathParam(args, "bucket_name")}/configuration`, headers: [ @@ -264,6 +333,21 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_notifications/r2/${pathParam(args, "bucket_name")}/configuration/queues/${pathParam(args, "queue_id")}`, headers: [ diff --git a/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts b/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts new file mode 100644 index 00000000..811f32fb --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts @@ -0,0 +1,128 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2_r2_bucket_job` in responses. + */ +export const r2_r2_bucket_job_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/r2_prefix_delete_job" + }, + { + "$ref": "#/$defs/r2_storage_class_migration_job" + } + ] +}; + +/** + * The schema of `r2_r2_bucket_jobs_result` in responses. + */ +export const r2_r2_bucket_jobs_result_output: JsonSchema = { + "properties": { + "jobs": { + "items": { + "$ref": "#/$defs/r2_r2_bucket_job" + }, + "type": "array" + }, + "nextContinuationToken": { + "type": "string" + } + }, + "required": [ + "jobs" + ], + "type": "object" +}; + +/** + * The schema of `r2_storage_class_migration_job` in responses. + */ +export const r2_storage_class_migration_job_output: JsonSchema = { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "jobType": { + "enum": [ + "storageClassMigration" + ], + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + }, + "status": { + "$ref": "#/$defs/r2_r2_bucket_job_status" + }, + "storageClassMigration": { + "$ref": "#/$defs/r2_storage_class_migration_job_storageClassMigration" + } + }, + "required": [ + "id", + "jobType", + "startTime", + "status", + "storageClassMigration" + ], + "type": "object" +}; + +/** + * The schema of `r2_storage_class_migration_job_storageClassMigration` in + * responses. + */ +export const r2_storage_class_migration_job_storageClassMigration_output: JsonSchema = { + "properties": { + "destinationStorageClass": { + "enum": [ + "Standard", + "InfrequentAccess" + ], + "type": "string" + }, + "failedBytes": { + "type": "integer" + }, + "failedObjects": { + "type": "integer" + }, + "migratedBytes": { + "type": "integer" + }, + "migratedMetadataBytes": { + "type": "integer" + }, + "migratedObjects": { + "type": "integer" + }, + "skippedBytes": { + "type": "integer" + }, + "skippedObjects": { + "type": "integer" + }, + "sourceStorageClass": { + "enum": [ + "Standard", + "InfrequentAccess" + ], + "type": "string" + } + }, + "required": [ + "destinationStorageClass", + "migratedObjects", + "sourceStorageClass" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/buckets/jobs/tools.ts b/src/generated/forge-mcp/r2/buckets/jobs/tools.ts index 90a8ec28..748b43ea 100644 --- a/src/generated/forge-mcp/r2/buckets/jobs/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/jobs/tools.ts @@ -2,7 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_prefix_delete_job_output, + r2_prefix_delete_job_prefixDelete_output, + r2_r2_bucket_job_status_output, + r2_v4_response_failure_output, +} from "../../outputs.js"; import { r2_r2_bucket_job_status } from "../../schemas.js"; +import { + r2_r2_bucket_job_output, + r2_r2_bucket_jobs_result_output, + r2_storage_class_migration_job_output, + r2_storage_class_migration_job_storageClassMigration_output, +} from "./outputs.js"; import { r2_create_prefix_delete_job_request, r2_create_storage_class_migration_job_request, @@ -77,6 +91,33 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_r2_bucket_job" + }, + "409": { + "$ref": "#/$defs/r2_v4_response_failure" + }, + "429": { + "$ref": "#/$defs/r2_v4_response_failure" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_prefix_delete_job": r2_prefix_delete_job_output, + "r2_prefix_delete_job_prefixDelete": r2_prefix_delete_job_prefixDelete_output, + "r2_r2_bucket_job": r2_r2_bucket_job_output, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, + "r2_storage_class_migration_job": r2_storage_class_migration_job_output, + "r2_storage_class_migration_job_storageClassMigration": r2_storage_class_migration_job_storageClassMigration_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/jobs`, headers: [ @@ -144,6 +185,27 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_r2_bucket_job" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_prefix_delete_job": r2_prefix_delete_job_output, + "r2_prefix_delete_job_prefixDelete": r2_prefix_delete_job_prefixDelete_output, + "r2_r2_bucket_job": r2_r2_bucket_job_output, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, + "r2_storage_class_migration_job": r2_storage_class_migration_job_output, + "r2_storage_class_migration_job_storageClassMigration": r2_storage_class_migration_job_storageClassMigration_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/jobs/${pathParam(args, "job_id")}`, headers: [ @@ -227,6 +289,28 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_r2_bucket_jobs_result" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_prefix_delete_job": r2_prefix_delete_job_output, + "r2_prefix_delete_job_prefixDelete": r2_prefix_delete_job_prefixDelete_output, + "r2_r2_bucket_job": r2_r2_bucket_job_output, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, + "r2_r2_bucket_jobs_result": r2_r2_bucket_jobs_result_output, + "r2_storage_class_migration_job": r2_storage_class_migration_job_output, + "r2_storage_class_migration_job_storageClassMigration": r2_storage_class_migration_job_storageClassMigration_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/jobs`, query: [ diff --git a/src/generated/forge-mcp/r2/buckets/lifecycle/outputs.ts b/src/generated/forge-mcp/r2/buckets/lifecycle/outputs.ts new file mode 100644 index 00000000..0a776361 --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/lifecycle/outputs.ts @@ -0,0 +1,190 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2_lifecycle-age-condition` in responses. + */ +export const r2_lifecycle_age_condition_output: JsonSchema = { + "properties": { + "maxAge": { + "type": "integer" + }, + "type": { + "enum": [ + "Age" + ], + "type": "string" + } + }, + "required": [ + "maxAge", + "type" + ], + "type": "object" +}; + +/** + * The schema of `r2_lifecycle-config` in responses. + */ +export const r2_lifecycle_config_output: JsonSchema = { + "properties": { + "rules": { + "items": { + "$ref": "#/$defs/r2_lifecycle-rule" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_lifecycle-date-condition` in responses. + */ +export const r2_lifecycle_date_condition_output: JsonSchema = { + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "type": { + "enum": [ + "Date" + ], + "type": "string" + } + }, + "required": [ + "date", + "type" + ], + "type": "object" +}; + +/** + * The schema of `r2_lifecycle-rule` in responses. + */ +export const r2_lifecycle_rule_output: JsonSchema = { + "properties": { + "abortMultipartUploadsTransition": { + "$ref": "#/$defs/r2_lifecycle-rule_abortMultipartUploadsTransition" + }, + "conditions": { + "$ref": "#/$defs/r2_lifecycle-rule_conditions" + }, + "deleteObjectsTransition": { + "$ref": "#/$defs/r2_lifecycle-rule_deleteObjectsTransition" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "storageClassTransitions": { + "items": { + "$ref": "#/$defs/r2_lifecycle-storage-transition" + }, + "type": "array" + } + }, + "required": [ + "conditions", + "enabled", + "id" + ], + "type": "object" +}; + +/** + * The schema of `r2_lifecycle-rule_abortMultipartUploadsTransition` in + * responses. + */ +export const r2_lifecycle_rule_abortMultipartUploadsTransition_output: JsonSchema = { + "properties": { + "condition": { + "$ref": "#/$defs/r2_lifecycle-age-condition" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_lifecycle-rule_conditions` in responses. + */ +export const r2_lifecycle_rule_conditions_output: JsonSchema = { + "properties": { + "prefix": { + "type": "string" + } + }, + "required": [ + "prefix" + ], + "type": "object" +}; + +/** + * The schema of `r2_lifecycle-rule_deleteObjectsTransition` in responses. + */ +export const r2_lifecycle_rule_deleteObjectsTransition_output: JsonSchema = { + "properties": { + "condition": { + "$ref": "#/$defs/r2_lifecycle-rule_deleteObjectsTransition_condition" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_lifecycle-rule_deleteObjectsTransition_condition` in + * responses. + */ +export const r2_lifecycle_rule_deleteObjectsTransition_condition_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/r2_lifecycle-age-condition" + }, + { + "$ref": "#/$defs/r2_lifecycle-date-condition" + } + ] +}; + +/** + * The schema of `r2_lifecycle-storage-transition` in responses. + */ +export const r2_lifecycle_storage_transition_output: JsonSchema = { + "properties": { + "condition": { + "$ref": "#/$defs/r2_lifecycle-storage-transition_condition" + }, + "storageClass": { + "enum": [ + "InfrequentAccess" + ], + "type": "string" + } + }, + "required": [ + "condition", + "storageClass" + ], + "type": "object" +}; + +/** + * The schema of `r2_lifecycle-storage-transition_condition` in responses. + */ +export const r2_lifecycle_storage_transition_condition_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/r2_lifecycle-age-condition" + }, + { + "$ref": "#/$defs/r2_lifecycle-date-condition" + } + ] +}; diff --git a/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts b/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts index 5f853b6b..d607cb2d 100644 --- a/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../../outputs.js"; +import { + r2_lifecycle_age_condition_output, + r2_lifecycle_config_output, + r2_lifecycle_date_condition_output, + r2_lifecycle_rule_abortMultipartUploadsTransition_output, + r2_lifecycle_rule_conditions_output, + r2_lifecycle_rule_deleteObjectsTransition_condition_output, + r2_lifecycle_rule_deleteObjectsTransition_output, + r2_lifecycle_rule_output, + r2_lifecycle_storage_transition_condition_output, + r2_lifecycle_storage_transition_output, +} from "./outputs.js"; import { r2_lifecycle_age_condition, r2_lifecycle_date_condition, @@ -59,6 +76,31 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/r2/buckets/{bucket_name}/lifecycle", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_lifecycle-config" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_lifecycle-age-condition": r2_lifecycle_age_condition_output, + "r2_lifecycle-config": r2_lifecycle_config_output, + "r2_lifecycle-date-condition": r2_lifecycle_date_condition_output, + "r2_lifecycle-rule": r2_lifecycle_rule_output, + "r2_lifecycle-rule_abortMultipartUploadsTransition": r2_lifecycle_rule_abortMultipartUploadsTransition_output, + "r2_lifecycle-rule_conditions": r2_lifecycle_rule_conditions_output, + "r2_lifecycle-rule_deleteObjectsTransition": r2_lifecycle_rule_deleteObjectsTransition_output, + "r2_lifecycle-rule_deleteObjectsTransition_condition": r2_lifecycle_rule_deleteObjectsTransition_condition_output, + "r2_lifecycle-storage-transition": r2_lifecycle_storage_transition_output, + "r2_lifecycle-storage-transition_condition": r2_lifecycle_storage_transition_condition_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lifecycle`, headers: [ @@ -130,6 +172,21 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/r2/buckets/{bucket_name}/lifecycle", + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lifecycle`, headers: [ diff --git a/src/generated/forge-mcp/r2/buckets/localUploads/outputs.ts b/src/generated/forge-mcp/r2/buckets/localUploads/outputs.ts new file mode 100644 index 00000000..c1a61d16 --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/localUploads/outputs.ts @@ -0,0 +1,16 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2_local_uploads_configuration` in responses. + */ +export const r2_local_uploads_configuration_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts b/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts index 86c00a83..636f3dc5 100644 --- a/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../../outputs.js"; +import { r2_local_uploads_configuration_output } from "./outputs.js"; /** * The tools of `r2.buckets.local_uploads`. @@ -49,6 +55,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_local_uploads_configuration" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_local_uploads_configuration": r2_local_uploads_configuration_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/local-uploads`, }), @@ -108,6 +130,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/local-uploads`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/r2/buckets/locks/outputs.ts b/src/generated/forge-mcp/r2/buckets/locks/outputs.ts new file mode 100644 index 00000000..bce28284 --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/locks/outputs.ts @@ -0,0 +1,125 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2_bucket-lock-rule` in responses. + */ +export const r2_bucket_lock_rule_output: JsonSchema = { + "properties": { + "condition": { + "$ref": "#/$defs/r2_bucket-lock-rule_condition" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "required": [ + "condition", + "enabled", + "id" + ], + "type": "object" +}; + +/** + * The schema of `r2_bucket-lock-rule-config` in responses. + */ +export const r2_bucket_lock_rule_config_output: JsonSchema = { + "properties": { + "rules": { + "items": { + "$ref": "#/$defs/r2_bucket-lock-rule" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_bucket-lock-rule_condition` in responses. + */ +export const r2_bucket_lock_rule_condition_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/r2_lock-rule-age-condition" + }, + { + "$ref": "#/$defs/r2_lock-rule-date-condition" + }, + { + "$ref": "#/$defs/r2_lock-rule-indefinite-condition" + } + ] +}; + +/** + * The schema of `r2_lock-rule-age-condition` in responses. + */ +export const r2_lock_rule_age_condition_output: JsonSchema = { + "properties": { + "maxAgeSeconds": { + "type": "integer" + }, + "type": { + "enum": [ + "Age" + ], + "type": "string" + } + }, + "required": [ + "maxAgeSeconds", + "type" + ], + "type": "object" +}; + +/** + * The schema of `r2_lock-rule-date-condition` in responses. + */ +export const r2_lock_rule_date_condition_output: JsonSchema = { + "properties": { + "date": { + "format": "date-time", + "type": "string" + }, + "type": { + "enum": [ + "Date" + ], + "type": "string" + } + }, + "required": [ + "date", + "type" + ], + "type": "object" +}; + +/** + * The schema of `r2_lock-rule-indefinite-condition` in responses. + */ +export const r2_lock_rule_indefinite_condition_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "Indefinite" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/buckets/locks/tools.ts b/src/generated/forge-mcp/r2/buckets/locks/tools.ts index ddfc4498..7d166f25 100644 --- a/src/generated/forge-mcp/r2/buckets/locks/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/locks/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../../outputs.js"; +import { + r2_bucket_lock_rule_condition_output, + r2_bucket_lock_rule_config_output, + r2_bucket_lock_rule_output, + r2_lock_rule_age_condition_output, + r2_lock_rule_date_condition_output, + r2_lock_rule_indefinite_condition_output, +} from "./outputs.js"; import { r2_bucket_lock_rule, r2_bucket_lock_rule_condition, @@ -55,6 +68,21 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/r2/buckets/{bucket_name}/lock", + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lock`, headers: [ @@ -103,6 +131,27 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/r2/buckets/{bucket_name}/lock", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_bucket-lock-rule-config" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_bucket-lock-rule": r2_bucket_lock_rule_output, + "r2_bucket-lock-rule-config": r2_bucket_lock_rule_config_output, + "r2_bucket-lock-rule_condition": r2_bucket_lock_rule_condition_output, + "r2_errors": r2_errors_output, + "r2_lock-rule-age-condition": r2_lock_rule_age_condition_output, + "r2_lock-rule-date-condition": r2_lock_rule_date_condition_output, + "r2_lock-rule-indefinite-condition": r2_lock_rule_indefinite_condition_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lock`, headers: [ @@ -170,6 +219,21 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/r2/buckets/{bucket_name}/lock", + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lock`, headers: [ diff --git a/src/generated/forge-mcp/r2/buckets/metrics/outputs.ts b/src/generated/forge-mcp/r2/buckets/metrics/outputs.ts new file mode 100644 index 00000000..284cfbea --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/metrics/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2_account_level_metrics` in responses. + */ +export const r2_account_level_metrics_output: JsonSchema = { + "properties": { + "infrequentAccess": { + "$ref": "#/$defs/r2_class_based_metrics" + }, + "standard": { + "$ref": "#/$defs/r2_class_based_metrics" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_class_based_metrics` in responses. + */ +export const r2_class_based_metrics_output: JsonSchema = { + "properties": { + "published": { + "$ref": "#/$defs/r2_object_size_metrics" + }, + "uploaded": { + "$ref": "#/$defs/r2_object_size_metrics" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_object_size_metrics` in responses. + */ +export const r2_object_size_metrics_output: JsonSchema = { + "properties": { + "metadataSize": { + "type": "number" + }, + "objects": { + "type": "number" + }, + "payloadSize": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/buckets/metrics/tools.ts b/src/generated/forge-mcp/r2/buckets/metrics/tools.ts index 2720fa7c..12f9e003 100644 --- a/src/generated/forge-mcp/r2/buckets/metrics/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/metrics/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../../outputs.js"; +import { + r2_account_level_metrics_output, + r2_class_based_metrics_output, + r2_object_size_metrics_output, +} from "./outputs.js"; /** * The tools of `r2.buckets.metrics`. @@ -35,6 +45,24 @@ export const tools: readonly Tool[] = [ extensions: { "x-cfPermissionsRequired": null }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_account_level_metrics" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_account_level_metrics": r2_account_level_metrics_output, + "r2_class_based_metrics": r2_class_based_metrics_output, + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_object_size_metrics": r2_object_size_metrics_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/metrics`, }), diff --git a/src/generated/forge-mcp/r2/buckets/outputs.ts b/src/generated/forge-mcp/r2/buckets/outputs.ts new file mode 100644 index 00000000..8b3581c9 --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/outputs.ts @@ -0,0 +1,64 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `r2_bucket` in responses. + */ +export const r2_bucket_output: JsonSchema = { + "properties": { + "creation_date": { + "type": "string" + }, + "jurisdiction": { + "$ref": "#/$defs/r2_jurisdiction" + }, + "location": { + "$ref": "#/$defs/r2_bucket_location" + }, + "name": { + "$ref": "#/$defs/r2_bucket_name" + }, + "storage_class": { + "$ref": "#/$defs/r2_storage_class" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_bucket_location` in responses. + */ +export const r2_bucket_location_output: JsonSchema = { + "enum": [ + "apac", + "eeur", + "enam", + "weur", + "wnam", + "oc" + ], + "type": "string" +}; + +/** + * The schema of `r2_bucket_name` in responses. + */ +export const r2_bucket_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `r2_jurisdiction` in responses. + */ +export const r2_jurisdiction_output: JsonSchema = { + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/r2/buckets/sippy/outputs.ts b/src/generated/forge-mcp/r2/buckets/sippy/outputs.ts new file mode 100644 index 00000000..e3df19d5 --- /dev/null +++ b/src/generated/forge-mcp/r2/buckets/sippy/outputs.ts @@ -0,0 +1,104 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2_sippy` in responses. + */ +export const r2_sippy_output: JsonSchema = { + "properties": { + "destination": { + "$ref": "#/$defs/r2_sippy_destination" + }, + "enabled": { + "type": "boolean" + }, + "source": { + "$ref": "#/$defs/r2_sippy_source" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_sippy_destination` in responses. + */ +export const r2_sippy_destination_output: JsonSchema = { + "properties": { + "accessKeyId": { + "type": "string" + }, + "account": { + "type": "string" + }, + "bucket": { + "type": "string" + }, + "provider": { + "enum": [ + "r2" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_sippy_source` in responses. + */ +export const r2_sippy_source_output: JsonSchema = { + "properties": { + "bucket": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "bucketUrl": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "container": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "provider": { + "enum": [ + "aws", + "gcs", + "s3", + "azure" + ], + "type": "string" + }, + "region": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/buckets/sippy/tools.ts b/src/generated/forge-mcp/r2/buckets/sippy/tools.ts index 4e32978a..6976ad11 100644 --- a/src/generated/forge-mcp/r2/buckets/sippy/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/sippy/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../../outputs.js"; +import { + r2_sippy_destination_output, + r2_sippy_output, + r2_sippy_source_output, +} from "./outputs.js"; import { r2_enable_sippy_aws, r2_enable_sippy_aws_destination, @@ -67,6 +77,29 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "enabled": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/sippy`, headers: [ @@ -127,6 +160,24 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_sippy" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_sippy": r2_sippy_output, + "r2_sippy_destination": r2_sippy_destination_output, + "r2_sippy_source": r2_sippy_source_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/sippy`, headers: [ @@ -218,6 +269,24 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_sippy" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_sippy": r2_sippy_output, + "r2_sippy_destination": r2_sippy_destination_output, + "r2_sippy_source": r2_sippy_source_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/sippy`, headers: [ diff --git a/src/generated/forge-mcp/r2/buckets/tools.ts b/src/generated/forge-mcp/r2/buckets/tools.ts index 3cca59d0..87f52a7c 100644 --- a/src/generated/forge-mcp/r2/buckets/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/tools.ts @@ -2,7 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_storage_class_output, + r2_v4_response_failure_output, +} from "../outputs.js"; import { r2_storage_class } from "../schemas.js"; +import { + r2_bucket_location_output, + r2_bucket_name_output, + r2_bucket_output, + r2_jurisdiction_output, +} from "./outputs.js"; import { r2_bucket_location, r2_bucket_name } from "./schemas.js"; /** @@ -77,6 +89,26 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_bucket" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_bucket": r2_bucket_output, + "r2_bucket_location": r2_bucket_location_output, + "r2_bucket_name": r2_bucket_name_output, + "r2_errors": r2_errors_output, + "r2_jurisdiction": r2_jurisdiction_output, + "r2_messages": r2_messages_output, + "r2_storage_class": r2_storage_class_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets`, headers: [ @@ -137,6 +169,26 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_bucket" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_bucket": r2_bucket_output, + "r2_bucket_location": r2_bucket_location_output, + "r2_bucket_name": r2_bucket_name_output, + "r2_errors": r2_errors_output, + "r2_jurisdiction": r2_jurisdiction_output, + "r2_messages": r2_messages_output, + "r2_storage_class": r2_storage_class_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}`, headers: [ @@ -191,6 +243,21 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}`, headers: [ @@ -258,6 +325,26 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_bucket" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_bucket": r2_bucket_output, + "r2_bucket_location": r2_bucket_location_output, + "r2_bucket_name": r2_bucket_name_output, + "r2_errors": r2_errors_output, + "r2_jurisdiction": r2_jurisdiction_output, + "r2_messages": r2_messages_output, + "r2_storage_class": r2_storage_class_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}`, headers: [ @@ -319,6 +406,26 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_bucket" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_bucket": r2_bucket_output, + "r2_bucket_location": r2_bucket_location_output, + "r2_bucket_name": r2_bucket_name_output, + "r2_errors": r2_errors_output, + "r2_jurisdiction": r2_jurisdiction_output, + "r2_messages": r2_messages_output, + "r2_storage_class": r2_storage_class_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}`, headers: [ @@ -400,6 +507,37 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "buckets": { + "items": { + "$ref": "#/$defs/r2_bucket" + }, + "type": "array" + } + }, + "required": [ + "buckets" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_bucket": r2_bucket_output, + "r2_bucket_location": r2_bucket_location_output, + "r2_bucket_name": r2_bucket_name_output, + "r2_errors": r2_errors_output, + "r2_jurisdiction": r2_jurisdiction_output, + "r2_messages": r2_messages_output, + "r2_storage_class": r2_storage_class_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets`, query: [ diff --git a/src/generated/forge-mcp/r2/objects/outputs.ts b/src/generated/forge-mcp/r2/objects/outputs.ts new file mode 100644 index 00000000..f7ad42fe --- /dev/null +++ b/src/generated/forge-mcp/r2/objects/outputs.ts @@ -0,0 +1,105 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `r2_r2_delete_object_result` in responses. + */ +export const r2_r2_delete_object_result_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_r2_list_objects_result_info` in responses. + */ +export const r2_r2_list_objects_result_info_output: JsonSchema = { + "properties": { + "cursor": { + "type": "string" + }, + "delimited": { + "items": { + "type": "string" + }, + "type": "array" + }, + "is_truncated": { + "type": "boolean" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_r2_object` in responses. + */ +export const r2_r2_object_output: JsonSchema = { + "properties": { + "custom_metadata": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "etag": { + "type": "string" + }, + "http_metadata": { + "$ref": "#/$defs/r2_r2_object_http_metadata" + }, + "key": { + "type": "string" + }, + "last_modified": { + "format": "date-time", + "type": "string" + }, + "size": { + "type": "integer" + }, + "ssec": { + "type": "boolean" + }, + "storage_class": { + "$ref": "#/$defs/r2_storage_class" + } + }, + "type": "object" +}; + +/** + * The schema of `r2_r2_object_http_metadata` in responses. + */ +export const r2_r2_object_http_metadata_output: JsonSchema = { + "properties": { + "cacheControl": { + "type": "string" + }, + "cacheExpiry": { + "format": "date-time", + "type": "string" + }, + "contentDisposition": { + "type": "string" + }, + "contentEncoding": { + "type": "string" + }, + "contentLanguage": { + "type": "string" + }, + "contentType": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/objects/tools.ts b/src/generated/forge-mcp/r2/objects/tools.ts index 5e3355b8..042da63b 100644 --- a/src/generated/forge-mcp/r2/objects/tools.ts +++ b/src/generated/forge-mcp/r2/objects/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_prefix_delete_job_output, + r2_prefix_delete_job_prefixDelete_output, + r2_r2_bucket_job_status_output, + r2_storage_class_output, + r2_v4_response_failure_output, +} from "../outputs.js"; +import { + r2_r2_delete_object_result_output, + r2_r2_list_objects_result_info_output, + r2_r2_object_http_metadata_output, + r2_r2_object_output, +} from "./outputs.js"; /** * The tools of `r2.objects`. @@ -71,6 +86,84 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "errors": { + "$ref": "#/$defs/r2_errors" + }, + "messages": { + "$ref": "#/$defs/r2_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/r2_r2_delete_object_result" + }, + "type": "array" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + { + "$ref": "#/$defs/r2_v4_response_failure" + }, + { + "properties": { + "errors": { + "$ref": "#/$defs/r2_errors" + }, + "messages": { + "$ref": "#/$defs/r2_messages" + }, + "result": { + "$ref": "#/$defs/r2_prefix_delete_job" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_prefix_delete_job": r2_prefix_delete_job_output, + "r2_prefix_delete_job_prefixDelete": r2_prefix_delete_job_prefixDelete_output, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, + "r2_r2_delete_object_result": r2_r2_delete_object_result_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/objects`, query: [ @@ -134,6 +227,22 @@ export const tools: readonly Tool[] = [ "Workers R2 Storage Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_r2_delete_object_result" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_r2_delete_object_result": r2_r2_delete_object_result_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/objects/${pathParam(args, "object_key")}`, headers: [ @@ -207,6 +316,20 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": null, + "304": null, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/objects/${pathParam(args, "object_key")}`, headers: [ @@ -290,6 +413,39 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/r2_r2_object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/r2_r2_list_objects_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_r2_list_objects_result_info": r2_r2_list_objects_result_info_output, + "r2_r2_object": r2_r2_object_output, + "r2_r2_object_http_metadata": r2_r2_object_http_metadata_output, + "r2_storage_class": r2_storage_class_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/objects`, query: [ diff --git a/src/generated/forge-mcp/r2/outputs.ts b/src/generated/forge-mcp/r2/outputs.ts new file mode 100644 index 00000000..6bc9532c --- /dev/null +++ b/src/generated/forge-mcp/r2/outputs.ts @@ -0,0 +1,152 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `r2_errors` in responses. + */ +export const r2_errors_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `r2_messages` in responses. + */ +export const r2_messages_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `r2_prefix_delete_job` in responses. + */ +export const r2_prefix_delete_job_output: JsonSchema = { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "jobType": { + "enum": [ + "prefixDelete" + ], + "type": "string" + }, + "prefixDelete": { + "$ref": "#/$defs/r2_prefix_delete_job_prefixDelete" + }, + "startTime": { + "format": "date-time", + "type": "string" + }, + "status": { + "$ref": "#/$defs/r2_r2_bucket_job_status" + } + }, + "required": [ + "id", + "jobType", + "prefixDelete", + "startTime", + "status" + ], + "type": "object" +}; + +/** + * The schema of `r2_prefix_delete_job_prefixDelete` in responses. + */ +export const r2_prefix_delete_job_prefixDelete_output: JsonSchema = { + "properties": { + "deletedObjects": { + "type": "integer" + }, + "isBucketClear": { + "type": "boolean" + }, + "prefix": { + "type": "string" + } + }, + "required": [ + "deletedObjects", + "prefix" + ], + "type": "object" +}; + +/** + * The schema of `r2_r2_bucket_job_status` in responses. + */ +export const r2_r2_bucket_job_status_output: JsonSchema = { + "enum": [ + "ENQUEUED", + "RUNNING", + "COMPLETED", + "FAILED", + "CANCELLED" + ], + "type": "string" +}; + +/** + * The schema of `r2_storage_class` in responses. + */ +export const r2_storage_class_output: JsonSchema = { + "enum": [ + "Standard", + "InfrequentAccess" + ], + "type": "string" +}; + +/** + * The schema of `r2_v4_response_failure` in responses. + */ +export const r2_v4_response_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/r2_errors" + }, + "messages": { + "$ref": "#/$defs/r2_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/outputs.ts new file mode 100644 index 00000000..f714903e --- /dev/null +++ b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/outputs.ts @@ -0,0 +1,20 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2-slurper_ConnectivityResponse` in responses. + */ +export const r2_slurper_ConnectivityResponse_output: JsonSchema = { + "properties": { + "connectivityStatus": { + "enum": [ + "success", + "error" + ], + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts index 690aae72..ae396ca8 100644 --- a/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts +++ b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_slurper_api_v4_error_output, + r2_slurper_api_v4_failure_output, + r2_slurper_api_v4_message_output, +} from "../outputs.js"; import { r2_slurper_GCSLikeCredsSchema, r2_slurper_GCSSourceSchema, @@ -12,6 +17,7 @@ import { r2_slurper_S3SourceSchema, r2_slurper_SourceJobSchema, } from "../schemas.js"; +import { r2_slurper_ConnectivityResponse_output } from "./outputs.js"; /** * The tools of `r2.super_slurper.connectivity_precheck`. @@ -54,6 +60,22 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/slurper/source/connectivity-precheck", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-slurper_ConnectivityResponse" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_ConnectivityResponse": r2_slurper_ConnectivityResponse_output, + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/source/connectivity-precheck`, body: { value: args["body"], mediaType: "application/json" }, @@ -92,6 +114,22 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/slurper/target/connectivity-precheck", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-slurper_ConnectivityResponse" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_ConnectivityResponse": r2_slurper_ConnectivityResponse_output, + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/target/connectivity-precheck`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/logs/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/outputs.ts new file mode 100644 index 00000000..7997a1de --- /dev/null +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/outputs.ts @@ -0,0 +1,59 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `r2-slurper_JobLogResponse` in responses. + */ +export const r2_slurper_JobLogResponse_output: JsonSchema = { + "properties": { + "createdAt": { + "type": "string" + }, + "job": { + "type": "string" + }, + "logType": { + "enum": [ + "migrationStart", + "migrationComplete", + "migrationAbort", + "migrationError", + "migrationPause", + "migrationResume", + "migrationErrorFailedContinuation", + "importErrorRetryExhaustion", + "importSkippedStorageClass", + "importSkippedOversized", + "importSkippedEmptyObject", + "importSkippedUnsupportedContentType", + "importSkippedExcludedContentType", + "importSkippedInvalidMedia", + "importSkippedRequiresRetrieval" + ], + "type": "string" + }, + "message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "objectKey": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts index d08f32d4..b2f09b09 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + r2_slurper_api_v4_error_output, + r2_slurper_api_v4_failure_output, + r2_slurper_api_v4_message_output, +} from "../../outputs.js"; +import { r2_slurper_JobLogResponse_output } from "./outputs.js"; /** * The tools of `r2.super_slurper.jobs.logs`. @@ -41,6 +47,36 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/slurper/jobs/{job_id}/logs", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/r2-slurper_JobLogResponse" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_JobLogResponse": r2_slurper_JobLogResponse_output, + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs/${pathParam(args, "job_id")}/logs`, query: [ diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts new file mode 100644 index 00000000..b17b72e3 --- /dev/null +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts @@ -0,0 +1,237 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `r2-slurper_JobProgressResponse` in responses. + */ +export const r2_slurper_JobProgressResponse_output: JsonSchema = { + "properties": { + "createdAt": { + "type": "string" + }, + "failedObjects": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "objects": { + "type": "integer" + }, + "skippedObjects": { + "type": "integer" + }, + "status": { + "$ref": "#/$defs/r2-slurper_JobStatus" + }, + "transferredObjects": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `r2-slurper_JobResponse` in responses. + */ +export const r2_slurper_JobResponse_output: JsonSchema = { + "properties": { + "createdAt": { + "type": "string" + }, + "finishedAt": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "overwrite": { + "type": "boolean" + }, + "source": { + "$ref": "#/$defs/r2-slurper_JobResponse_source" + }, + "status": { + "$ref": "#/$defs/r2-slurper_JobStatus" + }, + "target": { + "$ref": "#/$defs/r2-slurper_JobResponse_target" + } + }, + "type": "object" +}; + +/** + * The schema of `r2-slurper_JobResponse_source` in responses. + */ +export const r2_slurper_JobResponse_source_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "bucket": { + "type": "string" + }, + "endpoint": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "keys": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "pathPrefix": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "vendor": { + "enum": [ + "s3" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "bucket": { + "type": "string" + }, + "keys": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "pathPrefix": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "vendor": { + "enum": [ + "gcs" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "bucket": { + "type": "string" + }, + "jurisdiction": { + "$ref": "#/$defs/r2-slurper_Jurisdiction" + }, + "keys": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "pathPrefix": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "vendor": { + "enum": [ + "r2" + ], + "type": "string" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `r2-slurper_JobResponse_target` in responses. + */ +export const r2_slurper_JobResponse_target_output: JsonSchema = { + "properties": { + "bucket": { + "type": "string" + }, + "jurisdiction": { + "$ref": "#/$defs/r2-slurper_Jurisdiction" + }, + "vendor": { + "enum": [ + "r2" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `r2-slurper_JobStatus` in responses. + */ +export const r2_slurper_JobStatus_output: JsonSchema = { + "enum": [ + "running", + "paused", + "aborted", + "completed" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts index 7989b077..174631eb 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + r2_slurper_Jurisdiction_output, + r2_slurper_api_v4_error_output, + r2_slurper_api_v4_failure_output, + r2_slurper_api_v4_message_output, +} from "../outputs.js"; import { r2_slurper_GCSLikeCredsSchema, r2_slurper_GCSSourceSchema, @@ -12,6 +18,13 @@ import { r2_slurper_S3SourceSchema, r2_slurper_SourceJobSchema, } from "../schemas.js"; +import { + r2_slurper_JobProgressResponse_output, + r2_slurper_JobResponse_output, + r2_slurper_JobResponse_source_output, + r2_slurper_JobResponse_target_output, + r2_slurper_JobStatus_output, +} from "./outputs.js"; import { r2_slurper_CreateJobRequest } from "./schemas.js"; /** @@ -46,6 +59,21 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/slurper/jobs/{job_id}/abort", + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs/${pathParam(args, "job_id")}/abort`, }), @@ -74,6 +102,21 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/slurper/jobs/abortAll", + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs/abortAll`, }), @@ -117,6 +160,29 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/slurper/jobs", + responses: { + schemas: { + "201": { + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" + }, + "409": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs`, body: { value: args["body"], mediaType: "application/json" }, @@ -150,6 +216,24 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/slurper/jobs/{job_id}", + responses: { + schemas: { + "200": { + "type": "string" + }, + "409": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs/${pathParam(args, "job_id")}`, }), @@ -182,6 +266,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/slurper/jobs/{job_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-slurper_JobResponse" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_JobResponse": r2_slurper_JobResponse_output, + "r2-slurper_JobResponse_source": r2_slurper_JobResponse_source_output, + "r2-slurper_JobResponse_target": r2_slurper_JobResponse_target_output, + "r2-slurper_JobStatus": r2_slurper_JobStatus_output, + "r2-slurper_Jurisdiction": r2_slurper_Jurisdiction_output, + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs/${pathParam(args, "job_id")}`, }), @@ -216,6 +320,40 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/slurper/jobs", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/r2-slurper_JobResponse" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_JobResponse": r2_slurper_JobResponse_output, + "r2-slurper_JobResponse_source": r2_slurper_JobResponse_source_output, + "r2-slurper_JobResponse_target": r2_slurper_JobResponse_target_output, + "r2-slurper_JobStatus": r2_slurper_JobStatus_output, + "r2-slurper_Jurisdiction": r2_slurper_Jurisdiction_output, + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs`, query: [ @@ -252,6 +390,24 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/slurper/jobs/{job_id}/pause", + responses: { + schemas: { + "200": { + "type": "string" + }, + "409": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs/${pathParam(args, "job_id")}/pause`, }), @@ -284,6 +440,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/slurper/jobs/{job_id}/progress", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2-slurper_JobProgressResponse" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_JobProgressResponse": r2_slurper_JobProgressResponse_output, + "r2-slurper_JobStatus": r2_slurper_JobStatus_output, + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs/${pathParam(args, "job_id")}/progress`, }), @@ -316,6 +489,21 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/slurper/jobs/{job_id}/resume", + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/r2-slurper_api-v4-failure" + } + }, + $defs: { + "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, + "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, + "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs/${pathParam(args, "job_id")}/resume`, }), diff --git a/src/generated/forge-mcp/r2/superSlurper/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/outputs.ts new file mode 100644 index 00000000..be0272ca --- /dev/null +++ b/src/generated/forge-mcp/r2/superSlurper/outputs.ts @@ -0,0 +1,70 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `r2-slurper_Jurisdiction` in responses. + */ +export const r2_slurper_Jurisdiction_output: JsonSchema = { + "enum": [ + "default", + "eu", + "us", + "fedramp" + ], + "type": "string" +}; + +/** + * The schema of `r2-slurper_api-v4-error` in responses. + */ +export const r2_slurper_api_v4_error_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `r2-slurper_api-v4-failure` in responses. + */ +export const r2_slurper_api_v4_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/r2-slurper_api-v4-error" + }, + "messages": { + "$ref": "#/$defs/r2-slurper_api-v4-message" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `r2-slurper_api-v4-message` in responses. + */ +export const r2_slurper_api_v4_message_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/r2/temporaryCredentials/outputs.ts b/src/generated/forge-mcp/r2/temporaryCredentials/outputs.ts new file mode 100644 index 00000000..cbc2b721 --- /dev/null +++ b/src/generated/forge-mcp/r2/temporaryCredentials/outputs.ts @@ -0,0 +1,22 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `r2_temp_access_creds_response` in responses. + */ +export const r2_temp_access_creds_response_output: JsonSchema = { + "properties": { + "accessKeyId": { + "type": "string" + }, + "secretAccessKey": { + "type": "string" + }, + "sessionToken": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts b/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts index 010940a6..030604d7 100644 --- a/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts +++ b/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + r2_errors_output, + r2_messages_output, + r2_v4_response_failure_output, +} from "../outputs.js"; +import { r2_temp_access_creds_response_output } from "./outputs.js"; import { r2_temp_access_creds_request } from "./schemas.js"; /** @@ -40,6 +46,22 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/r2/temp-access-credentials", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/r2_temp_access_creds_response" + }, + "4XX": { + "$ref": "#/$defs/r2_v4_response_failure" + } + }, + $defs: { + "r2_errors": r2_errors_output, + "r2_messages": r2_messages_output, + "r2_temp_access_creds_response": r2_temp_access_creds_response_output, + "r2_v4_response_failure": r2_v4_response_failure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/temp-access-credentials`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/radar/agentReadiness/tools.ts b/src/generated/forge-mcp/radar/agentReadiness/tools.ts index 591aff13..b6ce3ba0 100644 --- a/src/generated/forge-mcp/radar/agentReadiness/tools.ts +++ b/src/generated/forge-mcp/radar/agentReadiness/tools.ts @@ -74,6 +74,132 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "date": { + "format": "date", + "type": "string" + }, + "domainCategories": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "successfulDomains": { + "type": "integer" + }, + "totalDomains": { + "type": "integer" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "date", + "domainCategories", + "lastUpdated", + "normalization", + "successfulDomains", + "totalDomains", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/agent_readiness/summary/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/ai/bots/tools.ts b/src/generated/forge-mcp/radar/ai/bots/tools.ts index 95309207..9fd86891 100644 --- a/src/generated/forge-mcp/radar/ai/bots/tools.ts +++ b/src/generated/forge-mcp/radar/ai/bots/tools.ts @@ -184,6 +184,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + }, + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + } + }, + "required": [ + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ai/bots/timeseries`, query: [ @@ -410,6 +644,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ai/bots/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/ai/inference/tools.ts b/src/generated/forge-mcp/radar/ai/inference/tools.ts index 5cf934c9..06d2e678 100644 --- a/src/generated/forge-mcp/radar/ai/inference/tools.ts +++ b/src/generated/forge-mcp/radar/ai/inference/tools.ts @@ -111,6 +111,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ai/inference/summary/${pathParam(args, "dimension")}`, query: [ @@ -249,6 +457,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ai/inference/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts b/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts index dfb5ebeb..c58cb0e5 100644 --- a/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts +++ b/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts @@ -75,6 +75,219 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ai/markdown_for_agents/summary`, query: [ @@ -164,6 +377,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + }, + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + } + }, + "required": [ + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ai/markdown_for_agents/timeseries`, query: [ diff --git a/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts b/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts index f5d9db73..255fbb04 100644 --- a/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts +++ b/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts @@ -190,6 +190,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ai/bots/summary/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/annotations/outages/tools.ts b/src/generated/forge-mcp/radar/annotations/outages/tools.ts index 3b77200a..0029b6c2 100644 --- a/src/generated/forge-mcp/radar/annotations/outages/tools.ts +++ b/src/generated/forge-mcp/radar/annotations/outages/tools.ts @@ -273,6 +273,302 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "annotations": { + "items": { + "properties": { + "asns": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "asnsDetails": { + "items": { + "properties": { + "asn": { + "type": "string" + }, + "location": { + "oneOf": [ + { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "asn", + "location", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "dataSource": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "endDate": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entities": { + "items": { + "properties": { + "entityName": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entityType": { + "type": "string" + }, + "entityValue": { + "type": "string" + } + }, + "required": [ + "entityName", + "entityType", + "entityValue" + ], + "type": "object" + }, + "type": "array" + }, + "eventType": { + "type": "string" + }, + "geoIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "linkedUrl": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "locations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "locationsDetails": { + "items": { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "origins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "originsDetails": { + "items": { + "properties": { + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "origin": { + "type": "string" + } + }, + "required": [ + "name", + "origin" + ], + "type": "object" + }, + "type": "array" + }, + "outage": { + "oneOf": [ + { + "properties": { + "outageCause": { + "type": "string" + }, + "outageType": { + "type": "string" + } + }, + "required": [ + "outageCause", + "outageType" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "scope": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "asns", + "asnsDetails", + "dataSource", + "description", + "endDate", + "entities", + "eventType", + "geoIds", + "id", + "linkedUrl", + "locations", + "locationsDetails", + "origins", + "originsDetails", + "outage", + "scope", + "startDate", + "tags" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "annotations" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/annotations/outages`, query: [ @@ -355,6 +651,70 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "annotations": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "annotations" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/annotations/outages/locations`, query: [ diff --git a/src/generated/forge-mcp/radar/annotations/tools.ts b/src/generated/forge-mcp/radar/annotations/tools.ts index 59551446..aa1e02f7 100644 --- a/src/generated/forge-mcp/radar/annotations/tools.ts +++ b/src/generated/forge-mcp/radar/annotations/tools.ts @@ -52,6 +52,280 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "annotation": { + "properties": { + "asns": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "asnsDetails": { + "items": { + "properties": { + "asn": { + "type": "string" + }, + "location": { + "oneOf": [ + { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "asn", + "location", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "dataSource": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "endDate": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entities": { + "items": { + "properties": { + "entityName": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entityType": { + "type": "string" + }, + "entityValue": { + "type": "string" + } + }, + "required": [ + "entityName", + "entityType", + "entityValue" + ], + "type": "object" + }, + "type": "array" + }, + "eventType": { + "type": "string" + }, + "geoIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "linkedUrl": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "locations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "locationsDetails": { + "items": { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "origins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "originsDetails": { + "items": { + "properties": { + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "origin": { + "type": "string" + } + }, + "required": [ + "name", + "origin" + ], + "type": "object" + }, + "type": "array" + }, + "outage": { + "oneOf": [ + { + "properties": { + "outageCause": { + "type": "string" + }, + "outageType": { + "type": "string" + } + }, + "required": [ + "outageCause", + "outageType" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "scope": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "asns", + "asnsDetails", + "dataSource", + "description", + "endDate", + "entities", + "eventType", + "geoIds", + "id", + "linkedUrl", + "locations", + "locationsDetails", + "origins", + "originsDetails", + "outage", + "scope", + "startDate", + "tags" + ], + "type": "object" + } + }, + "required": [ + "annotation" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/annotations/${pathParam(args, "id")}`, query: [ @@ -337,6 +611,300 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "annotations": { + "items": { + "properties": { + "asns": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "asnsDetails": { + "items": { + "properties": { + "asn": { + "type": "string" + }, + "location": { + "oneOf": [ + { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "asn", + "location", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "dataSource": { + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "endDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entities": { + "items": { + "properties": { + "entityName": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entityType": { + "type": "string" + }, + "entityValue": { + "type": "string" + } + }, + "required": [ + "entityName", + "entityType", + "entityValue" + ], + "type": "object" + }, + "type": "array" + }, + "eventType": { + "type": "string" + }, + "geoIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "linkedUrl": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "locations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "locationsDetails": { + "items": { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "origins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "originsDetails": { + "items": { + "properties": { + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "origin": { + "type": "string" + } + }, + "required": [ + "name", + "origin" + ], + "type": "object" + }, + "type": "array" + }, + "outage": { + "oneOf": [ + { + "properties": { + "outageCause": { + "type": "string" + }, + "outageType": { + "type": "string" + } + }, + "required": [ + "outageCause", + "outageType" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "scope": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startDate": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "asns", + "asnsDetails", + "dataSource", + "description", + "endDate", + "entities", + "eventType", + "geoIds", + "id", + "linkedUrl", + "locations", + "locationsDetails", + "origins", + "originsDetails", + "outage", + "scope", + "startDate", + "tags" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "annotations" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/annotations`, query: [ diff --git a/src/generated/forge-mcp/radar/as112/tools.ts b/src/generated/forge-mcp/radar/as112/tools.ts index ec518791..55587977 100644 --- a/src/generated/forge-mcp/radar/as112/tools.ts +++ b/src/generated/forge-mcp/radar/as112/tools.ts @@ -253,6 +253,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/as112/summary/${pathParam(args, "dimension")}`, query: [ @@ -507,6 +715,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + }, + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + } + }, + "required": [ + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/as112/timeseries`, query: [ @@ -780,6 +1222,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/as112/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/as112/top/tools.ts b/src/generated/forge-mcp/radar/as112/top/tools.ts index 896e87d8..31c82e2f 100644 --- a/src/generated/forge-mcp/radar/as112/top/tools.ts +++ b/src/generated/forge-mcp/radar/as112/top/tools.ts @@ -105,6 +105,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/as112/top/locations/dnssec/${pathParam(args, "dnssec")}`, query: [ @@ -217,6 +429,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/as112/top/locations/edns/${pathParam(args, "edns")}`, query: [ @@ -329,6 +753,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/as112/top/locations/ip_version/${pathParam(args, "ip_version")}`, query: [ @@ -430,6 +1066,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/as112/top/locations`, query: [ diff --git a/src/generated/forge-mcp/radar/attacks/layer3/tools.ts b/src/generated/forge-mcp/radar/attacks/layer3/tools.ts index 55ebee3d..8fe2598f 100644 --- a/src/generated/forge-mcp/radar/attacks/layer3/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer3/tools.ts @@ -142,6 +142,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer3/summary/${pathParam(args, "dimension")}`, query: [ @@ -308,6 +516,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + }, + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + } + }, + "required": [ + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer3/timeseries`, query: [ @@ -482,6 +924,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer3/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts b/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts index 7998a031..ce03daa9 100644 --- a/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts @@ -118,6 +118,222 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "originCountryAlpha2": { + "type": "string" + }, + "originCountryName": { + "type": "string" + }, + "rank": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "originCountryAlpha2", + "originCountryName", + "rank", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer3/top/locations/origin`, query: [ @@ -245,6 +461,222 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "rank": { + "type": "integer" + }, + "targetCountryAlpha2": { + "type": "string" + }, + "targetCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "rank", + "targetCountryAlpha2", + "targetCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer3/top/locations/target`, query: [ diff --git a/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts b/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts index c2521a7b..53b2e52b 100644 --- a/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts @@ -149,6 +149,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "originCountryAlpha2": { + "type": "string" + }, + "originCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "originCountryAlpha2", + "originCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer3/top/attacks`, query: [ diff --git a/src/generated/forge-mcp/radar/attacks/layer7/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/tools.ts index 95fc75cf..36b6708b 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/tools.ts @@ -210,6 +210,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer7/summary/${pathParam(args, "dimension")}`, query: [ @@ -430,6 +638,241 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer7/timeseries`, query: [ @@ -672,6 +1115,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer7/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts index 8db275b1..ca483186 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts @@ -188,6 +188,222 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "originAsn": { + "type": "string" + }, + "originAsnName": { + "type": "string" + }, + "rank": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "originAsn", + "originAsnName", + "rank", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer7/top/ases/origin`, query: [ diff --git a/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts index 5af288c8..75bb540b 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts @@ -188,6 +188,222 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "originCountryAlpha2": { + "type": "string" + }, + "originCountryName": { + "type": "string" + }, + "rank": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "originCountryAlpha2", + "originCountryName", + "rank", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer7/top/locations/origin`, query: [ @@ -302,6 +518,222 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "rank": { + "type": "integer" + }, + "targetCountryAlpha2": { + "type": "string" + }, + "targetCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "rank", + "targetCountryAlpha2", + "targetCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer7/top/locations/target`, query: [ diff --git a/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts index 719139e3..fac0a5d9 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts @@ -140,6 +140,226 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "originCountryAlpha2": { + "type": "string" + }, + "originCountryName": { + "type": "string" + }, + "targetCountryAlpha2": { + "type": "string" + }, + "targetCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "originCountryAlpha2", + "originCountryName", + "targetCountryAlpha2", + "targetCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/attacks/layer7/top/attacks`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts b/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts index 15e8a4bc..01ae8ae9 100644 --- a/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts @@ -117,6 +117,184 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asn_info": { + "items": { + "properties": { + "asn": { + "type": "integer" + }, + "country_code": { + "type": "string" + }, + "org_name": { + "type": "string" + } + }, + "required": [ + "asn", + "country_code", + "org_name" + ], + "type": "object" + }, + "type": "array" + }, + "events": { + "items": { + "properties": { + "confidence_score": { + "type": "integer" + }, + "duration": { + "type": "integer" + }, + "event_type": { + "type": "integer" + }, + "hijack_msgs_count": { + "type": "integer" + }, + "hijacker_asn": { + "type": "integer" + }, + "hijacker_country": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "is_stale": { + "type": "boolean" + }, + "max_hijack_ts": { + "type": "string" + }, + "max_msg_ts": { + "type": "string" + }, + "min_hijack_ts": { + "type": "string" + }, + "on_going_count": { + "type": "integer" + }, + "peer_asns": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "peer_ip_count": { + "type": "integer" + }, + "prefixes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tags": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "score": { + "type": "integer" + } + }, + "required": [ + "name", + "score" + ], + "type": "object" + }, + "type": "array" + }, + "victim_asns": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "victim_countries": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "confidence_score", + "duration", + "event_type", + "hijack_msgs_count", + "hijacker_asn", + "hijacker_country", + "id", + "is_stale", + "max_hijack_ts", + "max_msg_ts", + "min_hijack_ts", + "on_going_count", + "peer_asns", + "peer_ip_count", + "prefixes", + "tags", + "victim_asns", + "victim_countries" + ], + "type": "object" + }, + "type": "array" + }, + "total_monitors": { + "type": "integer" + } + }, + "required": [ + "asn_info", + "events", + "total_monitors" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/hijacks/events`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/ips/tools.ts b/src/generated/forge-mcp/radar/bgp/ips/tools.ts index ecd4b036..c56118ed 100644 --- a/src/generated/forge-mcp/radar/bgp/ips/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/ips/tools.ts @@ -104,6 +104,339 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "delay": { + "properties": { + "asn_data": { + "properties": { + "delaySecs": { + "type": "number" + }, + "delayStr": { + "type": "string" + }, + "healthy": { + "type": "boolean" + }, + "latest": { + "properties": { + "entries_count": { + "type": "number" + }, + "path": { + "type": "string" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "entries_count", + "path", + "timestamp" + ], + "type": "object" + } + }, + "required": [ + "delaySecs", + "delayStr", + "healthy", + "latest" + ], + "type": "object" + }, + "country_data": { + "properties": { + "delaySecs": { + "type": "number" + }, + "delayStr": { + "type": "string" + }, + "healthy": { + "type": "boolean" + }, + "latest": { + "properties": { + "count": { + "type": "number" + }, + "timestamp": { + "type": "number" + } + }, + "required": [ + "count", + "timestamp" + ], + "type": "object" + } + }, + "required": [ + "delaySecs", + "delayStr", + "healthy", + "latest" + ], + "type": "object" + }, + "healthy": { + "type": "boolean" + }, + "nowTs": { + "type": "number" + } + }, + "required": [ + "asn_data", + "country_data", + "healthy", + "nowTs" + ], + "type": "object" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "properties": { + "ipv4": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ipv6": { + "items": { + "type": "string" + }, + "type": "array" + }, + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "ipv4", + "ipv6", + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/ips/timeseries`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts b/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts index 6edf2748..395d7cbe 100644 --- a/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts @@ -67,6 +67,90 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "anchorTs": { + "format": "date-time", + "type": "string" + }, + "asns": { + "items": { + "properties": { + "asn": { + "type": "integer" + }, + "v4_24s": { + "type": "integer" + }, + "v6_48s": { + "type": "integer" + } + }, + "required": [ + "asn", + "v4_24s", + "v6_48s" + ], + "type": "object" + }, + "type": "array" + }, + "country": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "metric": { + "type": "string" + } + }, + "required": [ + "anchorTs", + "asns", + "country", + "metric" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/ips/top/ases`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts b/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts index 77a4f57a..2d506f83 100644 --- a/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts @@ -105,6 +105,139 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asn_info": { + "items": { + "properties": { + "asn": { + "type": "integer" + }, + "country_code": { + "type": "string" + }, + "org_name": { + "type": "string" + } + }, + "required": [ + "asn", + "country_code", + "org_name" + ], + "type": "object" + }, + "type": "array" + }, + "events": { + "items": { + "properties": { + "countries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "detected_ts": { + "type": "string" + }, + "finished": { + "type": "boolean" + }, + "id": { + "type": "integer" + }, + "leak_asn": { + "type": "integer" + }, + "leak_count": { + "type": "integer" + }, + "leak_seg": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "leak_type": { + "type": "integer" + }, + "max_ts": { + "type": "string" + }, + "min_ts": { + "type": "string" + }, + "origin_count": { + "type": "integer" + }, + "peer_count": { + "type": "integer" + }, + "prefix_count": { + "type": "integer" + } + }, + "required": [ + "countries", + "detected_ts", + "finished", + "id", + "leak_asn", + "leak_count", + "leak_seg", + "leak_type", + "max_ts", + "min_ts", + "origin_count", + "peer_count", + "prefix_count" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "asn_info", + "events" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/leaks/events`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts b/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts index 5cca1252..a8609a83 100644 --- a/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts @@ -65,6 +65,178 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asnInfo": { + "oneOf": [ + { + "additionalProperties": { + "properties": { + "asn": { + "type": "integer" + }, + "country": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "asn", + "country", + "name" + ], + "type": "object" + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "collectors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "meta": { + "properties": { + "dataTime": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "effectiveCollector": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "queryTime": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "stale": { + "type": "boolean" + } + }, + "required": [ + "dataTime", + "effectiveCollector", + "queryTime", + "stale" + ], + "type": "object" + }, + "paths": { + "items": { + "properties": { + "collectors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pathsCount": { + "type": "integer" + }, + "peersCount": { + "type": "integer" + }, + "segment": { + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "collectors", + "pathsCount", + "peersCount", + "segment" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "asnInfo", + "collectors", + "meta", + "paths" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/routes/paths/${pathParam(args, "asn")}`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/routes/tools.ts b/src/generated/forge-mcp/radar/bgp/routes/tools.ts index 15c85953..2f608a6f 100644 --- a/src/generated/forge-mcp/radar/bgp/routes/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/routes/tools.ts @@ -75,6 +75,118 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asns": { + "items": { + "properties": { + "asn": { + "type": "integer" + }, + "coneSize": { + "type": "integer" + }, + "country": { + "type": "string" + }, + "ipv4Count": { + "type": "integer" + }, + "ipv6Count": { + "type": "string" + }, + "name": { + "type": "string" + }, + "pfxsCount": { + "type": "integer" + }, + "rpkiInvalid": { + "type": "integer" + }, + "rpkiUnknown": { + "type": "integer" + }, + "rpkiValid": { + "type": "integer" + } + }, + "required": [ + "asn", + "coneSize", + "country", + "ipv4Count", + "ipv6Count", + "name", + "pfxsCount", + "rpkiInvalid", + "rpkiUnknown", + "rpkiValid" + ], + "type": "object" + }, + "type": "array" + }, + "meta": { + "properties": { + "dataTime": { + "type": "string" + }, + "queryTime": { + "type": "string" + }, + "totalPeers": { + "type": "integer" + } + }, + "required": [ + "dataTime", + "queryTime", + "totalPeers" + ], + "type": "object" + } + }, + "required": [ + "asns", + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/routes/ases`, query: [ @@ -135,6 +247,105 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "data_time": { + "type": "string" + }, + "query_time": { + "type": "string" + }, + "total_peers": { + "type": "integer" + } + }, + "required": [ + "data_time", + "query_time", + "total_peers" + ], + "type": "object" + }, + "moas": { + "items": { + "properties": { + "origins": { + "items": { + "properties": { + "origin": { + "type": "integer" + }, + "peer_count": { + "type": "integer" + }, + "rpki_validation": { + "type": "string" + } + }, + "required": [ + "origin", + "peer_count", + "rpki_validation" + ], + "type": "object" + }, + "type": "array" + }, + "prefix": { + "type": "string" + } + }, + "required": [ + "origins", + "prefix" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "moas" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/routes/moas`, query: [ @@ -203,6 +414,94 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "data_time": { + "type": "string" + }, + "query_time": { + "type": "string" + }, + "total_peers": { + "type": "integer" + } + }, + "required": [ + "data_time", + "query_time", + "total_peers" + ], + "type": "object" + }, + "prefix_origins": { + "items": { + "properties": { + "origin": { + "type": "integer" + }, + "peer_count": { + "type": "integer" + }, + "prefix": { + "type": "string" + }, + "rpki_validation": { + "type": "string" + } + }, + "required": [ + "origin", + "peer_count", + "prefix", + "rpki_validation" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "prefix_origins" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/routes/pfx2as`, query: [ @@ -255,6 +554,205 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "asn_info": { + "items": { + "properties": { + "as_name": { + "type": "string" + }, + "asn": { + "type": "integer" + }, + "country_code": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "org_name": { + "type": "string" + } + }, + "required": [ + "as_name", + "asn", + "country_code", + "org_id", + "org_name" + ], + "type": "object" + }, + "type": "array" + }, + "collectors": { + "items": { + "properties": { + "collector": { + "type": "string" + }, + "latest_realtime_ts": { + "type": "string" + }, + "latest_rib_ts": { + "type": "string" + }, + "latest_updates_ts": { + "type": "string" + }, + "peers_count": { + "type": "integer" + }, + "peers_v4_count": { + "type": "integer" + }, + "peers_v6_count": { + "type": "integer" + } + }, + "required": [ + "collector", + "latest_realtime_ts", + "latest_rib_ts", + "latest_updates_ts", + "peers_count", + "peers_v4_count", + "peers_v6_count" + ], + "type": "object" + }, + "type": "array" + }, + "data_time": { + "type": "string" + }, + "prefix_origins": { + "items": { + "properties": { + "origin": { + "type": "integer" + }, + "prefix": { + "type": "string" + }, + "rpki_validation": { + "type": "string" + }, + "total_peers": { + "type": "integer" + }, + "total_visible": { + "type": "integer" + }, + "visibility": { + "type": "number" + } + }, + "required": [ + "origin", + "prefix", + "rpki_validation", + "total_peers", + "total_visible", + "visibility" + ], + "type": "object" + }, + "type": "array" + }, + "query_time": { + "type": "string" + } + }, + "required": [ + "asn_info", + "collectors", + "data_time", + "prefix_origins", + "query_time" + ], + "type": "object" + }, + "routes": { + "items": { + "properties": { + "as_path": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "collector": { + "type": "string" + }, + "communities": { + "items": { + "type": "string" + }, + "type": "array" + }, + "prefix": { + "type": "string" + }, + "timestamp": { + "type": "string" + } + }, + "required": [ + "as_path", + "collector", + "communities", + "prefix", + "timestamp" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "routes" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/routes/realtime`, query: [ @@ -309,6 +807,147 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "data_time": { + "type": "string" + }, + "query_time": { + "type": "string" + }, + "total_peers": { + "type": "integer" + } + }, + "required": [ + "data_time", + "query_time", + "total_peers" + ], + "type": "object" + }, + "stats": { + "properties": { + "distinct_origins": { + "type": "integer" + }, + "distinct_origins_ipv4": { + "type": "integer" + }, + "distinct_origins_ipv6": { + "type": "integer" + }, + "distinct_prefixes": { + "type": "integer" + }, + "distinct_prefixes_ipv4": { + "type": "integer" + }, + "distinct_prefixes_ipv6": { + "type": "integer" + }, + "routes_invalid": { + "type": "integer" + }, + "routes_invalid_ipv4": { + "type": "integer" + }, + "routes_invalid_ipv6": { + "type": "integer" + }, + "routes_total": { + "type": "integer" + }, + "routes_total_ipv4": { + "type": "integer" + }, + "routes_total_ipv6": { + "type": "integer" + }, + "routes_unknown": { + "type": "integer" + }, + "routes_unknown_ipv4": { + "type": "integer" + }, + "routes_unknown_ipv6": { + "type": "integer" + }, + "routes_valid": { + "type": "integer" + }, + "routes_valid_ipv4": { + "type": "integer" + }, + "routes_valid_ipv6": { + "type": "integer" + } + }, + "required": [ + "distinct_origins", + "distinct_origins_ipv4", + "distinct_origins_ipv6", + "distinct_prefixes", + "distinct_prefixes_ipv4", + "distinct_prefixes_ipv6", + "routes_invalid", + "routes_invalid_ipv4", + "routes_invalid_ipv6", + "routes_total", + "routes_total_ipv4", + "routes_total_ipv6", + "routes_unknown", + "routes_unknown_ipv4", + "routes_unknown_ipv6", + "routes_valid", + "routes_valid_ipv4", + "routes_valid_ipv6" + ], + "type": "object" + } + }, + "required": [ + "meta", + "stats" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/routes/stats`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts b/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts index 591bb3d6..51a5c72e 100644 --- a/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts @@ -75,6 +75,116 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "dataTime": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "effectiveCollector": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "queryTime": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "stale": { + "type": "boolean" + } + }, + "required": [ + "dataTime", + "effectiveCollector", + "queryTime", + "stale" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/routes/upstreams/${pathParam(args, "asn")}/timeseries`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts b/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts index cebbbdeb..4401813a 100644 --- a/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts @@ -63,6 +63,161 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asnInfo": { + "properties": { + "13335": { + "properties": { + "asn": { + "type": "integer" + }, + "country": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "asn", + "country", + "name" + ], + "type": "object" + } + }, + "required": [ + "13335" + ], + "type": "object" + }, + "changes": { + "items": { + "properties": { + "customersAdded": { + "type": "integer" + }, + "customersRemoved": { + "type": "integer" + }, + "date": { + "format": "date-time", + "type": "string" + }, + "entries": { + "items": { + "properties": { + "customerAsn": { + "type": "integer" + }, + "providers": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "type": { + "enum": [ + "CustomerAdded", + "CustomerRemoved", + "ProvidersAdded", + "ProvidersRemoved" + ], + "type": "string" + } + }, + "required": [ + "customerAsn", + "providers", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "providersAdded": { + "type": "integer" + }, + "providersRemoved": { + "type": "integer" + }, + "totalCount": { + "type": "integer" + } + }, + "required": [ + "customersAdded", + "customersRemoved", + "date", + "entries", + "providersAdded", + "providersRemoved", + "totalCount" + ], + "type": "object" + }, + "type": "array" + }, + "meta": { + "properties": { + "dataTime": { + "format": "date-time", + "type": "string" + }, + "queryTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "dataTime", + "queryTime" + ], + "type": "object" + } + }, + "required": [ + "asnInfo", + "changes", + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/rpki/aspa/changes`, query: [ @@ -129,6 +284,119 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asnInfo": { + "properties": { + "13335": { + "properties": { + "asn": { + "type": "integer" + }, + "country": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "asn", + "country", + "name" + ], + "type": "object" + } + }, + "required": [ + "13335" + ], + "type": "object" + }, + "aspaObjects": { + "items": { + "properties": { + "customerAsn": { + "type": "integer" + }, + "providers": { + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "customerAsn", + "providers" + ], + "type": "object" + }, + "type": "array" + }, + "meta": { + "properties": { + "dataTime": { + "format": "date-time", + "type": "string" + }, + "queryTime": { + "format": "date-time", + "type": "string" + }, + "totalCount": { + "type": "integer" + } + }, + "required": [ + "dataTime", + "queryTime", + "totalCount" + ], + "type": "object" + } + }, + "required": [ + "asnInfo", + "aspaObjects", + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/rpki/aspa/snapshot`, query: [ @@ -216,6 +484,88 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "dataTime": { + "format": "date-time", + "type": "string" + }, + "queryTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "dataTime", + "queryTime" + ], + "type": "object" + }, + "serie_0": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/rpki/aspa/timeseries`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts b/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts index 62f5fa0e..a062db27 100644 --- a/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts @@ -89,6 +89,88 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "dataTime": { + "format": "date-time", + "type": "string" + }, + "queryTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "dataTime", + "queryTime" + ], + "type": "object" + }, + "serie_0": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/rpki/roas/timeseries`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/tools.ts b/src/generated/forge-mcp/radar/bgp/tools.ts index 809f7a23..bb1a7f9f 100644 --- a/src/generated/forge-mcp/radar/bgp/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/tools.ts @@ -110,6 +110,207 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated" + ], + "type": "object" + }, + "serie_0": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/timeseries`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts b/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts index cfade5fc..7d3a5908 100644 --- a/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts @@ -105,6 +105,99 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "dateRange" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "ASName": { + "type": "string" + }, + "asn": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "ASName", + "asn", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/top/ases`, query: [ @@ -166,6 +259,75 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asns": { + "items": { + "properties": { + "asn": { + "type": "integer" + }, + "country": { + "type": "string" + }, + "name": { + "type": "string" + }, + "pfxs_count": { + "type": "integer" + } + }, + "required": [ + "asn", + "country", + "name", + "pfxs_count" + ], + "type": "object" + }, + "type": "array" + }, + "meta": { + "properties": { + "data_time": { + "type": "string" + }, + "query_time": { + "type": "string" + }, + "total_peers": { + "type": "integer" + } + }, + "required": [ + "data_time", + "query_time", + "total_peers" + ], + "type": "object" + } + }, + "required": [ + "asns", + "meta" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/top/ases/prefixes`, query: [ diff --git a/src/generated/forge-mcp/radar/bgp/top/tools.ts b/src/generated/forge-mcp/radar/bgp/top/tools.ts index dd022c3b..1402748a 100644 --- a/src/generated/forge-mcp/radar/bgp/top/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/top/tools.ts @@ -98,6 +98,95 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "dateRange" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "prefix": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "prefix", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bgp/top/prefixes`, query: [ diff --git a/src/generated/forge-mcp/radar/bots/tools.ts b/src/generated/forge-mcp/radar/bots/tools.ts index 9ace5f36..56652a53 100644 --- a/src/generated/forge-mcp/radar/bots/tools.ts +++ b/src/generated/forge-mcp/radar/bots/tools.ts @@ -52,6 +52,88 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "bot": { + "properties": { + "category": { + "type": "string" + }, + "description": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "operatorUrl": { + "type": "string" + }, + "signatureAgentUrl": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "slug": { + "type": "string" + }, + "userAgentPatterns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "userAgents": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "category", + "description", + "kind", + "name", + "operator", + "operatorUrl", + "slug", + "userAgentPatterns", + "userAgents" + ], + "type": "object" + } + }, + "required": [ + "bot" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bots/${pathParam(args, "bot_slug")}`, query: [ @@ -148,6 +230,89 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "bots": { + "items": { + "properties": { + "category": { + "type": "string" + }, + "description": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "userAgentPatterns": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "category", + "description", + "kind", + "name", + "operator", + "slug", + "userAgentPatterns" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "bots" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bots`, query: [ @@ -328,6 +493,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bots/summary/${pathParam(args, "dimension")}`, query: [ @@ -508,6 +881,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + }, + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + } + }, + "required": [ + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bots/timeseries`, query: [ @@ -705,6 +1312,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bots/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts b/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts index 5aa0da8d..cd7336db 100644 --- a/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts +++ b/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts @@ -151,6 +151,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bots/crawlers/summary/${pathParam(args, "dimension")}`, query: [ @@ -333,6 +541,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/bots/crawlers/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/ct/authorities/tools.ts b/src/generated/forge-mcp/radar/ct/authorities/tools.ts index 878f80f8..e581d46a 100644 --- a/src/generated/forge-mcp/radar/ct/authorities/tools.ts +++ b/src/generated/forge-mcp/radar/ct/authorities/tools.ts @@ -52,6 +52,187 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "certificateAuthority": { + "properties": { + "appleStatus": { + "enum": [ + "INCLUDED", + "NOT_YET_INCLUDED", + "NOT_INCLUDED", + "NOT_BEFORE", + "REMOVED", + "DISABLED", + "BLOCKED" + ], + "type": "string" + }, + "authorityKeyIdentifier": { + "type": "string" + }, + "certificateRecordType": { + "enum": [ + "ROOT_CERTIFICATE", + "INTERMEDIATE_CERTIFICATE" + ], + "type": "string" + }, + "chromeStatus": { + "enum": [ + "INCLUDED", + "NOT_YET_INCLUDED", + "NOT_INCLUDED", + "NOT_BEFORE", + "REMOVED", + "DISABLED", + "BLOCKED" + ], + "type": "string" + }, + "country": { + "type": "string" + }, + "countryName": { + "type": "string" + }, + "microsoftStatus": { + "enum": [ + "INCLUDED", + "NOT_YET_INCLUDED", + "NOT_INCLUDED", + "NOT_BEFORE", + "REMOVED", + "DISABLED", + "BLOCKED" + ], + "type": "string" + }, + "mozillaStatus": { + "enum": [ + "INCLUDED", + "NOT_YET_INCLUDED", + "NOT_INCLUDED", + "NOT_BEFORE", + "REMOVED", + "DISABLED", + "BLOCKED" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "parentName": { + "type": "string" + }, + "parentSha256Fingerprint": { + "type": "string" + }, + "related": { + "items": { + "properties": { + "certificateRecordType": { + "enum": [ + "ROOT_CERTIFICATE", + "INTERMEDIATE_CERTIFICATE" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "revocationStatus": { + "enum": [ + "NOT_REVOKED", + "REVOKED", + "PARENT_CERT_REVOKED" + ], + "type": "string" + }, + "sha256Fingerprint": { + "type": "string" + } + }, + "required": [ + "certificateRecordType", + "name", + "revocationStatus", + "sha256Fingerprint" + ], + "type": "object" + }, + "type": "array" + }, + "revocationStatus": { + "enum": [ + "NOT_REVOKED", + "REVOKED", + "PARENT_CERT_REVOKED" + ], + "type": "string" + }, + "sha256Fingerprint": { + "type": "string" + }, + "subjectKeyIdentifier": { + "type": "string" + }, + "validFrom": { + "format": "date", + "type": "string" + }, + "validTo": { + "format": "date", + "type": "string" + } + }, + "required": [ + "appleStatus", + "authorityKeyIdentifier", + "certificateRecordType", + "chromeStatus", + "country", + "countryName", + "microsoftStatus", + "mozillaStatus", + "name", + "owner", + "parentName", + "parentSha256Fingerprint", + "related", + "revocationStatus", + "sha256Fingerprint", + "subjectKeyIdentifier", + "validFrom", + "validTo" + ], + "type": "object" + } + }, + "required": [ + "certificateAuthority" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ct/authorities/${pathParam(args, "ca_slug")}`, query: [ @@ -106,6 +287,103 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "certificateAuthorities": { + "items": { + "properties": { + "certificateRecordType": { + "enum": [ + "ROOT_CERTIFICATE", + "INTERMEDIATE_CERTIFICATE" + ], + "type": "string" + }, + "country": { + "type": "string" + }, + "countryName": { + "type": "string" + }, + "name": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "parentName": { + "type": "string" + }, + "parentSha256Fingerprint": { + "type": "string" + }, + "revocationStatus": { + "enum": [ + "NOT_REVOKED", + "REVOKED", + "PARENT_CERT_REVOKED" + ], + "type": "string" + }, + "sha256Fingerprint": { + "type": "string" + } + }, + "required": [ + "certificateRecordType", + "country", + "countryName", + "name", + "owner", + "parentName", + "parentSha256Fingerprint", + "revocationStatus", + "sha256Fingerprint" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "certificateAuthorities" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ct/authorities`, query: [ diff --git a/src/generated/forge-mcp/radar/ct/logs/tools.ts b/src/generated/forge-mcp/radar/ct/logs/tools.ts index 298204fb..a0c912df 100644 --- a/src/generated/forge-mcp/radar/ct/logs/tools.ts +++ b/src/generated/forge-mcp/radar/ct/logs/tools.ts @@ -52,6 +52,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "certificateLog": { + "properties": { + "api": { + "enum": [ + "RFC6962", + "STATIC" + ], + "type": "string" + }, + "avgThroughput": { + "type": "number" + }, + "description": { + "type": "string" + }, + "endExclusive": { + "format": "date-time", + "type": "string" + }, + "lastUpdate": { + "format": "date-time", + "type": "string" + }, + "operator": { + "type": "string" + }, + "performance": { + "oneOf": [ + { + "properties": { + "endpoints": { + "items": { + "properties": { + "endpoint": { + "enum": [ + "add-chain (new)", + "add-chain (old)", + "add-pre-chain (new)", + "add-pre-chain (old)", + "get-entries", + "get-roots", + "get-sth" + ], + "type": "string" + }, + "responseTime": { + "type": "number" + }, + "uptime": { + "type": "number" + } + }, + "required": [ + "endpoint", + "responseTime", + "uptime" + ], + "type": "object" + }, + "type": "array" + }, + "responseTime": { + "type": "number" + }, + "uptime": { + "type": "number" + } + }, + "required": [ + "endpoints", + "responseTime", + "uptime" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "related": { + "items": { + "properties": { + "description": { + "type": "string" + }, + "endExclusive": { + "format": "date-time", + "type": "string" + }, + "slug": { + "type": "string" + }, + "startInclusive": { + "format": "date-time", + "type": "string" + }, + "state": { + "enum": [ + "USABLE", + "PENDING", + "QUALIFIED", + "READ_ONLY", + "RETIRED", + "REJECTED" + ], + "type": "string" + } + }, + "required": [ + "description", + "endExclusive", + "slug", + "startInclusive", + "state" + ], + "type": "object" + }, + "type": "array" + }, + "slug": { + "type": "string" + }, + "startInclusive": { + "format": "date-time", + "type": "string" + }, + "state": { + "enum": [ + "USABLE", + "PENDING", + "QUALIFIED", + "READ_ONLY", + "RETIRED", + "REJECTED" + ], + "type": "string" + }, + "stateTimestamp": { + "format": "date-time", + "type": "string" + }, + "submittableCertCount": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "submittedCertCount": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "api", + "avgThroughput", + "description", + "endExclusive", + "lastUpdate", + "operator", + "performance", + "related", + "slug", + "startInclusive", + "state", + "stateTimestamp", + "submittableCertCount", + "submittedCertCount", + "url" + ], + "type": "object" + } + }, + "required": [ + "certificateLog" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ct/logs/${pathParam(args, "log_slug")}`, query: [ @@ -106,6 +314,109 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "certificateLogs": { + "items": { + "properties": { + "api": { + "enum": [ + "RFC6962", + "STATIC" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endExclusive": { + "format": "date-time", + "type": "string" + }, + "operator": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "startInclusive": { + "format": "date-time", + "type": "string" + }, + "state": { + "enum": [ + "USABLE", + "PENDING", + "QUALIFIED", + "READ_ONLY", + "RETIRED", + "REJECTED" + ], + "type": "string" + }, + "stateTimestamp": { + "format": "date-time", + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "api", + "description", + "endExclusive", + "operator", + "slug", + "startInclusive", + "state", + "stateTimestamp", + "url" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "certificateLogs" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ct/logs`, query: [ diff --git a/src/generated/forge-mcp/radar/ct/tools.ts b/src/generated/forge-mcp/radar/ct/tools.ts index 88e2667b..7aba6868 100644 --- a/src/generated/forge-mcp/radar/ct/tools.ts +++ b/src/generated/forge-mcp/radar/ct/tools.ts @@ -268,6 +268,351 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "anyOf": [ + { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + { + "properties": { + "rfc6962": { + "type": "string" + }, + "static": { + "type": "string" + } + }, + "required": [ + "rfc6962", + "static" + ], + "type": "object" + }, + { + "properties": { + "gt_121d": { + "type": "string" + }, + "gt_16d_lte_31d": { + "type": "string" + }, + "gt_31d_lte_91d": { + "type": "string" + }, + "gt_3d_lte_16d": { + "type": "string" + }, + "gt_91d_lte_121d": { + "type": "string" + }, + "lte_3d": { + "type": "string" + } + }, + "required": [ + "gt_121d", + "gt_16d_lte_31d", + "gt_31d_lte_91d", + "gt_3d_lte_16d", + "gt_91d_lte_121d", + "lte_3d" + ], + "type": "object" + }, + { + "properties": { + "CERTIFICATE": { + "type": "string" + }, + "PRECERTIFICATE": { + "type": "string" + } + }, + "required": [ + "CERTIFICATE", + "PRECERTIFICATE" + ], + "type": "object" + }, + { + "properties": { + "EXPIRED": { + "type": "string" + }, + "VALID": { + "type": "string" + } + }, + "required": [ + "EXPIRED", + "VALID" + ], + "type": "object" + }, + { + "properties": { + "NEGATIVE": { + "type": "string" + }, + "POSITIVE": { + "type": "string" + } + }, + "required": [ + "NEGATIVE", + "POSITIVE" + ], + "type": "object" + }, + { + "properties": { + "DSA": { + "type": "string" + }, + "ECDSA": { + "type": "string" + }, + "RSA": { + "type": "string" + } + }, + "required": [ + "DSA", + "ECDSA", + "RSA" + ], + "type": "object" + }, + { + "properties": { + "domain": { + "type": "string" + }, + "extended": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "unknown": { + "type": "string" + } + }, + "required": [ + "domain", + "extended", + "organization", + "unknown" + ], + "type": "object" + } + ] + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ct/summary/${pathParam(args, "dimension")}`, query: [ @@ -531,6 +876,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + }, + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + } + }, + "required": [ + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ct/timeseries`, query: [ @@ -829,6 +1408,440 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "anyOf": [ + { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + }, + { + "properties": { + "rfc6962": { + "items": { + "type": "string" + }, + "type": "array" + }, + "static": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "rfc6962", + "static" + ], + "type": "object" + }, + { + "properties": { + "gt_121d": { + "items": { + "type": "string" + }, + "type": "array" + }, + "gt_16d_lte_31d": { + "items": { + "type": "string" + }, + "type": "array" + }, + "gt_31d_lte_91d": { + "items": { + "type": "string" + }, + "type": "array" + }, + "gt_3d_lte_16d": { + "items": { + "type": "string" + }, + "type": "array" + }, + "gt_91d_lte_121d": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lte_3d": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "gt_121d", + "gt_16d_lte_31d", + "gt_31d_lte_91d", + "gt_3d_lte_16d", + "gt_91d_lte_121d", + "lte_3d" + ], + "type": "object" + }, + { + "properties": { + "CERTIFICATE": { + "items": { + "type": "string" + }, + "type": "array" + }, + "PRECERTIFICATE": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "CERTIFICATE", + "PRECERTIFICATE" + ], + "type": "object" + }, + { + "properties": { + "EXPIRED": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VALID": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "EXPIRED", + "VALID" + ], + "type": "object" + }, + { + "properties": { + "NEGATIVE": { + "items": { + "type": "string" + }, + "type": "array" + }, + "POSITIVE": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "NEGATIVE", + "POSITIVE" + ], + "type": "object" + }, + { + "properties": { + "DSA": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ECDSA": { + "items": { + "type": "string" + }, + "type": "array" + }, + "RSA": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "DSA", + "ECDSA", + "RSA" + ], + "type": "object" + }, + { + "properties": { + "domain": { + "items": { + "type": "string" + }, + "type": "array" + }, + "extended": { + "items": { + "type": "string" + }, + "type": "array" + }, + "organization": { + "items": { + "type": "string" + }, + "type": "array" + }, + "unknown": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "domain", + "extended", + "organization", + "unknown" + ], + "type": "object" + } + ] + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ct/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/datasets/tools.ts b/src/generated/forge-mcp/radar/datasets/tools.ts index c6f7cb40..f5657c32 100644 --- a/src/generated/forge-mcp/radar/datasets/tools.ts +++ b/src/generated/forge-mcp/radar/datasets/tools.ts @@ -56,6 +56,67 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "properties": { + "dataset": { + "properties": { + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + } + }, + "required": [ + "dataset" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/datasets/download`, query: [ @@ -101,6 +162,41 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": null, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/datasets/${pathParam(args, "alias")}`, }), @@ -166,6 +262,85 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "datasets": { + "items": { + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "meta": { + "type": "object" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "id", + "meta", + "tags", + "title", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "datasets" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/datasets`, query: [ diff --git a/src/generated/forge-mcp/radar/dns/tools.ts b/src/generated/forge-mcp/radar/dns/tools.ts index f1599268..896ea896 100644 --- a/src/generated/forge-mcp/radar/dns/tools.ts +++ b/src/generated/forge-mcp/radar/dns/tools.ts @@ -357,6 +357,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/dns/summary/${pathParam(args, "dimension")}`, query: [ @@ -717,6 +925,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + }, + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + } + }, + "required": [ + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/dns/timeseries`, query: [ @@ -1114,6 +1556,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/dns/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/dns/top/tools.ts b/src/generated/forge-mcp/radar/dns/top/tools.ts index 66612b80..e5aefda4 100644 --- a/src/generated/forge-mcp/radar/dns/top/tools.ts +++ b/src/generated/forge-mcp/radar/dns/top/tools.ts @@ -335,6 +335,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/dns/top/ases`, query: [ @@ -697,6 +909,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/dns/top/locations`, query: [ diff --git a/src/generated/forge-mcp/radar/email/routing/tools.ts b/src/generated/forge-mcp/radar/email/routing/tools.ts index c7b868d1..81546617 100644 --- a/src/generated/forge-mcp/radar/email/routing/tools.ts +++ b/src/generated/forge-mcp/radar/email/routing/tools.ts @@ -164,6 +164,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/email/routing/summary/${pathParam(args, "dimension")}`, query: [ @@ -349,6 +557,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/email/routing/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/email/security/tools.ts b/src/generated/forge-mcp/radar/email/security/tools.ts index 0b7f7b16..e490ec77 100644 --- a/src/generated/forge-mcp/radar/email/security/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/tools.ts @@ -158,6 +158,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/email/security/summary/${pathParam(args, "dimension")}`, query: [ @@ -336,6 +544,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/email/security/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts index 28722bdc..82ab91cb 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts @@ -160,6 +160,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/email/security/top/tlds/malicious/${pathParam(args, "malicious")}`, query: [ diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts index 3fdfc269..ec6ac37e 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts @@ -160,6 +160,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/email/security/top/tlds/spam/${pathParam(args, "spam")}`, query: [ diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts index 9e7bf6c2..d8da0373 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts @@ -160,6 +160,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/email/security/top/tlds/spoof/${pathParam(args, "spoof")}`, query: [ diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts index 97276d13..26b40f90 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts @@ -149,6 +149,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/email/security/top/tlds`, query: [ diff --git a/src/generated/forge-mcp/radar/entities/asns/tools.ts b/src/generated/forge-mcp/radar/entities/asns/tools.ts index e62b12cd..1ae80916 100644 --- a/src/generated/forge-mcp/radar/entities/asns/tools.ts +++ b/src/generated/forge-mcp/radar/entities/asns/tools.ts @@ -52,6 +52,104 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "as_sets": { + "items": { + "properties": { + "as_members_count": { + "type": "integer" + }, + "as_set_members_count": { + "type": "integer" + }, + "as_set_upstreams_count": { + "type": "integer" + }, + "asn_cone_size": { + "type": "integer" + }, + "hierarchical_asn": { + "type": "integer" + }, + "inferred_asn": { + "type": "integer" + }, + "irr_sources": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "peeringdb_asn": { + "type": "integer" + } + }, + "required": [ + "as_members_count", + "as_set_members_count", + "as_set_upstreams_count", + "asn_cone_size", + "irr_sources", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "paths": { + "items": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + } + }, + "required": [ + "as_sets", + "paths" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/entities/asns/${pathParam(args, "asn")}/as_set`, query: [ @@ -143,6 +241,96 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "ases": { + "items": { + "properties": { + "asn": { + "type": "integer" + }, + "country": { + "type": "string" + }, + "name": { + "type": "string" + }, + "rank": { + "type": "integer" + }, + "rankChange": { + "type": "integer" + } + }, + "required": [ + "asn", + "country", + "name", + "rank" + ], + "type": "object" + }, + "type": "array" + }, + "meta": { + "properties": { + "compareDate": { + "type": "string" + }, + "date": { + "type": "string" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "date", + "total" + ], + "type": "object" + } + }, + "required": [ + "ases", + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/entities/asns/botnet_threat_feed`, query: [ @@ -203,6 +391,129 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asn": { + "properties": { + "aka": { + "type": "string" + }, + "asn": { + "type": "integer" + }, + "confidenceLevel": { + "type": "integer" + }, + "country": { + "type": "string" + }, + "countryName": { + "type": "string" + }, + "estimatedUsers": { + "properties": { + "estimatedUsers": { + "type": "integer" + }, + "locations": { + "items": { + "properties": { + "estimatedUsers": { + "type": "integer" + }, + "locationAlpha2": { + "type": "string" + }, + "locationName": { + "type": "string" + } + }, + "required": [ + "locationAlpha2", + "locationName" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "locations" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "orgName": { + "type": "string" + }, + "related": { + "items": { + "properties": { + "aka": { + "type": "string" + }, + "asn": { + "type": "integer" + }, + "estimatedUsers": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "asn", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "source": { + "type": "string" + }, + "website": { + "type": "string" + } + }, + "required": [ + "asn", + "confidenceLevel", + "country", + "countryName", + "estimatedUsers", + "name", + "orgName", + "related", + "source", + "website" + ], + "type": "object" + } + }, + "required": [ + "asn" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/entities/asns/${pathParam(args, "asn")}`, query: [ @@ -255,6 +566,125 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asn": { + "properties": { + "aka": { + "type": "string" + }, + "asn": { + "type": "integer" + }, + "country": { + "type": "string" + }, + "countryName": { + "type": "string" + }, + "estimatedUsers": { + "properties": { + "estimatedUsers": { + "type": "integer" + }, + "locations": { + "items": { + "properties": { + "estimatedUsers": { + "type": "integer" + }, + "locationAlpha2": { + "type": "string" + }, + "locationName": { + "type": "string" + } + }, + "required": [ + "locationAlpha2", + "locationName" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "locations" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "orgName": { + "type": "string" + }, + "related": { + "items": { + "properties": { + "aka": { + "type": "string" + }, + "asn": { + "type": "integer" + }, + "estimatedUsers": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "asn", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "source": { + "type": "string" + }, + "website": { + "type": "string" + } + }, + "required": [ + "asn", + "country", + "countryName", + "estimatedUsers", + "name", + "orgName", + "related", + "source", + "website" + ], + "type": "object" + } + }, + "required": [ + "asn" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/entities/asns/ip`, query: [ @@ -327,6 +757,92 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "asns": { + "items": { + "properties": { + "aka": { + "type": "string" + }, + "asn": { + "type": "integer" + }, + "country": { + "type": "string" + }, + "countryName": { + "type": "string" + }, + "estimatedUsers": { + "properties": { + "estimatedUsers": { + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "orgName": { + "type": "string" + }, + "website": { + "type": "string" + } + }, + "required": [ + "asn", + "country", + "countryName", + "estimatedUsers", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "asns" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/entities/asns`, query: [ @@ -388,6 +904,106 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "data_time": { + "type": "string" + }, + "query_time": { + "type": "string" + }, + "total_peers": { + "type": "integer" + } + }, + "required": [ + "data_time", + "query_time", + "total_peers" + ], + "type": "object" + }, + "rels": { + "items": { + "properties": { + "asn1": { + "type": "integer" + }, + "asn1_country": { + "type": "string" + }, + "asn1_name": { + "type": "string" + }, + "asn2": { + "type": "integer" + }, + "asn2_country": { + "type": "string" + }, + "asn2_name": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "required": [ + "asn1", + "asn1_country", + "asn1_name", + "asn2", + "asn2_country", + "asn2_name", + "rel" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "rels" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/entities/asns/${pathParam(args, "asn")}/rel`, query: [ diff --git a/src/generated/forge-mcp/radar/entities/locations/tools.ts b/src/generated/forge-mcp/radar/entities/locations/tools.ts index 58c430a3..82a3c049 100644 --- a/src/generated/forge-mcp/radar/entities/locations/tools.ts +++ b/src/generated/forge-mcp/radar/entities/locations/tools.ts @@ -52,6 +52,68 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "location": { + "properties": { + "alpha2": { + "type": "string" + }, + "confidenceLevel": { + "type": "integer" + }, + "continent": { + "type": "string" + }, + "latitude": { + "type": "string" + }, + "longitude": { + "type": "string" + }, + "name": { + "type": "string" + }, + "region": { + "type": "string" + }, + "subregion": { + "type": "string" + } + }, + "required": [ + "alpha2", + "confidenceLevel", + "continent", + "latitude", + "longitude", + "name", + "region", + "subregion" + ], + "type": "object" + } + }, + "required": [ + "location" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/entities/locations/${pathParam(args, "location")}`, query: [ @@ -130,6 +192,86 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "locations": { + "items": { + "properties": { + "alpha2": { + "type": "string" + }, + "continent": { + "type": "string" + }, + "latitude": { + "type": "string" + }, + "longitude": { + "type": "string" + }, + "name": { + "type": "string" + }, + "region": { + "type": "string" + }, + "subregion": { + "type": "string" + } + }, + "required": [ + "alpha2", + "continent", + "latitude", + "longitude", + "name", + "region", + "subregion" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "locations" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/entities/locations`, query: [ diff --git a/src/generated/forge-mcp/radar/entities/tools.ts b/src/generated/forge-mcp/radar/entities/tools.ts index c089c56e..f5aba089 100644 --- a/src/generated/forge-mcp/radar/entities/tools.ts +++ b/src/generated/forge-mcp/radar/entities/tools.ts @@ -52,6 +52,68 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "ip": { + "properties": { + "asn": { + "type": "string" + }, + "asnLocation": { + "type": "string" + }, + "asnName": { + "type": "string" + }, + "asnOrgName": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "ipVersion": { + "type": "string" + }, + "location": { + "type": "string" + }, + "locationName": { + "type": "string" + } + }, + "required": [ + "asn", + "asnLocation", + "asnName", + "asnOrgName", + "ip", + "ipVersion", + "location", + "locationName" + ], + "type": "object" + } + }, + "required": [ + "ip" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/entities/ip`, query: [ diff --git a/src/generated/forge-mcp/radar/geolocations/tools.ts b/src/generated/forge-mcp/radar/geolocations/tools.ts index 62faa9ae..f8bc60b4 100644 --- a/src/generated/forge-mcp/radar/geolocations/tools.ts +++ b/src/generated/forge-mcp/radar/geolocations/tools.ts @@ -52,6 +52,145 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "geolocation": { + "properties": { + "code": { + "type": "string" + }, + "geoId": { + "type": "string" + }, + "latitude": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "longitude": { + "type": "string" + }, + "name": { + "type": "string" + }, + "parent": { + "properties": { + "code": { + "type": "string" + }, + "geoId": { + "type": "string" + }, + "latitude": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "longitude": { + "type": "string" + }, + "name": { + "type": "string" + }, + "parent": { + "properties": { + "code": { + "type": "string" + }, + "geoId": { + "type": "string" + }, + "latitude": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "longitude": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "enum": [ + "CONTINENT", + "COUNTRY", + "ADM1" + ], + "type": "string" + } + }, + "required": [ + "geoId", + "latitude", + "longitude", + "name", + "type" + ], + "type": "object" + }, + "type": { + "enum": [ + "CONTINENT", + "COUNTRY", + "ADM1" + ], + "type": "string" + } + }, + "required": [ + "geoId", + "latitude", + "longitude", + "name", + "parent", + "type" + ], + "type": "object" + }, + "type": { + "enum": [ + "CONTINENT", + "COUNTRY", + "ADM1" + ], + "type": "string" + } + }, + "required": [ + "geoId", + "latitude", + "longitude", + "name", + "parent", + "type" + ], + "type": "object" + } + }, + "required": [ + "geolocation" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/geolocations/${pathParam(args, "geo_id")}`, query: [ @@ -114,6 +253,167 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "geolocations": { + "items": { + "properties": { + "code": { + "type": "string" + }, + "geoId": { + "type": "string" + }, + "latitude": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "longitude": { + "type": "string" + }, + "name": { + "type": "string" + }, + "parent": { + "properties": { + "code": { + "type": "string" + }, + "geoId": { + "type": "string" + }, + "latitude": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "longitude": { + "type": "string" + }, + "name": { + "type": "string" + }, + "parent": { + "properties": { + "code": { + "type": "string" + }, + "geoId": { + "type": "string" + }, + "latitude": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "longitude": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "enum": [ + "CONTINENT", + "COUNTRY", + "ADM1" + ], + "type": "string" + } + }, + "required": [ + "geoId", + "latitude", + "longitude", + "name", + "type" + ], + "type": "object" + }, + "type": { + "enum": [ + "CONTINENT", + "COUNTRY", + "ADM1" + ], + "type": "string" + } + }, + "required": [ + "geoId", + "latitude", + "longitude", + "name", + "parent", + "type" + ], + "type": "object" + }, + "type": { + "enum": [ + "CONTINENT", + "COUNTRY", + "ADM1" + ], + "type": "string" + } + }, + "required": [ + "geoId", + "latitude", + "longitude", + "name", + "parent", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "geolocations" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/geolocations`, query: [ diff --git a/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts b/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts index 5169b3eb..43e143e2 100644 --- a/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/ases/bot_class/${pathParam(args, "bot_class")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts b/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts index 844f02b9..c1bb4e2e 100644 --- a/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/ases/browser_family/${pathParam(args, "browser_family")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts b/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts index 1024b3c4..9ff9076d 100644 --- a/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/ases/device_type/${pathParam(args, "device_type")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts b/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts index edfce580..55b1c3b1 100644 --- a/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/ases/http_version/${pathParam(args, "http_version")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts b/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts index fdca3430..92662934 100644 --- a/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/ases/http_protocol/${pathParam(args, "http_protocol")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts b/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts index c6a6145e..0c344a90 100644 --- a/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/ases/ip_version/${pathParam(args, "ip_version")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/ases/os/tools.ts b/src/generated/forge-mcp/radar/http/ases/os/tools.ts index 00d40395..6405c0d9 100644 --- a/src/generated/forge-mcp/radar/http/ases/os/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/os/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/ases/os/${pathParam(args, "os")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts b/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts index 5efe6d9d..e1fd6fba 100644 --- a/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/ases/tls_version/${pathParam(args, "tls_version")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/ases/tools.ts b/src/generated/forge-mcp/radar/http/ases/tools.ts index a0143de9..de501f3c 100644 --- a/src/generated/forge-mcp/radar/http/ases/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/ases`, query: [ diff --git a/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts b/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts index 145faa4f..1193f525 100644 --- a/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/locations/bot_class/${pathParam(args, "bot_class")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts b/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts index b3c8e357..e1ae52b7 100644 --- a/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/locations/browser_family/${pathParam(args, "browser_family")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts b/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts index 82e46200..50e85be0 100644 --- a/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/locations/device_type/${pathParam(args, "device_type")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts b/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts index 2afdca4a..849c444e 100644 --- a/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/locations/http_version/${pathParam(args, "http_version")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts b/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts index 9a3918f6..3b350859 100644 --- a/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/locations/http_protocol/${pathParam(args, "http_protocol")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts b/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts index ba67ddd9..984914cc 100644 --- a/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/locations/ip_version/${pathParam(args, "ip_version")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/locations/os/tools.ts b/src/generated/forge-mcp/radar/http/locations/os/tools.ts index 7dc58f82..93cf8591 100644 --- a/src/generated/forge-mcp/radar/http/locations/os/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/os/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/locations/os/${pathParam(args, "os")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts b/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts index 861c9ac4..cc613efc 100644 --- a/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/locations/tls_version/${pathParam(args, "tls_version")}`, query: [ diff --git a/src/generated/forge-mcp/radar/http/locations/tools.ts b/src/generated/forge-mcp/radar/http/locations/tools.ts index 227d1ff3..68a51904 100644 --- a/src/generated/forge-mcp/radar/http/locations/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/tools.ts @@ -208,6 +208,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/top/locations`, query: [ diff --git a/src/generated/forge-mcp/radar/http/tools.ts b/src/generated/forge-mcp/radar/http/tools.ts index c5b8312e..ac4483bf 100644 --- a/src/generated/forge-mcp/radar/http/tools.ts +++ b/src/generated/forge-mcp/radar/http/tools.ts @@ -254,6 +254,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/summary/${pathParam(args, "dimension")}`, query: [ @@ -529,6 +737,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + }, + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + } + }, + "required": [ + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/timeseries`, query: [ @@ -822,6 +1264,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/http/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/leakedCredentials/tools.ts b/src/generated/forge-mcp/radar/leakedCredentials/tools.ts index 65db3eb1..311bb31d 100644 --- a/src/generated/forge-mcp/radar/leakedCredentials/tools.ts +++ b/src/generated/forge-mcp/radar/leakedCredentials/tools.ts @@ -133,6 +133,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/leaked_credential_checks/summary/${pathParam(args, "dimension")}`, query: [ @@ -308,6 +516,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/leaked_credential_checks/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/netflows/tools.ts b/src/generated/forge-mcp/radar/netflows/tools.ts index 51fd6d42..362deeae 100644 --- a/src/generated/forge-mcp/radar/netflows/tools.ts +++ b/src/generated/forge-mcp/radar/netflows/tools.ts @@ -131,6 +131,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/netflows/summary/${pathParam(args, "dimension")}`, query: [ @@ -273,6 +481,241 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/netflows/timeseries`, query: [ @@ -435,6 +878,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/netflows/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/netflows/top/tools.ts b/src/generated/forge-mcp/radar/netflows/top/tools.ts index be5c716b..533618fe 100644 --- a/src/generated/forge-mcp/radar/netflows/top/tools.ts +++ b/src/generated/forge-mcp/radar/netflows/top/tools.ts @@ -108,6 +108,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientASN": { + "type": "number" + }, + "clientASName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientASN", + "clientASName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/netflows/top/ases`, query: [ @@ -225,6 +437,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/netflows/top/locations`, query: [ diff --git a/src/generated/forge-mcp/radar/origins/tools.ts b/src/generated/forge-mcp/radar/origins/tools.ts index 8cb23bcd..81c5d686 100644 --- a/src/generated/forge-mcp/radar/origins/tools.ts +++ b/src/generated/forge-mcp/radar/origins/tools.ts @@ -58,6 +58,55 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "origin": { + "properties": { + "regions": { + "items": { + "properties": { + "region": { + "type": "string" + } + }, + "required": [ + "region" + ], + "type": "object" + }, + "type": "array" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "regions", + "slug" + ], + "type": "object" + } + }, + "required": [ + "origin" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/origins/${pathParam(args, "slug")}`, query: [ @@ -112,6 +161,77 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "origins": { + "items": { + "properties": { + "regions": { + "items": { + "properties": { + "region": { + "type": "string" + } + }, + "required": [ + "region" + ], + "type": "object" + }, + "type": "array" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "regions", + "slug" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "origins" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/origins`, query: [ @@ -239,6 +359,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/origins/summary/${pathParam(args, "dimension")}`, query: [ @@ -368,6 +696,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps", + "values" + ], + "type": "object" + }, + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + } + }, + "required": [ + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/origins/timeseries`, query: [ @@ -520,6 +1082,247 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/origins/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts b/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts index 0ce20651..3a4b89a8 100644 --- a/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts +++ b/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts @@ -85,6 +85,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/post_quantum/origin/summary/${pathParam(args, "dimension")}`, query: [ @@ -174,6 +382,240 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/post_quantum/origin/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts b/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts index 1fd0c260..b9bfcde6 100644 --- a/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts +++ b/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts @@ -44,6 +44,83 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "bugs": { + "properties": { + "hrrFailure": { + "type": "boolean" + }, + "splitClientHello": { + "type": "boolean" + }, + "unknownKeyshare": { + "type": "boolean" + } + }, + "required": [ + "hrrFailure", + "splitClientHello", + "unknownKeyshare" + ], + "type": "object" + }, + "host": { + "type": "string" + }, + "kex": { + "type": "number" + }, + "kexName": { + "type": "string" + }, + "pq": { + "type": "boolean" + } + }, + "required": [ + "bugs", + "host", + "kex", + "kexName", + "pq" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/post_quantum/tls/support`, query: [ diff --git a/src/generated/forge-mcp/radar/quality/iqi/tools.ts b/src/generated/forge-mcp/radar/quality/iqi/tools.ts index 500d47b9..af4c10cf 100644 --- a/src/generated/forge-mcp/radar/quality/iqi/tools.ts +++ b/src/generated/forge-mcp/radar/quality/iqi/tools.ts @@ -108,6 +108,227 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "properties": { + "p25": { + "type": "string" + }, + "p50": { + "type": "string" + }, + "p75": { + "type": "string" + } + }, + "required": [ + "p25", + "p50", + "p75" + ], + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/quality/iqi/summary`, query: [ @@ -238,6 +459,247 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/quality/iqi/timeseries_groups`, query: [ diff --git a/src/generated/forge-mcp/radar/quality/speed/tools.ts b/src/generated/forge-mcp/radar/quality/speed/tools.ts index 4690926e..fb13242a 100644 --- a/src/generated/forge-mcp/radar/quality/speed/tools.ts +++ b/src/generated/forge-mcp/radar/quality/speed/tools.ts @@ -95,6 +95,247 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "histogram_0": { + "properties": { + "bandwidthDownload": { + "items": { + "type": "string" + }, + "type": "array" + }, + "bandwidthUpload": { + "items": { + "type": "string" + }, + "type": "array" + }, + "bucketMin": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "bandwidthDownload", + "bandwidthUpload", + "bucketMin" + ], + "type": "object" + }, + "meta": { + "properties": { + "bucketSize": { + "type": "integer" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "totalTests": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "bucketSize", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "totalTests", + "units" + ], + "type": "object" + } + }, + "required": [ + "histogram_0", + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/quality/speed/histogram`, query: [ @@ -183,6 +424,243 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "properties": { + "bandwidthDownload": { + "type": "string" + }, + "bandwidthUpload": { + "type": "string" + }, + "jitterIdle": { + "type": "string" + }, + "jitterLoaded": { + "type": "string" + }, + "latencyIdle": { + "type": "string" + }, + "latencyLoaded": { + "type": "string" + }, + "packetLoss": { + "type": "string" + } + }, + "required": [ + "bandwidthDownload", + "bandwidthUpload", + "jitterIdle", + "jitterLoaded", + "latencyIdle", + "latencyLoaded", + "packetLoss" + ], + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/quality/speed/summary`, query: [ diff --git a/src/generated/forge-mcp/radar/quality/speed/top/tools.ts b/src/generated/forge-mcp/radar/quality/speed/top/tools.ts index ab1439b3..94d45c9e 100644 --- a/src/generated/forge-mcp/radar/quality/speed/top/tools.ts +++ b/src/generated/forge-mcp/radar/quality/speed/top/tools.ts @@ -103,6 +103,246 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "bandwidthDownload": { + "type": "string" + }, + "bandwidthUpload": { + "type": "string" + }, + "clientASN": { + "type": "integer" + }, + "clientASName": { + "type": "string" + }, + "jitterIdle": { + "type": "string" + }, + "jitterLoaded": { + "type": "string" + }, + "latencyIdle": { + "type": "string" + }, + "latencyLoaded": { + "type": "string" + }, + "numTests": { + "type": "integer" + }, + "rankPower": { + "type": "number" + } + }, + "required": [ + "bandwidthDownload", + "bandwidthUpload", + "clientASN", + "clientASName", + "jitterIdle", + "jitterLoaded", + "latencyIdle", + "latencyLoaded", + "numTests", + "rankPower" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/quality/speed/top/ases`, query: [ @@ -214,6 +454,246 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "bandwidthDownload": { + "type": "string" + }, + "bandwidthUpload": { + "type": "string" + }, + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "jitterIdle": { + "type": "string" + }, + "jitterLoaded": { + "type": "string" + }, + "latencyIdle": { + "type": "string" + }, + "latencyLoaded": { + "type": "string" + }, + "numTests": { + "type": "integer" + }, + "rankPower": { + "type": "number" + } + }, + "required": [ + "bandwidthDownload", + "bandwidthUpload", + "clientCountryAlpha2", + "clientCountryName", + "jitterIdle", + "jitterLoaded", + "latencyIdle", + "latencyLoaded", + "numTests", + "rankPower" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/quality/speed/top/locations`, query: [ diff --git a/src/generated/forge-mcp/radar/ranking/domain/tools.ts b/src/generated/forge-mcp/radar/ranking/domain/tools.ts index d76b334e..16b9f6db 100644 --- a/src/generated/forge-mcp/radar/ranking/domain/tools.ts +++ b/src/generated/forge-mcp/radar/ranking/domain/tools.ts @@ -86,6 +86,135 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "details_0": { + "properties": { + "bucket": { + "type": "string" + }, + "categories": { + "items": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "superCategoryId": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "superCategoryId" + ], + "type": "object" + }, + "type": "array" + }, + "rank": { + "type": "integer" + }, + "top_locations": { + "items": { + "properties": { + "locationCode": { + "type": "string" + }, + "locationName": { + "type": "string" + }, + "rank": { + "type": "integer" + } + }, + "required": [ + "locationCode", + "locationName", + "rank" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "categories" + ], + "type": "object" + }, + "meta": { + "properties": { + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "dateRange" + ], + "type": "object" + } + }, + "required": [ + "details_0", + "meta" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ranking/domain/${pathParam(args, "domain")}`, query: [ diff --git a/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts b/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts index 3ec4fe1e..ac5539ce 100644 --- a/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts +++ b/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts @@ -64,6 +64,62 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "categories_0": { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "categories_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ranking/internet_services/categories`, query: [ @@ -154,6 +210,247 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ranking/internet_services/timeseries_groups`, query: [ @@ -231,6 +528,250 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "top_0": { + "properties": { + "date": { + "format": "date", + "type": "string" + }, + "serviceCategory": { + "type": "string" + } + }, + "required": [ + "date", + "serviceCategory" + ], + "type": "object" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "top_0", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "rank": { + "type": "integer" + }, + "service": { + "type": "string" + } + }, + "required": [ + "rank", + "service" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ranking/internet_services/top`, query: [ diff --git a/src/generated/forge-mcp/radar/ranking/tools.ts b/src/generated/forge-mcp/radar/ranking/tools.ts index ab1e5d10..73224d84 100644 --- a/src/generated/forge-mcp/radar/ranking/tools.ts +++ b/src/generated/forge-mcp/radar/ranking/tools.ts @@ -111,6 +111,247 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ranking/timeseries_groups`, query: [ @@ -208,6 +449,272 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "top_0": { + "properties": { + "date": { + "format": "date", + "type": "string" + } + }, + "required": [ + "date" + ], + "type": "object" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "top_0", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "categories": { + "items": { + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "superCategoryId": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "superCategoryId" + ], + "type": "object" + }, + "type": "array" + }, + "domain": { + "type": "string" + }, + "pctRankChange": { + "type": "number" + }, + "rank": { + "type": "integer" + } + }, + "required": [ + "categories", + "domain", + "rank" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/ranking/top`, query: [ diff --git a/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts b/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts index 07945c4b..2c10e800 100644 --- a/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts +++ b/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts @@ -73,6 +73,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/robots_txt/top/domain_categories`, query: [ diff --git a/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts b/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts index 80fbba93..8d3fbf5c 100644 --- a/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts +++ b/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts @@ -88,6 +88,220 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "oneOf": [ + { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "top_0": { + "items": { + "properties": { + "fully": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "partially": { + "type": "integer" + }, + "value": { + "type": "integer" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "meta", + "top_0" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/robots_txt/top/user_agents/directive`, query: [ diff --git a/src/generated/forge-mcp/radar/search/tools.ts b/src/generated/forge-mcp/radar/search/tools.ts index e29914cf..f5641280 100644 --- a/src/generated/forge-mcp/radar/search/tools.ts +++ b/src/generated/forge-mcp/radar/search/tools.ts @@ -103,6 +103,70 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "search": { + "items": { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "code", + "name", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "search" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/search/global`, query: [ diff --git a/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts b/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts index b125c9ac..69391569 100644 --- a/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts +++ b/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts @@ -96,6 +96,235 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "properties": { + "later_in_flow": { + "type": "string" + }, + "no_match": { + "type": "string" + }, + "post_ack": { + "type": "string" + }, + "post_psh": { + "type": "string" + }, + "post_syn": { + "type": "string" + } + }, + "required": [ + "later_in_flow", + "no_match", + "post_ack", + "post_psh", + "post_syn" + ], + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/tcp_resets_timeouts/summary`, query: [ @@ -209,6 +438,269 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "properties": { + "later_in_flow": { + "items": { + "type": "string" + }, + "type": "array" + }, + "no_match": { + "items": { + "type": "string" + }, + "type": "array" + }, + "post_ack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "post_psh": { + "items": { + "type": "string" + }, + "type": "array" + }, + "post_syn": { + "items": { + "type": "string" + }, + "type": "array" + }, + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "later_in_flow", + "no_match", + "post_ack", + "post_psh", + "post_syn", + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/tcp_resets_timeouts/timeseries_groups`, query: [ diff --git a/src/generated/forge-mcp/radar/tlds/performance/tools.ts b/src/generated/forge-mcp/radar/tlds/performance/tools.ts index 7ecd7dde..75f6ac81 100644 --- a/src/generated/forge-mcp/radar/tlds/performance/tools.ts +++ b/src/generated/forge-mcp/radar/tlds/performance/tools.ts @@ -116,6 +116,214 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "summary_0": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "meta", + "summary_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/tlds/performance/summary/${pathParam(args, "dimension")}`, query: [ @@ -251,6 +459,247 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "meta": { + "properties": { + "aggInterval": { + "enum": [ + "FIFTEEN_MINUTES", + "ONE_HOUR", + "ONE_DAY", + "ONE_WEEK", + "ONE_MONTH" + ], + "type": "string" + }, + "confidenceInfo": { + "properties": { + "annotations": { + "items": { + "properties": { + "dataSource": { + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "endDate": { + "format": "date-time", + "type": "string" + }, + "eventType": { + "enum": [ + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "isInstantaneous": { + "type": "boolean" + }, + "linkedUrl": { + "type": "string" + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "dataSource", + "description", + "endDate", + "eventType", + "isInstantaneous", + "linkedUrl", + "startDate" + ], + "type": "object" + }, + "type": "array" + }, + "level": { + "type": "integer" + } + }, + "required": [ + "annotations", + "level" + ], + "type": "object" + }, + "dateRange": { + "items": { + "properties": { + "endTime": { + "format": "date-time", + "type": "string" + }, + "startTime": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "endTime", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "lastUpdated": { + "format": "date-time", + "type": "string" + }, + "normalization": { + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "MIN_MAX", + "RAW_VALUES", + "PERCENTAGE_CHANGE", + "ROLLING_AVERAGE", + "OVERLAPPED_PERCENTAGE", + "RATIO" + ], + "type": "string" + }, + "units": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "aggInterval", + "confidenceInfo", + "dateRange", + "lastUpdated", + "normalization", + "units" + ], + "type": "object" + }, + "serie_0": { + "additionalProperties": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "properties": { + "timestamps": { + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "timestamps" + ], + "type": "object" + } + }, + "required": [ + "meta", + "serie_0" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/tlds/performance/timeseries_groups/${pathParam(args, "dimension")}`, query: [ diff --git a/src/generated/forge-mcp/radar/tlds/tools.ts b/src/generated/forge-mcp/radar/tlds/tools.ts index 707e78c7..b258e457 100644 --- a/src/generated/forge-mcp/radar/tlds/tools.ts +++ b/src/generated/forge-mcp/radar/tlds/tools.ts @@ -52,6 +52,48 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "tld": { + "properties": { + "manager": { + "type": "string" + }, + "tld": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "manager", + "tld", + "type" + ], + "type": "object" + } + }, + "required": [ + "tld" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/tlds/${pathParam(args, "tld")}`, query: [ @@ -125,6 +167,70 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "tlds": { + "items": { + "properties": { + "manager": { + "type": "string" + }, + "tld": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "manager", + "tld", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "tlds" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/tlds`, query: [ diff --git a/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts b/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts index 7af37d20..e104cda3 100644 --- a/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts +++ b/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts @@ -71,6 +71,70 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "trafficAnomalies": { + "items": { + "properties": { + "clientCountryAlpha2": { + "type": "string" + }, + "clientCountryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "clientCountryAlpha2", + "clientCountryName", + "value" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "trafficAnomalies" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/traffic_anomalies/locations`, query: [ diff --git a/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts b/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts index d0f758d3..a32fda07 100644 --- a/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts +++ b/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts @@ -130,6 +130,207 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "trafficAnomalies": { + "items": { + "properties": { + "asnDetails": { + "oneOf": [ + { + "properties": { + "asn": { + "type": "string" + }, + "location": { + "oneOf": [ + { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "asn", + "location", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "endDate": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "locationDetails": { + "oneOf": [ + { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originDetails": { + "oneOf": [ + { + "properties": { + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "origin": { + "type": "string" + } + }, + "required": [ + "name", + "origin" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "visibleInDataSources": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "asnDetails", + "endDate", + "locationDetails", + "originDetails", + "startDate", + "status", + "type", + "uuid", + "visibleInDataSources" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "trafficAnomalies" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/traffic_anomalies`, query: [ @@ -193,6 +394,185 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "trafficAnomaly": { + "properties": { + "asnDetails": { + "oneOf": [ + { + "properties": { + "asn": { + "type": "string" + }, + "location": { + "oneOf": [ + { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "asn", + "location", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "endDate": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "locationDetails": { + "oneOf": [ + { + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "code", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originDetails": { + "oneOf": [ + { + "properties": { + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "origin": { + "type": "string" + } + }, + "required": [ + "name", + "origin" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "startDate": { + "format": "date-time", + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "visibleInDataSources": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "asnDetails", + "endDate", + "locationDetails", + "originDetails", + "startDate", + "status", + "type", + "uuid", + "visibleInDataSources" + ], + "type": "object" + } + }, + "required": [ + "trafficAnomaly" + ], + "type": "object" + }, + "404": { + "properties": { + "error": { + "type": "string" + } + }, + "required": [ + "error" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/radar/traffic_anomalies/${pathParam(args, "uuid")}`, query: [ diff --git a/src/generated/forge-mcp/ready/tools.ts b/src/generated/forge-mcp/ready/tools.ts index ba400616..49e20e01 100644 --- a/src/generated/forge-mcp/ready/tools.ts +++ b/src/generated/forge-mcp/ready/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `ready`. @@ -24,6 +25,16 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/ready", + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (_args) => ({ path: `/ready`, }), diff --git a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts index fcfe3943..d888eb27 100644 --- a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts @@ -55,6 +55,45 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "date": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "total_ingest_seconds": { + "type": "integer" + }, + "total_viewer_seconds": { + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/analytics/livestreams/daywise`, query: [ diff --git a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts index e693fe5c..d9c14908 100644 --- a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts @@ -55,6 +55,32 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "count": { + "type": "integer" + }, + "total_ingest_seconds": { + "type": "integer" + }, + "total_viewer_seconds": { + "type": "integer" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/analytics/livestreams/overall`, query: [ diff --git a/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts b/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts index e36a8fb4..14f1666e 100644 --- a/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts @@ -51,6 +51,79 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "recording_stats": { + "properties": { + "day_stats": { + "items": { + "properties": { + "day": { + "type": "string" + }, + "total_recording_minutes": { + "type": "integer" + }, + "total_recordings": { + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" + }, + "recording_count": { + "type": "integer" + }, + "recording_minutes_consumed": { + "type": "number" + } + }, + "type": "object" + }, + "session_stats": { + "properties": { + "day_stats": { + "items": { + "properties": { + "day": { + "type": "string" + }, + "total_session_minutes": { + "type": "number" + }, + "total_sessions": { + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" + }, + "sessions_count": { + "type": "integer" + }, + "sessions_minutes_consumed": { + "type": "number" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/analytics/daywise`, query: [ diff --git a/src/generated/forge-mcp/realtime/kit/apps/tools.ts b/src/generated/forge-mcp/realtime/kit/apps/tools.ts index 71dfd5e2..57f07b27 100644 --- a/src/generated/forge-mcp/realtime/kit/apps/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/apps/tools.ts @@ -54,6 +54,39 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "app": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/apps`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +128,41 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/apps/${pathParam(args, "app_id")}`, }), @@ -156,6 +224,51 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "paging": { + "properties": { + "end_offset": { + "type": "number" + }, + "start_offset": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/apps`, query: [ diff --git a/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts b/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts index 926de0ce..f86ce495 100644 --- a/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts @@ -47,6 +47,51 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "err_message": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ingest_seconds": { + "type": "integer" + }, + "livestream_id": { + "type": "string" + }, + "started_time": { + "type": "string" + }, + "stopped_time": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "viewer_seconds": { + "type": "integer" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/livestreams/sessions/${pathParam(args, "livestream_session_id")}`, }), @@ -91,6 +136,106 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "livestream": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "disabled": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ingest_server": { + "type": "string" + }, + "meeting_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "playback_url": { + "type": "string" + }, + "status": { + "enum": [ + "LIVE", + "IDLE", + "ERRORED", + "INVOKED" + ], + "type": "string" + }, + "stream_key": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "session": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "err_message": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ingest_seconds": { + "type": "string" + }, + "invoked_time": { + "format": "date-time", + "type": "string" + }, + "livestream_id": { + "type": "string" + }, + "started_time": { + "format": "date-time", + "type": "string" + }, + "stopped_time": { + "format": "date-time", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "viewer_seconds": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/livestreams/${pathParam(args, "livestream_id")}/active-livestream-session`, }), diff --git a/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts b/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts index eb08c703..ac675d3a 100644 --- a/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts @@ -59,6 +59,118 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "livestream": { + "properties": { + "created_at": { + "type": "string" + }, + "disabled": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ingest_server": { + "type": "string" + }, + "meeting_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "playback_url": { + "type": "string" + }, + "status": { + "enum": [ + "LIVE", + "IDLE", + "ERRORED", + "INVOKED" + ], + "type": "string" + }, + "stream_key": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "type": "object" + }, + "paging": { + "properties": { + "end_offset": { + "type": "integer" + }, + "start_offset": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" + }, + "session": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "err_message": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ingest_seconds": { + "type": "number" + }, + "invoked_time": { + "format": "date-time", + "type": "string" + }, + "livestream_id": { + "type": "string" + }, + "started_time": { + "format": "date-time", + "type": "string" + }, + "stopped_time": { + "format": "date-time", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "viewer_seconds": { + "type": "number" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/livestreams/${pathParam(args, "livestream_id")}`, query: [ @@ -148,6 +260,76 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "disabled": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "ingest_server": { + "type": "string" + }, + "meeting_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "paging": { + "properties": { + "end_offset": { + "type": "integer" + }, + "start_offset": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" + }, + "playback_url": { + "type": "string" + }, + "status": { + "enum": [ + "LIVE", + "IDLE", + "ERRORED", + "INVOKED" + ], + "type": "string" + }, + "stream_key": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/livestreams`, query: [ @@ -236,6 +418,44 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "201": { + "properties": { + "data": { + "properties": { + "id": { + "type": "string" + }, + "ingest_server": { + "type": "string" + }, + "playback_url": { + "type": "string" + }, + "status": { + "enum": [ + "LIVE", + "IDLE", + "ERRORED", + "INVOKED" + ], + "type": "string" + }, + "stream_key": { + "type": "string" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/livestreams`, body: { value: args["body"], mediaType: "application/json" }, @@ -287,6 +507,26 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "message": { + "type": "string" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/active-livestream/stop`, }), diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/outputs.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/outputs.ts new file mode 100644 index 00000000..a43133f9 --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/outputs.ts @@ -0,0 +1,36 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `realtimekit_SessionParticipant` in responses. + */ +export const realtimekit_SessionParticipant_output: JsonSchema = { + "properties": { + "created_at": { + "type": "string" + }, + "email": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "picture": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/polls/outputs.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/outputs.ts new file mode 100644 index 00000000..749d68ff --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/outputs.ts @@ -0,0 +1,90 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of `realtimekit_Poll` in responses. + */ +export const realtimekit_Poll_output: JsonSchema = { + "properties": { + "anonymous": { + "type": "boolean" + }, + "created_by": { + "type": "string" + }, + "hide_votes": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "options": { + "items": { + "$ref": "#/$defs/realtimekit_Poll_optionsItem" + }, + "type": "array" + }, + "question": { + "type": "string" + }, + "voted": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "id", + "options", + "question" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Poll_optionsItem` in responses. + */ +export const realtimekit_Poll_optionsItem_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "text": { + "type": "string" + }, + "votes": { + "items": { + "$ref": "#/$defs/realtimekit_Poll_optionsItem_votesItem" + }, + "type": "array" + } + }, + "required": [ + "count", + "text", + "votes" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Poll_optionsItem_votesItem` in responses. + */ +export const realtimekit_Poll_optionsItem_votesItem_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts index 992d7c90..f10c0fce 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + realtimekit_Poll_optionsItem_output, + realtimekit_Poll_optionsItem_votesItem_output, + realtimekit_Poll_output, +} from "./outputs.js"; /** * The tools of `realtime.kit.meetings.active.polls`. @@ -78,6 +83,35 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "201": { + "properties": { + "data": { + "properties": { + "action": { + "type": "string" + }, + "poll": { + "$ref": "#/$defs/realtimekit_Poll" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "400": null + }, + $defs: { + "realtimekit_Poll": realtimekit_Poll_output, + "realtimekit_Poll_optionsItem": realtimekit_Poll_optionsItem_output, + "realtimekit_Poll_optionsItem_votesItem": realtimekit_Poll_optionsItem_votesItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/active-session/poll`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts index 532f4edb..32ae170f 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts @@ -2,10 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + realtimekit_ActiveSession_output, + realtimekit_GenericErrorResponse_error_output, + realtimekit_GenericErrorResponse_output, +} from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; +import { realtimekit_SessionParticipant_output } from "./outputs.js"; /** * The tools of `realtime.kit.meetings.active`. @@ -56,6 +62,29 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_ActiveSession" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "404": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_ActiveSession": realtimekit_ActiveSession_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/active-session`, }), @@ -123,6 +152,40 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "action": { + "type": "string" + }, + "participants": { + "items": { + "$ref": "#/$defs/realtimekit_SessionParticipant" + }, + "type": "array" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "404": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_SessionParticipant": realtimekit_SessionParticipant_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/active-session/kick`, body: { value: args["body"], mediaType: "application/json" }, @@ -169,6 +232,29 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "action": { + "type": "string" + }, + "kicked_participants_count": { + "type": "number" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/active-session/kick-all`, }), @@ -235,6 +321,35 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "action": { + "type": "string" + }, + "participants": { + "items": { + "$ref": "#/$defs/realtimekit_SessionParticipant" + }, + "type": "array" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + $defs: { + "realtimekit_SessionParticipant": realtimekit_SessionParticipant_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/active-session/mute`, body: { value: args["body"], mediaType: "application/json" }, @@ -293,6 +408,29 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "action": { + "type": "string" + }, + "muted_participants_count": { + "type": "number" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/active-session/mute-all`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts index 538e006e..8fd3bf64 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts @@ -65,6 +65,127 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "livestreams": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "ingest_server": { + "type": "string" + }, + "meeting_id": { + "type": "string" + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "playback_url": { + "type": "string" + }, + "status": { + "enum": [ + "LIVE", + "INVOKED", + "ERRORED", + "IDLE" + ], + "type": "string" + }, + "stream_key": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "paging": { + "properties": { + "end_offset": { + "type": "integer" + }, + "start_offset": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" + }, + "sessions": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "err_message": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ingest_seconds": { + "type": "string" + }, + "invoked_time": { + "format": "date-time", + "type": "string" + }, + "livestream_id": { + "type": "string" + }, + "started_time": { + "format": "date-time", + "type": "string" + }, + "stopped_time": { + "format": "date-time", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/livestream`, query: [ @@ -119,6 +240,68 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "disabled": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ingest_server": { + "type": "string" + }, + "meeting_id": { + "type": "string" + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "playback_url": { + "type": "string" + }, + "status": { + "enum": [ + "LIVE", + "IDLE", + "ERRORED", + "INVOKED" + ], + "type": "string" + }, + "stream_key": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/active-livestream`, }), diff --git a/src/generated/forge-mcp/realtime/kit/meetings/outputs.ts b/src/generated/forge-mcp/realtime/kit/meetings/outputs.ts new file mode 100644 index 00000000..388490fe --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/meetings/outputs.ts @@ -0,0 +1,85 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `realtimekit_AIConfig` in responses. + */ +export const realtimekit_AIConfig_output: JsonSchema = { + "properties": { + "summarization": { + "$ref": "#/$defs/realtimekit_SummarizationConfig" + }, + "transcription": { + "$ref": "#/$defs/realtimekit_TranscriptionConfig" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_SummarizationConfig` in responses. + */ +export const realtimekit_SummarizationConfig_output: JsonSchema = { + "properties": { + "summary_type": { + "enum": [ + "general", + "team_meeting", + "sales_call", + "client_check_in", + "interview", + "daily_standup", + "one_on_one_meeting", + "lecture", + "code_review" + ], + "type": "string" + }, + "text_format": { + "enum": [ + "plain_text", + "markdown" + ], + "type": "string" + }, + "word_limit": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_TranscriptionConfig` in responses. + */ +export const realtimekit_TranscriptionConfig_output: JsonSchema = { + "properties": { + "keywords": { + "items": { + "type": "string" + }, + "type": "array" + }, + "language": { + "enum": [ + "en-US", + "en-IN", + "de", + "hi", + "sv", + "ru", + "pl", + "el", + "fr", + "nl" + ], + "type": "string" + }, + "profanity_filter": { + "type": "boolean" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/meetings/participants/outputs.ts b/src/generated/forge-mcp/realtime/kit/meetings/participants/outputs.ts new file mode 100644 index 00000000..e5dea3ee --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/meetings/participants/outputs.ts @@ -0,0 +1,58 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `realtimekit_Participant` in responses. + */ +export const realtimekit_Participant_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "custom_participant_id": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "picture": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "preset_name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "custom_participant_id", + "id", + "preset_name", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts index f30b13d6..95637b08 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + realtimekit_GenericErrorResponse_error_output, + realtimekit_GenericErrorResponse_output, + realtimekit_GenericSuccessResponse_output, +} from "../../../outputs.js"; /** * The tools of `realtime.kit.meetings.participants.tokens`. @@ -54,6 +59,44 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "properties": { + "token": { + "type": "string" + } + }, + "required": [ + "token" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + } + ] + }, + "500": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/participants/${pathParam(args, "participant_id")}/token`, }), diff --git a/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts index 286f4290..3773074a 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts @@ -2,10 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + realtimekit_GenericErrorResponse_error_output, + realtimekit_GenericErrorResponse_output, + realtimekit_GenericSuccessResponse_output, + realtimekit_PagingInfo_output, + realtimekit_PagingResponse_output, +} from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; +import { realtimekit_Participant_output } from "./outputs.js"; /** * The tools of `realtime.kit.meetings.participants`. @@ -94,6 +102,49 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "201": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_Participant" + }, + { + "properties": { + "token": { + "type": "string" + } + }, + "required": [ + "token" + ], + "type": "object" + } + ] + } + }, + "type": "object" + } + ] + }, + "500": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Participant": realtimekit_Participant_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/participants`, body: { value: args["body"], mediaType: "application/json" }, @@ -150,6 +201,56 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "custom_participant_id": { + "type": "string" + }, + "preset_id": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "custom_participant_id", + "preset_id", + "updated_at" + ], + "type": "object" + } + }, + "type": "object" + } + ] + }, + "500": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/participants/${pathParam(args, "participant_id")}`, }), @@ -205,6 +306,37 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_Participant" + } + }, + "required": [ + "data" + ], + "type": "object" + } + ] + }, + "500": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Participant": realtimekit_Participant_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/participants/${pathParam(args, "participant_id")}`, }), @@ -259,6 +391,38 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_PagingResponse" + }, + { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/realtimekit_Participant" + }, + "type": "array" + } + }, + "type": "object" + } + ] + }, + "500": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_PagingInfo": realtimekit_PagingInfo_output, + "realtimekit_PagingResponse": realtimekit_PagingResponse_output, + "realtimekit_Participant": realtimekit_Participant_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/participants`, query: [ @@ -358,6 +522,49 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_Participant" + }, + { + "properties": { + "token": { + "type": "string" + } + }, + "required": [ + "token" + ], + "type": "object" + } + ] + } + }, + "type": "object" + } + ] + }, + "500": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Participant": realtimekit_Participant_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/participants/${pathParam(args, "participant_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -453,6 +660,49 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_Participant" + }, + { + "properties": { + "token": { + "type": "string" + } + }, + "required": [ + "token" + ], + "type": "object" + } + ] + } + }, + "type": "object" + } + ] + }, + "500": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Participant": realtimekit_Participant_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/participants/${pathParam(args, "participant_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/kit/meetings/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/tools.ts index 33a8bc74..0a06baec 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/tools.ts @@ -2,6 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + realtimekit_AudioConfig_output, + realtimekit_GenericErrorResponse_error_output, + realtimekit_GenericErrorResponse_output, + realtimekit_GenericSuccessResponse_output, + realtimekit_LivestreamingConfig_output, + realtimekit_Meeting_output, + realtimekit_PagingInfo_output, + realtimekit_PagingResponse_output, + realtimekit_RecordingConfig_output, + realtimekit_StorageConfig_auth_method_output, + realtimekit_StorageConfig_output, + realtimekit_StorageConfig_type_output, + realtimekit_VideoConfig_output, + realtimekit_VideoConfig_watermark_output, + realtimekit_VideoConfig_watermark_size_output, + realtimekit_realtimekitBucketConfig_output, +} from "../outputs.js"; import { realtimekit_AudioConfig, realtimekit_LivestreamingConfig, @@ -16,6 +34,11 @@ import { realtimekit_app_id, realtimekit_realtimekitBucketConfig, } from "../schemas.js"; +import { + realtimekit_AIConfig_output, + realtimekit_SummarizationConfig_output, + realtimekit_TranscriptionConfig_output, +} from "./outputs.js"; import { realtimekit_AIConfig, realtimekit_SummarizationConfig, @@ -147,6 +170,68 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "201": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_Meeting" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "properties": { + "recording_config": { + "$ref": "#/$defs/realtimekit_RecordingConfig" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "properties": { + "ai_config": { + "$ref": "#/$defs/realtimekit_AIConfig" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_AIConfig": realtimekit_AIConfig_output, + "realtimekit_AudioConfig": realtimekit_AudioConfig_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, + "realtimekit_Meeting": realtimekit_Meeting_output, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, + "realtimekit_StorageConfig": realtimekit_StorageConfig_output, + "realtimekit_StorageConfig_auth_method": realtimekit_StorageConfig_auth_method_output, + "realtimekit_StorageConfig_type": realtimekit_StorageConfig_type_output, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, + "realtimekit_VideoConfig": realtimekit_VideoConfig_output, + "realtimekit_VideoConfig_watermark": realtimekit_VideoConfig_watermark_output, + "realtimekit_VideoConfig_watermark_size": realtimekit_VideoConfig_watermark_size_output, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings`, body: { value: args["body"], mediaType: "application/json" }, @@ -201,6 +286,73 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_Meeting" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "properties": { + "recording_config": { + "$ref": "#/$defs/realtimekit_RecordingConfig" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "properties": { + "ai_config": { + "$ref": "#/$defs/realtimekit_AIConfig" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] + }, + "500": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_AIConfig": realtimekit_AIConfig_output, + "realtimekit_AudioConfig": realtimekit_AudioConfig_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, + "realtimekit_Meeting": realtimekit_Meeting_output, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, + "realtimekit_StorageConfig": realtimekit_StorageConfig_output, + "realtimekit_StorageConfig_auth_method": realtimekit_StorageConfig_auth_method_output, + "realtimekit_StorageConfig_type": realtimekit_StorageConfig_type_output, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, + "realtimekit_VideoConfig": realtimekit_VideoConfig_output, + "realtimekit_VideoConfig_watermark": realtimekit_VideoConfig_watermark_output, + "realtimekit_VideoConfig_watermark_size": realtimekit_VideoConfig_watermark_size_output, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}`, query: [ @@ -274,6 +426,43 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_PagingResponse" + }, + { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/realtimekit_Meeting" + }, + "type": "array" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_AudioConfig": realtimekit_AudioConfig_output, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, + "realtimekit_Meeting": realtimekit_Meeting_output, + "realtimekit_PagingInfo": realtimekit_PagingInfo_output, + "realtimekit_PagingResponse": realtimekit_PagingResponse_output, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, + "realtimekit_StorageConfig": realtimekit_StorageConfig_output, + "realtimekit_StorageConfig_auth_method": realtimekit_StorageConfig_auth_method_output, + "realtimekit_StorageConfig_type": realtimekit_StorageConfig_type_output, + "realtimekit_VideoConfig": realtimekit_VideoConfig_output, + "realtimekit_VideoConfig_watermark": realtimekit_VideoConfig_watermark_output, + "realtimekit_VideoConfig_watermark_size": realtimekit_VideoConfig_watermark_size_output, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings`, query: [ @@ -415,6 +604,68 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_Meeting" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "properties": { + "recording_config": { + "$ref": "#/$defs/realtimekit_RecordingConfig" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "properties": { + "ai_config": { + "$ref": "#/$defs/realtimekit_AIConfig" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_AIConfig": realtimekit_AIConfig_output, + "realtimekit_AudioConfig": realtimekit_AudioConfig_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, + "realtimekit_Meeting": realtimekit_Meeting_output, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, + "realtimekit_StorageConfig": realtimekit_StorageConfig_output, + "realtimekit_StorageConfig_auth_method": realtimekit_StorageConfig_auth_method_output, + "realtimekit_StorageConfig_type": realtimekit_StorageConfig_type_output, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, + "realtimekit_VideoConfig": realtimekit_VideoConfig_output, + "realtimekit_VideoConfig_watermark": realtimekit_VideoConfig_watermark_output, + "realtimekit_VideoConfig_watermark_size": realtimekit_VideoConfig_watermark_size_output, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -530,6 +781,73 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_Meeting" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "properties": { + "recording_config": { + "$ref": "#/$defs/realtimekit_RecordingConfig" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "properties": { + "data": { + "properties": { + "ai_config": { + "$ref": "#/$defs/realtimekit_AIConfig" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] + }, + "500": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_AIConfig": realtimekit_AIConfig_output, + "realtimekit_AudioConfig": realtimekit_AudioConfig_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, + "realtimekit_Meeting": realtimekit_Meeting_output, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, + "realtimekit_StorageConfig": realtimekit_StorageConfig_output, + "realtimekit_StorageConfig_auth_method": realtimekit_StorageConfig_auth_method_output, + "realtimekit_StorageConfig_type": realtimekit_StorageConfig_type_output, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, + "realtimekit_VideoConfig": realtimekit_VideoConfig_output, + "realtimekit_VideoConfig_watermark": realtimekit_VideoConfig_watermark_output, + "realtimekit_VideoConfig_watermark_size": realtimekit_VideoConfig_watermark_size_output, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/kit/outputs.ts b/src/generated/forge-mcp/realtime/kit/outputs.ts new file mode 100644 index 00000000..bf8e9d36 --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/outputs.ts @@ -0,0 +1,560 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `realtimekit_ActiveSession` in responses. + */ +export const realtimekit_ActiveSession_output: JsonSchema = { + "properties": { + "associated_id": { + "type": "string" + }, + "breakout_rooms": { + "items": { + "type": "object" + }, + "type": "array" + }, + "created_at": { + "type": "string" + }, + "ended_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "live_participants": { + "type": "number" + }, + "max_concurrent_participants": { + "type": "number" + }, + "meeting_display_name": { + "type": "string" + }, + "minutes_consumed": { + "type": "number" + }, + "organization_id": { + "type": "string" + }, + "started_at": { + "type": "string" + }, + "status": { + "enum": [ + "LIVE", + "ENDED" + ], + "type": "string" + }, + "type": { + "enum": [ + "meeting", + "livestream", + "participant" + ], + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "associated_id", + "created_at", + "id", + "live_participants", + "max_concurrent_participants", + "meeting_display_name", + "minutes_consumed", + "organization_id", + "started_at", + "status", + "type", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_AudioConfig` in responses. + */ +export const realtimekit_AudioConfig_output: JsonSchema = { + "properties": { + "channel": { + "enum": [ + "mono", + "stereo" + ], + "type": "string" + }, + "codec": { + "enum": [ + "MP3", + "AAC" + ], + "type": "string" + }, + "export_file": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_GenericErrorResponse` in responses. + */ +export const realtimekit_GenericErrorResponse_output: JsonSchema = { + "properties": { + "error": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse_error" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "error", + "success" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_GenericErrorResponse_error` in responses. + */ +export const realtimekit_GenericErrorResponse_error_output: JsonSchema = { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_GenericSuccessResponse` in responses. + */ +export const realtimekit_GenericSuccessResponse_output: JsonSchema = { + "properties": { + "data": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_LivestreamingConfig` in responses. + */ +export const realtimekit_LivestreamingConfig_output: JsonSchema = { + "properties": { + "rtmp_url": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_Meeting` in responses. + */ +export const realtimekit_Meeting_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "live_stream_on_start": { + "type": "boolean" + }, + "persist_chat": { + "type": "boolean" + }, + "record_on_start": { + "type": "boolean" + }, + "recording_config": { + "$ref": "#/$defs/realtimekit_RecordingConfig" + }, + "session_keep_alive_time_in_secs": { + "type": "number" + }, + "status": { + "enum": [ + "ACTIVE", + "INACTIVE" + ], + "type": "string" + }, + "summarize_on_end": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "transcribe_on_end": { + "type": "boolean" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_PagingInfo` in responses. + */ +export const realtimekit_PagingInfo_output: JsonSchema = { + "properties": { + "end_offset": { + "type": "number" + }, + "start_offset": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "end_offset", + "start_offset", + "total_count" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_PagingResponse` in responses. + */ +export const realtimekit_PagingResponse_output: JsonSchema = { + "properties": { + "data": { + "items": { + "type": "object" + }, + "type": "array" + }, + "paging": { + "$ref": "#/$defs/realtimekit_PagingInfo" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "data", + "paging", + "success" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_RecordingConfig` in responses. + */ +export const realtimekit_RecordingConfig_output: JsonSchema = { + "properties": { + "audio_config": { + "$ref": "#/$defs/realtimekit_AudioConfig" + }, + "file_name_prefix": { + "type": "string" + }, + "live_streaming_config": { + "$ref": "#/$defs/realtimekit_LivestreamingConfig" + }, + "max_seconds": { + "type": "number" + }, + "realtimekit_bucket_config": { + "$ref": "#/$defs/realtimekit_realtimekitBucketConfig" + }, + "storage_config": { + "$ref": "#/$defs/realtimekit_StorageConfig" + }, + "video_config": { + "$ref": "#/$defs/realtimekit_VideoConfig" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_StorageConfig` in responses. + */ +export const realtimekit_StorageConfig_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "properties": { + "access_key": { + "type": "string" + }, + "auth_method": { + "$ref": "#/$defs/realtimekit_StorageConfig_auth_method" + }, + "bucket": { + "type": "string" + }, + "host": { + "type": "string" + }, + "password": { + "type": "string" + }, + "path": { + "type": "string" + }, + "port": { + "type": "number" + }, + "private_key": { + "type": "string" + }, + "region": { + "type": "string" + }, + "secret": { + "type": "string" + }, + "type": { + "$ref": "#/$defs/realtimekit_StorageConfig_type" + }, + "username": { + "type": "string" + } + }, + "required": [ + "bucket", + "type" + ], + "type": "object" + }, + { + "oneOf": [ + { + "properties": { + "type": { + "enum": [ + "gcs" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "access_key": {}, + "region": {}, + "type": { + "enum": [ + "aws", + "azure", + "digitalocean" + ], + "type": "string" + } + }, + "required": [ + "access_key", + "region" + ], + "type": "object" + }, + { + "allOf": [ + { + "properties": { + "access_key": {}, + "region": {}, + "type": { + "enum": [ + "sftp" + ], + "type": "string" + } + }, + "required": [ + "access_key", + "region" + ], + "type": "object" + }, + { + "oneOf": [ + { + "properties": { + "auth_method": { + "enum": [ + "KEY" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "auth_method": { + "enum": [ + "PASSWORD" + ], + "type": "string" + } + }, + "type": "object" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `realtimekit_StorageConfig_auth_method` in responses. + */ +export const realtimekit_StorageConfig_auth_method_output: JsonSchema = { + "enum": [ + "KEY", + "PASSWORD" + ], + "type": "string" +}; + +/** + * The schema of `realtimekit_StorageConfig_type` in responses. + */ +export const realtimekit_StorageConfig_type_output: JsonSchema = { + "enum": [ + "aws", + "azure", + "digitalocean", + "gcs", + "sftp" + ], + "type": "string" +}; + +/** + * The schema of `realtimekit_VideoConfig` in responses. + */ +export const realtimekit_VideoConfig_output: JsonSchema = { + "properties": { + "codec": { + "enum": [ + "H264", + "VP8", + "VP9" + ], + "type": "string" + }, + "export_file": { + "type": "boolean" + }, + "height": { + "type": "integer" + }, + "watermark": { + "$ref": "#/$defs/realtimekit_VideoConfig_watermark" + }, + "width": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_VideoConfig_watermark` in responses. + */ +export const realtimekit_VideoConfig_watermark_output: JsonSchema = { + "properties": { + "position": { + "enum": [ + "left top", + "right top", + "left bottom", + "right bottom" + ], + "type": "string" + }, + "size": { + "$ref": "#/$defs/realtimekit_VideoConfig_watermark_size" + }, + "url": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_VideoConfig_watermark_size` in responses. + */ +export const realtimekit_VideoConfig_watermark_size_output: JsonSchema = { + "properties": { + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_realtimekitBucketConfig` in responses. + */ +export const realtimekit_realtimekitBucketConfig_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/presets/outputs.ts b/src/generated/forge-mcp/realtime/kit/presets/outputs.ts new file mode 100644 index 00000000..6f41bd5b --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/presets/outputs.ts @@ -0,0 +1,764 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `realtimekit_Preset` in responses. + */ +export const realtimekit_Preset_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/realtimekit_Preset_config" + }, + "name": { + "type": "string" + }, + "permissions": { + "$ref": "#/$defs/realtimekit_Preset_permissions" + }, + "ui": { + "$ref": "#/$defs/realtimekit_Preset_ui" + } + }, + "required": [ + "config", + "name", + "permissions", + "ui" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_PresetListItem` in responses. + */ +export const realtimekit_PresetListItem_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PresetPluginConfig` in responses. + */ +export const realtimekit_PresetPluginConfig_output: JsonSchema = { + "additionalProperties": { + "properties": { + "access_control": { + "enum": [ + "FULL_ACCESS", + "VIEW_ONLY" + ], + "type": "string" + }, + "handles_view_only": { + "type": "boolean" + } + }, + "type": "object" + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_config` in responses. + */ +export const realtimekit_Preset_config_output: JsonSchema = { + "properties": { + "livestream_viewer_qualities": { + "oneOf": [ + { + "items": { + "type": "integer" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "max_screenshare_count": { + "type": "number" + }, + "max_video_streams": { + "$ref": "#/$defs/realtimekit_Preset_config_max_video_streams" + }, + "media": { + "$ref": "#/$defs/realtimekit_Preset_config_media" + }, + "view_type": { + "enum": [ + "GROUP_CALL", + "WEBINAR", + "AUDIO_ROOM", + "LIVESTREAM" + ], + "type": "string" + } + }, + "required": [ + "max_screenshare_count", + "max_video_streams", + "media", + "view_type" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_config_max_video_streams` in responses. + */ +export const realtimekit_Preset_config_max_video_streams_output: JsonSchema = { + "properties": { + "desktop": { + "type": "number" + }, + "mobile": { + "type": "number" + } + }, + "required": [ + "desktop", + "mobile" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_config_media` in responses. + */ +export const realtimekit_Preset_config_media_output: JsonSchema = { + "properties": { + "audio": { + "$ref": "#/$defs/realtimekit_Preset_config_media_audio" + }, + "screenshare": { + "$ref": "#/$defs/realtimekit_Preset_config_media_screenshare" + }, + "video": { + "$ref": "#/$defs/realtimekit_Preset_config_media_video" + } + }, + "required": [ + "screenshare", + "video" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_config_media_audio` in responses. + */ +export const realtimekit_Preset_config_media_audio_output: JsonSchema = { + "properties": { + "enable_high_bitrate": { + "type": "boolean" + }, + "enable_stereo": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_config_media_screenshare` in responses. + */ +export const realtimekit_Preset_config_media_screenshare_output: JsonSchema = { + "properties": { + "frame_rate": { + "type": "number" + }, + "quality": { + "enum": [ + "hd", + "vga", + "qvga", + "fhd", + "uhd" + ], + "type": "string" + } + }, + "required": [ + "frame_rate", + "quality" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_config_media_video` in responses. + */ +export const realtimekit_Preset_config_media_video_output: JsonSchema = { + "properties": { + "frame_rate": { + "type": "number" + }, + "quality": { + "enum": [ + "hd", + "vga", + "qvga", + "fhd", + "uhd" + ], + "type": "string" + }, + "simulcast": { + "type": "boolean" + } + }, + "required": [ + "frame_rate", + "quality" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions` in responses. + */ +export const realtimekit_Preset_permissions_output: JsonSchema = { + "properties": { + "accept_stage_requests": { + "type": "boolean" + }, + "accept_waiting_requests": { + "type": "boolean" + }, + "can_accept_production_requests": { + "type": "boolean" + }, + "can_change_participant_permissions": { + "type": "boolean" + }, + "can_edit_display_name": { + "type": "boolean" + }, + "can_livestream": { + "type": "boolean" + }, + "can_record": { + "type": "boolean" + }, + "can_spotlight": { + "type": "boolean" + }, + "chat": { + "$ref": "#/$defs/realtimekit_Preset_permissions_chat" + }, + "connected_meetings": { + "$ref": "#/$defs/realtimekit_Preset_permissions_connected_meetings" + }, + "disable_participant_audio": { + "type": "boolean" + }, + "disable_participant_screensharing": { + "type": "boolean" + }, + "disable_participant_video": { + "type": "boolean" + }, + "hidden_participant": { + "type": "boolean" + }, + "is_recorder": { + "type": "boolean" + }, + "kick_participant": { + "type": "boolean" + }, + "media": { + "$ref": "#/$defs/realtimekit_Preset_permissions_media" + }, + "pin_participant": { + "type": "boolean" + }, + "plugins": { + "$ref": "#/$defs/realtimekit_Preset_permissions_plugins" + }, + "polls": { + "$ref": "#/$defs/realtimekit_Preset_permissions_polls" + }, + "recorder_type": { + "enum": [ + "RECORDER", + "LIVESTREAMER", + "NONE" + ], + "type": "string" + }, + "show_participant_list": { + "type": "boolean" + }, + "stage_access": { + "enum": [ + "ALLOWED", + "NOT_ALLOWED", + "CAN_REQUEST" + ], + "type": "string" + }, + "stage_enabled": { + "type": "boolean" + }, + "transcription_enabled": { + "type": "boolean" + }, + "waiting_room_type": { + "enum": [ + "SKIP", + "ON_PRIVILEGED_USER_ENTRY", + "SKIP_ON_ACCEPT" + ], + "type": "string" + } + }, + "required": [ + "accept_waiting_requests", + "can_accept_production_requests", + "can_change_participant_permissions", + "can_edit_display_name", + "can_livestream", + "can_record", + "can_spotlight", + "chat", + "connected_meetings", + "disable_participant_audio", + "disable_participant_screensharing", + "disable_participant_video", + "hidden_participant", + "kick_participant", + "media", + "pin_participant", + "plugins", + "polls", + "recorder_type", + "show_participant_list", + "waiting_room_type" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_chat` in responses. + */ +export const realtimekit_Preset_permissions_chat_output: JsonSchema = { + "properties": { + "private": { + "$ref": "#/$defs/realtimekit_Preset_permissions_chat_private" + }, + "public": { + "$ref": "#/$defs/realtimekit_Preset_permissions_chat_public" + } + }, + "required": [ + "private", + "public" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_chat_private` in responses. + */ +export const realtimekit_Preset_permissions_chat_private_output: JsonSchema = { + "properties": { + "can_receive": { + "type": "boolean" + }, + "can_send": { + "type": "boolean" + }, + "files": { + "type": "boolean" + }, + "text": { + "type": "boolean" + } + }, + "required": [ + "can_receive", + "can_send", + "files", + "text" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_chat_public` in responses. + */ +export const realtimekit_Preset_permissions_chat_public_output: JsonSchema = { + "properties": { + "can_send": { + "type": "boolean" + }, + "files": { + "type": "boolean" + }, + "text": { + "type": "boolean" + } + }, + "required": [ + "can_send", + "files", + "text" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_connected_meetings` in + * responses. + */ +export const realtimekit_Preset_permissions_connected_meetings_output: JsonSchema = { + "properties": { + "can_alter_connected_meetings": { + "type": "boolean" + }, + "can_switch_connected_meetings": { + "type": "boolean" + }, + "can_switch_to_parent_meeting": { + "type": "boolean" + } + }, + "required": [ + "can_alter_connected_meetings", + "can_switch_connected_meetings", + "can_switch_to_parent_meeting" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_media` in responses. + */ +export const realtimekit_Preset_permissions_media_output: JsonSchema = { + "properties": { + "audio": { + "$ref": "#/$defs/realtimekit_Preset_permissions_media_audio" + }, + "screenshare": { + "$ref": "#/$defs/realtimekit_Preset_permissions_media_screenshare" + }, + "video": { + "$ref": "#/$defs/realtimekit_Preset_permissions_media_video" + } + }, + "required": [ + "audio", + "screenshare", + "video" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_media_audio` in responses. + */ +export const realtimekit_Preset_permissions_media_audio_output: JsonSchema = { + "properties": { + "can_produce": { + "enum": [ + "ALLOWED", + "NOT_ALLOWED", + "CAN_REQUEST" + ], + "type": "string" + } + }, + "required": [ + "can_produce" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_media_screenshare` in + * responses. + */ +export const realtimekit_Preset_permissions_media_screenshare_output: JsonSchema = { + "properties": { + "can_produce": { + "enum": [ + "ALLOWED", + "NOT_ALLOWED", + "CAN_REQUEST" + ], + "type": "string" + } + }, + "required": [ + "can_produce" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_media_video` in responses. + */ +export const realtimekit_Preset_permissions_media_video_output: JsonSchema = { + "properties": { + "can_produce": { + "enum": [ + "ALLOWED", + "NOT_ALLOWED", + "CAN_REQUEST" + ], + "type": "string" + } + }, + "required": [ + "can_produce" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_plugins` in responses. + */ +export const realtimekit_Preset_permissions_plugins_output: JsonSchema = { + "properties": { + "can_close": { + "type": "boolean" + }, + "can_edit_config": { + "type": "boolean" + }, + "can_start": { + "type": "boolean" + }, + "config": { + "$ref": "#/$defs/realtimekit_PresetPluginConfig" + } + }, + "required": [ + "can_close", + "can_edit_config", + "can_start", + "config" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_permissions_polls` in responses. + */ +export const realtimekit_Preset_permissions_polls_output: JsonSchema = { + "properties": { + "can_create": { + "type": "boolean" + }, + "can_view": { + "type": "boolean" + }, + "can_vote": { + "type": "boolean" + } + }, + "required": [ + "can_create", + "can_view", + "can_vote" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_ui` in responses. + */ +export const realtimekit_Preset_ui_output: JsonSchema = { + "properties": { + "design_tokens": { + "$ref": "#/$defs/realtimekit_Preset_ui_design_tokens" + } + }, + "required": [ + "design_tokens" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_ui_design_tokens` in responses. + */ +export const realtimekit_Preset_ui_design_tokens_output: JsonSchema = { + "properties": { + "border_radius": { + "enum": [ + "sharp", + "rounded", + "extra-rounded", + "circular" + ], + "type": "string" + }, + "border_width": { + "enum": [ + "none", + "thin", + "fat" + ], + "type": "string" + }, + "colors": { + "$ref": "#/$defs/realtimekit_Preset_ui_design_tokens_colors" + }, + "font_family": { + "type": "string" + }, + "google_font": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "spacing_base": { + "type": "number" + }, + "theme": { + "enum": [ + "darkest", + "dark", + "light" + ], + "type": "string" + } + }, + "required": [ + "border_radius", + "border_width", + "colors", + "spacing_base", + "theme" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_ui_design_tokens_colors` in responses. + */ +export const realtimekit_Preset_ui_design_tokens_colors_output: JsonSchema = { + "properties": { + "background": { + "$ref": "#/$defs/realtimekit_Preset_ui_design_tokens_colors_background" + }, + "brand": { + "$ref": "#/$defs/realtimekit_Preset_ui_design_tokens_colors_brand" + }, + "danger": { + "type": "string" + }, + "success": { + "type": "string" + }, + "text": { + "type": "string" + }, + "text_on_brand": { + "type": "string" + }, + "video_bg": { + "type": "string" + }, + "warning": { + "type": "string" + } + }, + "required": [ + "background", + "brand", + "danger", + "success", + "text", + "text_on_brand", + "video_bg", + "warning" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_ui_design_tokens_colors_background` in + * responses. + */ +export const realtimekit_Preset_ui_design_tokens_colors_background_output: JsonSchema = { + "properties": { + "1000": { + "type": "string" + }, + "600": { + "type": "string" + }, + "700": { + "type": "string" + }, + "800": { + "type": "string" + }, + "900": { + "type": "string" + } + }, + "required": [ + "600", + "700", + "800", + "900", + "1000" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Preset_ui_design_tokens_colors_brand` in + * responses. + */ +export const realtimekit_Preset_ui_design_tokens_colors_brand_output: JsonSchema = { + "properties": { + "300": { + "type": "string" + }, + "400": { + "type": "string" + }, + "500": { + "type": "string" + }, + "600": { + "type": "string" + }, + "700": { + "type": "string" + } + }, + "required": [ + "300", + "400", + "500", + "600", + "700" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/presets/tools.ts b/src/generated/forge-mcp/realtime/kit/presets/tools.ts index a99b075e..101abac5 100644 --- a/src/generated/forge-mcp/realtime/kit/presets/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/presets/tools.ts @@ -2,6 +2,38 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + realtimekit_GenericSuccessResponse_output, + realtimekit_PagingInfo_output, + realtimekit_PagingResponse_output, +} from "../outputs.js"; +import { + realtimekit_PresetListItem_output, + realtimekit_PresetPluginConfig_output, + realtimekit_Preset_config_max_video_streams_output, + realtimekit_Preset_config_media_audio_output, + realtimekit_Preset_config_media_output, + realtimekit_Preset_config_media_screenshare_output, + realtimekit_Preset_config_media_video_output, + realtimekit_Preset_config_output, + realtimekit_Preset_output, + realtimekit_Preset_permissions_chat_output, + realtimekit_Preset_permissions_chat_private_output, + realtimekit_Preset_permissions_chat_public_output, + realtimekit_Preset_permissions_connected_meetings_output, + realtimekit_Preset_permissions_media_audio_output, + realtimekit_Preset_permissions_media_output, + realtimekit_Preset_permissions_media_screenshare_output, + realtimekit_Preset_permissions_media_video_output, + realtimekit_Preset_permissions_output, + realtimekit_Preset_permissions_plugins_output, + realtimekit_Preset_permissions_polls_output, + realtimekit_Preset_ui_design_tokens_colors_background_output, + realtimekit_Preset_ui_design_tokens_colors_brand_output, + realtimekit_Preset_ui_design_tokens_colors_output, + realtimekit_Preset_ui_design_tokens_output, + realtimekit_Preset_ui_output, +} from "./outputs.js"; import { realtimekit_Preset, realtimekit_PresetPluginConfig, @@ -122,6 +154,81 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "201": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "updated_at" + ], + "type": "object" + }, + { + "$ref": "#/$defs/realtimekit_Preset" + } + ] + } + }, + "required": [ + "data" + ], + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Preset": realtimekit_Preset_output, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_Preset_config": realtimekit_Preset_config_output, + "realtimekit_Preset_config_max_video_streams": realtimekit_Preset_config_max_video_streams_output, + "realtimekit_Preset_config_media": realtimekit_Preset_config_media_output, + "realtimekit_Preset_config_media_audio": realtimekit_Preset_config_media_audio_output, + "realtimekit_Preset_config_media_screenshare": realtimekit_Preset_config_media_screenshare_output, + "realtimekit_Preset_config_media_video": realtimekit_Preset_config_media_video_output, + "realtimekit_Preset_permissions": realtimekit_Preset_permissions_output, + "realtimekit_Preset_permissions_chat": realtimekit_Preset_permissions_chat_output, + "realtimekit_Preset_permissions_chat_private": realtimekit_Preset_permissions_chat_private_output, + "realtimekit_Preset_permissions_chat_public": realtimekit_Preset_permissions_chat_public_output, + "realtimekit_Preset_permissions_connected_meetings": realtimekit_Preset_permissions_connected_meetings_output, + "realtimekit_Preset_permissions_media": realtimekit_Preset_permissions_media_output, + "realtimekit_Preset_permissions_media_audio": realtimekit_Preset_permissions_media_audio_output, + "realtimekit_Preset_permissions_media_screenshare": realtimekit_Preset_permissions_media_screenshare_output, + "realtimekit_Preset_permissions_media_video": realtimekit_Preset_permissions_media_video_output, + "realtimekit_Preset_permissions_plugins": realtimekit_Preset_permissions_plugins_output, + "realtimekit_Preset_permissions_polls": realtimekit_Preset_permissions_polls_output, + "realtimekit_Preset_ui": realtimekit_Preset_ui_output, + "realtimekit_Preset_ui_design_tokens": realtimekit_Preset_ui_design_tokens_output, + "realtimekit_Preset_ui_design_tokens_colors": realtimekit_Preset_ui_design_tokens_colors_output, + "realtimekit_Preset_ui_design_tokens_colors_background": realtimekit_Preset_ui_design_tokens_colors_background_output, + "realtimekit_Preset_ui_design_tokens_colors_brand": realtimekit_Preset_ui_design_tokens_colors_brand_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/presets`, body: { value: args["body"], mediaType: "application/json" }, @@ -169,6 +276,81 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "updated_at" + ], + "type": "object" + }, + { + "$ref": "#/$defs/realtimekit_Preset" + } + ] + } + }, + "required": [ + "data" + ], + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Preset": realtimekit_Preset_output, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_Preset_config": realtimekit_Preset_config_output, + "realtimekit_Preset_config_max_video_streams": realtimekit_Preset_config_max_video_streams_output, + "realtimekit_Preset_config_media": realtimekit_Preset_config_media_output, + "realtimekit_Preset_config_media_audio": realtimekit_Preset_config_media_audio_output, + "realtimekit_Preset_config_media_screenshare": realtimekit_Preset_config_media_screenshare_output, + "realtimekit_Preset_config_media_video": realtimekit_Preset_config_media_video_output, + "realtimekit_Preset_permissions": realtimekit_Preset_permissions_output, + "realtimekit_Preset_permissions_chat": realtimekit_Preset_permissions_chat_output, + "realtimekit_Preset_permissions_chat_private": realtimekit_Preset_permissions_chat_private_output, + "realtimekit_Preset_permissions_chat_public": realtimekit_Preset_permissions_chat_public_output, + "realtimekit_Preset_permissions_connected_meetings": realtimekit_Preset_permissions_connected_meetings_output, + "realtimekit_Preset_permissions_media": realtimekit_Preset_permissions_media_output, + "realtimekit_Preset_permissions_media_audio": realtimekit_Preset_permissions_media_audio_output, + "realtimekit_Preset_permissions_media_screenshare": realtimekit_Preset_permissions_media_screenshare_output, + "realtimekit_Preset_permissions_media_video": realtimekit_Preset_permissions_media_video_output, + "realtimekit_Preset_permissions_plugins": realtimekit_Preset_permissions_plugins_output, + "realtimekit_Preset_permissions_polls": realtimekit_Preset_permissions_polls_output, + "realtimekit_Preset_ui": realtimekit_Preset_ui_output, + "realtimekit_Preset_ui_design_tokens": realtimekit_Preset_ui_design_tokens_output, + "realtimekit_Preset_ui_design_tokens_colors": realtimekit_Preset_ui_design_tokens_colors_output, + "realtimekit_Preset_ui_design_tokens_colors_background": realtimekit_Preset_ui_design_tokens_colors_background_output, + "realtimekit_Preset_ui_design_tokens_colors_brand": realtimekit_Preset_ui_design_tokens_colors_brand_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/presets/${pathParam(args, "preset_id")}`, }), @@ -215,6 +397,81 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "updated_at" + ], + "type": "object" + }, + { + "$ref": "#/$defs/realtimekit_Preset" + } + ] + } + }, + "required": [ + "data" + ], + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Preset": realtimekit_Preset_output, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_Preset_config": realtimekit_Preset_config_output, + "realtimekit_Preset_config_max_video_streams": realtimekit_Preset_config_max_video_streams_output, + "realtimekit_Preset_config_media": realtimekit_Preset_config_media_output, + "realtimekit_Preset_config_media_audio": realtimekit_Preset_config_media_audio_output, + "realtimekit_Preset_config_media_screenshare": realtimekit_Preset_config_media_screenshare_output, + "realtimekit_Preset_config_media_video": realtimekit_Preset_config_media_video_output, + "realtimekit_Preset_permissions": realtimekit_Preset_permissions_output, + "realtimekit_Preset_permissions_chat": realtimekit_Preset_permissions_chat_output, + "realtimekit_Preset_permissions_chat_private": realtimekit_Preset_permissions_chat_private_output, + "realtimekit_Preset_permissions_chat_public": realtimekit_Preset_permissions_chat_public_output, + "realtimekit_Preset_permissions_connected_meetings": realtimekit_Preset_permissions_connected_meetings_output, + "realtimekit_Preset_permissions_media": realtimekit_Preset_permissions_media_output, + "realtimekit_Preset_permissions_media_audio": realtimekit_Preset_permissions_media_audio_output, + "realtimekit_Preset_permissions_media_screenshare": realtimekit_Preset_permissions_media_screenshare_output, + "realtimekit_Preset_permissions_media_video": realtimekit_Preset_permissions_media_video_output, + "realtimekit_Preset_permissions_plugins": realtimekit_Preset_permissions_plugins_output, + "realtimekit_Preset_permissions_polls": realtimekit_Preset_permissions_polls_output, + "realtimekit_Preset_ui": realtimekit_Preset_ui_output, + "realtimekit_Preset_ui_design_tokens": realtimekit_Preset_ui_design_tokens_output, + "realtimekit_Preset_ui_design_tokens_colors": realtimekit_Preset_ui_design_tokens_colors_output, + "realtimekit_Preset_ui_design_tokens_colors_background": realtimekit_Preset_ui_design_tokens_colors_background_output, + "realtimekit_Preset_ui_design_tokens_colors_brand": realtimekit_Preset_ui_design_tokens_colors_brand_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/presets/${pathParam(args, "preset_id")}`, }), @@ -267,6 +524,33 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_PagingResponse" + }, + { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/realtimekit_PresetListItem" + }, + "type": "array" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_PagingInfo": realtimekit_PagingInfo_output, + "realtimekit_PagingResponse": realtimekit_PagingResponse_output, + "realtimekit_PresetListItem": realtimekit_PresetListItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/presets`, query: [ @@ -348,6 +632,81 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "updated_at" + ], + "type": "object" + }, + { + "$ref": "#/$defs/realtimekit_Preset" + } + ] + } + }, + "required": [ + "data" + ], + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Preset": realtimekit_Preset_output, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_Preset_config": realtimekit_Preset_config_output, + "realtimekit_Preset_config_max_video_streams": realtimekit_Preset_config_max_video_streams_output, + "realtimekit_Preset_config_media": realtimekit_Preset_config_media_output, + "realtimekit_Preset_config_media_audio": realtimekit_Preset_config_media_audio_output, + "realtimekit_Preset_config_media_screenshare": realtimekit_Preset_config_media_screenshare_output, + "realtimekit_Preset_config_media_video": realtimekit_Preset_config_media_video_output, + "realtimekit_Preset_permissions": realtimekit_Preset_permissions_output, + "realtimekit_Preset_permissions_chat": realtimekit_Preset_permissions_chat_output, + "realtimekit_Preset_permissions_chat_private": realtimekit_Preset_permissions_chat_private_output, + "realtimekit_Preset_permissions_chat_public": realtimekit_Preset_permissions_chat_public_output, + "realtimekit_Preset_permissions_connected_meetings": realtimekit_Preset_permissions_connected_meetings_output, + "realtimekit_Preset_permissions_media": realtimekit_Preset_permissions_media_output, + "realtimekit_Preset_permissions_media_audio": realtimekit_Preset_permissions_media_audio_output, + "realtimekit_Preset_permissions_media_screenshare": realtimekit_Preset_permissions_media_screenshare_output, + "realtimekit_Preset_permissions_media_video": realtimekit_Preset_permissions_media_video_output, + "realtimekit_Preset_permissions_plugins": realtimekit_Preset_permissions_plugins_output, + "realtimekit_Preset_permissions_polls": realtimekit_Preset_permissions_polls_output, + "realtimekit_Preset_ui": realtimekit_Preset_ui_output, + "realtimekit_Preset_ui_design_tokens": realtimekit_Preset_ui_design_tokens_output, + "realtimekit_Preset_ui_design_tokens_colors": realtimekit_Preset_ui_design_tokens_colors_output, + "realtimekit_Preset_ui_design_tokens_colors_background": realtimekit_Preset_ui_design_tokens_colors_background_output, + "realtimekit_Preset_ui_design_tokens_colors_brand": realtimekit_Preset_ui_design_tokens_colors_brand_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/presets/${pathParam(args, "preset_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -425,6 +784,81 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "updated_at" + ], + "type": "object" + }, + { + "$ref": "#/$defs/realtimekit_Preset" + } + ] + } + }, + "required": [ + "data" + ], + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Preset": realtimekit_Preset_output, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_Preset_config": realtimekit_Preset_config_output, + "realtimekit_Preset_config_max_video_streams": realtimekit_Preset_config_max_video_streams_output, + "realtimekit_Preset_config_media": realtimekit_Preset_config_media_output, + "realtimekit_Preset_config_media_audio": realtimekit_Preset_config_media_audio_output, + "realtimekit_Preset_config_media_screenshare": realtimekit_Preset_config_media_screenshare_output, + "realtimekit_Preset_config_media_video": realtimekit_Preset_config_media_video_output, + "realtimekit_Preset_permissions": realtimekit_Preset_permissions_output, + "realtimekit_Preset_permissions_chat": realtimekit_Preset_permissions_chat_output, + "realtimekit_Preset_permissions_chat_private": realtimekit_Preset_permissions_chat_private_output, + "realtimekit_Preset_permissions_chat_public": realtimekit_Preset_permissions_chat_public_output, + "realtimekit_Preset_permissions_connected_meetings": realtimekit_Preset_permissions_connected_meetings_output, + "realtimekit_Preset_permissions_media": realtimekit_Preset_permissions_media_output, + "realtimekit_Preset_permissions_media_audio": realtimekit_Preset_permissions_media_audio_output, + "realtimekit_Preset_permissions_media_screenshare": realtimekit_Preset_permissions_media_screenshare_output, + "realtimekit_Preset_permissions_media_video": realtimekit_Preset_permissions_media_video_output, + "realtimekit_Preset_permissions_plugins": realtimekit_Preset_permissions_plugins_output, + "realtimekit_Preset_permissions_polls": realtimekit_Preset_permissions_polls_output, + "realtimekit_Preset_ui": realtimekit_Preset_ui_output, + "realtimekit_Preset_ui_design_tokens": realtimekit_Preset_ui_design_tokens_output, + "realtimekit_Preset_ui_design_tokens_colors": realtimekit_Preset_ui_design_tokens_colors_output, + "realtimekit_Preset_ui_design_tokens_colors_background": realtimekit_Preset_ui_design_tokens_colors_background_output, + "realtimekit_Preset_ui_design_tokens_colors_brand": realtimekit_Preset_ui_design_tokens_colors_brand_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/presets/${pathParam(args, "preset_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts b/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts index 4f08bc32..41d1ecdc 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + realtimekit_GenericErrorResponse_error_output, + realtimekit_GenericErrorResponse_output, + realtimekit_GenericSuccessResponse_output, +} from "../../outputs.js"; +import { realtimekit_Recording_output } from "../outputs.js"; /** * The tools of `realtime.kit.recordings.active`. @@ -48,6 +54,37 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_Recording" + } + }, + "required": [ + "data" + ], + "type": "object" + } + ] + }, + "404": { + "$ref": "#/$defs/realtimekit_GenericErrorResponse" + } + }, + $defs: { + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, + "realtimekit_GenericErrorResponse_error": realtimekit_GenericErrorResponse_error_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Recording": realtimekit_Recording_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/recordings/active-recording/${pathParam(args, "meeting_id")}`, }), diff --git a/src/generated/forge-mcp/realtime/kit/recordings/outputs.ts b/src/generated/forge-mcp/realtime/kit/recordings/outputs.ts new file mode 100644 index 00000000..a4258211 --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/recordings/outputs.ts @@ -0,0 +1,210 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `realtimekit_Recording` in responses. + */ +export const realtimekit_Recording_output: JsonSchema = { + "properties": { + "audio_download_url": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "download_url": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "download_url_expiry": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "file_size": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "invoked_time": { + "format": "date-time", + "type": "string" + }, + "output_file_name": { + "type": "string" + }, + "recording_duration": { + "type": "integer" + }, + "session_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "started_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "INVOKED", + "RECORDING", + "UPLOADING", + "UPLOADED", + "ERRORED", + "PAUSED" + ], + "type": "string" + }, + "stopped_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "audio_download_url", + "download_url", + "download_url_expiry", + "file_size", + "id", + "invoked_time", + "output_file_name", + "session_id", + "started_time", + "status", + "stopped_time" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_startReason` in responses. + */ +export const realtimekit_startReason_output: JsonSchema = { + "properties": { + "caller": { + "$ref": "#/$defs/realtimekit_startReason_caller" + }, + "reason": { + "enum": [ + "API_CALL", + "RECORD_ON_START" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_startReason_caller` in responses. + */ +export const realtimekit_startReason_caller_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "ORGANIZATION", + "USER" + ], + "type": "string" + }, + "user_Id": { + "format": "uuid", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_stopReason` in responses. + */ +export const realtimekit_stopReason_output: JsonSchema = { + "properties": { + "caller": { + "$ref": "#/$defs/realtimekit_stopReason_caller" + }, + "reason": { + "enum": [ + "API_CALL", + "INTERNAL_ERROR", + "ALL_PEERS_LEFT" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_stopReason_caller` in responses. + */ +export const realtimekit_stopReason_caller_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "ORGANIZATION", + "USER" + ], + "type": "string" + }, + "user_Id": { + "format": "uuid", + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/recordings/tools.ts b/src/generated/forge-mcp/realtime/kit/recordings/tools.ts index fc53e2a7..579a3caf 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + realtimekit_AudioConfig_output, + realtimekit_GenericSuccessResponse_output, + realtimekit_LivestreamingConfig_output, + realtimekit_Meeting_output, + realtimekit_PagingInfo_output, + realtimekit_PagingResponse_output, + realtimekit_RecordingConfig_output, + realtimekit_StorageConfig_auth_method_output, + realtimekit_StorageConfig_output, + realtimekit_StorageConfig_type_output, + realtimekit_VideoConfig_output, + realtimekit_VideoConfig_watermark_output, + realtimekit_VideoConfig_watermark_size_output, + realtimekit_realtimekitBucketConfig_output, +} from "../outputs.js"; import { realtimekit_AudioConfig, realtimekit_LivestreamingConfig, @@ -13,6 +29,13 @@ import { realtimekit_VideoConfig_watermark_size, realtimekit_realtimekitBucketConfig, } from "../schemas.js"; +import { + realtimekit_Recording_output, + realtimekit_startReason_caller_output, + realtimekit_startReason_output, + realtimekit_stopReason_caller_output, + realtimekit_stopReason_output, +} from "./outputs.js"; import { realtimekit_InteractiveConfig } from "./schemas.js"; /** @@ -79,6 +102,54 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_Recording" + }, + { + "properties": { + "start_reason": { + "$ref": "#/$defs/realtimekit_startReason" + }, + "stop_reason": { + "$ref": "#/$defs/realtimekit_stopReason" + }, + "storage_config": { + "$ref": "#/$defs/realtimekit_StorageConfig" + } + }, + "type": "object" + } + ] + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Recording": realtimekit_Recording_output, + "realtimekit_StorageConfig": realtimekit_StorageConfig_output, + "realtimekit_StorageConfig_auth_method": realtimekit_StorageConfig_auth_method_output, + "realtimekit_StorageConfig_type": realtimekit_StorageConfig_type_output, + "realtimekit_startReason": realtimekit_startReason_output, + "realtimekit_startReason_caller": realtimekit_startReason_caller_output, + "realtimekit_stopReason": realtimekit_stopReason_output, + "realtimekit_stopReason_caller": realtimekit_stopReason_caller_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/recordings/${pathParam(args, "recording_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -127,6 +198,54 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_Recording" + }, + { + "properties": { + "start_reason": { + "$ref": "#/$defs/realtimekit_startReason" + }, + "stop_reason": { + "$ref": "#/$defs/realtimekit_stopReason" + }, + "storage_config": { + "$ref": "#/$defs/realtimekit_StorageConfig" + } + }, + "type": "object" + } + ] + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Recording": realtimekit_Recording_output, + "realtimekit_StorageConfig": realtimekit_StorageConfig_output, + "realtimekit_StorageConfig_auth_method": realtimekit_StorageConfig_auth_method_output, + "realtimekit_StorageConfig_type": realtimekit_StorageConfig_type_output, + "realtimekit_startReason": realtimekit_startReason_output, + "realtimekit_startReason_caller": realtimekit_startReason_caller_output, + "realtimekit_stopReason": realtimekit_stopReason_output, + "realtimekit_stopReason_caller": realtimekit_stopReason_caller_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/recordings/${pathParam(args, "recording_id")}`, }), @@ -226,6 +345,64 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_PagingResponse" + }, + { + "properties": { + "data": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_Recording" + }, + { + "properties": { + "storage_config": { + "$ref": "#/$defs/realtimekit_StorageConfig" + } + }, + "type": "object" + }, + { + "properties": { + "meeting": { + "$ref": "#/$defs/realtimekit_Meeting" + } + }, + "type": "object" + } + ] + }, + "type": "array" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_AudioConfig": realtimekit_AudioConfig_output, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, + "realtimekit_Meeting": realtimekit_Meeting_output, + "realtimekit_PagingInfo": realtimekit_PagingInfo_output, + "realtimekit_PagingResponse": realtimekit_PagingResponse_output, + "realtimekit_Recording": realtimekit_Recording_output, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, + "realtimekit_StorageConfig": realtimekit_StorageConfig_output, + "realtimekit_StorageConfig_auth_method": realtimekit_StorageConfig_auth_method_output, + "realtimekit_StorageConfig_type": realtimekit_StorageConfig_type_output, + "realtimekit_VideoConfig": realtimekit_VideoConfig_output, + "realtimekit_VideoConfig_watermark": realtimekit_VideoConfig_watermark_output, + "realtimekit_VideoConfig_watermark_size": realtimekit_VideoConfig_watermark_size_output, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/recordings`, query: [ @@ -342,6 +519,54 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_Recording" + }, + { + "properties": { + "start_reason": { + "$ref": "#/$defs/realtimekit_startReason" + }, + "stop_reason": { + "$ref": "#/$defs/realtimekit_stopReason" + }, + "storage_config": { + "$ref": "#/$defs/realtimekit_StorageConfig" + } + }, + "type": "object" + } + ] + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Recording": realtimekit_Recording_output, + "realtimekit_StorageConfig": realtimekit_StorageConfig_output, + "realtimekit_StorageConfig_auth_method": realtimekit_StorageConfig_auth_method_output, + "realtimekit_StorageConfig_type": realtimekit_StorageConfig_type_output, + "realtimekit_startReason": realtimekit_startReason_output, + "realtimekit_startReason_caller": realtimekit_startReason_caller_output, + "realtimekit_stopReason": realtimekit_stopReason_output, + "realtimekit_stopReason_caller": realtimekit_stopReason_caller_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/recordings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts b/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts index 1d6b3df5..7b6de6a9 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { realtimekit_GenericSuccessResponse_output } from "../../outputs.js"; +import { realtimekit_Recording_output } from "../outputs.js"; import { realtimekit_TrackConfigLayer } from "./schemas.js"; /** @@ -78,6 +80,37 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/realtimekit_GenericSuccessResponse" + }, + { + "properties": { + "data": { + "properties": { + "recording": { + "$ref": "#/$defs/realtimekit_Recording" + } + }, + "required": [ + "recording" + ], + "type": "object" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_Recording": realtimekit_Recording_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/recordings/track`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/kit/sessions/chat/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/chat/outputs.ts new file mode 100644 index 00000000..81656187 --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/sessions/chat/outputs.ts @@ -0,0 +1,23 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `realtimekit_ChatMessage` in responses. + */ +export const realtimekit_ChatMessage_output: JsonSchema = { + "properties": { + "chat_download_url": { + "type": "string" + }, + "chat_download_url_expiry": { + "type": "string" + } + }, + "required": [ + "chat_download_url", + "chat_download_url_expiry" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts index f68eee94..7cf0cd31 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { realtimekit_ChatMessage_output } from "./outputs.js"; /** * The tools of `realtime.kit.sessions.chat`. @@ -49,6 +50,24 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_ChatMessage" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + $defs: { + "realtimekit_ChatMessage": realtimekit_ChatMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/chat`, }), diff --git a/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts index c7354882..6b5038a2 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts @@ -56,6 +56,80 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "err_message": { + "enum": [ + "LIVE", + "IDLE", + "ERRORED", + "INVOKED" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "ingest_seconds": { + "type": "number" + }, + "invoked_time": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "livestream_id": { + "type": "string" + }, + "paging": { + "properties": { + "end_offset": { + "type": "number" + }, + "start_offset": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + }, + "stopped_time": { + "format": "date-time", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "viewer_seconds": { + "type": "number" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/livestream-sessions`, query: [ diff --git a/src/generated/forge-mcp/realtime/kit/sessions/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/outputs.ts new file mode 100644 index 00000000..4a2ac3d8 --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/sessions/outputs.ts @@ -0,0 +1,83 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `realtimekit_PeerEvent` in responses. + */ +export const realtimekit_PeerEvent_output: JsonSchema = { + "properties": { + "created_at": { + "type": "string" + }, + "event_name": { + "enum": [ + "PEER_CREATED", + "PEER_JOINING", + "PEER_LEAVING" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "minutes_consumed": { + "type": "number" + }, + "participant_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "peer_id": { + "type": "string" + }, + "preset_view_type": { + "oneOf": [ + { + "enum": [ + "GROUP_CALL", + "WEBINAR", + "AUDIO_ROOM", + "LIVESTREAM", + "CHAT" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "session_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "socket_session_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/sessions/participants/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/participants/outputs.ts new file mode 100644 index 00000000..d27f18eb --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/sessions/participants/outputs.ts @@ -0,0 +1,49 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `realtimekit_ParticipantsList` in responses. + */ +export const realtimekit_ParticipantsList_output: JsonSchema = { + "properties": { + "created_at": { + "type": "string" + }, + "custom_participant_id": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "duration": { + "type": "number" + }, + "id": { + "type": "string" + }, + "joined_at": { + "type": "string" + }, + "left_at": { + "type": "string" + }, + "peer_events": { + "items": { + "$ref": "#/$defs/realtimekit_PeerEvent" + }, + "type": "array" + }, + "preset_name": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts index 0af07bf1..ec06a460 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { realtimekit_PeerEvent_output } from "../outputs.js"; +import { realtimekit_ParticipantsList_output } from "./outputs.js"; /** * The tools of `realtime.kit.sessions.participants`. @@ -60,6 +62,30 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "participant": { + "$ref": "#/$defs/realtimekit_ParticipantsList" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + $defs: { + "realtimekit_ParticipantsList": realtimekit_ParticipantsList_output, + "realtimekit_PeerEvent": realtimekit_PeerEvent_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/participants/${pathParam(args, "participant_id")}`, query: [ @@ -150,6 +176,33 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "participants": { + "items": { + "$ref": "#/$defs/realtimekit_ParticipantsList" + }, + "type": "array" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + $defs: { + "realtimekit_ParticipantsList": realtimekit_ParticipantsList_output, + "realtimekit_PeerEvent": realtimekit_PeerEvent_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/participants`, query: [ diff --git a/src/generated/forge-mcp/realtime/kit/sessions/peers/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/peers/outputs.ts new file mode 100644 index 00000000..5ca525aa --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/sessions/peers/outputs.ts @@ -0,0 +1,1046 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `realtimekit_AudioConsumerStats` in responses. + */ +export const realtimekit_AudioConsumerStats_output: JsonSchema = { + "properties": { + "bytes_received": { + "type": "number" + }, + "concealment_events": { + "type": "number" + }, + "consumer_id": { + "type": "string" + }, + "jitter": { + "type": "number" + }, + "jitter_buffer_delay": { + "type": "number" + }, + "jitter_buffer_emitted_count": { + "type": "number" + }, + "mid": { + "type": "string" + }, + "mos_quality": { + "type": "number" + }, + "packets_lost": { + "type": "number" + }, + "packets_received": { + "type": "number" + }, + "peer_id": { + "type": "string" + }, + "producer_id": { + "type": "string" + }, + "ssrc": { + "type": "number" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_AudioConsumerStatsCumulative` in responses. + */ +export const realtimekit_AudioConsumerStatsCumulative_output: JsonSchema = { + "properties": { + "jitter_buffer_delay": { + "$ref": "#/$defs/realtimekit_LatencyCumulative" + }, + "packet_loss": { + "$ref": "#/$defs/realtimekit_PacketLossCumulative" + }, + "quality_mos": { + "$ref": "#/$defs/realtimekit_PercentileStats" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_AudioProducerStats` in responses. + */ +export const realtimekit_AudioProducerStats_output: JsonSchema = { + "properties": { + "bytes_sent": { + "type": "number" + }, + "jitter": { + "type": "number" + }, + "mid": { + "type": "string" + }, + "mos_quality": { + "type": "number" + }, + "packets_lost": { + "type": "number" + }, + "packets_sent": { + "type": "number" + }, + "producer_id": { + "type": "string" + }, + "rtt": { + "type": "number" + }, + "ssrc": { + "type": "number" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_AudioProducerStatsCumulative` in responses. + */ +export const realtimekit_AudioProducerStatsCumulative_output: JsonSchema = { + "properties": { + "packet_loss": { + "$ref": "#/$defs/realtimekit_PacketLossCumulative" + }, + "quality_mos": { + "$ref": "#/$defs/realtimekit_PercentileStats" + }, + "rtt": { + "$ref": "#/$defs/realtimekit_LatencyCumulative" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_CandidatePairStats` in responses. + */ +export const realtimekit_CandidatePairStats_output: JsonSchema = { + "properties": { + "available_incoming_bitrate": { + "type": "number" + }, + "available_outgoing_bitrate": { + "type": "number" + }, + "bytes_discarded_on_send": { + "type": "number" + }, + "bytes_received": { + "type": "number" + }, + "bytes_sent": { + "type": "number" + }, + "current_round_trip_time": { + "type": "number" + }, + "last_packet_received_timestamp": { + "type": "number" + }, + "last_packet_sent_timestamp": { + "type": "number" + }, + "local_candidate_address": { + "type": "string" + }, + "local_candidate_id": { + "type": "string" + }, + "local_candidate_network_type": { + "type": "string" + }, + "local_candidate_port": { + "type": "number" + }, + "local_candidate_protocol": { + "type": "string" + }, + "local_candidate_related_address": { + "type": "string" + }, + "local_candidate_related_port": { + "type": "number" + }, + "local_candidate_type": { + "type": "string" + }, + "local_candidate_url": { + "type": "string" + }, + "nominated": { + "type": "boolean" + }, + "packets_discarded_on_send": { + "type": "number" + }, + "packets_received": { + "type": "number" + }, + "packets_sent": { + "type": "number" + }, + "remote_candidate_address": { + "type": "string" + }, + "remote_candidate_id": { + "type": "string" + }, + "remote_candidate_port": { + "type": "number" + }, + "remote_candidate_protocol": { + "type": "string" + }, + "remote_candidate_type": { + "type": "string" + }, + "remote_candidate_url": { + "type": "string" + }, + "total_round_trip_time": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_LatencyCumulative` in responses. + */ +export const realtimekit_LatencyCumulative_output: JsonSchema = { + "properties": { + "100ms_or_greater_event_fraction": { + "type": "number" + }, + "250ms_or_greater_event_fraction": { + "type": "number" + }, + "500ms_or_greater_event_fraction": { + "type": "number" + }, + "avg": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PacketLossCumulative` in responses. + */ +export const realtimekit_PacketLossCumulative_output: JsonSchema = { + "properties": { + "10_or_greater_event_fraction": { + "type": "number" + }, + "25_or_greater_event_fraction": { + "type": "number" + }, + "50_or_greater_event_fraction": { + "type": "number" + }, + "5_or_greater_event_fraction": { + "type": "number" + }, + "avg": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerParticipantDetails` in responses. + */ +export const realtimekit_PeerParticipantDetails_output: JsonSchema = { + "properties": { + "created_at": { + "type": "string" + }, + "custom_participant_id": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "duration": { + "type": "number" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "joined_at": { + "type": "string" + }, + "left_at": { + "type": "string" + }, + "peer_events": { + "items": { + "$ref": "#/$defs/realtimekit_PeerEvent" + }, + "type": "array" + }, + "peer_report": { + "$ref": "#/$defs/realtimekit_PeerReport" + }, + "role": { + "type": "string" + }, + "session_id": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReport` in responses. + */ +export const realtimekit_PeerReport_output: JsonSchema = { + "properties": { + "metadata": { + "$ref": "#/$defs/realtimekit_PeerReportMetadata" + }, + "quality": { + "$ref": "#/$defs/realtimekit_PeerReportQuality" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportDevice` in responses. + */ +export const realtimekit_PeerReportDevice_output: JsonSchema = { + "properties": { + "device_id": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "label": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportDeviceUpdate` in responses. + */ +export const realtimekit_PeerReportDeviceUpdate_output: JsonSchema = { + "properties": { + "added": { + "items": { + "$ref": "#/$defs/realtimekit_PeerReportDevice" + }, + "type": "array" + }, + "removed": { + "items": { + "$ref": "#/$defs/realtimekit_PeerReportDevice" + }, + "type": "array" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportEvent` in responses. + */ +export const realtimekit_PeerReportEvent_output: JsonSchema = { + "properties": { + "metadata": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "name": { + "type": "string" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportMetadata` in responses. + */ +export const realtimekit_PeerReportMetadata_output: JsonSchema = { + "properties": { + "audio_devices_updates": { + "items": { + "$ref": "#/$defs/realtimekit_PeerReportDeviceUpdate" + }, + "type": "array" + }, + "browser_metadata": { + "$ref": "#/$defs/realtimekit_PeerReportMetadata_browser_metadata" + }, + "candidate_pairs": { + "$ref": "#/$defs/realtimekit_PeerReportMetadata_candidate_pairs" + }, + "device_info": { + "$ref": "#/$defs/realtimekit_PeerReportMetadata_device_info" + }, + "events": { + "items": { + "$ref": "#/$defs/realtimekit_PeerReportEvent" + }, + "type": "array" + }, + "ip_information": { + "$ref": "#/$defs/realtimekit_PeerReportMetadata_ip_information" + }, + "native_metadata": { + "$ref": "#/$defs/realtimekit_PeerReportMetadata_native_metadata" + }, + "pc_metadata": { + "items": { + "$ref": "#/$defs/realtimekit_PeerReportMetadata_pc_metadataItem" + }, + "type": "array" + }, + "room_view_type": { + "type": "string" + }, + "sdk_name": { + "type": "string" + }, + "sdk_type": { + "type": "string" + }, + "sdk_version": { + "type": "string" + }, + "selected_device_updates": { + "items": { + "$ref": "#/$defs/realtimekit_PeerReportMetadata_selected_device_updatesItem" + }, + "type": "array" + }, + "speaker_devices_updates": { + "items": { + "$ref": "#/$defs/realtimekit_PeerReportDeviceUpdate" + }, + "type": "array" + }, + "video_devices_updates": { + "items": { + "$ref": "#/$defs/realtimekit_PeerReportDeviceUpdate" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportMetadata_browser_metadata` in responses. + */ +export const realtimekit_PeerReportMetadata_browser_metadata_output: JsonSchema = { + "properties": { + "browser": { + "type": "string" + }, + "browser_version": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "user_agent": { + "type": "string" + }, + "webgl_support": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportMetadata_candidate_pairs` in responses. + */ +export const realtimekit_PeerReportMetadata_candidate_pairs_output: JsonSchema = { + "properties": { + "consuming_transport": { + "items": { + "$ref": "#/$defs/realtimekit_CandidatePairStats" + }, + "type": "array" + }, + "producing_transport": { + "items": { + "$ref": "#/$defs/realtimekit_CandidatePairStats" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportMetadata_device_info` in responses. + */ +export const realtimekit_PeerReportMetadata_device_info_output: JsonSchema = { + "properties": { + "cpus": { + "type": "number" + }, + "is_mobile": { + "type": "boolean" + }, + "os": { + "type": "string" + }, + "os_version": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportMetadata_ip_information` in responses. + */ +export const realtimekit_PeerReportMetadata_ip_information_output: JsonSchema = { + "properties": { + "asn": { + "$ref": "#/$defs/realtimekit_PeerReportMetadata_ip_information_asn" + }, + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "ipv4": { + "type": "string" + }, + "org": { + "type": "string" + }, + "region": { + "type": "string" + }, + "timezone": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportMetadata_ip_information_asn` in + * responses. + */ +export const realtimekit_PeerReportMetadata_ip_information_asn_output: JsonSchema = { + "properties": { + "asn": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "name": { + "type": "string" + }, + "route": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportMetadata_native_metadata` in responses. + */ +export const realtimekit_PeerReportMetadata_native_metadata_output: JsonSchema = { + "properties": { + "audio_encoder": { + "type": "string" + }, + "video_encoder": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportMetadata_pc_metadataItem` in responses. + */ +export const realtimekit_PeerReportMetadata_pc_metadataItem_output: JsonSchema = { + "properties": { + "effective_network_type": { + "type": "string" + }, + "reflexive_connectivity": { + "type": "boolean" + }, + "relay_connectivity": { + "type": "boolean" + }, + "sdp": { + "items": { + "type": "string" + }, + "type": "array" + }, + "timestamp": { + "type": "string" + }, + "turn_connectivity": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportMetadata_selected_device_updatesItem` in + * responses. + */ +export const realtimekit_PeerReportMetadata_selected_device_updatesItem_output: JsonSchema = { + "properties": { + "device": { + "$ref": "#/$defs/realtimekit_PeerReportDevice" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PeerReportQuality` in responses. + */ +export const realtimekit_PeerReportQuality_output: JsonSchema = { + "properties": { + "audio_consumer": { + "items": { + "$ref": "#/$defs/realtimekit_AudioConsumerStats" + }, + "type": "array" + }, + "audio_consumer_cumulative": { + "$ref": "#/$defs/realtimekit_AudioConsumerStatsCumulative" + }, + "audio_producer": { + "items": { + "$ref": "#/$defs/realtimekit_AudioProducerStats" + }, + "type": "array" + }, + "audio_producer_cumulative": { + "$ref": "#/$defs/realtimekit_AudioProducerStatsCumulative" + }, + "screenshare_audio_consumer": { + "items": { + "$ref": "#/$defs/realtimekit_AudioConsumerStats" + }, + "type": "array" + }, + "screenshare_audio_consumer_cumulative": { + "$ref": "#/$defs/realtimekit_AudioConsumerStatsCumulative" + }, + "screenshare_audio_producer": { + "items": { + "$ref": "#/$defs/realtimekit_AudioProducerStats" + }, + "type": "array" + }, + "screenshare_audio_producer_cumulative": { + "$ref": "#/$defs/realtimekit_AudioProducerStatsCumulative" + }, + "screenshare_video_consumer": { + "items": { + "$ref": "#/$defs/realtimekit_VideoConsumerStats" + }, + "type": "array" + }, + "screenshare_video_consumer_cumulative": { + "$ref": "#/$defs/realtimekit_VideoConsumerStatsCumulative" + }, + "screenshare_video_producer": { + "items": { + "$ref": "#/$defs/realtimekit_VideoProducerStats" + }, + "type": "array" + }, + "screenshare_video_producer_cumulative": { + "$ref": "#/$defs/realtimekit_VideoProducerStatsCumulative" + }, + "video_consumer": { + "items": { + "$ref": "#/$defs/realtimekit_VideoConsumerStats" + }, + "type": "array" + }, + "video_consumer_cumulative": { + "$ref": "#/$defs/realtimekit_VideoConsumerStatsCumulative" + }, + "video_producer": { + "items": { + "$ref": "#/$defs/realtimekit_VideoProducerStats" + }, + "type": "array" + }, + "video_producer_cumulative": { + "$ref": "#/$defs/realtimekit_VideoProducerStatsCumulative" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_PercentileStats` in responses. + */ +export const realtimekit_PercentileStats_output: JsonSchema = { + "properties": { + "avg": { + "type": "number" + }, + "p50": { + "type": "number" + }, + "p75": { + "type": "number" + }, + "p90": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_VideoConsumerStats` in responses. + */ +export const realtimekit_VideoConsumerStats_output: JsonSchema = { + "properties": { + "bytes_received": { + "type": "number" + }, + "consumer_id": { + "type": "string" + }, + "fir_count": { + "type": "number" + }, + "frame_height": { + "type": "number" + }, + "frame_width": { + "type": "number" + }, + "frames_decoded": { + "type": "number" + }, + "frames_dropped": { + "type": "number" + }, + "frames_per_second": { + "type": "number" + }, + "jitter": { + "type": "number" + }, + "jitter_buffer_delay": { + "type": "number" + }, + "jitter_buffer_emitted_count": { + "type": "number" + }, + "key_frames_decoded": { + "type": "number" + }, + "mid": { + "type": "string" + }, + "mos_quality": { + "type": "number" + }, + "packets_lost": { + "type": "number" + }, + "packets_received": { + "type": "number" + }, + "peer_id": { + "type": "string" + }, + "producer_id": { + "type": "string" + }, + "ssrc": { + "type": "number" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_VideoConsumerStatsCumulative` in responses. + */ +export const realtimekit_VideoConsumerStatsCumulative_output: JsonSchema = { + "properties": { + "frame_per_second": { + "$ref": "#/$defs/realtimekit_PercentileStats" + }, + "frame_width": { + "$ref": "#/$defs/realtimekit_PercentileStats" + }, + "issues": { + "$ref": "#/$defs/realtimekit_VideoConsumerStatsCumulative_issues" + }, + "jitter_buffer_delay": { + "$ref": "#/$defs/realtimekit_LatencyCumulative" + }, + "key_frames_decoded_fraction": { + "type": "number" + }, + "packet_loss": { + "$ref": "#/$defs/realtimekit_PacketLossCumulative" + }, + "quality_mos": { + "$ref": "#/$defs/realtimekit_PercentileStats" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_VideoConsumerStatsCumulative_issues` in responses. + */ +export const realtimekit_VideoConsumerStatsCumulative_issues_output: JsonSchema = { + "properties": { + "lag_fraction": { + "type": "number" + }, + "no_video_fraction": { + "type": "number" + }, + "poor_resolution_fraction": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_VideoProducerStats` in responses. + */ +export const realtimekit_VideoProducerStats_output: JsonSchema = { + "properties": { + "bytes_sent": { + "type": "number" + }, + "fir_count": { + "type": "number" + }, + "frame_height": { + "type": "number" + }, + "frame_width": { + "type": "number" + }, + "frames_encoded": { + "type": "number" + }, + "frames_per_second": { + "type": "number" + }, + "jitter": { + "type": "number" + }, + "key_frames_encoded": { + "type": "number" + }, + "mid": { + "type": "string" + }, + "mos_quality": { + "type": "number" + }, + "packets_lost": { + "type": "number" + }, + "packets_sent": { + "type": "number" + }, + "pli_count": { + "type": "number" + }, + "producer_id": { + "type": "string" + }, + "quality_limitation_durations": { + "$ref": "#/$defs/realtimekit_VideoProducerStats_quality_limitation_durations" + }, + "quality_limitation_reason": { + "enum": [ + "cpu", + "bandwidth", + "none", + "other" + ], + "type": "string" + }, + "quality_limitation_resolution_changes": { + "type": "number" + }, + "rtt": { + "type": "number" + }, + "ssrc": { + "type": "number" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_VideoProducerStatsCumulative` in responses. + */ +export const realtimekit_VideoProducerStatsCumulative_output: JsonSchema = { + "properties": { + "frame_per_second": { + "$ref": "#/$defs/realtimekit_PercentileStats" + }, + "frame_width": { + "$ref": "#/$defs/realtimekit_PercentileStats" + }, + "high_negative_feedback_fraction": { + "type": "number" + }, + "issues": { + "$ref": "#/$defs/realtimekit_VideoProducerStatsCumulative_issues" + }, + "key_frames_encoded_fraction": { + "type": "number" + }, + "packet_loss": { + "$ref": "#/$defs/realtimekit_PacketLossCumulative" + }, + "quality_mos": { + "$ref": "#/$defs/realtimekit_PercentileStats" + }, + "rtt": { + "$ref": "#/$defs/realtimekit_LatencyCumulative" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_VideoProducerStatsCumulative_issues` in responses. + */ +export const realtimekit_VideoProducerStatsCumulative_issues_output: JsonSchema = { + "properties": { + "bandwidth_quality_limitation_fraction": { + "type": "number" + }, + "cpu_quality_limitation_fraction": { + "type": "number" + }, + "no_video_fraction": { + "type": "number" + }, + "poor_resolution_fraction": { + "type": "number" + }, + "quality_limitation_fraction": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `realtimekit_VideoProducerStats_quality_limitation_durations` + * in responses. + */ +export const realtimekit_VideoProducerStats_quality_limitation_durations_output: JsonSchema = { + "properties": { + "bandwidth": { + "type": "number" + }, + "cpu": { + "type": "number" + }, + "none": { + "type": "number" + }, + "other": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts index a3efcee7..08694152 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts @@ -2,6 +2,39 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { realtimekit_PeerEvent_output } from "../outputs.js"; +import { + realtimekit_AudioConsumerStatsCumulative_output, + realtimekit_AudioConsumerStats_output, + realtimekit_AudioProducerStatsCumulative_output, + realtimekit_AudioProducerStats_output, + realtimekit_CandidatePairStats_output, + realtimekit_LatencyCumulative_output, + realtimekit_PacketLossCumulative_output, + realtimekit_PeerParticipantDetails_output, + realtimekit_PeerReportDeviceUpdate_output, + realtimekit_PeerReportDevice_output, + realtimekit_PeerReportEvent_output, + realtimekit_PeerReportMetadata_browser_metadata_output, + realtimekit_PeerReportMetadata_candidate_pairs_output, + realtimekit_PeerReportMetadata_device_info_output, + realtimekit_PeerReportMetadata_ip_information_asn_output, + realtimekit_PeerReportMetadata_ip_information_output, + realtimekit_PeerReportMetadata_native_metadata_output, + realtimekit_PeerReportMetadata_output, + realtimekit_PeerReportMetadata_pc_metadataItem_output, + realtimekit_PeerReportMetadata_selected_device_updatesItem_output, + realtimekit_PeerReportQuality_output, + realtimekit_PeerReport_output, + realtimekit_PercentileStats_output, + realtimekit_VideoConsumerStatsCumulative_issues_output, + realtimekit_VideoConsumerStatsCumulative_output, + realtimekit_VideoConsumerStats_output, + realtimekit_VideoProducerStatsCumulative_issues_output, + realtimekit_VideoProducerStatsCumulative_output, + realtimekit_VideoProducerStats_output, + realtimekit_VideoProducerStats_quality_limitation_durations_output, +} from "./outputs.js"; /** * The tools of `realtime.kit.sessions.peers`. @@ -65,6 +98,59 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "participant": { + "$ref": "#/$defs/realtimekit_PeerParticipantDetails" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + $defs: { + "realtimekit_AudioConsumerStats": realtimekit_AudioConsumerStats_output, + "realtimekit_AudioConsumerStatsCumulative": realtimekit_AudioConsumerStatsCumulative_output, + "realtimekit_AudioProducerStats": realtimekit_AudioProducerStats_output, + "realtimekit_AudioProducerStatsCumulative": realtimekit_AudioProducerStatsCumulative_output, + "realtimekit_CandidatePairStats": realtimekit_CandidatePairStats_output, + "realtimekit_LatencyCumulative": realtimekit_LatencyCumulative_output, + "realtimekit_PacketLossCumulative": realtimekit_PacketLossCumulative_output, + "realtimekit_PeerEvent": realtimekit_PeerEvent_output, + "realtimekit_PeerParticipantDetails": realtimekit_PeerParticipantDetails_output, + "realtimekit_PeerReport": realtimekit_PeerReport_output, + "realtimekit_PeerReportDevice": realtimekit_PeerReportDevice_output, + "realtimekit_PeerReportDeviceUpdate": realtimekit_PeerReportDeviceUpdate_output, + "realtimekit_PeerReportEvent": realtimekit_PeerReportEvent_output, + "realtimekit_PeerReportMetadata": realtimekit_PeerReportMetadata_output, + "realtimekit_PeerReportMetadata_browser_metadata": realtimekit_PeerReportMetadata_browser_metadata_output, + "realtimekit_PeerReportMetadata_candidate_pairs": realtimekit_PeerReportMetadata_candidate_pairs_output, + "realtimekit_PeerReportMetadata_device_info": realtimekit_PeerReportMetadata_device_info_output, + "realtimekit_PeerReportMetadata_ip_information": realtimekit_PeerReportMetadata_ip_information_output, + "realtimekit_PeerReportMetadata_ip_information_asn": realtimekit_PeerReportMetadata_ip_information_asn_output, + "realtimekit_PeerReportMetadata_native_metadata": realtimekit_PeerReportMetadata_native_metadata_output, + "realtimekit_PeerReportMetadata_pc_metadataItem": realtimekit_PeerReportMetadata_pc_metadataItem_output, + "realtimekit_PeerReportMetadata_selected_device_updatesItem": realtimekit_PeerReportMetadata_selected_device_updatesItem_output, + "realtimekit_PeerReportQuality": realtimekit_PeerReportQuality_output, + "realtimekit_PercentileStats": realtimekit_PercentileStats_output, + "realtimekit_VideoConsumerStats": realtimekit_VideoConsumerStats_output, + "realtimekit_VideoConsumerStatsCumulative": realtimekit_VideoConsumerStatsCumulative_output, + "realtimekit_VideoConsumerStatsCumulative_issues": realtimekit_VideoConsumerStatsCumulative_issues_output, + "realtimekit_VideoProducerStats": realtimekit_VideoProducerStats_output, + "realtimekit_VideoProducerStatsCumulative": realtimekit_VideoProducerStatsCumulative_output, + "realtimekit_VideoProducerStatsCumulative_issues": realtimekit_VideoProducerStatsCumulative_issues_output, + "realtimekit_VideoProducerStats_quality_limitation_durations": realtimekit_VideoProducerStats_quality_limitation_durations_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/peer-report/${pathParam(args, "peer_id")}`, query: [ diff --git a/src/generated/forge-mcp/realtime/kit/sessions/summaries/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/summaries/outputs.ts new file mode 100644 index 00000000..3a9c2d13 --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/sessions/summaries/outputs.ts @@ -0,0 +1,27 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `realtimekit_TranscriptSummary` in responses. + */ +export const realtimekit_TranscriptSummary_output: JsonSchema = { + "properties": { + "sessionId": { + "type": "string" + }, + "summaryDownloadUrl": { + "type": "string" + }, + "summaryDownloadUrlExpiry": { + "type": "string" + } + }, + "required": [ + "sessionId", + "summaryDownloadUrl", + "summaryDownloadUrlExpiry" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts index b352adf2..f83a62dc 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { realtimekit_TranscriptSummary_output } from "./outputs.js"; /** * The tools of `realtime.kit.sessions.summaries`. @@ -48,6 +49,24 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_TranscriptSummary" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + $defs: { + "realtimekit_TranscriptSummary": realtimekit_TranscriptSummary_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/summary`, }), @@ -93,6 +112,30 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "session_id": { + "format": "uuid", + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/summary`, }), diff --git a/src/generated/forge-mcp/realtime/kit/sessions/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/tools.ts index 7cb956a1..561f7be5 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { realtimekit_ActiveSession_output } from "../outputs.js"; /** * The tools of `realtime.kit.sessions`. @@ -54,6 +55,24 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_ActiveSession" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + $defs: { + "realtimekit_ActiveSession": realtimekit_ActiveSession_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}`, query: [ @@ -148,6 +167,46 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "sessions": { + "items": { + "$ref": "#/$defs/realtimekit_ActiveSession" + }, + "type": "array" + } + }, + "type": "object" + }, + "paging": { + "properties": { + "end_offset": { + "type": "number" + }, + "start_offset": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + $defs: { + "realtimekit_ActiveSession": realtimekit_ActiveSession_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions`, query: [ diff --git a/src/generated/forge-mcp/realtime/kit/sessions/transcripts/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/outputs.ts new file mode 100644 index 00000000..edcb99ae --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/outputs.ts @@ -0,0 +1,27 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `realtimekit_Transcript` in responses. + */ +export const realtimekit_Transcript_output: JsonSchema = { + "properties": { + "sessionId": { + "type": "string" + }, + "transcript_download_url": { + "type": "string" + }, + "transcript_download_url_expiry": { + "type": "string" + } + }, + "required": [ + "sessionId", + "transcript_download_url", + "transcript_download_url_expiry" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts index ec1953ee..fb4f246d 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { realtimekit_Transcript_output } from "./outputs.js"; /** * The tools of `realtime.kit.sessions.transcripts`. @@ -60,6 +61,24 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_Transcript" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + } + }, + $defs: { + "realtimekit_Transcript": realtimekit_Transcript_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/transcript`, query: [ diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/events/outputs.ts b/src/generated/forge-mcp/realtime/kit/webhooks/events/outputs.ts new file mode 100644 index 00000000..2ff0bfde --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/webhooks/events/outputs.ts @@ -0,0 +1,37 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `realtimekit_WebhookEventsSuccessResponse` in responses. + */ +export const realtimekit_WebhookEventsSuccessResponse_output: JsonSchema = { + "properties": { + "data": { + "items": { + "enum": [ + "meeting.started", + "meeting.ended", + "meeting.participantJoined", + "meeting.participantLeft", + "meeting.chatSynced", + "recording.statusUpdate", + "livestreaming.statusUpdate", + "meeting.transcript", + "meeting.summary" + ], + "type": "string" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "data", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts b/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts index 6899d412..732fc3cb 100644 --- a/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { realtimekit_WebhookEventsSuccessResponse_output } from "./outputs.js"; /** * The tools of `realtime.kit.webhooks.events`. @@ -43,6 +44,16 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/realtimekit_WebhookEventsSuccessResponse" + } + }, + $defs: { + "realtimekit_WebhookEventsSuccessResponse": realtimekit_WebhookEventsSuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/webhooks/all`, }), diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/outputs.ts b/src/generated/forge-mcp/realtime/kit/webhooks/outputs.ts new file mode 100644 index 00000000..83c5c958 --- /dev/null +++ b/src/generated/forge-mcp/realtime/kit/webhooks/outputs.ts @@ -0,0 +1,139 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `realtimekit_ErrorResponse` in responses. + */ +export const realtimekit_ErrorResponse_output: JsonSchema = { + "properties": { + "error": { + "$ref": "#/$defs/realtimekit_ErrorResponse_error" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "error", + "success" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_ErrorResponse_error` in responses. + */ +export const realtimekit_ErrorResponse_error_output: JsonSchema = { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_Webhook` in responses. + */ +export const realtimekit_Webhook_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "events": { + "items": { + "enum": [ + "meeting.started", + "meeting.ended", + "meeting.participantJoined", + "meeting.participantLeft", + "meeting.chatSynced", + "recording.statusUpdate", + "livestreaming.statusUpdate", + "meeting.transcript", + "meeting.summary" + ], + "type": "string" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "created_at", + "enabled", + "events", + "id", + "name", + "updated_at", + "url" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_WebhookSuccessResponse` in responses. + */ +export const realtimekit_WebhookSuccessResponse_output: JsonSchema = { + "properties": { + "data": { + "$ref": "#/$defs/realtimekit_Webhook" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "data", + "success" + ], + "type": "object" +}; + +/** + * The schema of `realtimekit_WebhooksListSuccessResponse` in responses. + */ +export const realtimekit_WebhooksListSuccessResponse_output: JsonSchema = { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/realtimekit_Webhook" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "data", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts b/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts index c35ee0a3..9e9a5710 100644 --- a/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + realtimekit_ErrorResponse_error_output, + realtimekit_ErrorResponse_output, + realtimekit_WebhookSuccessResponse_output, + realtimekit_Webhook_output, + realtimekit_WebhooksListSuccessResponse_output, +} from "./outputs.js"; import { realtimekit_PatchWebhookRequest, realtimekit_WebhookRequest, @@ -54,6 +61,23 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/realtimekit_WebhookSuccessResponse" + }, + "400": { + "$ref": "#/$defs/realtimekit_ErrorResponse" + }, + "401": {} + }, + $defs: { + "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, + "realtimekit_ErrorResponse_error": realtimekit_ErrorResponse_error_output, + "realtimekit_Webhook": realtimekit_Webhook_output, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/webhooks`, body: { value: args["body"], mediaType: "application/json" }, @@ -102,6 +126,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/realtimekit_WebhookSuccessResponse" + }, + "400": { + "$ref": "#/$defs/realtimekit_ErrorResponse" + }, + "401": {} + }, + $defs: { + "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, + "realtimekit_ErrorResponse_error": realtimekit_ErrorResponse_error_output, + "realtimekit_Webhook": realtimekit_Webhook_output, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/webhooks/${pathParam(args, "webhook_id")}`, }), @@ -149,6 +190,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/realtimekit_WebhookSuccessResponse" + }, + "400": { + "$ref": "#/$defs/realtimekit_ErrorResponse" + }, + "401": {} + }, + $defs: { + "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, + "realtimekit_ErrorResponse_error": realtimekit_ErrorResponse_error_output, + "realtimekit_Webhook": realtimekit_Webhook_output, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/webhooks/${pathParam(args, "webhook_id")}`, }), @@ -189,6 +247,18 @@ export const tools: readonly Tool[] = [ "Realtime" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/realtimekit_WebhooksListSuccessResponse" + }, + "401": {} + }, + $defs: { + "realtimekit_Webhook": realtimekit_Webhook_output, + "realtimekit_WebhooksListSuccessResponse": realtimekit_WebhooksListSuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/webhooks`, }), @@ -243,6 +313,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/realtimekit_WebhookSuccessResponse" + }, + "400": { + "$ref": "#/$defs/realtimekit_ErrorResponse" + }, + "401": {} + }, + $defs: { + "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, + "realtimekit_ErrorResponse_error": realtimekit_ErrorResponse_error_output, + "realtimekit_Webhook": realtimekit_Webhook_output, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/webhooks/${pathParam(args, "webhook_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -298,6 +385,23 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/realtimekit_WebhookSuccessResponse" + }, + "400": { + "$ref": "#/$defs/realtimekit_ErrorResponse" + }, + "401": {} + }, + $defs: { + "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, + "realtimekit_ErrorResponse_error": realtimekit_ErrorResponse_error_output, + "realtimekit_Webhook": realtimekit_Webhook_output, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/webhooks/${pathParam(args, "webhook_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/moq/relays/outputs.ts b/src/generated/forge-mcp/realtime/moq/relays/outputs.ts new file mode 100644 index 00000000..73d05c92 --- /dev/null +++ b/src/generated/forge-mcp/realtime/moq/relays/outputs.ts @@ -0,0 +1,312 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `moq_api-response-error` in responses. + */ +export const moq_api_response_error_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/moq_api-response-error_errorsItem" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `moq_api-response-error_errorsItem` in responses. + */ +export const moq_api_response_error_errorsItem_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `moq_cloudflare_jwt_issuer` in responses. + */ +export const moq_cloudflare_jwt_issuer_output: JsonSchema = { + "properties": { + "cloudflare_tokens": { + "items": { + "$ref": "#/$defs/moq_cloudflare_jwt_token" + }, + "type": "array" + }, + "issuer": { + "enum": [ + "cloudflare" + ], + "type": "string" + }, + "type": { + "enum": [ + "cloudflare_jwt" + ], + "type": "string" + } + }, + "required": [ + "cloudflare_tokens", + "issuer", + "type" + ], + "type": "object" +}; + +/** + * The schema of `moq_cloudflare_jwt_token` in responses. + */ +export const moq_cloudflare_jwt_token_output: JsonSchema = { + "properties": { + "created": { + "format": "date-time", + "type": "string" + }, + "expires": { + "format": "date-time", + "type": "string" + }, + "jti": { + "type": "string" + }, + "label": { + "type": "string" + }, + "operations": { + "items": { + "enum": [ + "publish", + "subscribe" + ], + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "created", + "expires", + "jti", + "operations" + ], + "type": "object" +}; + +/** + * The schema of `moq_issuer` in responses. + */ +export const moq_issuer_output: JsonSchema = { + "$ref": "#/$defs/moq_cloudflare_jwt_issuer" +}; + +/** + * The schema of `moq_relay` in responses. + */ +export const moq_relay_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/moq_relay_config" + }, + "created": { + "format": "date-time", + "type": "string" + }, + "modified": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "status": { + "enum": [ + "connected" + ], + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "config", + "created", + "modified", + "name", + "uid" + ], + "type": "object" +}; + +/** + * The schema of `moq_relay_config` in responses. + */ +export const moq_relay_config_output: JsonSchema = { + "properties": { + "upstreams": { + "$ref": "#/$defs/moq_upstreams" + } + }, + "type": "object" +}; + +/** + * The schema of `moq_relay_create_response` in responses. + */ +export const moq_relay_create_response_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/moq_relay_config" + }, + "created": { + "format": "date-time", + "type": "string" + }, + "issuers": { + "items": { + "$ref": "#/$defs/moq_issuer" + }, + "type": "array" + }, + "modified": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "config", + "created", + "issuers", + "modified", + "name", + "uid" + ], + "type": "object" +}; + +/** + * The schema of `moq_relay_list_item` in responses. + */ +export const moq_relay_list_item_output: JsonSchema = { + "properties": { + "created": { + "format": "date-time", + "type": "string" + }, + "modified": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "created", + "modified", + "name", + "uid" + ], + "type": "object" +}; + +/** + * The schema of `moq_result_info` in responses. + */ +export const moq_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `moq_upstream` in responses. + */ +export const moq_upstream_output: JsonSchema = { + "properties": { + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" +}; + +/** + * The schema of `moq_upstreams` in responses. + */ +export const moq_upstreams_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "upstreams": { + "items": { + "$ref": "#/$defs/moq_upstream" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/moq/relays/tokens/outputs.ts b/src/generated/forge-mcp/realtime/moq/relays/tokens/outputs.ts new file mode 100644 index 00000000..1e98a8c7 --- /dev/null +++ b/src/generated/forge-mcp/realtime/moq/relays/tokens/outputs.ts @@ -0,0 +1,81 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `moq_api-response-common` in responses. + */ +export const moq_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/moq_api-response-common_errorsItem" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/moq_api-response-common_messagesItem" + }, + "type": "array" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `moq_api-response-common_errorsItem` in responses. + */ +export const moq_api_response_common_errorsItem_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `moq_api-response-common_messagesItem` in responses. + */ +export const moq_api_response_common_messagesItem_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `moq_tokens_envelope` in responses. + */ +export const moq_tokens_envelope_output: JsonSchema = { + "properties": { + "issuers": { + "items": { + "$ref": "#/$defs/moq_issuer" + }, + "type": "array" + } + }, + "required": [ + "issuers" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts b/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts index 87cc0387..8e549b27 100644 --- a/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts +++ b/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts @@ -2,7 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + moq_api_response_error_errorsItem_output, + moq_api_response_error_output, + moq_cloudflare_jwt_issuer_output, + moq_cloudflare_jwt_token_output, + moq_issuer_output, +} from "../outputs.js"; import { moq_account_identifier } from "../schemas.js"; +import { + moq_api_response_common_errorsItem_output, + moq_api_response_common_messagesItem_output, + moq_api_response_common_output, + moq_tokens_envelope_output, +} from "./outputs.js"; /** * The tools of `realtime.moq.relays.tokens`. @@ -74,6 +87,33 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/moq_tokens_envelope" + }, + "400": { + "$ref": "#/$defs/moq_api-response-error" + }, + "404": { + "$ref": "#/$defs/moq_api-response-error" + }, + "409": { + "$ref": "#/$defs/moq_api-response-error" + }, + "500": { + "$ref": "#/$defs/moq_api-response-error" + } + }, + $defs: { + "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-error_errorsItem": moq_api_response_error_errorsItem_output, + "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer_output, + "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token_output, + "moq_issuer": moq_issuer_output, + "moq_tokens_envelope": moq_tokens_envelope_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/moq/relays/${pathParam(args, "relay_id")}/tokens`, body: { value: args["body"], mediaType: "application/json" }, @@ -120,6 +160,29 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/moq_api-response-common" + }, + "400": { + "$ref": "#/$defs/moq_api-response-error" + }, + "404": { + "$ref": "#/$defs/moq_api-response-error" + }, + "500": { + "$ref": "#/$defs/moq_api-response-error" + } + }, + $defs: { + "moq_api-response-common": moq_api_response_common_output, + "moq_api-response-common_errorsItem": moq_api_response_common_errorsItem_output, + "moq_api-response-common_messagesItem": moq_api_response_common_messagesItem_output, + "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-error_errorsItem": moq_api_response_error_errorsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/moq/relays/${pathParam(args, "relay_id")}/tokens/${pathParam(args, "jti")}`, }), @@ -160,6 +223,30 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/moq_tokens_envelope" + }, + "400": { + "$ref": "#/$defs/moq_api-response-error" + }, + "404": { + "$ref": "#/$defs/moq_api-response-error" + }, + "500": { + "$ref": "#/$defs/moq_api-response-error" + } + }, + $defs: { + "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-error_errorsItem": moq_api_response_error_errorsItem_output, + "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer_output, + "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token_output, + "moq_issuer": moq_issuer_output, + "moq_tokens_envelope": moq_tokens_envelope_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/moq/relays/${pathParam(args, "relay_id")}/tokens`, }), diff --git a/src/generated/forge-mcp/realtime/moq/relays/tools.ts b/src/generated/forge-mcp/realtime/moq/relays/tools.ts index fa645d49..5772640f 100644 --- a/src/generated/forge-mcp/realtime/moq/relays/tools.ts +++ b/src/generated/forge-mcp/realtime/moq/relays/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + moq_api_response_error_errorsItem_output, + moq_api_response_error_output, + moq_cloudflare_jwt_issuer_output, + moq_cloudflare_jwt_token_output, + moq_issuer_output, + moq_relay_config_output, + moq_relay_create_response_output, + moq_relay_list_item_output, + moq_relay_output, + moq_result_info_output, + moq_upstream_output, + moq_upstreams_output, +} from "./outputs.js"; import { moq_account_identifier, moq_relay_config, @@ -57,6 +71,36 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/moq_relay_create_response" + }, + "400": { + "$ref": "#/$defs/moq_api-response-error" + }, + "409": { + "$ref": "#/$defs/moq_api-response-error" + }, + "413": { + "$ref": "#/$defs/moq_api-response-error" + }, + "500": { + "$ref": "#/$defs/moq_api-response-error" + } + }, + $defs: { + "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-error_errorsItem": moq_api_response_error_errorsItem_output, + "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer_output, + "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token_output, + "moq_issuer": moq_issuer_output, + "moq_relay_config": moq_relay_config_output, + "moq_relay_create_response": moq_relay_create_response_output, + "moq_upstream": moq_upstream_output, + "moq_upstreams": moq_upstreams_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/moq/relays`, body: { value: args["body"], mediaType: "application/json" }, @@ -98,6 +142,33 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "400": { + "$ref": "#/$defs/moq_api-response-error" + }, + "404": { + "$ref": "#/$defs/moq_api-response-error" + }, + "500": { + "$ref": "#/$defs/moq_api-response-error" + } + }, + $defs: { + "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-error_errorsItem": moq_api_response_error_errorsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/moq/relays/${pathParam(args, "relay_id")}`, }), @@ -138,6 +209,30 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/moq_relay" + }, + "400": { + "$ref": "#/$defs/moq_api-response-error" + }, + "404": { + "$ref": "#/$defs/moq_api-response-error" + }, + "500": { + "$ref": "#/$defs/moq_api-response-error" + } + }, + $defs: { + "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-error_errorsItem": moq_api_response_error_errorsItem_output, + "moq_relay": moq_relay_output, + "moq_relay_config": moq_relay_config_output, + "moq_upstream": moq_upstream_output, + "moq_upstreams": moq_upstreams_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/moq/relays/${pathParam(args, "relay_id")}`, }), @@ -193,6 +288,39 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/moq_relay_list_item" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/moq_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/moq_api-response-error" + }, + "500": { + "$ref": "#/$defs/moq_api-response-error" + } + }, + $defs: { + "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-error_errorsItem": moq_api_response_error_errorsItem_output, + "moq_relay_list_item": moq_relay_list_item_output, + "moq_result_info": moq_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/moq/relays`, query: [ @@ -254,6 +382,30 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/moq_relay" + }, + "400": { + "$ref": "#/$defs/moq_api-response-error" + }, + "404": { + "$ref": "#/$defs/moq_api-response-error" + }, + "500": { + "$ref": "#/$defs/moq_api-response-error" + } + }, + $defs: { + "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-error_errorsItem": moq_api_response_error_errorsItem_output, + "moq_relay": moq_relay_output, + "moq_relay_config": moq_relay_config_output, + "moq_upstream": moq_upstream_output, + "moq_upstreams": moq_upstreams_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/moq/relays/${pathParam(args, "relay_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/outputs.ts b/src/generated/forge-mcp/realtime/outputs.ts new file mode 100644 index 00000000..8697d1b0 --- /dev/null +++ b/src/generated/forge-mcp/realtime/outputs.ts @@ -0,0 +1,97 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `calls_api-response-common-failure` in responses. + */ +export const calls_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/calls_messages" + }, + "messages": { + "$ref": "#/$defs/calls_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `calls_created` in responses. + */ +export const calls_created_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `calls_identifier` in responses. + */ +export const calls_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `calls_messages` in responses. + */ +export const calls_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `calls_modified` in responses. + */ +export const calls_modified_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `calls_name` in responses. + */ +export const calls_name_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts b/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts new file mode 100644 index 00000000..d45947c0 --- /dev/null +++ b/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts @@ -0,0 +1,69 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `calls_app` in responses. + */ +export const calls_app_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/calls_created" + }, + "modified": { + "$ref": "#/$defs/calls_modified" + }, + "name": { + "$ref": "#/$defs/calls_name" + }, + "uid": { + "$ref": "#/$defs/calls_identifier" + } + }, + "required": [ + "created", + "modified", + "name", + "uid" + ], + "type": "object" +}; + +/** + * The schema of `calls_app_with_secret` in responses. + */ +export const calls_app_with_secret_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/calls_created" + }, + "modified": { + "$ref": "#/$defs/calls_modified" + }, + "name": { + "$ref": "#/$defs/calls_name" + }, + "secret": { + "$ref": "#/$defs/calls_secret" + }, + "uid": { + "$ref": "#/$defs/calls_identifier" + } + }, + "required": [ + "created", + "modified", + "name", + "secret", + "uid" + ], + "type": "object" +}; + +/** + * The schema of `calls_secret` in responses. + */ +export const calls_secret_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/realtime/sfu/apps/tools.ts b/src/generated/forge-mcp/realtime/sfu/apps/tools.ts index af243b1b..22b021ab 100644 --- a/src/generated/forge-mcp/realtime/sfu/apps/tools.ts +++ b/src/generated/forge-mcp/realtime/sfu/apps/tools.ts @@ -2,7 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + calls_api_response_common_failure_output, + calls_created_output, + calls_identifier_output, + calls_messages_output, + calls_modified_output, + calls_name_output, +} from "../../outputs.js"; import { calls_name } from "../../schemas.js"; +import { + calls_app_output, + calls_app_with_secret_output, + calls_secret_output, +} from "./outputs.js"; import { calls_app_editable_fields } from "./schemas.js"; /** @@ -47,6 +60,26 @@ export const tools: readonly Tool[] = [ "Calls Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/calls_app_with_secret" + }, + "4XX": { + "$ref": "#/$defs/calls_api-response-common-failure" + } + }, + $defs: { + "calls_api-response-common-failure": calls_api_response_common_failure_output, + "calls_app_with_secret": calls_app_with_secret_output, + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_messages": calls_messages_output, + "calls_modified": calls_modified_output, + "calls_name": calls_name_output, + "calls_secret": calls_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/apps`, body: { value: args["body"], mediaType: "application/json" }, @@ -87,6 +120,21 @@ export const tools: readonly Tool[] = [ "Calls Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/calls_app" + }, + "4XX": {} + }, + $defs: { + "calls_app": calls_app_output, + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_modified": calls_modified_output, + "calls_name": calls_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/apps/${pathParam(args, "app_id")}`, }), @@ -127,6 +175,25 @@ export const tools: readonly Tool[] = [ "Calls Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/calls_app" + }, + "4XX": { + "$ref": "#/$defs/calls_api-response-common-failure" + } + }, + $defs: { + "calls_api-response-common-failure": calls_api_response_common_failure_output, + "calls_app": calls_app_output, + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_messages": calls_messages_output, + "calls_modified": calls_modified_output, + "calls_name": calls_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/apps/${pathParam(args, "app_id")}`, }), @@ -162,6 +229,39 @@ export const tools: readonly Tool[] = [ "Calls Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/calls_app" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/calls_api-response-common-failure" + } + }, + $defs: { + "calls_api-response-common-failure": calls_api_response_common_failure_output, + "calls_app": calls_app_output, + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_messages": calls_messages_output, + "calls_modified": calls_modified_output, + "calls_name": calls_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/apps`, }), @@ -209,6 +309,25 @@ export const tools: readonly Tool[] = [ "Calls Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/calls_app" + }, + "4XX": { + "$ref": "#/$defs/calls_api-response-common-failure" + } + }, + $defs: { + "calls_api-response-common-failure": calls_api_response_common_failure_output, + "calls_app": calls_app_output, + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_messages": calls_messages_output, + "calls_modified": calls_modified_output, + "calls_name": calls_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/apps/${pathParam(args, "app_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/realtime/turn/keys/outputs.ts b/src/generated/forge-mcp/realtime/turn/keys/outputs.ts new file mode 100644 index 00000000..14644473 --- /dev/null +++ b/src/generated/forge-mcp/realtime/turn/keys/outputs.ts @@ -0,0 +1,76 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `calls_turn_key` in responses. + */ +export const calls_turn_key_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `calls_turn_key_name` in responses. + */ +export const calls_turn_key_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `calls_turn_key_object` in responses. + */ +export const calls_turn_key_object_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/calls_created" + }, + "modified": { + "$ref": "#/$defs/calls_modified" + }, + "name": { + "$ref": "#/$defs/calls_name" + }, + "uid": { + "$ref": "#/$defs/calls_identifier" + } + }, + "required": [ + "created", + "modified", + "name", + "uid" + ], + "type": "object" +}; + +/** + * The schema of `calls_turn_key_with_key` in responses. + */ +export const calls_turn_key_with_key_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/calls_created" + }, + "key": { + "$ref": "#/$defs/calls_turn_key" + }, + "modified": { + "$ref": "#/$defs/calls_modified" + }, + "name": { + "$ref": "#/$defs/calls_turn_key_name" + }, + "uid": { + "$ref": "#/$defs/calls_identifier" + } + }, + "required": [ + "created", + "key", + "modified", + "name", + "uid" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/realtime/turn/keys/tools.ts b/src/generated/forge-mcp/realtime/turn/keys/tools.ts index cf3144b2..a747b059 100644 --- a/src/generated/forge-mcp/realtime/turn/keys/tools.ts +++ b/src/generated/forge-mcp/realtime/turn/keys/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + calls_api_response_common_failure_output, + calls_created_output, + calls_identifier_output, + calls_messages_output, + calls_modified_output, + calls_name_output, +} from "../../outputs.js"; +import { + calls_turn_key_name_output, + calls_turn_key_object_output, + calls_turn_key_output, + calls_turn_key_with_key_output, +} from "./outputs.js"; import { calls_turn_key_editable_fields, calls_turn_key_name, @@ -49,6 +63,26 @@ export const tools: readonly Tool[] = [ "Calls Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/calls_turn_key_with_key" + }, + "4XX": { + "$ref": "#/$defs/calls_api-response-common-failure" + } + }, + $defs: { + "calls_api-response-common-failure": calls_api_response_common_failure_output, + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_messages": calls_messages_output, + "calls_modified": calls_modified_output, + "calls_turn_key": calls_turn_key_output, + "calls_turn_key_name": calls_turn_key_name_output, + "calls_turn_key_with_key": calls_turn_key_with_key_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/turn_keys`, body: { value: args["body"], mediaType: "application/json" }, @@ -89,6 +123,21 @@ export const tools: readonly Tool[] = [ "Calls Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/calls_turn_key_object" + }, + "4XX": {} + }, + $defs: { + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_modified": calls_modified_output, + "calls_name": calls_name_output, + "calls_turn_key_object": calls_turn_key_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/turn_keys/${pathParam(args, "key_id")}`, }), @@ -129,6 +178,25 @@ export const tools: readonly Tool[] = [ "Calls Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/calls_turn_key_object" + }, + "4XX": { + "$ref": "#/$defs/calls_api-response-common-failure" + } + }, + $defs: { + "calls_api-response-common-failure": calls_api_response_common_failure_output, + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_messages": calls_messages_output, + "calls_modified": calls_modified_output, + "calls_name": calls_name_output, + "calls_turn_key_object": calls_turn_key_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/turn_keys/${pathParam(args, "key_id")}`, }), @@ -164,6 +232,39 @@ export const tools: readonly Tool[] = [ "Calls Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/calls_turn_key_object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/calls_api-response-common-failure" + } + }, + $defs: { + "calls_api-response-common-failure": calls_api_response_common_failure_output, + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_messages": calls_messages_output, + "calls_modified": calls_modified_output, + "calls_name": calls_name_output, + "calls_turn_key_object": calls_turn_key_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/turn_keys`, }), @@ -211,6 +312,25 @@ export const tools: readonly Tool[] = [ "Calls Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/calls_turn_key_object" + }, + "4XX": { + "$ref": "#/$defs/calls_api-response-common-failure" + } + }, + $defs: { + "calls_api-response-common-failure": calls_api_response_common_failure_output, + "calls_created": calls_created_output, + "calls_identifier": calls_identifier_output, + "calls_messages": calls_messages_output, + "calls_modified": calls_modified_output, + "calls_name": calls_name_output, + "calls_turn_key_object": calls_turn_key_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/calls/turn_keys/${pathParam(args, "key_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/recentSubmissions/tools.ts b/src/generated/forge-mcp/recentSubmissions/tools.ts index 283f374c..4fa4f190 100644 --- a/src/generated/forge-mcp/recentSubmissions/tools.ts +++ b/src/generated/forge-mcp/recentSubmissions/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `recent_submissions`. @@ -37,6 +38,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/recent-submissions`, }), diff --git a/src/generated/forge-mcp/refute/tools.ts b/src/generated/forge-mcp/refute/tools.ts index 104eb252..0758023b 100644 --- a/src/generated/forge-mcp/refute/tools.ts +++ b/src/generated/forge-mcp/refute/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `refute`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/refute`, }), diff --git a/src/generated/forge-mcp/registrar/extensions/outputs.ts b/src/generated/forge-mcp/registrar/extensions/outputs.ts new file mode 100644 index 00000000..da9bc8dd --- /dev/null +++ b/src/generated/forge-mcp/registrar/extensions/outputs.ts @@ -0,0 +1,46 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `registrar-api_extension-item` in responses. + */ +export const registrar_api_extension_item_output: JsonSchema = { + "properties": { + "metadata": { + "$ref": "#/$defs/registrar-api_extension-item_metadata" + }, + "registration_schema": { + "type": "object" + }, + "transfer_schema": { + "type": "object" + } + }, + "required": [ + "metadata", + "registration_schema", + "transfer_schema" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_extension-item_metadata` in responses. + */ +export const registrar_api_extension_item_metadata_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "tld": { + "type": "string" + } + }, + "required": [ + "name", + "tld" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/registrar/extensions/tools.ts b/src/generated/forge-mcp/registrar/extensions/tools.ts index 1783a08d..f9de497e 100644 --- a/src/generated/forge-mcp/registrar/extensions/tools.ts +++ b/src/generated/forge-mcp/registrar/extensions/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + registrar_api_api_response_common_failure_output, + registrar_api_messages_output, +} from "../outputs.js"; +import { + registrar_api_extension_item_metadata_output, + registrar_api_extension_item_output, +} from "./outputs.js"; /** * The tools of `registrar.extensions`. @@ -37,6 +45,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar/extensions/{extension}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api_extension-item" + }, + "304": null, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_extension-item": registrar_api_extension_item_output, + "registrar-api_extension-item_metadata": registrar_api_extension_item_metadata_output, + "registrar-api_messages": registrar_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/extensions/${pathParam(args, "extension")}`, }), @@ -98,6 +123,48 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar/extensions", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/registrar-api_extension-item" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "304": null, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_extension-item": registrar_api_extension_item_output, + "registrar-api_extension-item_metadata": registrar_api_extension_item_metadata_output, + "registrar-api_messages": registrar_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/extensions`, query: [ diff --git a/src/generated/forge-mcp/registrar/outputs.ts b/src/generated/forge-mcp/registrar/outputs.ts new file mode 100644 index 00000000..819a286f --- /dev/null +++ b/src/generated/forge-mcp/registrar/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `registrar-api_api-response-common-failure` in responses. + */ +export const registrar_api_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/registrar-api_messages" + }, + "messages": { + "$ref": "#/$defs/registrar-api_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_messages` in responses. + */ +export const registrar_api_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "required": [ + "pointer" + ], + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/registrar/registrations/outputs.ts b/src/generated/forge-mcp/registrar/registrations/outputs.ts new file mode 100644 index 00000000..192829b5 --- /dev/null +++ b/src/generated/forge-mcp/registrar/registrations/outputs.ts @@ -0,0 +1,447 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `registrar-api_cursor_result_info` in responses. + */ +export const registrar_api_cursor_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_domain_check_result` in responses. + */ +export const registrar_api_domain_check_result_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "pricing": { + "$ref": "#/$defs/registrar-api_pricing_registration" + }, + "reason": { + "enum": [ + "extension_not_supported_via_api", + "extension_not_supported", + "extension_disallows_registration", + "domain_premium", + "domain_unavailable" + ], + "type": "string" + }, + "registrable": { + "type": "boolean" + }, + "tier": { + "enum": [ + "standard", + "premium" + ], + "type": "string" + } + }, + "required": [ + "name", + "registrable" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_domain_name` in responses. + */ +export const registrar_api_domain_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `registrar-api_domain_search_result` in responses. + */ +export const registrar_api_domain_search_result_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "pricing": { + "$ref": "#/$defs/registrar-api_pricing_registration" + }, + "reason": { + "enum": [ + "extension_not_supported_via_api", + "extension_not_supported", + "extension_disallows_registration", + "domain_premium", + "domain_unavailable" + ], + "type": "string" + }, + "registrable": { + "type": "boolean" + }, + "tier": { + "enum": [ + "standard", + "premium" + ], + "type": "string" + } + }, + "required": [ + "name", + "registrable" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_domain_transfer_check_reason` in responses. + */ +export const registrar_api_domain_transfer_check_reason_output: JsonSchema = { + "enum": [ + "extension_not_supported_via_api", + "extension_not_supported", + "domain_premium", + "extension_disallows_transfer", + "domain_not_exists", + "domain_on_cloudflare", + "domain_locked", + "registry_status", + "domain_outside_transfer_window", + "domain_max_term", + "invalid_auth_code", + "invalid_auth_code_format", + "dnssec_enabled", + "zone_not_found", + "zone_status_invalid", + "invalid_zone_plan", + "domain_unsupported" + ], + "type": "string" +}; + +/** + * The schema of `registrar-api_domain_transfer_check_result` in responses. + */ +export const registrar_api_domain_transfer_check_result_output: JsonSchema = { + "allOf": [ + { + "properties": { + "name": { + "type": "string" + }, + "pricing": { + "$ref": "#/$defs/registrar-api_pricing_transfer" + }, + "reasons": { + "items": { + "$ref": "#/$defs/registrar-api_domain_transfer_check_result_reasonsItem" + }, + "type": "array" + }, + "transferable": { + "type": "boolean" + } + }, + "required": [ + "name", + "reasons", + "transferable" + ], + "type": "object" + }, + { + "oneOf": [ + { + "properties": { + "reasons": { + "items": { + "properties": { + "code": { + "$ref": "#/$defs/registrar-api_domain_transfer_check_reason" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "maxItems": 0, + "type": "array" + }, + "transferable": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "transferable" + ], + "type": "object" + }, + { + "properties": { + "reasons": { + "items": { + "properties": { + "code": { + "$ref": "#/$defs/registrar-api_domain_transfer_check_reason" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + }, + "transferable": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "transferable" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `registrar-api_domain_transfer_check_result_reasonsItem` in + * responses. + */ +export const registrar_api_domain_transfer_check_result_reasonsItem_output: JsonSchema = { + "properties": { + "code": { + "$ref": "#/$defs/registrar-api_domain_transfer_check_reason" + } + }, + "required": [ + "code" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_pricing_registration` in responses. + */ +export const registrar_api_pricing_registration_output: JsonSchema = { + "properties": { + "currency": { + "type": "string" + }, + "registration_cost": { + "type": "string" + }, + "renewal_cost": { + "type": "string" + } + }, + "required": [ + "currency", + "renewal_cost", + "registration_cost" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_pricing_transfer` in responses. + */ +export const registrar_api_pricing_transfer_output: JsonSchema = { + "properties": { + "currency": { + "type": "string" + }, + "renewal_cost": { + "type": "string" + }, + "transfer_cost": { + "type": "string" + } + }, + "required": [ + "currency", + "renewal_cost", + "transfer_cost" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_registration` in responses. + */ +export const registrar_api_registration_output: JsonSchema = { + "properties": { + "auto_renew": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "domain_name": { + "$ref": "#/$defs/registrar-api_domain_name" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "locked": { + "type": "boolean" + }, + "privacy_mode": { + "enum": [ + "off", + "redaction" + ], + "type": "string" + }, + "status": { + "enum": [ + "active", + "registration_pending", + "transfer_pending", + "expired", + "suspended", + "redemption_period", + "pending_delete" + ], + "type": "string" + } + }, + "required": [ + "auto_renew", + "created_at", + "domain_name", + "expires_at", + "locked", + "privacy_mode", + "status" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_workflow_error` in responses. + */ +export const registrar_api_workflow_error_output: JsonSchema = { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_workflow_links` in responses. + */ +export const registrar_api_workflow_links_output: JsonSchema = { + "properties": { + "resource": { + "type": "string" + }, + "self": { + "type": "string" + } + }, + "required": [ + "self" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api_workflow_status` in responses. + */ +export const registrar_api_workflow_status_output: JsonSchema = { + "properties": { + "completed": { + "type": "boolean" + }, + "context": { + "type": "object" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "error": { + "oneOf": [ + { + "$ref": "#/$defs/registrar-api_workflow_error" + }, + { + "type": "null" + } + ] + }, + "links": { + "$ref": "#/$defs/registrar-api_workflow_links" + }, + "state": { + "enum": [ + "pending", + "in_progress", + "action_required", + "blocked", + "succeeded", + "failed" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "completed", + "created_at", + "links", + "state", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/registrar/registrations/tools.ts b/src/generated/forge-mcp/registrar/registrations/tools.ts index 9aa94f3f..76522935 100644 --- a/src/generated/forge-mcp/registrar/registrations/tools.ts +++ b/src/generated/forge-mcp/registrar/registrations/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + registrar_api_api_response_common_failure_output, + registrar_api_messages_output, +} from "../outputs.js"; +import { + registrar_api_cursor_result_info_output, + registrar_api_domain_check_result_output, + registrar_api_domain_name_output, + registrar_api_domain_search_result_output, + registrar_api_domain_transfer_check_reason_output, + registrar_api_domain_transfer_check_result_output, + registrar_api_domain_transfer_check_result_reasonsItem_output, + registrar_api_pricing_registration_output, + registrar_api_pricing_transfer_output, + registrar_api_registration_output, + registrar_api_workflow_error_output, + registrar_api_workflow_links_output, + registrar_api_workflow_status_output, +} from "./outputs.js"; import { registrar_api_domain_check_request, registrar_api_domain_name, @@ -60,6 +79,33 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "domains": { + "items": { + "$ref": "#/$defs/registrar-api_domain_check_result" + }, + "type": "array" + } + }, + "required": [ + "domains" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_domain_check_result": registrar_api_domain_check_result_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_pricing_registration": registrar_api_pricing_registration_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/domain-check`, body: { value: args["body"], mediaType: "application/json" }, @@ -106,6 +152,26 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/registrar/registrations", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/registrar-api_workflow_status" + }, + "202": { + "$ref": "#/$defs/registrar-api_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_workflow_error": registrar_api_workflow_error_output, + "registrar-api_workflow_links": registrar_api_workflow_links_output, + "registrar-api_workflow_status": registrar_api_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations`, headers: [ @@ -144,6 +210,22 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar/registrations/{domain_name}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api_registration" + }, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_domain_name": registrar_api_domain_name_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_registration": registrar_api_registration_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations/${pathParam(args, "domain_name")}`, }), @@ -178,6 +260,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar/registrations/{domain_name}/registration-status", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_workflow_error": registrar_api_workflow_error_output, + "registrar-api_workflow_links": registrar_api_workflow_links_output, + "registrar-api_workflow_status": registrar_api_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations/${pathParam(args, "domain_name")}/registration-status`, }), @@ -212,6 +311,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in-status", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_workflow_error": registrar_api_workflow_error_output, + "registrar-api_workflow_links": registrar_api_workflow_links_output, + "registrar-api_workflow_status": registrar_api_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations/${pathParam(args, "domain_name")}/transfer-in-status`, }), @@ -246,6 +362,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar/registrations/{domain_name}/update-status", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_workflow_error": registrar_api_workflow_error_output, + "registrar-api_workflow_links": registrar_api_workflow_links_output, + "registrar-api_workflow_status": registrar_api_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations/${pathParam(args, "domain_name")}/update-status`, }), @@ -303,6 +436,37 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar/registrations", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/registrar-api_registration" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/registrar-api_cursor_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_cursor_result_info": registrar_api_cursor_result_info_output, + "registrar-api_domain_name": registrar_api_domain_name_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_registration": registrar_api_registration_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations`, query: [ @@ -356,6 +520,33 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar/domain-search", + responses: { + schemas: { + "200": { + "properties": { + "domains": { + "items": { + "$ref": "#/$defs/registrar-api_domain_search_result" + }, + "type": "array" + } + }, + "required": [ + "domains" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_domain_search_result": registrar_api_domain_search_result_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_pricing_registration": registrar_api_pricing_registration_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/domain-search`, query: [ @@ -399,6 +590,38 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/registrar/domain-transfer-check", + responses: { + schemas: { + "200": { + "properties": { + "domains": { + "additionalProperties": { + "$ref": "#/$defs/registrar-api_domain_transfer_check_result" + }, + "type": "object" + } + }, + "required": [ + "domains" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + }, + "503": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_domain_transfer_check_reason": registrar_api_domain_transfer_check_reason_output, + "registrar-api_domain_transfer_check_result": registrar_api_domain_transfer_check_result_output, + "registrar-api_domain_transfer_check_result_reasonsItem": registrar_api_domain_transfer_check_result_reasonsItem_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_pricing_transfer": registrar_api_pricing_transfer_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/domain-transfer-check`, body: { value: args["body"], mediaType: "application/json" }, @@ -449,6 +672,23 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in", + responses: { + schemas: { + "202": { + "$ref": "#/$defs/registrar-api_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_workflow_error": registrar_api_workflow_error_output, + "registrar-api_workflow_links": registrar_api_workflow_links_output, + "registrar-api_workflow_status": registrar_api_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations/${pathParam(args, "domain_name")}/transfer-in`, headers: [ @@ -501,6 +741,26 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/registrar/registrations/{domain_name}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api_workflow_status" + }, + "202": { + "$ref": "#/$defs/registrar-api_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api_api-response-common-failure" + } + }, + $defs: { + "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, + "registrar-api_messages": registrar_api_messages_output, + "registrar-api_workflow_error": registrar_api_workflow_error_output, + "registrar-api_workflow_links": registrar_api_workflow_links_output, + "registrar-api_workflow_status": registrar_api_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations/${pathParam(args, "domain_name")}`, headers: [ diff --git a/src/generated/forge-mcp/registrarSandbox/extensions/outputs.ts b/src/generated/forge-mcp/registrarSandbox/extensions/outputs.ts new file mode 100644 index 00000000..9f3857a4 --- /dev/null +++ b/src/generated/forge-mcp/registrarSandbox/extensions/outputs.ts @@ -0,0 +1,46 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `registrar-api-sandbox_extension-item` in responses. + */ +export const registrar_api_sandbox_extension_item_output: JsonSchema = { + "properties": { + "metadata": { + "$ref": "#/$defs/registrar-api-sandbox_extension-item_metadata" + }, + "registration_schema": { + "type": "object" + }, + "transfer_schema": { + "type": "object" + } + }, + "required": [ + "metadata", + "registration_schema", + "transfer_schema" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api-sandbox_extension-item_metadata` in responses. + */ +export const registrar_api_sandbox_extension_item_metadata_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "tld": { + "type": "string" + } + }, + "required": [ + "name", + "tld" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts b/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts index 638551a0..f46b9ae8 100644 --- a/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts +++ b/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + registrar_api_sandbox_api_response_common_failure_output, + registrar_api_sandbox_messages_output, +} from "../outputs.js"; +import { + registrar_api_sandbox_extension_item_metadata_output, + registrar_api_sandbox_extension_item_output, +} from "./outputs.js"; /** * The tools of `registrar_sandbox.extensions`. @@ -37,6 +45,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar-sandbox/extensions/{extension}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api-sandbox_extension-item" + }, + "304": null, + "4XX": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_extension-item": registrar_api_sandbox_extension_item_output, + "registrar-api-sandbox_extension-item_metadata": registrar_api_sandbox_extension_item_metadata_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/extensions/${pathParam(args, "extension")}`, }), @@ -98,6 +123,48 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar-sandbox/extensions", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/registrar-api-sandbox_extension-item" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "304": null, + "4XX": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_extension-item": registrar_api_sandbox_extension_item_output, + "registrar-api-sandbox_extension-item_metadata": registrar_api_sandbox_extension_item_metadata_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/extensions`, query: [ diff --git a/src/generated/forge-mcp/registrarSandbox/outputs.ts b/src/generated/forge-mcp/registrarSandbox/outputs.ts new file mode 100644 index 00000000..4bfac1f3 --- /dev/null +++ b/src/generated/forge-mcp/registrarSandbox/outputs.ts @@ -0,0 +1,68 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `registrar-api-sandbox_api-response-common-failure` in + * responses. + */ +export const registrar_api_sandbox_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/registrar-api-sandbox_messages" + }, + "messages": { + "$ref": "#/$defs/registrar-api-sandbox_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api-sandbox_messages` in responses. + */ +export const registrar_api_sandbox_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "required": [ + "pointer" + ], + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts b/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts new file mode 100644 index 00000000..d8a3544f --- /dev/null +++ b/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts @@ -0,0 +1,287 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `registrar-api-sandbox_cursor_result_info` in responses. + */ +export const registrar_api_sandbox_cursor_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api-sandbox_domain_check_result` in responses. + */ +export const registrar_api_sandbox_domain_check_result_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "pricing": { + "$ref": "#/$defs/registrar-api-sandbox_pricing_registration" + }, + "reason": { + "enum": [ + "extension_not_supported_via_api", + "extension_not_supported", + "extension_disallows_registration", + "domain_premium", + "domain_unavailable" + ], + "type": "string" + }, + "registrable": { + "type": "boolean" + }, + "tier": { + "enum": [ + "standard", + "premium" + ], + "type": "string" + } + }, + "required": [ + "name", + "registrable" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api-sandbox_domain_name` in responses. + */ +export const registrar_api_sandbox_domain_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `registrar-api-sandbox_domain_search_result` in responses. + */ +export const registrar_api_sandbox_domain_search_result_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "pricing": { + "$ref": "#/$defs/registrar-api-sandbox_pricing_registration" + }, + "reason": { + "enum": [ + "extension_not_supported_via_api", + "extension_not_supported", + "extension_disallows_registration", + "domain_premium", + "domain_unavailable" + ], + "type": "string" + }, + "registrable": { + "type": "boolean" + }, + "tier": { + "enum": [ + "standard", + "premium" + ], + "type": "string" + } + }, + "required": [ + "name", + "registrable" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api-sandbox_pricing_registration` in responses. + */ +export const registrar_api_sandbox_pricing_registration_output: JsonSchema = { + "properties": { + "currency": { + "type": "string" + }, + "registration_cost": { + "type": "string" + }, + "renewal_cost": { + "type": "string" + } + }, + "required": [ + "currency", + "renewal_cost", + "registration_cost" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api-sandbox_registration` in responses. + */ +export const registrar_api_sandbox_registration_output: JsonSchema = { + "properties": { + "auto_renew": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "domain_name": { + "$ref": "#/$defs/registrar-api-sandbox_domain_name" + }, + "expires_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "locked": { + "type": "boolean" + }, + "privacy_mode": { + "enum": [ + "off", + "redaction" + ], + "type": "string" + }, + "status": { + "enum": [ + "active", + "registration_pending", + "transfer_pending", + "expired", + "suspended", + "redemption_period", + "pending_delete" + ], + "type": "string" + } + }, + "required": [ + "auto_renew", + "created_at", + "domain_name", + "expires_at", + "locked", + "privacy_mode", + "status" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api-sandbox_workflow_error` in responses. + */ +export const registrar_api_sandbox_workflow_error_output: JsonSchema = { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api-sandbox_workflow_links` in responses. + */ +export const registrar_api_sandbox_workflow_links_output: JsonSchema = { + "properties": { + "resource": { + "type": "string" + }, + "self": { + "type": "string" + } + }, + "required": [ + "self" + ], + "type": "object" +}; + +/** + * The schema of `registrar-api-sandbox_workflow_status` in responses. + */ +export const registrar_api_sandbox_workflow_status_output: JsonSchema = { + "properties": { + "completed": { + "type": "boolean" + }, + "context": { + "type": "object" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "error": { + "oneOf": [ + { + "$ref": "#/$defs/registrar-api-sandbox_workflow_error" + }, + { + "type": "null" + } + ] + }, + "links": { + "$ref": "#/$defs/registrar-api-sandbox_workflow_links" + }, + "state": { + "enum": [ + "pending", + "in_progress", + "action_required", + "blocked", + "succeeded", + "failed" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "completed", + "created_at", + "links", + "state", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts b/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts index 6e787c5e..7a3f8730 100644 --- a/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts +++ b/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + registrar_api_sandbox_api_response_common_failure_output, + registrar_api_sandbox_messages_output, +} from "../outputs.js"; +import { + registrar_api_sandbox_cursor_result_info_output, + registrar_api_sandbox_domain_check_result_output, + registrar_api_sandbox_domain_name_output, + registrar_api_sandbox_domain_search_result_output, + registrar_api_sandbox_pricing_registration_output, + registrar_api_sandbox_registration_output, + registrar_api_sandbox_workflow_error_output, + registrar_api_sandbox_workflow_links_output, + registrar_api_sandbox_workflow_status_output, +} from "./outputs.js"; import { registrar_api_sandbox_domain_check_request, registrar_api_sandbox_domain_name, @@ -57,6 +72,33 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "domains": { + "items": { + "$ref": "#/$defs/registrar-api-sandbox_domain_check_result" + }, + "type": "array" + } + }, + "required": [ + "domains" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_domain_check_result": registrar_api_sandbox_domain_check_result_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_pricing_registration": registrar_api_sandbox_pricing_registration_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/domain-check`, body: { value: args["body"], mediaType: "application/json" }, @@ -103,6 +145,26 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/registrar-sandbox/registrations", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/registrar-api-sandbox_workflow_status" + }, + "202": { + "$ref": "#/$defs/registrar-api-sandbox_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, + "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, + "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/registrations`, headers: [ @@ -141,6 +203,22 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar-sandbox/registrations/{domain_name}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api-sandbox_registration" + }, + "4XX": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_registration": registrar_api_sandbox_registration_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/registrations/${pathParam(args, "domain_name")}`, }), @@ -175,6 +253,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar-sandbox/registrations/{domain_name}/registration-status", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api-sandbox_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, + "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, + "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/registrations/${pathParam(args, "domain_name")}/registration-status`, }), @@ -209,6 +304,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar-sandbox/registrations/{domain_name}/update-status", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api-sandbox_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, + "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, + "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/registrations/${pathParam(args, "domain_name")}/update-status`, }), @@ -266,6 +378,37 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar-sandbox/registrations", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/registrar-api-sandbox_registration" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/registrar-api-sandbox_cursor_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_cursor_result_info": registrar_api_sandbox_cursor_result_info_output, + "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_registration": registrar_api_sandbox_registration_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/registrations`, query: [ @@ -319,6 +462,33 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/registrar-sandbox/domain-search", + responses: { + schemas: { + "200": { + "properties": { + "domains": { + "items": { + "$ref": "#/$defs/registrar-api-sandbox_domain_search_result" + }, + "type": "array" + } + }, + "required": [ + "domains" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_domain_search_result": registrar_api_sandbox_domain_search_result_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_pricing_registration": registrar_api_sandbox_pricing_registration_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/domain-search`, query: [ @@ -372,6 +542,26 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/registrar-sandbox/registrations/{domain_name}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/registrar-api-sandbox_workflow_status" + }, + "202": { + "$ref": "#/$defs/registrar-api-sandbox_workflow_status" + }, + "4XX": { + "$ref": "#/$defs/registrar-api-sandbox_api-response-common-failure" + } + }, + $defs: { + "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, + "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, + "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, + "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/registrations/${pathParam(args, "domain_name")}`, headers: [ diff --git a/src/generated/forge-mcp/reporting/industry/outputs.ts b/src/generated/forge-mcp/reporting/industry/outputs.ts new file mode 100644 index 00000000..01b3ae27 --- /dev/null +++ b/src/generated/forge-mcp/reporting/industry/outputs.ts @@ -0,0 +1,306 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `reports_AccountIndustryErrorResponse` in responses. + */ +export const reports_AccountIndustryErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/reports_Error" + }, + "type": "array" + }, + "messages": { + "items": {}, + "type": "array" + }, + "result": {}, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `reports_AccountIndustryPatchResponse` in responses. + */ +export const reports_AccountIndustryPatchResponse_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "industry": { + "$ref": "#/$defs/reports_AccountIndustryPatchResponse_industry" + }, + "unlock_time": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "valid_from": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "version": { + "type": "integer" + } + }, + "required": [ + "industry", + "unlock_time", + "valid_from", + "version" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `reports_AccountIndustryPatchResponse_industry` in responses. + */ +export const reports_AccountIndustryPatchResponse_industry_output: JsonSchema = { + "enum": [ + "unknown", + "unsupported", + "accounting", + "adult_entertainment", + "agriculture", + "airlines_aviation_aerospace", + "animation_design", + "apparel_fashion", + "architecture_planning", + "automotive", + "banking_financial_services", + "broadcast_media", + "building_materials_construction", + "business_services_supplies_equipment", + "computer_hardware", + "computer_software", + "construction_civil_engineering", + "consumer_electronics", + "consumer_goods", + "consumer_services", + "cosmetics", + "cryptocurrency", + "cyber_security", + "defense_space", + "e_learning", + "education_academia", + "education_management", + "entertainment", + "environmental_services", + "events_services", + "facilities_services", + "fine_art_luxury_goods_jewelry", + "food_beverage", + "furniture", + "gambling_casinos", + "gaming", + "government", + "health_wellness_fitness", + "holding_companies_conglomerates", + "human_resources_staffing_recruiting", + "information_technology_services", + "insurance", + "international_public_affairs", + "international_trade_development", + "internet", + "investment_management", + "law_firms_legal_services", + "leisure_travel_tourism", + "logistics_supply_chain_import_export", + "management_consulting", + "manufacturing_machinery_technology_engineering", + "maritime", + "market_research", + "marketing_advertising", + "media_production_publishing", + "medical_devices_healthcare_software_services", + "medical_practices_clinics_hospitals_health_care", + "military_law_enforcement", + "mining_minerals_metals", + "motion_pictures_and_film", + "museums_libraries", + "music_art", + "newspapers", + "nonprofit", + "oil_energy_utilities_waste", + "organizations_local_business", + "outsourcing_offshoring", + "pharmaceuticals_biotechnology_alternative_medicine", + "photographic_optical_equipment", + "political_organization", + "print_digital_media", + "professional_training_coaching", + "real_estate", + "religious_institutions", + "renewables_environment", + "research_think_tanks", + "restaurants", + "retail", + "security_services_investigations", + "social_impact_and_community_services", + "sporting_goods", + "supermarkets_groceries", + "telecommunications_service_providers_and_carriers", + "transportation_shipping_packaging_delivery", + "travel_lodging_hospitality", + "wholesale" + ], + "type": "string" +}; + +/** + * The schema of `reports_AccountIndustrySingleResponse` in responses. + */ +export const reports_AccountIndustrySingleResponse_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "industry": { + "$ref": "#/$defs/reports_AccountIndustrySingleResponse_industry" + }, + "unlock_time": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "industry", + "unlock_time" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `reports_AccountIndustrySingleResponse_industry` in responses. + */ +export const reports_AccountIndustrySingleResponse_industry_output: JsonSchema = { + "enum": [ + "unknown", + "unsupported", + "accounting", + "adult_entertainment", + "agriculture", + "airlines_aviation_aerospace", + "animation_design", + "apparel_fashion", + "architecture_planning", + "automotive", + "banking_financial_services", + "broadcast_media", + "building_materials_construction", + "business_services_supplies_equipment", + "computer_hardware", + "computer_software", + "construction_civil_engineering", + "consumer_electronics", + "consumer_goods", + "consumer_services", + "cosmetics", + "cryptocurrency", + "cyber_security", + "defense_space", + "e_learning", + "education_academia", + "education_management", + "entertainment", + "environmental_services", + "events_services", + "facilities_services", + "fine_art_luxury_goods_jewelry", + "food_beverage", + "furniture", + "gambling_casinos", + "gaming", + "government", + "health_wellness_fitness", + "holding_companies_conglomerates", + "human_resources_staffing_recruiting", + "information_technology_services", + "insurance", + "international_public_affairs", + "international_trade_development", + "internet", + "investment_management", + "law_firms_legal_services", + "leisure_travel_tourism", + "logistics_supply_chain_import_export", + "management_consulting", + "manufacturing_machinery_technology_engineering", + "maritime", + "market_research", + "marketing_advertising", + "media_production_publishing", + "medical_devices_healthcare_software_services", + "medical_practices_clinics_hospitals_health_care", + "military_law_enforcement", + "mining_minerals_metals", + "motion_pictures_and_film", + "museums_libraries", + "music_art", + "newspapers", + "nonprofit", + "oil_energy_utilities_waste", + "organizations_local_business", + "outsourcing_offshoring", + "pharmaceuticals_biotechnology_alternative_medicine", + "photographic_optical_equipment", + "political_organization", + "print_digital_media", + "professional_training_coaching", + "real_estate", + "religious_institutions", + "renewables_environment", + "research_think_tanks", + "restaurants", + "retail", + "security_services_investigations", + "social_impact_and_community_services", + "sporting_goods", + "supermarkets_groceries", + "telecommunications_service_providers_and_carriers", + "transportation_shipping_packaging_delivery", + "travel_lodging_hospitality", + "wholesale" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/reporting/industry/tools.ts b/src/generated/forge-mcp/reporting/industry/tools.ts index c6ae006d..885d0ef3 100644 --- a/src/generated/forge-mcp/reporting/industry/tools.ts +++ b/src/generated/forge-mcp/reporting/industry/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { reports_Error_output } from "../outputs.js"; +import { + reports_AccountIndustryErrorResponse_output, + reports_AccountIndustryPatchResponse_industry_output, + reports_AccountIndustryPatchResponse_output, + reports_AccountIndustrySingleResponse_industry_output, + reports_AccountIndustrySingleResponse_output, +} from "./outputs.js"; import { reports_PatchAccountIndustryBody, reports_PatchAccountIndustryBody_industry, @@ -41,6 +49,17 @@ export const tools: readonly Tool[] = [ "#reports:read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/reports_AccountIndustrySingleResponse" + } + }, + $defs: { + "reports_AccountIndustrySingleResponse": reports_AccountIndustrySingleResponse_output, + "reports_AccountIndustrySingleResponse_industry": reports_AccountIndustrySingleResponse_industry_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/reporting/industry`, }), @@ -82,6 +101,28 @@ export const tools: readonly Tool[] = [ "#reports:edit" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/reports_AccountIndustryPatchResponse" + }, + "400": { + "$ref": "#/$defs/reports_AccountIndustryErrorResponse" + }, + "423": { + "$ref": "#/$defs/reports_AccountIndustryErrorResponse" + }, + "500": { + "$ref": "#/$defs/reports_AccountIndustryErrorResponse" + } + }, + $defs: { + "reports_AccountIndustryErrorResponse": reports_AccountIndustryErrorResponse_output, + "reports_AccountIndustryPatchResponse": reports_AccountIndustryPatchResponse_output, + "reports_AccountIndustryPatchResponse_industry": reports_AccountIndustryPatchResponse_industry_output, + "reports_Error": reports_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/reporting/industry`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/reporting/outputs.ts b/src/generated/forge-mcp/reporting/outputs.ts new file mode 100644 index 00000000..9e119157 --- /dev/null +++ b/src/generated/forge-mcp/reporting/outputs.ts @@ -0,0 +1,54 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `reports_Error` in responses. + */ +export const reports_Error_output: JsonSchema = { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `reports_PolicyErrorResponse` in responses. + */ +export const reports_PolicyErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/reports_Error" + }, + "type": "array" + }, + "messages": { + "items": {}, + "type": "array" + }, + "result": {}, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/reporting/policies/outputs.ts b/src/generated/forge-mcp/reporting/policies/outputs.ts new file mode 100644 index 00000000..2eba659c --- /dev/null +++ b/src/generated/forge-mcp/reporting/policies/outputs.ts @@ -0,0 +1,127 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `reports_PoliciesListResponse_resultItem` in responses. + */ +export const reports_PoliciesListResponse_resultItem_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "policy_description": { + "type": "string" + }, + "policy_id": { + "format": "uuid", + "type": "string" + }, + "policy_name": { + "type": "string" + }, + "policy_schedule": { + "type": "string" + }, + "valid_from": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "valid_to": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "version": { + "type": "integer" + } + }, + "required": [ + "enabled", + "policy_id", + "policy_name", + "policy_schedule", + "valid_from", + "version" + ], + "type": "object" +}; + +/** + * The schema of `reports_PolicySingleResponse_result` in responses. + */ +export const reports_PolicySingleResponse_result_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "policy_description": { + "type": "string" + }, + "policy_id": { + "format": "uuid", + "type": "string" + }, + "policy_name": { + "type": "string" + }, + "policy_schedule": { + "type": "string" + }, + "valid_from": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "valid_to": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "version": { + "type": "integer" + } + }, + "required": [ + "enabled", + "policy_id", + "policy_name", + "policy_schedule", + "valid_from", + "version" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/reporting/policies/tools.ts b/src/generated/forge-mcp/reporting/policies/tools.ts index 10fec872..8e4b33ae 100644 --- a/src/generated/forge-mcp/reporting/policies/tools.ts +++ b/src/generated/forge-mcp/reporting/policies/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + reports_Error_output, + reports_PolicyErrorResponse_output, +} from "../outputs.js"; +import { + reports_PoliciesListResponse_resultItem_output, + reports_PolicySingleResponse_result_output, +} from "./outputs.js"; /** * The tools of `reporting.policies`. @@ -43,6 +51,21 @@ export const tools: readonly Tool[] = [ "#reports:read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/reports_PolicySingleResponse_result" + }, + "404": { + "$ref": "#/$defs/reports_PolicyErrorResponse" + } + }, + $defs: { + "reports_Error": reports_Error_output, + "reports_PolicyErrorResponse": reports_PolicyErrorResponse_output, + "reports_PolicySingleResponse_result": reports_PolicySingleResponse_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/reporting/policies/${pathParam(args, "policy_id")}`, }), @@ -77,6 +100,42 @@ export const tools: readonly Tool[] = [ "#reports:read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/reports_PoliciesListResponse_resultItem" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/reports_PolicyErrorResponse" + } + }, + $defs: { + "reports_Error": reports_Error_output, + "reports_PoliciesListResponse_resultItem": reports_PoliciesListResponse_resultItem_output, + "reports_PolicyErrorResponse": reports_PolicyErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/reporting/policies`, }), diff --git a/src/generated/forge-mcp/reporting/reports/outputs.ts b/src/generated/forge-mcp/reporting/reports/outputs.ts new file mode 100644 index 00000000..86398ddd --- /dev/null +++ b/src/generated/forge-mcp/reporting/reports/outputs.ts @@ -0,0 +1,850 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `reports_ApplicationSecurityReportV1` in responses. + */ +export const reports_ApplicationSecurityReportV1_output: JsonSchema = { + "properties": { + "input": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1_input" + }, + "output": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data" + } + }, + "required": [ + "input", + "output" + ], + "type": "object" +}; + +/** + * The schema of `reports_ApplicationSecurityReportV1Data` in responses. + */ +export const reports_ApplicationSecurityReportV1Data_output: JsonSchema = { + "properties": { + "account_id": { + "type": "string" + }, + "account_name": { + "type": "string" + }, + "industry": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_industry" + }, + "industry_percentile": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "time_range": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_time_range" + }, + "top_countries_by_mitigated_requests": { + "items": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_top_countries_by_mitigated_requestsItem" + }, + "type": "array" + }, + "top_countries_by_served_requests": { + "items": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_top_countries_by_served_requestsItem" + }, + "type": "array" + }, + "top_hostnames_by_mitigated_requests": { + "items": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_top_hostnames_by_mitigated_requestsItem" + }, + "type": "array" + }, + "top_rules_by_mitigated_requests": { + "items": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem" + }, + "type": "array" + }, + "total_requests": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_total_requests" + }, + "total_requests_mitigated": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_total_requests_mitigated" + }, + "total_requests_served": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_total_requests_served" + }, + "total_zones": { + "type": "integer" + }, + "total_zones_analyzed": { + "type": "integer" + } + }, + "required": [ + "account_id", + "account_name", + "industry", + "industry_percentile", + "time_range", + "top_countries_by_mitigated_requests", + "top_countries_by_served_requests", + "top_hostnames_by_mitigated_requests", + "top_rules_by_mitigated_requests", + "total_requests", + "total_requests_mitigated", + "total_requests_served", + "total_zones", + "total_zones_analyzed" + ], + "type": "object" +}; + +/** + * The schema of `reports_ApplicationSecurityReportV1Data_industry` in + * responses. + */ +export const reports_ApplicationSecurityReportV1Data_industry_output: JsonSchema = { + "enum": [ + "unknown", + "unsupported", + "accounting", + "adult_entertainment", + "agriculture", + "airlines_aviation_aerospace", + "animation_design", + "apparel_fashion", + "architecture_planning", + "automotive", + "banking_financial_services", + "broadcast_media", + "building_materials_construction", + "business_services_supplies_equipment", + "computer_hardware", + "computer_software", + "construction_civil_engineering", + "consumer_electronics", + "consumer_goods", + "consumer_services", + "cosmetics", + "cryptocurrency", + "cyber_security", + "defense_space", + "e_learning", + "education_academia", + "education_management", + "entertainment", + "environmental_services", + "events_services", + "facilities_services", + "fine_art_luxury_goods_jewelry", + "food_beverage", + "furniture", + "gambling_casinos", + "gaming", + "government", + "health_wellness_fitness", + "holding_companies_conglomerates", + "human_resources_staffing_recruiting", + "information_technology_services", + "insurance", + "international_public_affairs", + "international_trade_development", + "internet", + "investment_management", + "law_firms_legal_services", + "leisure_travel_tourism", + "logistics_supply_chain_import_export", + "management_consulting", + "manufacturing_machinery_technology_engineering", + "maritime", + "market_research", + "marketing_advertising", + "media_production_publishing", + "medical_devices_healthcare_software_services", + "medical_practices_clinics_hospitals_health_care", + "military_law_enforcement", + "mining_minerals_metals", + "motion_pictures_and_film", + "museums_libraries", + "music_art", + "newspapers", + "nonprofit", + "oil_energy_utilities_waste", + "organizations_local_business", + "outsourcing_offshoring", + "pharmaceuticals_biotechnology_alternative_medicine", + "photographic_optical_equipment", + "political_organization", + "print_digital_media", + "professional_training_coaching", + "real_estate", + "religious_institutions", + "renewables_environment", + "research_think_tanks", + "restaurants", + "retail", + "security_services_investigations", + "social_impact_and_community_services", + "sporting_goods", + "supermarkets_groceries", + "telecommunications_service_providers_and_carriers", + "transportation_shipping_packaging_delivery", + "travel_lodging_hospitality", + "wholesale" + ], + "type": "string" +}; + +/** + * The schema of `reports_ApplicationSecurityReportV1Data_time_range` in + * responses. + */ +export const reports_ApplicationSecurityReportV1Data_time_range_output: JsonSchema = { + "properties": { + "end_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "start_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "end_time", + "start_time" + ], + "type": "object" +}; + +/** + * The schema of + * `reports_ApplicationSecurityReportV1Data_top_countries_by_mitigated_requestsItem` + * in responses. + */ +export const reports_ApplicationSecurityReportV1Data_top_countries_by_mitigated_requestsItem_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "country_alpha2": { + "type": "string" + } + }, + "required": [ + "count", + "country_alpha2" + ], + "type": "object" +}; + +/** + * The schema of + * `reports_ApplicationSecurityReportV1Data_top_countries_by_served_requestsItem` + * in responses. + */ +export const reports_ApplicationSecurityReportV1Data_top_countries_by_served_requestsItem_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "country_alpha2": { + "type": "string" + } + }, + "required": [ + "count", + "country_alpha2" + ], + "type": "object" +}; + +/** + * The schema of + * `reports_ApplicationSecurityReportV1Data_top_hostnames_by_mitigated_requestsItem` + * in responses. + */ +export const reports_ApplicationSecurityReportV1Data_top_hostnames_by_mitigated_requestsItem_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "hostname": { + "type": "string" + } + }, + "required": [ + "count", + "hostname" + ], + "type": "object" +}; + +/** + * The schema of + * `reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem` + * in responses. + */ +export const reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "kind": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_kind" + }, + "rule_id": { + "type": "string" + }, + "ruleset_id": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_source" + } + }, + "required": [ + "count", + "description", + "kind", + "rule_id", + "ruleset_id", + "source" + ], + "type": "object" +}; + +/** + * The schema of + * `reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_kind` + * in responses. + */ +export const reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_kind_output: JsonSchema = { + "enum": [ + "unknown", + "custom", + "managed" + ], + "type": "string" +}; + +/** + * The schema of + * `reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_source` + * in responses. + */ +export const reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_source_output: JsonSchema = { + "enum": [ + "unknown", + "asn", + "country", + "ip", + "ip_range", + "security_level", + "zone_lockdown", + "waf", + "firewall_rules", + "ua_block", + "rate_limit", + "bic", + "hot", + "l7_ddos", + "validation", + "bot_fight", + "api_shield", + "bot_management", + "dlp", + "firewall_managed", + "firewall_custom", + "api_shield_schema_validation", + "api_shield_token_validation", + "api_shield_sequence_mitigation" + ], + "type": "string" +}; + +/** + * The schema of `reports_ApplicationSecurityReportV1Data_total_requests` in + * responses. + */ +export const reports_ApplicationSecurityReportV1Data_total_requests_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "percent_change": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" +}; + +/** + * The schema of + * `reports_ApplicationSecurityReportV1Data_total_requests_mitigated` in + * responses. + */ +export const reports_ApplicationSecurityReportV1Data_total_requests_mitigated_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "percent_change": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" +}; + +/** + * The schema of `reports_ApplicationSecurityReportV1Data_total_requests_served` + * in responses. + */ +export const reports_ApplicationSecurityReportV1Data_total_requests_served_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "percent_change": { + "type": "number" + } + }, + "required": [ + "count" + ], + "type": "object" +}; + +/** + * The schema of `reports_ApplicationSecurityReportV1_input` in responses. + */ +export const reports_ApplicationSecurityReportV1_input_output: JsonSchema = { + "properties": { + "time_range": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1_input_time_range" + } + }, + "required": [ + "time_range" + ], + "type": "object" +}; + +/** + * The schema of `reports_ApplicationSecurityReportV1_input_time_range` in + * responses. + */ +export const reports_ApplicationSecurityReportV1_input_time_range_output: JsonSchema = { + "properties": { + "end_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "start_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "end_time", + "start_time" + ], + "type": "object" +}; + +/** + * The schema of `reports_GetReportResponse` in responses. + */ +export const reports_GetReportResponse_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "generated_on": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "generation_id": { + "format": "uuid", + "type": "string" + }, + "policy_id": { + "format": "uuid", + "type": "string" + }, + "policy_version": { + "type": "integer" + }, + "reason": { + "$ref": "#/$defs/reports_GetReportResponse_reason" + }, + "report": { + "$ref": "#/$defs/reports_GetReportResponse_report" + }, + "report_id": { + "format": "uuid", + "type": "string" + }, + "report_settings": { + "$ref": "#/$defs/reports_GetReportResponse_report_settings" + }, + "report_status": { + "$ref": "#/$defs/reports_GetReportResponse_report_status" + }, + "scheduled_for": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "scheduled_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "generation_id", + "policy_id", + "policy_version", + "report", + "report_id", + "report_status", + "scheduled_for", + "scheduled_on" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `reports_GetReportResponse_reason` in responses. + */ +export const reports_GetReportResponse_reason_output: JsonSchema = { + "enum": [ + "unspecified", + "invalid_entitlements", + "policy_disabled" + ], + "type": "string" +}; + +/** + * The schema of `reports_GetReportResponse_report` in responses. + */ +export const reports_GetReportResponse_report_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "application_security_report_v1" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/reports_ApplicationSecurityReportV1" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `reports_GetReportResponse_report_settings` in responses. + */ +export const reports_GetReportResponse_report_settings_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "application_security_report_v1" + ], + "type": "string" + }, + "value": { + "properties": { + "time_range": { + "properties": { + "end_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "start_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "end_time", + "start_time" + ], + "type": "object" + } + }, + "required": [ + "time_range" + ], + "type": "object" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `reports_GetReportResponse_report_status` in responses. + */ +export const reports_GetReportResponse_report_status_output: JsonSchema = { + "enum": [ + "unspecified", + "scheduled", + "generating", + "finished", + "cancelled" + ], + "type": "string" +}; + +/** + * The schema of `reports_ReportsListResponse_resultItem` in responses. + */ +export const reports_ReportsListResponse_resultItem_output: JsonSchema = { + "properties": { + "generated_on": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "generation_id": { + "format": "uuid", + "type": "string" + }, + "policy_id": { + "format": "uuid", + "type": "string" + }, + "policy_version": { + "type": "integer" + }, + "reason": { + "$ref": "#/$defs/reports_ReportsListResponse_resultItem_reason" + }, + "report_id": { + "format": "uuid", + "type": "string" + }, + "report_settings": { + "$ref": "#/$defs/reports_ReportsListResponse_resultItem_report_settings" + }, + "report_status": { + "$ref": "#/$defs/reports_ReportsListResponse_resultItem_report_status" + }, + "scheduled_for": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "scheduled_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "generation_id", + "policy_id", + "policy_version", + "report_id", + "report_status", + "scheduled_for", + "scheduled_on" + ], + "type": "object" +}; + +/** + * The schema of `reports_ReportsListResponse_resultItem_reason` in responses. + */ +export const reports_ReportsListResponse_resultItem_reason_output: JsonSchema = { + "enum": [ + "unspecified", + "invalid_entitlements", + "policy_disabled" + ], + "type": "string" +}; + +/** + * The schema of `reports_ReportsListResponse_resultItem_report_settings` in + * responses. + */ +export const reports_ReportsListResponse_resultItem_report_settings_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "application_security_report_v1" + ], + "type": "string" + }, + "value": { + "properties": { + "time_range": { + "properties": { + "end_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "start_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "end_time", + "start_time" + ], + "type": "object" + } + }, + "required": [ + "time_range" + ], + "type": "object" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `reports_ReportsListResponse_resultItem_report_status` in + * responses. + */ +export const reports_ReportsListResponse_resultItem_report_status_output: JsonSchema = { + "enum": [ + "unspecified", + "scheduled", + "generating", + "finished", + "cancelled" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/reporting/reports/tools.ts b/src/generated/forge-mcp/reporting/reports/tools.ts index 2d5ad0f3..ae50a8bd 100644 --- a/src/generated/forge-mcp/reporting/reports/tools.ts +++ b/src/generated/forge-mcp/reporting/reports/tools.ts @@ -2,6 +2,36 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + reports_Error_output, + reports_PolicyErrorResponse_output, +} from "../outputs.js"; +import { + reports_ApplicationSecurityReportV1Data_industry_output, + reports_ApplicationSecurityReportV1Data_output, + reports_ApplicationSecurityReportV1Data_time_range_output, + reports_ApplicationSecurityReportV1Data_top_countries_by_mitigated_requestsItem_output, + reports_ApplicationSecurityReportV1Data_top_countries_by_served_requestsItem_output, + reports_ApplicationSecurityReportV1Data_top_hostnames_by_mitigated_requestsItem_output, + reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_kind_output, + reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_output, + reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_source_output, + reports_ApplicationSecurityReportV1Data_total_requests_mitigated_output, + reports_ApplicationSecurityReportV1Data_total_requests_output, + reports_ApplicationSecurityReportV1Data_total_requests_served_output, + reports_ApplicationSecurityReportV1_input_output, + reports_ApplicationSecurityReportV1_input_time_range_output, + reports_ApplicationSecurityReportV1_output, + reports_GetReportResponse_output, + reports_GetReportResponse_reason_output, + reports_GetReportResponse_report_output, + reports_GetReportResponse_report_settings_output, + reports_GetReportResponse_report_status_output, + reports_ReportsListResponse_resultItem_output, + reports_ReportsListResponse_resultItem_reason_output, + reports_ReportsListResponse_resultItem_report_settings_output, + reports_ReportsListResponse_resultItem_report_status_output, +} from "./outputs.js"; /** * The tools of `reporting.reports`. @@ -43,6 +73,40 @@ export const tools: readonly Tool[] = [ "#reports:read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/reports_GetReportResponse" + }, + "404": { + "$ref": "#/$defs/reports_PolicyErrorResponse" + } + }, + $defs: { + "reports_ApplicationSecurityReportV1": reports_ApplicationSecurityReportV1_output, + "reports_ApplicationSecurityReportV1Data": reports_ApplicationSecurityReportV1Data_output, + "reports_ApplicationSecurityReportV1Data_industry": reports_ApplicationSecurityReportV1Data_industry_output, + "reports_ApplicationSecurityReportV1Data_time_range": reports_ApplicationSecurityReportV1Data_time_range_output, + "reports_ApplicationSecurityReportV1Data_top_countries_by_mitigated_requestsItem": reports_ApplicationSecurityReportV1Data_top_countries_by_mitigated_requestsItem_output, + "reports_ApplicationSecurityReportV1Data_top_countries_by_served_requestsItem": reports_ApplicationSecurityReportV1Data_top_countries_by_served_requestsItem_output, + "reports_ApplicationSecurityReportV1Data_top_hostnames_by_mitigated_requestsItem": reports_ApplicationSecurityReportV1Data_top_hostnames_by_mitigated_requestsItem_output, + "reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem": reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_output, + "reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_kind": reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_kind_output, + "reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_source": reports_ApplicationSecurityReportV1Data_top_rules_by_mitigated_requestsItem_source_output, + "reports_ApplicationSecurityReportV1Data_total_requests": reports_ApplicationSecurityReportV1Data_total_requests_output, + "reports_ApplicationSecurityReportV1Data_total_requests_mitigated": reports_ApplicationSecurityReportV1Data_total_requests_mitigated_output, + "reports_ApplicationSecurityReportV1Data_total_requests_served": reports_ApplicationSecurityReportV1Data_total_requests_served_output, + "reports_ApplicationSecurityReportV1_input": reports_ApplicationSecurityReportV1_input_output, + "reports_ApplicationSecurityReportV1_input_time_range": reports_ApplicationSecurityReportV1_input_time_range_output, + "reports_Error": reports_Error_output, + "reports_GetReportResponse": reports_GetReportResponse_output, + "reports_GetReportResponse_reason": reports_GetReportResponse_reason_output, + "reports_GetReportResponse_report": reports_GetReportResponse_report_output, + "reports_GetReportResponse_report_settings": reports_GetReportResponse_report_settings_output, + "reports_GetReportResponse_report_status": reports_GetReportResponse_report_status_output, + "reports_PolicyErrorResponse": reports_PolicyErrorResponse_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/reporting/reports/${pathParam(args, "report_id")}`, }), @@ -77,6 +141,45 @@ export const tools: readonly Tool[] = [ "#reports:read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/reports_ReportsListResponse_resultItem" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/reports_PolicyErrorResponse" + } + }, + $defs: { + "reports_Error": reports_Error_output, + "reports_PolicyErrorResponse": reports_PolicyErrorResponse_output, + "reports_ReportsListResponse_resultItem": reports_ReportsListResponse_resultItem_output, + "reports_ReportsListResponse_resultItem_reason": reports_ReportsListResponse_resultItem_reason_output, + "reports_ReportsListResponse_resultItem_report_settings": reports_ReportsListResponse_resultItem_report_settings_output, + "reports_ReportsListResponse_resultItem_report_status": reports_ReportsListResponse_resultItem_report_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/reporting/reports`, }), diff --git a/src/generated/forge-mcp/requestTracers/traces/outputs.ts b/src/generated/forge-mcp/requestTracers/traces/outputs.ts new file mode 100644 index 00000000..937725a3 --- /dev/null +++ b/src/generated/forge-mcp/requestTracers/traces/outputs.ts @@ -0,0 +1,98 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `request-tracer_api-response-common-failure` in responses. + */ +export const request_tracer_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/request-tracer_messages" + }, + "messages": { + "$ref": "#/$defs/request-tracer_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `request-tracer_messages` in responses. + */ +export const request_tracer_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `request-tracer_trace` in responses. + */ +export const request_tracer_trace_output: JsonSchema = { + "items": { + "properties": { + "action": { + "type": "string" + }, + "action_parameters": { + "type": "object" + }, + "description": { + "type": "string" + }, + "expression": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "matched": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "step_name": { + "type": "string" + }, + "trace": { + "type": "object" + }, + "type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/requestTracers/traces/tools.ts b/src/generated/forge-mcp/requestTracers/traces/tools.ts index 4fbdf79e..89ca2f92 100644 --- a/src/generated/forge-mcp/requestTracers/traces/tools.ts +++ b/src/generated/forge-mcp/requestTracers/traces/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + request_tracer_api_response_common_failure_output, + request_tracer_messages_output, + request_tracer_trace_output, +} from "./outputs.js"; /** * The tools of `request_tracers.traces`. @@ -154,6 +159,29 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "status_code": { + "type": "integer" + }, + "trace": { + "$ref": "#/$defs/request-tracer_trace" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/request-tracer_api-response-common-failure" + } + }, + $defs: { + "request-tracer_api-response-common-failure": request_tracer_api_response_common_failure_output, + "request-tracer_messages": request_tracer_messages_output, + "request-tracer_trace": request_tracer_trace_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/request-tracer/trace`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts b/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts new file mode 100644 index 00000000..7b7118f0 --- /dev/null +++ b/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts @@ -0,0 +1,39 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `resource-sharing_excluded_recipient_id` in responses. + */ +export const resource_sharing_excluded_recipient_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_share_excluded_recipient_object` in + * responses. + */ +export const resource_sharing_share_excluded_recipient_object_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id" + }, + "created": { + "$ref": "#/$defs/resource-sharing_created" + }, + "id": { + "$ref": "#/$defs/resource-sharing_excluded_recipient_id" + }, + "modified": { + "$ref": "#/$defs/resource-sharing_modified" + } + }, + "required": [ + "account_id", + "created", + "id", + "modified" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts b/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts index dcf5b190..9f19e0ad 100644 --- a/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts @@ -2,7 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + resource_sharing_account_id_output, + resource_sharing_api_response_common_failure_output, + resource_sharing_created_output, + resource_sharing_modified_output, + resource_sharing_result_info_output, + resource_sharing_v4error_output, + resource_sharing_v4errors_output, +} from "../../outputs.js"; import { resource_sharing_account_id } from "../../schemas.js"; +import { + resource_sharing_excluded_recipient_id_output, + resource_sharing_share_excluded_recipient_object_output, +} from "./outputs.js"; import { resource_sharing_create_share_excluded_recipient_request, resource_sharing_update_share_excluded_recipients_request, @@ -59,6 +72,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/resource-sharing_share_excluded_recipient_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id_path")}/shares/${pathParam(args, "share_id")}/excluded-recipients`, body: { value: args["body"], mediaType: "application/json" }, @@ -108,6 +144,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_excluded_recipient_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/excluded-recipients/${pathParam(args, "excluded_recipient_id")}`, }), @@ -156,6 +215,29 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_excluded_recipient_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/excluded-recipients/${pathParam(args, "excluded_recipient_id")}`, }), @@ -209,6 +291,44 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/resource-sharing_share_excluded_recipient_object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/resource-sharing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_result_info": resource_sharing_result_info_output, + "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id_path")}/shares/${pathParam(args, "share_id")}/excluded-recipients`, query: [ @@ -264,6 +384,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id_path")}/shares/${pathParam(args, "share_id")}/excluded-recipients`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts b/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts new file mode 100644 index 00000000..75ca5c9c --- /dev/null +++ b/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts @@ -0,0 +1,104 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `resource-sharing_recipient_association_status` in responses. + */ +export const resource_sharing_recipient_association_status_output: JsonSchema = { + "enum": [ + "associating", + "associated", + "disassociating", + "disassociated" + ], + "type": "string" +}; + +/** + * The schema of `resource-sharing_recipient_id` in responses. + */ +export const resource_sharing_recipient_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_recipient_resource_error` in responses. + */ +export const resource_sharing_recipient_resource_error_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-sharing_recipient_resource_error_terminal` in + * responses. + */ +export const resource_sharing_recipient_resource_error_terminal_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `resource-sharing_share_recipient_object` in responses. + */ +export const resource_sharing_share_recipient_object_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id" + }, + "association_status": { + "$ref": "#/$defs/resource-sharing_recipient_association_status" + }, + "created": { + "$ref": "#/$defs/resource-sharing_created" + }, + "id": { + "$ref": "#/$defs/resource-sharing_recipient_id" + }, + "modified": { + "$ref": "#/$defs/resource-sharing_modified" + }, + "resources": { + "items": { + "$ref": "#/$defs/resource-sharing_share_recipient_resource_object" + }, + "type": "array" + } + }, + "required": [ + "account_id", + "association_status", + "created", + "id", + "modified" + ], + "type": "object" +}; + +/** + * The schema of `resource-sharing_share_recipient_resource_object` in + * responses. + */ +export const resource_sharing_share_recipient_resource_object_output: JsonSchema = { + "properties": { + "error": { + "$ref": "#/$defs/resource-sharing_recipient_resource_error" + }, + "resource_id": { + "$ref": "#/$defs/resource-sharing_resource_resource_id" + }, + "resource_version": { + "$ref": "#/$defs/resource-sharing_resource_version" + }, + "terminal": { + "$ref": "#/$defs/resource-sharing_recipient_resource_error_terminal" + } + }, + "required": [ + "error", + "resource_id", + "resource_version", + "terminal" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/resourceSharing/recipients/tools.ts b/src/generated/forge-mcp/resourceSharing/recipients/tools.ts index fca1a91b..db34a6c4 100644 --- a/src/generated/forge-mcp/resourceSharing/recipients/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/recipients/tools.ts @@ -2,11 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + resource_sharing_account_id_output, + resource_sharing_api_response_common_failure_output, + resource_sharing_created_output, + resource_sharing_modified_output, + resource_sharing_resource_resource_id_output, + resource_sharing_resource_version_output, + resource_sharing_result_info_output, + resource_sharing_v4error_output, + resource_sharing_v4errors_output, +} from "../../outputs.js"; import { resource_sharing_account_id, resource_sharing_organization_id, } from "../../schemas.js"; import { resource_sharing_create_share_recipient_request } from "../schemas.js"; +import { + resource_sharing_recipient_association_status_output, + resource_sharing_recipient_id_output, + resource_sharing_recipient_resource_error_output, + resource_sharing_recipient_resource_error_terminal_output, + resource_sharing_share_recipient_object_output, + resource_sharing_share_recipient_resource_object_output, +} from "./outputs.js"; import { resource_sharing_update_share_recipients_request } from "./schemas.js"; /** @@ -61,6 +80,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/resource-sharing_share_recipient_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, + "resource-sharing_recipient_id": resource_sharing_recipient_id_output, + "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, + "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, + "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id_path")}/shares/${pathParam(args, "share_id")}/recipients`, body: { value: args["body"], mediaType: "application/json" }, @@ -110,6 +158,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_recipient_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, + "resource-sharing_recipient_id": resource_sharing_recipient_id_output, + "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, + "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, + "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/recipients/${pathParam(args, "recipient_id")}`, }), @@ -162,6 +239,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_recipient_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, + "resource-sharing_recipient_id": resource_sharing_recipient_id_output, + "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, + "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, + "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/recipients/${pathParam(args, "recipient_id")}`, query: [ @@ -222,6 +328,50 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/resource-sharing_share_recipient_object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/resource-sharing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, + "resource-sharing_recipient_id": resource_sharing_recipient_id_output, + "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, + "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_result_info": resource_sharing_result_info_output, + "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, + "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id_path")}/shares/${pathParam(args, "share_id")}/recipients`, query: [ @@ -279,6 +429,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id_path")}/shares/${pathParam(args, "share_id")}/recipients`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/resourceSharing/resources/tools.ts b/src/generated/forge-mcp/resourceSharing/resources/tools.ts index c3d33ae1..757e8fb5 100644 --- a/src/generated/forge-mcp/resourceSharing/resources/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/resources/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + resource_sharing_account_id_output, + resource_sharing_api_response_common_failure_output, + resource_sharing_created_output, + resource_sharing_modified_output, + resource_sharing_resource_id_output, + resource_sharing_resource_meta_output, + resource_sharing_resource_resource_id_output, + resource_sharing_resource_status_output, + resource_sharing_resource_type_output, + resource_sharing_resource_version_output, + resource_sharing_result_info_output, + resource_sharing_share_resource_object_output, + resource_sharing_v4error_output, + resource_sharing_v4errors_output, +} from "../../outputs.js"; import { resource_sharing_account_id, resource_sharing_resource_meta, @@ -66,6 +82,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/resource-sharing_share_resource_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/resources`, body: { value: args["body"], mediaType: "application/json" }, @@ -115,6 +159,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_resource_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/resources/${pathParam(args, "share_resource_id")}`, }), @@ -163,6 +235,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_resource_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/resources/${pathParam(args, "share_resource_id")}`, }), @@ -228,6 +328,49 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/resource-sharing_share_resource_object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/resource-sharing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_result_info": resource_sharing_result_info_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/resources`, query: [ @@ -289,6 +432,34 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_resource_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/resources/${pathParam(args, "share_resource_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/resourceSharing/tools.ts b/src/generated/forge-mcp/resourceSharing/tools.ts index 6158e22d..8651331d 100644 --- a/src/generated/forge-mcp/resourceSharing/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/tools.ts @@ -2,6 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + resource_sharing_account_id_output, + resource_sharing_account_name_output, + resource_sharing_api_response_common_failure_output, + resource_sharing_created_output, + resource_sharing_modified_output, + resource_sharing_organization_id_output, + resource_sharing_resource_id_output, + resource_sharing_resource_meta_output, + resource_sharing_resource_resource_id_output, + resource_sharing_resource_status_output, + resource_sharing_resource_type_output, + resource_sharing_resource_version_output, + resource_sharing_result_info_output, + resource_sharing_share_id_output, + resource_sharing_share_kind_output, + resource_sharing_share_name_output, + resource_sharing_share_object_output, + resource_sharing_share_resource_object_output, + resource_sharing_share_status_output, + resource_sharing_share_target_type_output, + resource_sharing_v4error_output, + resource_sharing_v4errors_output, +} from "../outputs.js"; import { resource_sharing_account_id, resource_sharing_organization_id, @@ -73,6 +97,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/resource-sharing_share_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_account_name": resource_sharing_account_name_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_organization_id": resource_sharing_organization_id_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_id": resource_sharing_share_id_output, + "resource-sharing_share_kind": resource_sharing_share_kind_output, + "resource-sharing_share_name": resource_sharing_share_name_output, + "resource-sharing_share_object": resource_sharing_share_object_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_share_status": resource_sharing_share_status_output, + "resource-sharing_share_target_type": resource_sharing_share_target_type_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares`, body: { value: args["body"], mediaType: "application/json" }, @@ -117,6 +177,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_account_name": resource_sharing_account_name_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_organization_id": resource_sharing_organization_id_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_id": resource_sharing_share_id_output, + "resource-sharing_share_kind": resource_sharing_share_kind_output, + "resource-sharing_share_name": resource_sharing_share_name_output, + "resource-sharing_share_object": resource_sharing_share_object_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_share_status": resource_sharing_share_status_output, + "resource-sharing_share_target_type": resource_sharing_share_target_type_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}`, }), @@ -180,6 +276,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_account_name": resource_sharing_account_name_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_organization_id": resource_sharing_organization_id_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_id": resource_sharing_share_id_output, + "resource-sharing_share_kind": resource_sharing_share_kind_output, + "resource-sharing_share_name": resource_sharing_share_name_output, + "resource-sharing_share_object": resource_sharing_share_object_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_share_status": resource_sharing_share_status_output, + "resource-sharing_share_target_type": resource_sharing_share_target_type_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}`, query: [ @@ -307,6 +439,57 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/resource-sharing_share_object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/resource-sharing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_account_name": resource_sharing_account_name_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_organization_id": resource_sharing_organization_id_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_result_info": resource_sharing_result_info_output, + "resource-sharing_share_id": resource_sharing_share_id_output, + "resource-sharing_share_kind": resource_sharing_share_kind_output, + "resource-sharing_share_name": resource_sharing_share_name_output, + "resource-sharing_share_object": resource_sharing_share_object_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_share_status": resource_sharing_share_status_output, + "resource-sharing_share_target_type": resource_sharing_share_target_type_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares`, query: [ @@ -370,6 +553,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-sharing_share_object" + }, + "4XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-sharing_api-response-common-failure" + } + }, + $defs: { + "resource-sharing_account_id": resource_sharing_account_id_output, + "resource-sharing_account_name": resource_sharing_account_name_output, + "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, + "resource-sharing_created": resource_sharing_created_output, + "resource-sharing_modified": resource_sharing_modified_output, + "resource-sharing_organization_id": resource_sharing_organization_id_output, + "resource-sharing_resource_id": resource_sharing_resource_id_output, + "resource-sharing_resource_meta": resource_sharing_resource_meta_output, + "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, + "resource-sharing_resource_status": resource_sharing_resource_status_output, + "resource-sharing_resource_type": resource_sharing_resource_type_output, + "resource-sharing_resource_version": resource_sharing_resource_version_output, + "resource-sharing_share_id": resource_sharing_share_id_output, + "resource-sharing_share_kind": resource_sharing_share_kind_output, + "resource-sharing_share_name": resource_sharing_share_name_output, + "resource-sharing_share_object": resource_sharing_share_object_output, + "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, + "resource-sharing_share_status": resource_sharing_share_status_output, + "resource-sharing_share_target_type": resource_sharing_share_target_type_output, + "resource-sharing_v4error": resource_sharing_v4error_output, + "resource-sharing_v4errors": resource_sharing_v4errors_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts b/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts new file mode 100644 index 00000000..468b8405 --- /dev/null +++ b/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts @@ -0,0 +1,126 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `lists_bulk-operation-response-single` in responses. + */ +export const lists_bulk_operation_response_single_output: JsonSchema = { + "allOf": [ + { + "properties": { + "result": { + "$ref": "#/$defs/lists_operation" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/lists_api-response-common" + } + ] +}; + +/** + * The schema of `lists_bulk_operation_completed` in responses. + */ +export const lists_bulk_operation_completed_output: JsonSchema = { + "properties": { + "completed": { + "$ref": "#/$defs/lists_completed" + }, + "id": { + "$ref": "#/$defs/lists_operation_id" + }, + "status": { + "enum": [ + "completed" + ], + "type": "string" + } + }, + "required": [ + "completed", + "id", + "status" + ], + "type": "object" +}; + +/** + * The schema of `lists_bulk_operation_failed` in responses. + */ +export const lists_bulk_operation_failed_output: JsonSchema = { + "properties": { + "completed": { + "$ref": "#/$defs/lists_completed" + }, + "error": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/lists_operation_id" + }, + "status": { + "enum": [ + "failed" + ], + "type": "string" + } + }, + "required": [ + "completed", + "error", + "id", + "status" + ], + "type": "object" +}; + +/** + * The schema of `lists_bulk_operation_pending_or_running` in responses. + */ +export const lists_bulk_operation_pending_or_running_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/lists_operation_id" + }, + "status": { + "enum": [ + "pending", + "running" + ], + "type": "string" + } + }, + "required": [ + "id", + "status" + ], + "type": "object" +}; + +/** + * The schema of `lists_completed` in responses. + */ +export const lists_completed_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `lists_operation` in responses. + */ +export const lists_operation_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/lists_bulk_operation_pending_or_running" + }, + { + "$ref": "#/$defs/lists_bulk_operation_completed" + }, + { + "$ref": "#/$defs/lists_bulk_operation_failed" + } + ] +}; diff --git a/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts b/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts index f6b64b0c..4c8ca31b 100644 --- a/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts +++ b/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + lists_api_response_common_failure_output, + lists_api_response_common_output, + lists_api_response_common_result_output, + lists_messages_output, + lists_operation_id_output, +} from "../outputs.js"; +import { + lists_bulk_operation_completed_output, + lists_bulk_operation_failed_output, + lists_bulk_operation_pending_or_running_output, + lists_bulk_operation_response_single_output, + lists_completed_output, + lists_operation_output, +} from "./outputs.js"; /** * The tools of `rules.lists.bulk_operations`. @@ -49,6 +64,47 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_bulk-operation-response-single" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_bulk-operation-response-single": lists_bulk_operation_response_single_output, + "lists_bulk_operation_completed": lists_bulk_operation_completed_output, + "lists_bulk_operation_failed": lists_bulk_operation_failed_output, + "lists_bulk_operation_pending_or_running": lists_bulk_operation_pending_or_running_output, + "lists_completed": lists_completed_output, + "lists_messages": lists_messages_output, + "lists_operation": lists_operation_output, + "lists_operation_id": lists_operation_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/bulk_operations/${pathParam(args, "operation_id")}`, }), diff --git a/src/generated/forge-mcp/rules/lists/items/outputs.ts b/src/generated/forge-mcp/rules/lists/items/outputs.ts new file mode 100644 index 00000000..545b8b2a --- /dev/null +++ b/src/generated/forge-mcp/rules/lists/items/outputs.ts @@ -0,0 +1,343 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `lists_item` in responses. + */ +export const lists_item_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/lists_list_item_ip_full" + }, + { + "$ref": "#/$defs/lists_list_item_hostname_full" + }, + { + "$ref": "#/$defs/lists_list_item_redirect_full" + }, + { + "$ref": "#/$defs/lists_list_item_asn_full" + } + ] +}; + +/** + * The schema of `lists_item-response-single` in responses. + */ +export const lists_item_response_single_output: JsonSchema = { + "allOf": [ + { + "properties": { + "result": { + "$ref": "#/$defs/lists_item" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/lists_api-response-common" + } + ] +}; + +/** + * The schema of `lists_item_asn` in responses. + */ +export const lists_item_asn_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `lists_item_base` in responses. + */ +export const lists_item_base_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/lists_item_comment" + }, + "created_on": { + "$ref": "#/$defs/lists_created_on" + }, + "id": { + "$ref": "#/$defs/lists_item_id" + }, + "modified_on": { + "$ref": "#/$defs/lists_modified_on" + } + }, + "required": [ + "created_on", + "id", + "modified_on" + ], + "type": "object" +}; + +/** + * The schema of `lists_item_comment` in responses. + */ +export const lists_item_comment_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `lists_item_hostname` in responses. + */ +export const lists_item_hostname_output: JsonSchema = { + "properties": { + "exclude_exact_hostname": { + "type": "boolean" + }, + "url_hostname": { + "type": "string" + } + }, + "required": [ + "url_hostname" + ], + "type": "object" +}; + +/** + * The schema of `lists_item_id` in responses. + */ +export const lists_item_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `lists_item_ip` in responses. + */ +export const lists_item_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `lists_item_redirect` in responses. + */ +export const lists_item_redirect_output: JsonSchema = { + "properties": { + "include_subdomains": { + "type": "boolean" + }, + "preserve_path_suffix": { + "type": "boolean" + }, + "preserve_query_string": { + "type": "boolean" + }, + "source_url": { + "type": "string" + }, + "status_code": { + "enum": [ + 301, + 302, + 307, + 308 + ], + "type": "integer" + }, + "subpath_matching": { + "type": "boolean" + }, + "target_url": { + "type": "string" + } + }, + "required": [ + "source_url", + "target_url" + ], + "type": "object" +}; + +/** + * The schema of `lists_items` in responses. + */ +export const lists_items_output: JsonSchema = { + "items": { + "$ref": "#/$defs/lists_item" + }, + "type": "array" +}; + +/** + * The schema of `lists_items-list-response-collection` in responses. + */ +export const lists_items_list_response_collection_output: JsonSchema = { + "allOf": [ + { + "properties": { + "result": { + "$ref": "#/$defs/lists_items" + }, + "result_info": { + "properties": { + "cursors": { + "properties": { + "after": { + "type": "string" + }, + "before": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/lists_api-response-collection" + } + ] +}; + +/** + * The schema of `lists_list_item_asn_full` in responses. + */ +export const lists_list_item_asn_full_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/lists_list_item_asn_object" + }, + { + "$ref": "#/$defs/lists_item_base" + } + ] +}; + +/** + * The schema of `lists_list_item_asn_object` in responses. + */ +export const lists_list_item_asn_object_output: JsonSchema = { + "properties": { + "asn": { + "$ref": "#/$defs/lists_item_asn" + } + }, + "required": [ + "asn" + ], + "type": "object" +}; + +/** + * The schema of `lists_list_item_hostname_full` in responses. + */ +export const lists_list_item_hostname_full_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/lists_list_item_hostname_object" + }, + { + "$ref": "#/$defs/lists_item_base" + } + ] +}; + +/** + * The schema of `lists_list_item_hostname_object` in responses. + */ +export const lists_list_item_hostname_object_output: JsonSchema = { + "properties": { + "hostname": { + "$ref": "#/$defs/lists_item_hostname" + } + }, + "required": [ + "hostname" + ], + "type": "object" +}; + +/** + * The schema of `lists_list_item_ip_full` in responses. + */ +export const lists_list_item_ip_full_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/lists_list_item_ip_object" + }, + { + "$ref": "#/$defs/lists_item_base" + } + ] +}; + +/** + * The schema of `lists_list_item_ip_object` in responses. + */ +export const lists_list_item_ip_object_output: JsonSchema = { + "properties": { + "ip": { + "$ref": "#/$defs/lists_item_ip" + } + }, + "required": [ + "ip" + ], + "type": "object" +}; + +/** + * The schema of `lists_list_item_redirect_full` in responses. + */ +export const lists_list_item_redirect_full_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/lists_list_item_redirect_object" + }, + { + "$ref": "#/$defs/lists_item_base" + } + ] +}; + +/** + * The schema of `lists_list_item_redirect_object` in responses. + */ +export const lists_list_item_redirect_object_output: JsonSchema = { + "properties": { + "redirect": { + "$ref": "#/$defs/lists_item_redirect" + } + }, + "required": [ + "redirect" + ], + "type": "object" +}; + +/** + * The schema of `lists_lists-async-response` in responses. + */ +export const lists_lists_async_response_output: JsonSchema = { + "allOf": [ + { + "properties": { + "result": { + "properties": { + "operation_id": { + "$ref": "#/$defs/lists_operation_id" + } + }, + "required": [ + "operation_id" + ], + "type": "object" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/lists_api-response-collection" + } + ] +}; diff --git a/src/generated/forge-mcp/rules/lists/items/tools.ts b/src/generated/forge-mcp/rules/lists/items/tools.ts index d3c193f6..5f353e6b 100644 --- a/src/generated/forge-mcp/rules/lists/items/tools.ts +++ b/src/generated/forge-mcp/rules/lists/items/tools.ts @@ -2,6 +2,38 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + lists_api_response_collection_output, + lists_api_response_common_failure_output, + lists_api_response_common_output, + lists_api_response_common_result_output, + lists_created_on_output, + lists_messages_output, + lists_modified_on_output, + lists_operation_id_output, +} from "../outputs.js"; +import { + lists_item_asn_output, + lists_item_base_output, + lists_item_comment_output, + lists_item_hostname_output, + lists_item_id_output, + lists_item_ip_output, + lists_item_output, + lists_item_redirect_output, + lists_item_response_single_output, + lists_items_list_response_collection_output, + lists_items_output, + lists_list_item_asn_full_output, + lists_list_item_asn_object_output, + lists_list_item_hostname_full_output, + lists_list_item_hostname_object_output, + lists_list_item_ip_full_output, + lists_list_item_ip_object_output, + lists_list_item_redirect_full_output, + lists_list_item_redirect_object_output, + lists_lists_async_response_output, +} from "./outputs.js"; import { lists_item_asn, lists_item_comment, @@ -86,6 +118,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_lists-async-response" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-collection": lists_api_response_collection_output, + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_lists-async-response": lists_lists_async_response_output, + "lists_messages": lists_messages_output, + "lists_operation_id": lists_operation_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/${pathParam(args, "list_id")}/items`, body: { value: args["body"], mediaType: "application/json" }, @@ -155,6 +224,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_lists-async-response" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-collection": lists_api_response_collection_output, + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_lists-async-response": lists_lists_async_response_output, + "lists_messages": lists_messages_output, + "lists_operation_id": lists_operation_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/${pathParam(args, "list_id")}/items`, body: { value: args["body"], mediaType: "application/json" }, @@ -207,6 +313,59 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_item-response-single" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_created_on": lists_created_on_output, + "lists_item": lists_item_output, + "lists_item-response-single": lists_item_response_single_output, + "lists_item_asn": lists_item_asn_output, + "lists_item_base": lists_item_base_output, + "lists_item_comment": lists_item_comment_output, + "lists_item_hostname": lists_item_hostname_output, + "lists_item_id": lists_item_id_output, + "lists_item_ip": lists_item_ip_output, + "lists_item_redirect": lists_item_redirect_output, + "lists_list_item_asn_full": lists_list_item_asn_full_output, + "lists_list_item_asn_object": lists_list_item_asn_object_output, + "lists_list_item_hostname_full": lists_list_item_hostname_full_output, + "lists_list_item_hostname_object": lists_list_item_hostname_object_output, + "lists_list_item_ip_full": lists_list_item_ip_full_output, + "lists_list_item_ip_object": lists_list_item_ip_object_output, + "lists_list_item_redirect_full": lists_list_item_redirect_full_output, + "lists_list_item_redirect_object": lists_list_item_redirect_object_output, + "lists_messages": lists_messages_output, + "lists_modified_on": lists_modified_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/${pathParam(args, "list_id")}/items/${pathParam(args, "item_id")}`, }), @@ -265,6 +424,74 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "properties": { + "cursors": { + "properties": { + "after": { + "type": "string" + }, + "before": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_items-list-response-collection" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-collection": lists_api_response_collection_output, + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_created_on": lists_created_on_output, + "lists_item": lists_item_output, + "lists_item_asn": lists_item_asn_output, + "lists_item_base": lists_item_base_output, + "lists_item_comment": lists_item_comment_output, + "lists_item_hostname": lists_item_hostname_output, + "lists_item_id": lists_item_id_output, + "lists_item_ip": lists_item_ip_output, + "lists_item_redirect": lists_item_redirect_output, + "lists_items": lists_items_output, + "lists_items-list-response-collection": lists_items_list_response_collection_output, + "lists_list_item_asn_full": lists_list_item_asn_full_output, + "lists_list_item_asn_object": lists_list_item_asn_object_output, + "lists_list_item_hostname_full": lists_list_item_hostname_full_output, + "lists_list_item_hostname_object": lists_list_item_hostname_object_output, + "lists_list_item_ip_full": lists_list_item_ip_full_output, + "lists_list_item_ip_object": lists_list_item_ip_object_output, + "lists_list_item_redirect_full": lists_list_item_redirect_full_output, + "lists_list_item_redirect_object": lists_list_item_redirect_object_output, + "lists_messages": lists_messages_output, + "lists_modified_on": lists_modified_on_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/${pathParam(args, "list_id")}/items`, query: [ @@ -336,6 +563,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_lists-async-response" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-collection": lists_api_response_collection_output, + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_lists-async-response": lists_lists_async_response_output, + "lists_messages": lists_messages_output, + "lists_operation_id": lists_operation_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/${pathParam(args, "list_id")}/items`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/rules/lists/outputs.ts b/src/generated/forge-mcp/rules/lists/outputs.ts new file mode 100644 index 00000000..89973653 --- /dev/null +++ b/src/generated/forge-mcp/rules/lists/outputs.ts @@ -0,0 +1,311 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `lists_api-response-collection` in responses. + */ +export const lists_api_response_collection_output: JsonSchema = { + "allOf": [ + { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/lists_api-response-common" + } + ] +}; + +/** + * The schema of `lists_api-response-common` in responses. + */ +export const lists_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/lists_messages" + }, + "messages": { + "$ref": "#/$defs/lists_messages" + }, + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `lists_api-response-common-failure` in responses. + */ +export const lists_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/lists_messages" + }, + "messages": { + "$ref": "#/$defs/lists_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `lists_api-response-common_result` in responses. + */ +export const lists_api_response_common_result_output: JsonSchema = { + "anyOf": [ + { + "type": "object" + }, + { + "items": { + "type": "object" + }, + "type": "array" + } + ] +}; + +/** + * The schema of `lists_created_on` in responses. + */ +export const lists_created_on_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `lists_description` in responses. + */ +export const lists_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `lists_kind` in responses. + */ +export const lists_kind_output: JsonSchema = { + "enum": [ + "ip", + "redirect", + "hostname", + "asn" + ], + "type": "string" +}; + +/** + * The schema of `lists_list` in responses. + */ +export const lists_list_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/lists_created_on" + }, + "description": { + "$ref": "#/$defs/lists_description" + }, + "id": { + "$ref": "#/$defs/lists_list_id" + }, + "kind": { + "$ref": "#/$defs/lists_kind" + }, + "modified_on": { + "$ref": "#/$defs/lists_modified_on" + }, + "name": { + "$ref": "#/$defs/lists_name" + }, + "num_items": { + "$ref": "#/$defs/lists_num_items" + }, + "num_referencing_filters": { + "$ref": "#/$defs/lists_num_referencing_filters" + } + }, + "required": [ + "created_on", + "id", + "kind", + "modified_on", + "name", + "num_items", + "num_referencing_filters" + ], + "type": "object" +}; + +/** + * The schema of `lists_list-delete-response-collection` in responses. + */ +export const lists_list_delete_response_collection_output: JsonSchema = { + "allOf": [ + { + "properties": { + "result": { + "properties": { + "id": { + "$ref": "#/$defs/lists_list_id" + } + }, + "required": [ + "id" + ], + "type": "object" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/lists_api-response-common" + } + ] +}; + +/** + * The schema of `lists_list-response-collection` in responses. + */ +export const lists_list_response_collection_output: JsonSchema = { + "allOf": [ + { + "properties": { + "result": { + "$ref": "#/$defs/lists_list" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/lists_api-response-common" + } + ] +}; + +/** + * The schema of `lists_list_id` in responses. + */ +export const lists_list_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `lists_lists-response-collection` in responses. + */ +export const lists_lists_response_collection_output: JsonSchema = { + "allOf": [ + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/lists_list" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/lists_api-response-collection" + } + ] +}; + +/** + * The schema of `lists_messages` in responses. + */ +export const lists_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `lists_modified_on` in responses. + */ +export const lists_modified_on_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `lists_name` in responses. + */ +export const lists_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `lists_num_items` in responses. + */ +export const lists_num_items_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `lists_num_referencing_filters` in responses. + */ +export const lists_num_referencing_filters_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `lists_operation_id` in responses. + */ +export const lists_operation_id_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/rules/lists/tools.ts b/src/generated/forge-mcp/rules/lists/tools.ts index 4f7b7a65..4888a57d 100644 --- a/src/generated/forge-mcp/rules/lists/tools.ts +++ b/src/generated/forge-mcp/rules/lists/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + lists_api_response_collection_output, + lists_api_response_common_failure_output, + lists_api_response_common_output, + lists_api_response_common_result_output, + lists_created_on_output, + lists_description_output, + lists_kind_output, + lists_list_delete_response_collection_output, + lists_list_id_output, + lists_list_output, + lists_list_response_collection_output, + lists_lists_response_collection_output, + lists_messages_output, + lists_modified_on_output, + lists_name_output, + lists_num_items_output, + lists_num_referencing_filters_output, +} from "./outputs.js"; import { lists_description, lists_kind, lists_name } from "./schemas.js"; /** @@ -71,6 +90,50 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_list-response-collection" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_created_on": lists_created_on_output, + "lists_description": lists_description_output, + "lists_kind": lists_kind_output, + "lists_list": lists_list_output, + "lists_list-response-collection": lists_list_response_collection_output, + "lists_list_id": lists_list_id_output, + "lists_messages": lists_messages_output, + "lists_modified_on": lists_modified_on_output, + "lists_name": lists_name_output, + "lists_num_items": lists_num_items_output, + "lists_num_referencing_filters": lists_num_referencing_filters_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists`, body: { value: args["body"], mediaType: "application/json" }, @@ -117,6 +180,42 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_list-delete-response-collection" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_list-delete-response-collection": lists_list_delete_response_collection_output, + "lists_list_id": lists_list_id_output, + "lists_messages": lists_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/${pathParam(args, "list_id")}`, }), @@ -162,6 +261,50 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_list-response-collection" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_created_on": lists_created_on_output, + "lists_description": lists_description_output, + "lists_kind": lists_kind_output, + "lists_list": lists_list_output, + "lists_list-response-collection": lists_list_response_collection_output, + "lists_list_id": lists_list_id_output, + "lists_messages": lists_messages_output, + "lists_modified_on": lists_modified_on_output, + "lists_name": lists_name_output, + "lists_num_items": lists_num_items_output, + "lists_num_referencing_filters": lists_num_referencing_filters_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/${pathParam(args, "list_id")}`, }), @@ -203,6 +346,51 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_lists-response-collection" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-collection": lists_api_response_collection_output, + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_created_on": lists_created_on_output, + "lists_description": lists_description_output, + "lists_kind": lists_kind_output, + "lists_list": lists_list_output, + "lists_list_id": lists_list_id_output, + "lists_lists-response-collection": lists_lists_response_collection_output, + "lists_messages": lists_messages_output, + "lists_modified_on": lists_modified_on_output, + "lists_name": lists_name_output, + "lists_num_items": lists_num_items_output, + "lists_num_referencing_filters": lists_num_referencing_filters_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists`, }), @@ -261,6 +449,50 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/lists_api-response-common_result" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/lists_list-response-collection" + }, + { + "$ref": "#/$defs/lists_api-response-common-failure" + } + ] + } + }, + $defs: { + "lists_api-response-common": lists_api_response_common_output, + "lists_api-response-common-failure": lists_api_response_common_failure_output, + "lists_api-response-common_result": lists_api_response_common_result_output, + "lists_created_on": lists_created_on_output, + "lists_description": lists_description_output, + "lists_kind": lists_kind_output, + "lists_list": lists_list_output, + "lists_list-response-collection": lists_list_response_collection_output, + "lists_list_id": lists_list_id_output, + "lists_messages": lists_messages_output, + "lists_modified_on": lists_modified_on_output, + "lists_name": lists_name_output, + "lists_num_items": lists_num_items_output, + "lists_num_referencing_filters": lists_num_referencing_filters_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/${pathParam(args, "list_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/rulesets/entrypoint/tools.ts b/src/generated/forge-mcp/rulesets/entrypoint/tools.ts index dc61898f..e932409c 100644 --- a/src/generated/forge-mcp/rulesets/entrypoint/tools.ts +++ b/src/generated/forge-mcp/rulesets/entrypoint/tools.ts @@ -2,6 +2,139 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + rulesets_Errors_output, + rulesets_Message_output, + rulesets_Message_source_output, + rulesets_Messages_output, + rulesets_Response_output, + rulesets_Response_result_output, +} from "../../outputs.js"; +import { + rulesets_BlockRule_action_parameters_output, + rulesets_BlockRule_action_parameters_response_output, + rulesets_BlockRule_output, + rulesets_ChallengeRule_output, + rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + rulesets_CompressResponseRule_action_parameters_output, + rulesets_CompressResponseRule_output, + rulesets_DDoSDynamicRule_output, + rulesets_ExecuteCategoryOverrides_output, + rulesets_ExecuteMatchedData_output, + rulesets_ExecuteOverrides_output, + rulesets_ExecuteRuleOverrides_output, + rulesets_ExecuteRule_action_parameters_output, + rulesets_ExecuteRule_output, + rulesets_ExecuteSensitivityLevel_output, + rulesets_ForceConnectionCloseRule_output, + rulesets_JsChallengeRule_output, + rulesets_LogCustomFieldCookieFields_output, + rulesets_LogCustomFieldRawResponseFields_output, + rulesets_LogCustomFieldRequestFields_output, + rulesets_LogCustomFieldResponseFields_output, + rulesets_LogCustomFieldRule_action_parameters_output, + rulesets_LogCustomFieldRule_output, + rulesets_LogCustomFieldTransformedRequestFields_output, + rulesets_LogRule_output, + rulesets_ManagedChallengeRule_output, + rulesets_RedirectFromList_output, + rulesets_RedirectFromValue_output, + rulesets_RedirectFromValue_target_url_output, + rulesets_RedirectRule_action_parameters_output, + rulesets_RedirectRule_output, + rulesets_ResponseRule_output, + rulesets_ResponseRules_output, + rulesets_RewriteHeaderExpression_output, + rulesets_RewriteHeaderOperation_output, + rulesets_RewriteHeaderValue_output, + rulesets_RewriteHeaders_output, + rulesets_RewriteRule_action_parameters_output, + rulesets_RewriteRule_output, + rulesets_RewriteUriPath_output, + rulesets_RewriteUriQuery_output, + rulesets_RewriteUri_output, + rulesets_RouteHostHeader_output, + rulesets_RouteOrigin_output, + rulesets_RouteRule_action_parameters_output, + rulesets_RouteRule_output, + rulesets_RouteSNI_output, + rulesets_RuleAction_output, + rulesets_RuleCategories_output, + rulesets_RuleCategory_output, + rulesets_RuleEnabled_output, + rulesets_RuleExposedCredentialCheck_output, + rulesets_RuleId_output, + rulesets_RuleLogging_output, + rulesets_RuleRatelimit_output, + rulesets_RulesetId_output, + rulesets_RulesetKind_output, + rulesets_RulesetPhase_output, + rulesets_RulesetVersion_output, + rulesets_Ruleset_output, + rulesets_ScoreIncrement_output, + rulesets_ScoreRule_action_parameters_output, + rulesets_ScoreRule_output, + rulesets_ServeErrorAssetName_output, + rulesets_ServeErrorContentType_output, + rulesets_ServeErrorContent_output, + rulesets_ServeErrorRule_output, + rulesets_ServeErrorStatusCode_output, + rulesets_SetCacheControlCloudflareOnly_output, + rulesets_SetCacheControlDirectiveWithQualifiers_output, + rulesets_SetCacheControlDirectiveWithValue_output, + rulesets_SetCacheControlDirective_output, + rulesets_SetCacheControlOperation_output, + rulesets_SetCacheControlRule_action_parameters_output, + rulesets_SetCacheControlRule_output, + rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + rulesets_SetCacheSettingsBrowserTTL_output, + rulesets_SetCacheSettingsCacheKey_output, + rulesets_SetCacheSettingsCacheReserve_output, + rulesets_SetCacheSettingsCache_output, + rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + rulesets_SetCacheSettingsCustomCacheKeyHost_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + rulesets_SetCacheSettingsCustomCacheKeyUser_output, + rulesets_SetCacheSettingsCustomCacheKey_output, + rulesets_SetCacheSettingsEdgeTTL_output, + rulesets_SetCacheSettingsOriginCacheControl_output, + rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + rulesets_SetCacheSettingsOriginRangeRequests_output, + rulesets_SetCacheSettingsReadTimeout_output, + rulesets_SetCacheSettingsRespectStrongEtags_output, + rulesets_SetCacheSettingsRule_action_parameters_output, + rulesets_SetCacheSettingsRule_output, + rulesets_SetCacheSettingsServeStale_output, + rulesets_SetCacheSettingsSharedDictionary_output, + rulesets_SetCacheSettingsStatusCodeTTL_output, + rulesets_SetCacheSettingsStripETags_output, + rulesets_SetCacheSettingsStripLastModified_output, + rulesets_SetCacheSettingsStripSetCookie_output, + rulesets_SetCacheSettingsVaryDefault_output, + rulesets_SetCacheSettingsVaryHeader_output, + rulesets_SetCacheSettingsVary_output, + rulesets_SetCacheTagsExpression_output, + rulesets_SetCacheTagsOperation_output, + rulesets_SetCacheTagsRule_action_parameters_output, + rulesets_SetCacheTagsRule_output, + rulesets_SetCacheTagsValues_output, + rulesets_SetConfigAutominify_output, + rulesets_SetConfigRule_action_parameters_output, + rulesets_SetConfigRule_output, + rulesets_SkipPhase_output, + rulesets_SkipPhases_output, + rulesets_SkipProducts_output, + rulesets_SkipRule_action_parameters_output, + rulesets_SkipRule_output, + rulesets_SkipRules_output, + rulesets_SkipRuleset_output, + rulesets_SkipRulesets_output, + rulesets_TransformResponseHTMLRule_action_parameters_output, + rulesets_TransformResponseHTMLRule_output, +} from "../outputs.js"; import { rulesets_BlockRule, rulesets_BlockRule_action_parameters, @@ -194,6 +327,211 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/phases/${pathParam(args, "phase")}/entrypoint`, }), @@ -400,6 +738,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/phases/${pathParam(args, "phase")}/entrypoint`, query: [ diff --git a/src/generated/forge-mcp/rulesets/entrypoint/versions/tools.ts b/src/generated/forge-mcp/rulesets/entrypoint/versions/tools.ts index 8a851bd8..d4a5e7fb 100644 --- a/src/generated/forge-mcp/rulesets/entrypoint/versions/tools.ts +++ b/src/generated/forge-mcp/rulesets/entrypoint/versions/tools.ts @@ -2,6 +2,142 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + rulesets_Errors_output, + rulesets_Message_output, + rulesets_Message_source_output, + rulesets_Messages_output, + rulesets_Response_output, + rulesets_Response_result_output, +} from "../../../outputs.js"; +import { + rulesets_BlockRule_action_parameters_output, + rulesets_BlockRule_action_parameters_response_output, + rulesets_BlockRule_output, + rulesets_ChallengeRule_output, + rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + rulesets_CompressResponseRule_action_parameters_output, + rulesets_CompressResponseRule_output, + rulesets_Cursor_output, + rulesets_DDoSDynamicRule_output, + rulesets_ExecuteCategoryOverrides_output, + rulesets_ExecuteMatchedData_output, + rulesets_ExecuteOverrides_output, + rulesets_ExecuteRuleOverrides_output, + rulesets_ExecuteRule_action_parameters_output, + rulesets_ExecuteRule_output, + rulesets_ExecuteSensitivityLevel_output, + rulesets_ForceConnectionCloseRule_output, + rulesets_JsChallengeRule_output, + rulesets_LogCustomFieldCookieFields_output, + rulesets_LogCustomFieldRawResponseFields_output, + rulesets_LogCustomFieldRequestFields_output, + rulesets_LogCustomFieldResponseFields_output, + rulesets_LogCustomFieldRule_action_parameters_output, + rulesets_LogCustomFieldRule_output, + rulesets_LogCustomFieldTransformedRequestFields_output, + rulesets_LogRule_output, + rulesets_ManagedChallengeRule_output, + rulesets_RedirectFromList_output, + rulesets_RedirectFromValue_output, + rulesets_RedirectFromValue_target_url_output, + rulesets_RedirectRule_action_parameters_output, + rulesets_RedirectRule_output, + rulesets_ResponseRule_output, + rulesets_ResponseRules_output, + rulesets_ResultInfo_cursors_output, + rulesets_ResultInfo_output, + rulesets_RewriteHeaderExpression_output, + rulesets_RewriteHeaderOperation_output, + rulesets_RewriteHeaderValue_output, + rulesets_RewriteHeaders_output, + rulesets_RewriteRule_action_parameters_output, + rulesets_RewriteRule_output, + rulesets_RewriteUriPath_output, + rulesets_RewriteUriQuery_output, + rulesets_RewriteUri_output, + rulesets_RouteHostHeader_output, + rulesets_RouteOrigin_output, + rulesets_RouteRule_action_parameters_output, + rulesets_RouteRule_output, + rulesets_RouteSNI_output, + rulesets_RuleAction_output, + rulesets_RuleCategories_output, + rulesets_RuleCategory_output, + rulesets_RuleEnabled_output, + rulesets_RuleExposedCredentialCheck_output, + rulesets_RuleId_output, + rulesets_RuleLogging_output, + rulesets_RuleRatelimit_output, + rulesets_RulesetId_output, + rulesets_RulesetKind_output, + rulesets_RulesetPhase_output, + rulesets_RulesetVersion_output, + rulesets_Ruleset_output, + rulesets_ScoreIncrement_output, + rulesets_ScoreRule_action_parameters_output, + rulesets_ScoreRule_output, + rulesets_ServeErrorAssetName_output, + rulesets_ServeErrorContentType_output, + rulesets_ServeErrorContent_output, + rulesets_ServeErrorRule_output, + rulesets_ServeErrorStatusCode_output, + rulesets_SetCacheControlCloudflareOnly_output, + rulesets_SetCacheControlDirectiveWithQualifiers_output, + rulesets_SetCacheControlDirectiveWithValue_output, + rulesets_SetCacheControlDirective_output, + rulesets_SetCacheControlOperation_output, + rulesets_SetCacheControlRule_action_parameters_output, + rulesets_SetCacheControlRule_output, + rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + rulesets_SetCacheSettingsBrowserTTL_output, + rulesets_SetCacheSettingsCacheKey_output, + rulesets_SetCacheSettingsCacheReserve_output, + rulesets_SetCacheSettingsCache_output, + rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + rulesets_SetCacheSettingsCustomCacheKeyHost_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + rulesets_SetCacheSettingsCustomCacheKeyUser_output, + rulesets_SetCacheSettingsCustomCacheKey_output, + rulesets_SetCacheSettingsEdgeTTL_output, + rulesets_SetCacheSettingsOriginCacheControl_output, + rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + rulesets_SetCacheSettingsOriginRangeRequests_output, + rulesets_SetCacheSettingsReadTimeout_output, + rulesets_SetCacheSettingsRespectStrongEtags_output, + rulesets_SetCacheSettingsRule_action_parameters_output, + rulesets_SetCacheSettingsRule_output, + rulesets_SetCacheSettingsServeStale_output, + rulesets_SetCacheSettingsSharedDictionary_output, + rulesets_SetCacheSettingsStatusCodeTTL_output, + rulesets_SetCacheSettingsStripETags_output, + rulesets_SetCacheSettingsStripLastModified_output, + rulesets_SetCacheSettingsStripSetCookie_output, + rulesets_SetCacheSettingsVaryDefault_output, + rulesets_SetCacheSettingsVaryHeader_output, + rulesets_SetCacheSettingsVary_output, + rulesets_SetCacheTagsExpression_output, + rulesets_SetCacheTagsOperation_output, + rulesets_SetCacheTagsRule_action_parameters_output, + rulesets_SetCacheTagsRule_output, + rulesets_SetCacheTagsValues_output, + rulesets_SetConfigAutominify_output, + rulesets_SetConfigRule_action_parameters_output, + rulesets_SetConfigRule_output, + rulesets_SkipPhase_output, + rulesets_SkipPhases_output, + rulesets_SkipProducts_output, + rulesets_SkipRule_action_parameters_output, + rulesets_SkipRule_output, + rulesets_SkipRules_output, + rulesets_SkipRuleset_output, + rulesets_SkipRulesets_output, + rulesets_TransformResponseHTMLRule_action_parameters_output, + rulesets_TransformResponseHTMLRule_output, +} from "../../outputs.js"; /** * The tools of `rulesets.entrypoint.versions`. @@ -77,6 +213,211 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/phases/${pathParam(args, "phase")}/entrypoint/versions/${pathParam(args, "ruleset_version")}`, }), @@ -146,6 +487,98 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + } + }, + "required": [ + "kind", + "name", + "phase" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/rulesets_ResultInfo" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Cursor": rulesets_Cursor_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_ResultInfo": rulesets_ResultInfo_output, + "rulesets_ResultInfo_cursors": rulesets_ResultInfo_cursors_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/phases/${pathParam(args, "phase")}/entrypoint/versions`, }), diff --git a/src/generated/forge-mcp/rulesets/outputs.ts b/src/generated/forge-mcp/rulesets/outputs.ts new file mode 100644 index 00000000..576a615d --- /dev/null +++ b/src/generated/forge-mcp/rulesets/outputs.ts @@ -0,0 +1,4468 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `rulesets_BlockRule` in responses. + */ +export const rulesets_BlockRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "block" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_BlockRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_BlockRule_action_parameters` in responses. + */ +export const rulesets_BlockRule_action_parameters_output: JsonSchema = { + "properties": { + "response": { + "$ref": "#/$defs/rulesets_BlockRule_action_parameters_response" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_BlockRule_action_parameters_response` in responses. + */ +export const rulesets_BlockRule_action_parameters_response_output: JsonSchema = { + "properties": { + "content": { + "type": "string" + }, + "content_type": { + "type": "string" + }, + "status_code": { + "type": "integer" + } + }, + "required": [ + "content", + "content_type", + "status_code" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ChallengeRule` in responses. + */ +export const rulesets_ChallengeRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "challenge" + ], + "type": "string" + }, + "action_parameters": { + "type": "object" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_CompressResponseRule` in responses. + */ +export const rulesets_CompressResponseRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "compress_response" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_CompressResponseRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_CompressResponseRule_action_parameters` in responses. + */ +export const rulesets_CompressResponseRule_action_parameters_output: JsonSchema = { + "properties": { + "algorithms": { + "items": { + "$ref": "#/$defs/rulesets_CompressResponseRule_action_parameters_algorithmsItem" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "algorithms" + ], + "type": "object" +}; + +/** + * The schema of + * `rulesets_CompressResponseRule_action_parameters_algorithmsItem` in + * responses. + */ +export const rulesets_CompressResponseRule_action_parameters_algorithmsItem_output: JsonSchema = { + "properties": { + "name": { + "enum": [ + "none", + "auto", + "default", + "gzip", + "brotli", + "zstd" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_Cursor` in responses. + */ +export const rulesets_Cursor_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_DDoSDynamicRule` in responses. + */ +export const rulesets_DDoSDynamicRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "ddos_dynamic" + ], + "type": "string" + }, + "action_parameters": { + "type": "object" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ExecuteCategoryOverrides` in responses. + */ +export const rulesets_ExecuteCategoryOverrides_output: JsonSchema = { + "items": { + "properties": { + "action": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleAction" + }, + { + "type": "string" + } + ] + }, + "category": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleCategory" + }, + { + "type": "string" + } + ] + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "sensitivity_level": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ExecuteSensitivityLevel" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "category" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_ExecuteMatchedData` in responses. + */ +export const rulesets_ExecuteMatchedData_output: JsonSchema = { + "properties": { + "public_key": { + "type": "string" + } + }, + "required": [ + "public_key" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ExecuteOverrides` in responses. + */ +export const rulesets_ExecuteOverrides_output: JsonSchema = { + "properties": { + "action": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleAction" + }, + { + "type": "string" + } + ] + }, + "categories": { + "$ref": "#/$defs/rulesets_ExecuteCategoryOverrides" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "rules": { + "$ref": "#/$defs/rulesets_ExecuteRuleOverrides" + }, + "sensitivity_level": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ExecuteSensitivityLevel" + }, + { + "type": "string" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_ExecuteRule` in responses. + */ +export const rulesets_ExecuteRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "execute" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_ExecuteRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ExecuteRuleOverrides` in responses. + */ +export const rulesets_ExecuteRuleOverrides_output: JsonSchema = { + "items": { + "properties": { + "action": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleAction" + }, + { + "type": "string" + } + ] + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "id": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleId" + }, + { + "type": "string" + } + ] + }, + "score_threshold": { + "type": "integer" + }, + "sensitivity_level": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ExecuteSensitivityLevel" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_ExecuteRule_action_parameters` in responses. + */ +export const rulesets_ExecuteRule_action_parameters_output: JsonSchema = { + "properties": { + "id": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RulesetId" + }, + { + "type": "string" + } + ] + }, + "matched_data": { + "$ref": "#/$defs/rulesets_ExecuteMatchedData" + }, + "overrides": { + "$ref": "#/$defs/rulesets_ExecuteOverrides" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ExecuteSensitivityLevel` in responses. + */ +export const rulesets_ExecuteSensitivityLevel_output: JsonSchema = { + "enum": [ + "default", + "medium", + "low", + "eoff" + ], + "type": "string" +}; + +/** + * The schema of `rulesets_ForceConnectionCloseRule` in responses. + */ +export const rulesets_ForceConnectionCloseRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "force_connection_close" + ], + "type": "string" + }, + "action_parameters": { + "type": "object" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_JsChallengeRule` in responses. + */ +export const rulesets_JsChallengeRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "js_challenge" + ], + "type": "string" + }, + "action_parameters": { + "type": "object" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_LogCustomFieldCookieFields` in responses. + */ +export const rulesets_LogCustomFieldCookieFields_output: JsonSchema = { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_LogCustomFieldRawResponseFields` in responses. + */ +export const rulesets_LogCustomFieldRawResponseFields_output: JsonSchema = { + "items": { + "properties": { + "name": { + "type": "string" + }, + "preserve_duplicates": { + "type": "boolean" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_LogCustomFieldRequestFields` in responses. + */ +export const rulesets_LogCustomFieldRequestFields_output: JsonSchema = { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_LogCustomFieldResponseFields` in responses. + */ +export const rulesets_LogCustomFieldResponseFields_output: JsonSchema = { + "items": { + "properties": { + "name": { + "type": "string" + }, + "preserve_duplicates": { + "type": "boolean" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_LogCustomFieldRule` in responses. + */ +export const rulesets_LogCustomFieldRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "log_custom_field" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_LogCustomFieldRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_LogCustomFieldRule_action_parameters` in responses. + */ +export const rulesets_LogCustomFieldRule_action_parameters_output: JsonSchema = { + "properties": { + "cookie_fields": { + "$ref": "#/$defs/rulesets_LogCustomFieldCookieFields" + }, + "raw_response_fields": { + "$ref": "#/$defs/rulesets_LogCustomFieldRawResponseFields" + }, + "request_fields": { + "$ref": "#/$defs/rulesets_LogCustomFieldRequestFields" + }, + "response_fields": { + "$ref": "#/$defs/rulesets_LogCustomFieldResponseFields" + }, + "transformed_request_fields": { + "$ref": "#/$defs/rulesets_LogCustomFieldTransformedRequestFields" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_LogCustomFieldTransformedRequestFields` in responses. + */ +export const rulesets_LogCustomFieldTransformedRequestFields_output: JsonSchema = { + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_LogRule` in responses. + */ +export const rulesets_LogRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "log" + ], + "type": "string" + }, + "action_parameters": { + "type": "object" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ManagedChallengeRule` in responses. + */ +export const rulesets_ManagedChallengeRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "managed_challenge" + ], + "type": "string" + }, + "action_parameters": { + "type": "object" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RedirectFromList` in responses. + */ +export const rulesets_RedirectFromList_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "key", + "name" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RedirectFromValue` in responses. + */ +export const rulesets_RedirectFromValue_output: JsonSchema = { + "properties": { + "preserve_query_string": { + "type": "boolean" + }, + "status_code": { + "enum": [ + 301, + 302, + 303, + 307, + 308 + ], + "type": "integer" + }, + "target_url": { + "$ref": "#/$defs/rulesets_RedirectFromValue_target_url" + } + }, + "required": [ + "target_url" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RedirectFromValue_target_url` in responses. + */ +export const rulesets_RedirectFromValue_target_url_output: JsonSchema = { + "properties": { + "expression": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_RedirectRule` in responses. + */ +export const rulesets_RedirectRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "redirect" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_RedirectRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RedirectRule_action_parameters` in responses. + */ +export const rulesets_RedirectRule_action_parameters_output: JsonSchema = { + "properties": { + "from_list": { + "$ref": "#/$defs/rulesets_RedirectFromList" + }, + "from_value": { + "$ref": "#/$defs/rulesets_RedirectFromValue" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_ResponseRule` in responses. + */ +export const rulesets_ResponseRule_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_BlockRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ChallengeRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_CompressResponseRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_DDoSDynamicRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ExecuteRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ForceConnectionCloseRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_JsChallengeRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_LogRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_LogCustomFieldRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ManagedChallengeRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RedirectRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RewriteRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RouteRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ScoreRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_ServeErrorRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheControlRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheSettingsRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheTagsRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetConfigRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SkipRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_TransformResponseHTMLRule" + }, + { + "properties": { + "action": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "action", + "enabled", + "expression", + "id", + "ref" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `rulesets_ResponseRules` in responses. + */ +export const rulesets_ResponseRules_output: JsonSchema = { + "items": { + "$ref": "#/$defs/rulesets_ResponseRule" + }, + "type": "array" +}; + +/** + * The schema of `rulesets_ResultInfo` in responses. + */ +export const rulesets_ResultInfo_output: JsonSchema = { + "properties": { + "cursors": { + "$ref": "#/$defs/rulesets_ResultInfo_cursors" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_ResultInfo_cursors` in responses. + */ +export const rulesets_ResultInfo_cursors_output: JsonSchema = { + "properties": { + "after": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Cursor" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "after" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RewriteHeaderExpression` in responses. + */ +export const rulesets_RewriteHeaderExpression_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_RewriteHeaderOperation` in responses. + */ +export const rulesets_RewriteHeaderOperation_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_RewriteHeaderValue` in responses. + */ +export const rulesets_RewriteHeaderValue_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_RewriteHeaders` in responses. + */ +export const rulesets_RewriteHeaders_output: JsonSchema = { + "additionalProperties": { + "oneOf": [ + { + "properties": { + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + }, + { + "enum": [ + "add" + ], + "type": "string" + } + ] + }, + "value": { + "$ref": "#/$defs/rulesets_RewriteHeaderValue" + } + }, + "required": [ + "operation", + "value" + ], + "type": "object" + }, + { + "properties": { + "expression": { + "$ref": "#/$defs/rulesets_RewriteHeaderExpression" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + }, + { + "enum": [ + "add" + ], + "type": "string" + } + ] + } + }, + "required": [ + "expression", + "operation" + ], + "type": "object" + }, + { + "properties": { + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + }, + { + "enum": [ + "set" + ], + "type": "string" + } + ] + }, + "value": { + "$ref": "#/$defs/rulesets_RewriteHeaderValue" + } + }, + "required": [ + "operation", + "value" + ], + "type": "object" + }, + { + "properties": { + "expression": { + "$ref": "#/$defs/rulesets_RewriteHeaderExpression" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + }, + { + "enum": [ + "set" + ], + "type": "string" + } + ] + } + }, + "required": [ + "expression", + "operation" + ], + "type": "object" + }, + { + "properties": { + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + }, + { + "enum": [ + "remove" + ], + "type": "string" + } + ] + } + }, + "required": [ + "operation" + ], + "type": "object" + } + ] + }, + "type": "object" +}; + +/** + * The schema of `rulesets_RewriteRule` in responses. + */ +export const rulesets_RewriteRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "rewrite" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_RewriteRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RewriteRule_action_parameters` in responses. + */ +export const rulesets_RewriteRule_action_parameters_output: JsonSchema = { + "properties": { + "headers": { + "$ref": "#/$defs/rulesets_RewriteHeaders" + }, + "uri": { + "$ref": "#/$defs/rulesets_RewriteUri" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_RewriteUri` in responses. + */ +export const rulesets_RewriteUri_output: JsonSchema = { + "allOf": [ + { + "anyOf": [ + { + "properties": { + "path": { + "$ref": "#/$defs/rulesets_RewriteUriPath" + } + }, + "required": [ + "path" + ], + "type": "object" + }, + { + "properties": { + "query": { + "$ref": "#/$defs/rulesets_RewriteUriQuery" + } + }, + "required": [ + "query" + ], + "type": "object" + } + ] + }, + { + "properties": { + "origin": { + "type": "boolean" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `rulesets_RewriteUriPath` in responses. + */ +export const rulesets_RewriteUriPath_output: JsonSchema = { + "properties": { + "expression": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_RewriteUriQuery` in responses. + */ +export const rulesets_RewriteUriQuery_output: JsonSchema = { + "properties": { + "expression": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_RouteHostHeader` in responses. + */ +export const rulesets_RouteHostHeader_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_RouteOrigin` in responses. + */ +export const rulesets_RouteOrigin_output: JsonSchema = { + "properties": { + "host": { + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_RouteRule` in responses. + */ +export const rulesets_RouteRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "route" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_RouteRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RouteRule_action_parameters` in responses. + */ +export const rulesets_RouteRule_action_parameters_output: JsonSchema = { + "properties": { + "host_header": { + "$ref": "#/$defs/rulesets_RouteHostHeader" + }, + "origin": { + "$ref": "#/$defs/rulesets_RouteOrigin" + }, + "sni": { + "$ref": "#/$defs/rulesets_RouteSNI" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_RouteSNI` in responses. + */ +export const rulesets_RouteSNI_output: JsonSchema = { + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RuleAction` in responses. + */ +export const rulesets_RuleAction_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_RuleCategories` in responses. + */ +export const rulesets_RuleCategories_output: JsonSchema = { + "items": { + "$ref": "#/$defs/rulesets_RuleCategory" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_RuleCategory` in responses. + */ +export const rulesets_RuleCategory_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_RuleEnabled` in responses. + */ +export const rulesets_RuleEnabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rulesets_RuleExposedCredentialCheck` in responses. + */ +export const rulesets_RuleExposedCredentialCheck_output: JsonSchema = { + "properties": { + "password_expression": { + "type": "string" + }, + "username_expression": { + "type": "string" + } + }, + "required": [ + "password_expression", + "username_expression" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RuleId` in responses. + */ +export const rulesets_RuleId_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_RuleLogging` in responses. + */ +export const rulesets_RuleLogging_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RuleRatelimit` in responses. + */ +export const rulesets_RuleRatelimit_output: JsonSchema = { + "properties": { + "characteristics": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "counting_expression": { + "type": "string" + }, + "mitigation_timeout": { + "type": "integer" + }, + "period": { + "type": "integer" + }, + "requests_per_period": { + "type": "integer" + }, + "requests_to_origin": { + "type": "boolean" + }, + "score_per_period": { + "type": "integer" + }, + "score_response_header_name": { + "type": "string" + } + }, + "required": [ + "characteristics", + "period" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_Ruleset` in responses. + */ +export const rulesets_Ruleset_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "id": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RulesetId" + }, + { + "type": "string" + } + ] + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RulesetVersion" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "id", + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_RulesetId` in responses. + */ +export const rulesets_RulesetId_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_RulesetKind` in responses. + */ +export const rulesets_RulesetKind_output: JsonSchema = { + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" +}; + +/** + * The schema of `rulesets_RulesetPhase` in responses. + */ +export const rulesets_RulesetPhase_output: JsonSchema = { + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" +}; + +/** + * The schema of `rulesets_RulesetVersion` in responses. + */ +export const rulesets_RulesetVersion_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_ScoreIncrement` in responses. + */ +export const rulesets_ScoreIncrement_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `rulesets_ScoreRule` in responses. + */ +export const rulesets_ScoreRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "score" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_ScoreRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ScoreRule_action_parameters` in responses. + */ +export const rulesets_ScoreRule_action_parameters_output: JsonSchema = { + "properties": { + "increment": { + "$ref": "#/$defs/rulesets_ScoreIncrement" + } + }, + "required": [ + "increment" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ServeErrorAssetName` in responses. + */ +export const rulesets_ServeErrorAssetName_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_ServeErrorContent` in responses. + */ +export const rulesets_ServeErrorContent_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_ServeErrorContentType` in responses. + */ +export const rulesets_ServeErrorContentType_output: JsonSchema = { + "enum": [ + "application/json", + "text/html", + "text/plain", + "text/xml" + ], + "type": "string" +}; + +/** + * The schema of `rulesets_ServeErrorRule` in responses. + */ +export const rulesets_ServeErrorRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "serve_error" + ], + "type": "string" + }, + "action_parameters": { + "allOf": [ + { + "properties": { + "content_type": { + "$ref": "#/$defs/rulesets_ServeErrorContentType" + }, + "status_code": { + "$ref": "#/$defs/rulesets_ServeErrorStatusCode" + } + }, + "required": [ + "content_type" + ], + "type": "object" + }, + { + "oneOf": [ + { + "properties": { + "content": { + "$ref": "#/$defs/rulesets_ServeErrorContent" + } + }, + "required": [ + "content" + ], + "type": "object" + }, + { + "properties": { + "asset_name": { + "$ref": "#/$defs/rulesets_ServeErrorAssetName" + } + }, + "required": [ + "asset_name" + ], + "type": "object" + } + ] + } + ] + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_ServeErrorStatusCode` in responses. + */ +export const rulesets_ServeErrorStatusCode_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `rulesets_SetCacheControlCloudflareOnly` in responses. + */ +export const rulesets_SetCacheControlCloudflareOnly_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rulesets_SetCacheControlDirective` in responses. + */ +export const rulesets_SetCacheControlDirective_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "cloudflare_only": { + "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheControlOperation" + }, + { + "enum": [ + "set" + ], + "type": "string" + } + ] + } + }, + "required": [ + "operation" + ], + "type": "object" + }, + { + "properties": { + "cloudflare_only": { + "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheControlOperation" + }, + { + "enum": [ + "remove" + ], + "type": "string" + } + ] + } + }, + "required": [ + "operation" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `rulesets_SetCacheControlDirectiveWithQualifiers` in responses. + */ +export const rulesets_SetCacheControlDirectiveWithQualifiers_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "cloudflare_only": { + "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheControlOperation" + }, + { + "enum": [ + "set" + ], + "type": "string" + } + ] + }, + "qualifiers": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "operation" + ], + "type": "object" + }, + { + "properties": { + "cloudflare_only": { + "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheControlOperation" + }, + { + "enum": [ + "remove" + ], + "type": "string" + } + ] + } + }, + "required": [ + "operation" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `rulesets_SetCacheControlDirectiveWithValue` in responses. + */ +export const rulesets_SetCacheControlDirectiveWithValue_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "cloudflare_only": { + "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheControlOperation" + }, + { + "enum": [ + "set" + ], + "type": "string" + } + ] + }, + "value": { + "type": "integer" + } + }, + "required": [ + "operation", + "value" + ], + "type": "object" + }, + { + "properties": { + "cloudflare_only": { + "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheControlOperation" + }, + { + "enum": [ + "remove" + ], + "type": "string" + } + ] + } + }, + "required": [ + "operation" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `rulesets_SetCacheControlOperation` in responses. + */ +export const rulesets_SetCacheControlOperation_output: JsonSchema = { + "enum": [ + "set", + "remove" + ], + "type": "string" +}; + +/** + * The schema of `rulesets_SetCacheControlRule` in responses. + */ +export const rulesets_SetCacheControlRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "set_cache_control" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_SetCacheControlRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheControlRule_action_parameters` in responses. + */ +export const rulesets_SetCacheControlRule_action_parameters_output: JsonSchema = { + "properties": { + "immutable": { + "$ref": "#/$defs/rulesets_SetCacheControlDirective" + }, + "max-age": { + "$ref": "#/$defs/rulesets_SetCacheControlDirectiveWithValue" + }, + "must-revalidate": { + "$ref": "#/$defs/rulesets_SetCacheControlDirective" + }, + "must-understand": { + "$ref": "#/$defs/rulesets_SetCacheControlDirective" + }, + "no-cache": { + "$ref": "#/$defs/rulesets_SetCacheControlDirectiveWithQualifiers" + }, + "no-store": { + "$ref": "#/$defs/rulesets_SetCacheControlDirective" + }, + "no-transform": { + "$ref": "#/$defs/rulesets_SetCacheControlDirective" + }, + "private": { + "$ref": "#/$defs/rulesets_SetCacheControlDirectiveWithQualifiers" + }, + "proxy-revalidate": { + "$ref": "#/$defs/rulesets_SetCacheControlDirective" + }, + "public": { + "$ref": "#/$defs/rulesets_SetCacheControlDirective" + }, + "s-maxage": { + "$ref": "#/$defs/rulesets_SetCacheControlDirectiveWithValue" + }, + "stale-if-error": { + "$ref": "#/$defs/rulesets_SetCacheControlDirectiveWithValue" + }, + "stale-while-revalidate": { + "$ref": "#/$defs/rulesets_SetCacheControlDirectiveWithValue" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsAdditionalCacheablePorts` in + * responses. + */ +export const rulesets_SetCacheSettingsAdditionalCacheablePorts_output: JsonSchema = { + "items": { + "type": "integer" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_SetCacheSettingsBrowserTTL` in responses. + */ +export const rulesets_SetCacheSettingsBrowserTTL_output: JsonSchema = { + "properties": { + "default": { + "type": "integer" + }, + "mode": { + "enum": [ + "respect_origin", + "bypass_by_default", + "override_origin", + "bypass" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCache` in responses. + */ +export const rulesets_SetCacheSettingsCache_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCacheKey` in responses. + */ +export const rulesets_SetCacheSettingsCacheKey_output: JsonSchema = { + "properties": { + "cache_by_device_type": { + "type": "boolean" + }, + "cache_deception_armor": { + "type": "boolean" + }, + "custom_key": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCustomCacheKey" + }, + "ignore_query_strings_order": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCacheReserve` in responses. + */ +export const rulesets_SetCacheSettingsCacheReserve_output: JsonSchema = { + "properties": { + "eligible": { + "type": "boolean" + }, + "minimum_file_size": { + "type": "integer" + } + }, + "required": [ + "eligible" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCustomCacheKey` in responses. + */ +export const rulesets_SetCacheSettingsCustomCacheKey_output: JsonSchema = { + "properties": { + "cookie": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCustomCacheKeyCookie" + }, + "header": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCustomCacheKeyHeader" + }, + "host": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCustomCacheKeyHost" + }, + "query_string": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCustomCacheKeyQueryString" + }, + "user": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCustomCacheKeyUser" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCustomCacheKeyCookie` in responses. + */ +export const rulesets_SetCacheSettingsCustomCacheKeyCookie_output: JsonSchema = { + "properties": { + "check_presence": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "include": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCustomCacheKeyHeader` in responses. + */ +export const rulesets_SetCacheSettingsCustomCacheKeyHeader_output: JsonSchema = { + "properties": { + "check_presence": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "contains": { + "additionalProperties": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "type": "object" + }, + "exclude_origin": { + "type": "boolean" + }, + "include": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCustomCacheKeyHost` in responses. + */ +export const rulesets_SetCacheSettingsCustomCacheKeyHost_output: JsonSchema = { + "properties": { + "resolved": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCustomCacheKeyQueryString` in + * responses. + */ +export const rulesets_SetCacheSettingsCustomCacheKeyQueryString_output: JsonSchema = { + "properties": { + "exclude": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude" + }, + "include": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCustomCacheKeyQueryString_include" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude` in + * responses. + */ +export const rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output: JsonSchema = { + "properties": { + "all": { + "enum": [ + true + ], + "type": "boolean" + }, + "list": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCustomCacheKeyQueryString_include` in + * responses. + */ +export const rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output: JsonSchema = { + "properties": { + "all": { + "enum": [ + true + ], + "type": "boolean" + }, + "list": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsCustomCacheKeyUser` in responses. + */ +export const rulesets_SetCacheSettingsCustomCacheKeyUser_output: JsonSchema = { + "properties": { + "device_type": { + "type": "boolean" + }, + "geo": { + "type": "boolean" + }, + "lang": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsEdgeTTL` in responses. + */ +export const rulesets_SetCacheSettingsEdgeTTL_output: JsonSchema = { + "properties": { + "default": { + "type": "integer" + }, + "mode": { + "enum": [ + "respect_origin", + "bypass_by_default", + "override_origin" + ], + "type": "string" + }, + "status_code_ttl": { + "$ref": "#/$defs/rulesets_SetCacheSettingsStatusCodeTTL" + } + }, + "required": [ + "mode" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsOriginCacheControl` in responses. + */ +export const rulesets_SetCacheSettingsOriginCacheControl_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rulesets_SetCacheSettingsOriginErrorPagePassthru` in + * responses. + */ +export const rulesets_SetCacheSettingsOriginErrorPagePassthru_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rulesets_SetCacheSettingsOriginRangeRequests` in responses. + */ +export const rulesets_SetCacheSettingsOriginRangeRequests_output: JsonSchema = { + "properties": { + "mode": { + "enum": [ + "on", + "off", + "default" + ], + "type": "string" + } + }, + "required": [ + "mode" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsReadTimeout` in responses. + */ +export const rulesets_SetCacheSettingsReadTimeout_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `rulesets_SetCacheSettingsRespectStrongEtags` in responses. + */ +export const rulesets_SetCacheSettingsRespectStrongEtags_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rulesets_SetCacheSettingsRule` in responses. + */ +export const rulesets_SetCacheSettingsRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "set_cache_settings" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_SetCacheSettingsRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsRule_action_parameters` in responses. + */ +export const rulesets_SetCacheSettingsRule_action_parameters_output: JsonSchema = { + "properties": { + "additional_cacheable_ports": { + "$ref": "#/$defs/rulesets_SetCacheSettingsAdditionalCacheablePorts" + }, + "browser_ttl": { + "$ref": "#/$defs/rulesets_SetCacheSettingsBrowserTTL" + }, + "cache": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCache" + }, + "cache_key": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCacheKey" + }, + "cache_reserve": { + "$ref": "#/$defs/rulesets_SetCacheSettingsCacheReserve" + }, + "edge_ttl": { + "$ref": "#/$defs/rulesets_SetCacheSettingsEdgeTTL" + }, + "origin_cache_control": { + "$ref": "#/$defs/rulesets_SetCacheSettingsOriginCacheControl" + }, + "origin_error_page_passthru": { + "$ref": "#/$defs/rulesets_SetCacheSettingsOriginErrorPagePassthru" + }, + "origin_range_requests": { + "$ref": "#/$defs/rulesets_SetCacheSettingsOriginRangeRequests" + }, + "read_timeout": { + "$ref": "#/$defs/rulesets_SetCacheSettingsReadTimeout" + }, + "respect_strong_etags": { + "$ref": "#/$defs/rulesets_SetCacheSettingsRespectStrongEtags" + }, + "serve_stale": { + "$ref": "#/$defs/rulesets_SetCacheSettingsServeStale" + }, + "shared_dictionary": { + "$ref": "#/$defs/rulesets_SetCacheSettingsSharedDictionary" + }, + "strip_etags": { + "$ref": "#/$defs/rulesets_SetCacheSettingsStripETags" + }, + "strip_last_modified": { + "$ref": "#/$defs/rulesets_SetCacheSettingsStripLastModified" + }, + "strip_set_cookie": { + "$ref": "#/$defs/rulesets_SetCacheSettingsStripSetCookie" + }, + "vary": { + "$ref": "#/$defs/rulesets_SetCacheSettingsVary" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsServeStale` in responses. + */ +export const rulesets_SetCacheSettingsServeStale_output: JsonSchema = { + "properties": { + "disable_stale_while_updating": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsSharedDictionary` in responses. + */ +export const rulesets_SetCacheSettingsSharedDictionary_output: JsonSchema = { + "properties": { + "match_pattern": { + "type": "string" + } + }, + "required": [ + "match_pattern" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsStatusCodeTTL` in responses. + */ +export const rulesets_SetCacheSettingsStatusCodeTTL_output: JsonSchema = { + "items": { + "properties": { + "status_code": { + "type": "integer" + }, + "status_code_range": { + "properties": { + "from": { + "type": "integer" + }, + "to": { + "type": "integer" + } + }, + "type": "object" + }, + "value": { + "type": "integer" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_SetCacheSettingsStripETags` in responses. + */ +export const rulesets_SetCacheSettingsStripETags_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rulesets_SetCacheSettingsStripLastModified` in responses. + */ +export const rulesets_SetCacheSettingsStripLastModified_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rulesets_SetCacheSettingsStripSetCookie` in responses. + */ +export const rulesets_SetCacheSettingsStripSetCookie_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rulesets_SetCacheSettingsVary` in responses. + */ +export const rulesets_SetCacheSettingsVary_output: JsonSchema = { + "properties": { + "default": { + "$ref": "#/$defs/rulesets_SetCacheSettingsVaryDefault" + }, + "headers": { + "additionalProperties": { + "$ref": "#/$defs/rulesets_SetCacheSettingsVaryHeader" + }, + "type": "object" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsVaryDefault` in responses. + */ +export const rulesets_SetCacheSettingsVaryDefault_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "bypass", + "passthrough", + "normalize" + ], + "type": "string" + } + }, + "required": [ + "action" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheSettingsVaryHeader` in responses. + */ +export const rulesets_SetCacheSettingsVaryHeader_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "bypass", + "passthrough", + "normalize" + ], + "type": "string" + }, + "languages": { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "media_types": { + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + } + }, + "required": [ + "action" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheTagsExpression` in responses. + */ +export const rulesets_SetCacheTagsExpression_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rulesets_SetCacheTagsOperation` in responses. + */ +export const rulesets_SetCacheTagsOperation_output: JsonSchema = { + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" +}; + +/** + * The schema of `rulesets_SetCacheTagsRule` in responses. + */ +export const rulesets_SetCacheTagsRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "set_cache_tags" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_SetCacheTagsRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetCacheTagsRule_action_parameters` in responses. + */ +export const rulesets_SetCacheTagsRule_action_parameters_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + }, + { + "enum": [ + "add" + ], + "type": "string" + } + ] + }, + "values": { + "$ref": "#/$defs/rulesets_SetCacheTagsValues" + } + }, + "required": [ + "operation", + "values" + ], + "type": "object" + }, + { + "properties": { + "expression": { + "$ref": "#/$defs/rulesets_SetCacheTagsExpression" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + }, + { + "enum": [ + "add" + ], + "type": "string" + } + ] + } + }, + "required": [ + "expression", + "operation" + ], + "type": "object" + }, + { + "properties": { + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + }, + { + "enum": [ + "remove" + ], + "type": "string" + } + ] + }, + "values": { + "$ref": "#/$defs/rulesets_SetCacheTagsValues" + } + }, + "required": [ + "operation", + "values" + ], + "type": "object" + }, + { + "properties": { + "expression": { + "$ref": "#/$defs/rulesets_SetCacheTagsExpression" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + }, + { + "enum": [ + "remove" + ], + "type": "string" + } + ] + } + }, + "required": [ + "expression", + "operation" + ], + "type": "object" + }, + { + "properties": { + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + }, + { + "enum": [ + "set" + ], + "type": "string" + } + ] + }, + "values": { + "$ref": "#/$defs/rulesets_SetCacheTagsValues" + } + }, + "required": [ + "operation", + "values" + ], + "type": "object" + }, + { + "properties": { + "expression": { + "$ref": "#/$defs/rulesets_SetCacheTagsExpression" + }, + "operation": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + }, + { + "enum": [ + "set" + ], + "type": "string" + } + ] + } + }, + "required": [ + "expression", + "operation" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `rulesets_SetCacheTagsValues` in responses. + */ +export const rulesets_SetCacheTagsValues_output: JsonSchema = { + "items": { + "type": "string" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_SetConfigAutominify` in responses. + */ +export const rulesets_SetConfigAutominify_output: JsonSchema = { + "properties": { + "css": { + "type": "boolean" + }, + "html": { + "type": "boolean" + }, + "js": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SetConfigRule` in responses. + */ +export const rulesets_SetConfigRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "set_config" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_SetConfigRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SetConfigRule_action_parameters` in responses. + */ +export const rulesets_SetConfigRule_action_parameters_output: JsonSchema = { + "properties": { + "automatic_https_rewrites": { + "type": "boolean" + }, + "autominify": { + "$ref": "#/$defs/rulesets_SetConfigAutominify" + }, + "bic": { + "type": "boolean" + }, + "content_converter": { + "type": "boolean" + }, + "disable_apps": { + "enum": [ + true + ], + "type": "boolean" + }, + "disable_pay_per_crawl": { + "enum": [ + true + ], + "type": "boolean" + }, + "disable_rum": { + "enum": [ + true + ], + "type": "boolean" + }, + "disable_zaraz": { + "enum": [ + true + ], + "type": "boolean" + }, + "email_obfuscation": { + "type": "boolean" + }, + "fonts": { + "type": "boolean" + }, + "hotlink_protection": { + "type": "boolean" + }, + "mirage": { + "type": "boolean" + }, + "opportunistic_encryption": { + "type": "boolean" + }, + "polish": { + "enum": [ + "off", + "lossless", + "lossy", + "webp" + ], + "type": "string" + }, + "redirects_for_ai_training": { + "type": "boolean" + }, + "request_body_buffering": { + "enum": [ + "none", + "standard", + "full" + ], + "type": "string" + }, + "response_body_buffering": { + "enum": [ + "none", + "standard" + ], + "type": "string" + }, + "rocket_loader": { + "type": "boolean" + }, + "security_level": { + "enum": [ + "off", + "essentially_off", + "low", + "medium", + "high", + "under_attack" + ], + "type": "string" + }, + "server_side_excludes": { + "type": "boolean" + }, + "ssl": { + "enum": [ + "off", + "flexible", + "full", + "strict", + "origin_pull" + ], + "type": "string" + }, + "sxg": { + "type": "boolean" + }, + "webmcp_enabled": { + "type": "boolean" + }, + "webmcp_packs": { + "items": { + "type": "string" + }, + "maxItems": 100, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SkipPhase` in responses. + */ +export const rulesets_SkipPhase_output: JsonSchema = { + "enum": [ + "current" + ], + "type": "string" +}; + +/** + * The schema of `rulesets_SkipPhases` in responses. + */ +export const rulesets_SkipPhases_output: JsonSchema = { + "items": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_SkipProducts` in responses. + */ +export const rulesets_SkipProducts_output: JsonSchema = { + "items": { + "enum": [ + "bic", + "hot", + "rateLimit", + "securityLevel", + "uaBlock", + "waf", + "zoneLockdown" + ], + "type": "string" + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_SkipRule` in responses. + */ +export const rulesets_SkipRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "skip" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_SkipRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_SkipRule_action_parameters` in responses. + */ +export const rulesets_SkipRule_action_parameters_output: JsonSchema = { + "properties": { + "phase": { + "$ref": "#/$defs/rulesets_SkipPhase" + }, + "phases": { + "$ref": "#/$defs/rulesets_SkipPhases" + }, + "products": { + "$ref": "#/$defs/rulesets_SkipProducts" + }, + "rules": { + "$ref": "#/$defs/rulesets_SkipRules" + }, + "ruleset": { + "$ref": "#/$defs/rulesets_SkipRuleset" + }, + "rulesets": { + "$ref": "#/$defs/rulesets_SkipRulesets" + } + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SkipRules` in responses. + */ +export const rulesets_SkipRules_output: JsonSchema = { + "additionalProperties": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleId" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "type": "array" + }, + "type": "object" +}; + +/** + * The schema of `rulesets_SkipRuleset` in responses. + */ +export const rulesets_SkipRuleset_output: JsonSchema = { + "enum": [ + "current" + ], + "type": "string" +}; + +/** + * The schema of `rulesets_SkipRulesets` in responses. + */ +export const rulesets_SkipRulesets_output: JsonSchema = { + "items": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RulesetId" + }, + { + "type": "string" + } + ] + }, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `rulesets_TransformResponseHTMLRule` in responses. + */ +export const rulesets_TransformResponseHTMLRule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "transform_response_html" + ], + "type": "string" + }, + "action_parameters": { + "$ref": "#/$defs/rulesets_TransformResponseHTMLRule_action_parameters" + }, + "categories": { + "$ref": "#/$defs/rulesets_RuleCategories" + }, + "description": { + "type": "string" + }, + "enabled": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_RuleEnabled" + }, + { + "type": "boolean" + } + ] + }, + "exposed_credential_check": { + "$ref": "#/$defs/rulesets_RuleExposedCredentialCheck" + }, + "expression": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rulesets_RuleId" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "logging": { + "$ref": "#/$defs/rulesets_RuleLogging" + }, + "ratelimit": { + "$ref": "#/$defs/rulesets_RuleRatelimit" + }, + "ref": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "last_updated", + "version" + ], + "type": "object" +}; + +/** + * The schema of `rulesets_TransformResponseHTMLRule_action_parameters` in + * responses. + */ +export const rulesets_TransformResponseHTMLRule_action_parameters_output: JsonSchema = { + "properties": { + "link_maze": { + "type": "object" + } + }, + "required": [ + "link_maze" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/rulesets/rules/tools.ts b/src/generated/forge-mcp/rulesets/rules/tools.ts index 34ad4283..6027f58f 100644 --- a/src/generated/forge-mcp/rulesets/rules/tools.ts +++ b/src/generated/forge-mcp/rulesets/rules/tools.ts @@ -2,6 +2,139 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + rulesets_Errors_output, + rulesets_Message_output, + rulesets_Message_source_output, + rulesets_Messages_output, + rulesets_Response_output, + rulesets_Response_result_output, +} from "../../outputs.js"; +import { + rulesets_BlockRule_action_parameters_output, + rulesets_BlockRule_action_parameters_response_output, + rulesets_BlockRule_output, + rulesets_ChallengeRule_output, + rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + rulesets_CompressResponseRule_action_parameters_output, + rulesets_CompressResponseRule_output, + rulesets_DDoSDynamicRule_output, + rulesets_ExecuteCategoryOverrides_output, + rulesets_ExecuteMatchedData_output, + rulesets_ExecuteOverrides_output, + rulesets_ExecuteRuleOverrides_output, + rulesets_ExecuteRule_action_parameters_output, + rulesets_ExecuteRule_output, + rulesets_ExecuteSensitivityLevel_output, + rulesets_ForceConnectionCloseRule_output, + rulesets_JsChallengeRule_output, + rulesets_LogCustomFieldCookieFields_output, + rulesets_LogCustomFieldRawResponseFields_output, + rulesets_LogCustomFieldRequestFields_output, + rulesets_LogCustomFieldResponseFields_output, + rulesets_LogCustomFieldRule_action_parameters_output, + rulesets_LogCustomFieldRule_output, + rulesets_LogCustomFieldTransformedRequestFields_output, + rulesets_LogRule_output, + rulesets_ManagedChallengeRule_output, + rulesets_RedirectFromList_output, + rulesets_RedirectFromValue_output, + rulesets_RedirectFromValue_target_url_output, + rulesets_RedirectRule_action_parameters_output, + rulesets_RedirectRule_output, + rulesets_ResponseRule_output, + rulesets_ResponseRules_output, + rulesets_RewriteHeaderExpression_output, + rulesets_RewriteHeaderOperation_output, + rulesets_RewriteHeaderValue_output, + rulesets_RewriteHeaders_output, + rulesets_RewriteRule_action_parameters_output, + rulesets_RewriteRule_output, + rulesets_RewriteUriPath_output, + rulesets_RewriteUriQuery_output, + rulesets_RewriteUri_output, + rulesets_RouteHostHeader_output, + rulesets_RouteOrigin_output, + rulesets_RouteRule_action_parameters_output, + rulesets_RouteRule_output, + rulesets_RouteSNI_output, + rulesets_RuleAction_output, + rulesets_RuleCategories_output, + rulesets_RuleCategory_output, + rulesets_RuleEnabled_output, + rulesets_RuleExposedCredentialCheck_output, + rulesets_RuleId_output, + rulesets_RuleLogging_output, + rulesets_RuleRatelimit_output, + rulesets_RulesetId_output, + rulesets_RulesetKind_output, + rulesets_RulesetPhase_output, + rulesets_RulesetVersion_output, + rulesets_Ruleset_output, + rulesets_ScoreIncrement_output, + rulesets_ScoreRule_action_parameters_output, + rulesets_ScoreRule_output, + rulesets_ServeErrorAssetName_output, + rulesets_ServeErrorContentType_output, + rulesets_ServeErrorContent_output, + rulesets_ServeErrorRule_output, + rulesets_ServeErrorStatusCode_output, + rulesets_SetCacheControlCloudflareOnly_output, + rulesets_SetCacheControlDirectiveWithQualifiers_output, + rulesets_SetCacheControlDirectiveWithValue_output, + rulesets_SetCacheControlDirective_output, + rulesets_SetCacheControlOperation_output, + rulesets_SetCacheControlRule_action_parameters_output, + rulesets_SetCacheControlRule_output, + rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + rulesets_SetCacheSettingsBrowserTTL_output, + rulesets_SetCacheSettingsCacheKey_output, + rulesets_SetCacheSettingsCacheReserve_output, + rulesets_SetCacheSettingsCache_output, + rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + rulesets_SetCacheSettingsCustomCacheKeyHost_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + rulesets_SetCacheSettingsCustomCacheKeyUser_output, + rulesets_SetCacheSettingsCustomCacheKey_output, + rulesets_SetCacheSettingsEdgeTTL_output, + rulesets_SetCacheSettingsOriginCacheControl_output, + rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + rulesets_SetCacheSettingsOriginRangeRequests_output, + rulesets_SetCacheSettingsReadTimeout_output, + rulesets_SetCacheSettingsRespectStrongEtags_output, + rulesets_SetCacheSettingsRule_action_parameters_output, + rulesets_SetCacheSettingsRule_output, + rulesets_SetCacheSettingsServeStale_output, + rulesets_SetCacheSettingsSharedDictionary_output, + rulesets_SetCacheSettingsStatusCodeTTL_output, + rulesets_SetCacheSettingsStripETags_output, + rulesets_SetCacheSettingsStripLastModified_output, + rulesets_SetCacheSettingsStripSetCookie_output, + rulesets_SetCacheSettingsVaryDefault_output, + rulesets_SetCacheSettingsVaryHeader_output, + rulesets_SetCacheSettingsVary_output, + rulesets_SetCacheTagsExpression_output, + rulesets_SetCacheTagsOperation_output, + rulesets_SetCacheTagsRule_action_parameters_output, + rulesets_SetCacheTagsRule_output, + rulesets_SetCacheTagsValues_output, + rulesets_SetConfigAutominify_output, + rulesets_SetConfigRule_action_parameters_output, + rulesets_SetConfigRule_output, + rulesets_SkipPhase_output, + rulesets_SkipPhases_output, + rulesets_SkipProducts_output, + rulesets_SkipRule_action_parameters_output, + rulesets_SkipRule_output, + rulesets_SkipRules_output, + rulesets_SkipRuleset_output, + rulesets_SkipRulesets_output, + rulesets_TransformResponseHTMLRule_action_parameters_output, + rulesets_TransformResponseHTMLRule_output, +} from "../outputs.js"; import { rulesets_BlockRule, rulesets_BlockRule_action_parameters, @@ -376,6 +509,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}/rules`, query: [ @@ -451,6 +796,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}/rules/${pathParam(args, "rule_id")}`, query: [ @@ -711,6 +1268,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}/rules/${pathParam(args, "rule_id")}`, query: [ diff --git a/src/generated/forge-mcp/rulesets/tools.ts b/src/generated/forge-mcp/rulesets/tools.ts index 51a38199..ac6d9029 100644 --- a/src/generated/forge-mcp/rulesets/tools.ts +++ b/src/generated/forge-mcp/rulesets/tools.ts @@ -2,6 +2,142 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + rulesets_Errors_output, + rulesets_Message_output, + rulesets_Message_source_output, + rulesets_Messages_output, + rulesets_Response_output, + rulesets_Response_result_output, +} from "../outputs.js"; +import { + rulesets_BlockRule_action_parameters_output, + rulesets_BlockRule_action_parameters_response_output, + rulesets_BlockRule_output, + rulesets_ChallengeRule_output, + rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + rulesets_CompressResponseRule_action_parameters_output, + rulesets_CompressResponseRule_output, + rulesets_Cursor_output, + rulesets_DDoSDynamicRule_output, + rulesets_ExecuteCategoryOverrides_output, + rulesets_ExecuteMatchedData_output, + rulesets_ExecuteOverrides_output, + rulesets_ExecuteRuleOverrides_output, + rulesets_ExecuteRule_action_parameters_output, + rulesets_ExecuteRule_output, + rulesets_ExecuteSensitivityLevel_output, + rulesets_ForceConnectionCloseRule_output, + rulesets_JsChallengeRule_output, + rulesets_LogCustomFieldCookieFields_output, + rulesets_LogCustomFieldRawResponseFields_output, + rulesets_LogCustomFieldRequestFields_output, + rulesets_LogCustomFieldResponseFields_output, + rulesets_LogCustomFieldRule_action_parameters_output, + rulesets_LogCustomFieldRule_output, + rulesets_LogCustomFieldTransformedRequestFields_output, + rulesets_LogRule_output, + rulesets_ManagedChallengeRule_output, + rulesets_RedirectFromList_output, + rulesets_RedirectFromValue_output, + rulesets_RedirectFromValue_target_url_output, + rulesets_RedirectRule_action_parameters_output, + rulesets_RedirectRule_output, + rulesets_ResponseRule_output, + rulesets_ResponseRules_output, + rulesets_ResultInfo_cursors_output, + rulesets_ResultInfo_output, + rulesets_RewriteHeaderExpression_output, + rulesets_RewriteHeaderOperation_output, + rulesets_RewriteHeaderValue_output, + rulesets_RewriteHeaders_output, + rulesets_RewriteRule_action_parameters_output, + rulesets_RewriteRule_output, + rulesets_RewriteUriPath_output, + rulesets_RewriteUriQuery_output, + rulesets_RewriteUri_output, + rulesets_RouteHostHeader_output, + rulesets_RouteOrigin_output, + rulesets_RouteRule_action_parameters_output, + rulesets_RouteRule_output, + rulesets_RouteSNI_output, + rulesets_RuleAction_output, + rulesets_RuleCategories_output, + rulesets_RuleCategory_output, + rulesets_RuleEnabled_output, + rulesets_RuleExposedCredentialCheck_output, + rulesets_RuleId_output, + rulesets_RuleLogging_output, + rulesets_RuleRatelimit_output, + rulesets_RulesetId_output, + rulesets_RulesetKind_output, + rulesets_RulesetPhase_output, + rulesets_RulesetVersion_output, + rulesets_Ruleset_output, + rulesets_ScoreIncrement_output, + rulesets_ScoreRule_action_parameters_output, + rulesets_ScoreRule_output, + rulesets_ServeErrorAssetName_output, + rulesets_ServeErrorContentType_output, + rulesets_ServeErrorContent_output, + rulesets_ServeErrorRule_output, + rulesets_ServeErrorStatusCode_output, + rulesets_SetCacheControlCloudflareOnly_output, + rulesets_SetCacheControlDirectiveWithQualifiers_output, + rulesets_SetCacheControlDirectiveWithValue_output, + rulesets_SetCacheControlDirective_output, + rulesets_SetCacheControlOperation_output, + rulesets_SetCacheControlRule_action_parameters_output, + rulesets_SetCacheControlRule_output, + rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + rulesets_SetCacheSettingsBrowserTTL_output, + rulesets_SetCacheSettingsCacheKey_output, + rulesets_SetCacheSettingsCacheReserve_output, + rulesets_SetCacheSettingsCache_output, + rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + rulesets_SetCacheSettingsCustomCacheKeyHost_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + rulesets_SetCacheSettingsCustomCacheKeyUser_output, + rulesets_SetCacheSettingsCustomCacheKey_output, + rulesets_SetCacheSettingsEdgeTTL_output, + rulesets_SetCacheSettingsOriginCacheControl_output, + rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + rulesets_SetCacheSettingsOriginRangeRequests_output, + rulesets_SetCacheSettingsReadTimeout_output, + rulesets_SetCacheSettingsRespectStrongEtags_output, + rulesets_SetCacheSettingsRule_action_parameters_output, + rulesets_SetCacheSettingsRule_output, + rulesets_SetCacheSettingsServeStale_output, + rulesets_SetCacheSettingsSharedDictionary_output, + rulesets_SetCacheSettingsStatusCodeTTL_output, + rulesets_SetCacheSettingsStripETags_output, + rulesets_SetCacheSettingsStripLastModified_output, + rulesets_SetCacheSettingsStripSetCookie_output, + rulesets_SetCacheSettingsVaryDefault_output, + rulesets_SetCacheSettingsVaryHeader_output, + rulesets_SetCacheSettingsVary_output, + rulesets_SetCacheTagsExpression_output, + rulesets_SetCacheTagsOperation_output, + rulesets_SetCacheTagsRule_action_parameters_output, + rulesets_SetCacheTagsRule_output, + rulesets_SetCacheTagsValues_output, + rulesets_SetConfigAutominify_output, + rulesets_SetConfigRule_action_parameters_output, + rulesets_SetConfigRule_output, + rulesets_SkipPhase_output, + rulesets_SkipPhases_output, + rulesets_SkipProducts_output, + rulesets_SkipRule_action_parameters_output, + rulesets_SkipRule_output, + rulesets_SkipRules_output, + rulesets_SkipRuleset_output, + rulesets_SkipRulesets_output, + rulesets_TransformResponseHTMLRule_action_parameters_output, + rulesets_TransformResponseHTMLRule_output, +} from "./outputs.js"; import { rulesets_BlockRule, rulesets_BlockRule_action_parameters, @@ -338,6 +474,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets`, query: [ @@ -408,6 +756,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "204": null, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Errors": rulesets_Errors_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "id")}`, query: [ @@ -480,6 +862,211 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "id")}`, }), @@ -556,6 +1143,98 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + } + }, + "required": [ + "kind", + "name", + "phase" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/rulesets_ResultInfo" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Cursor": rulesets_Cursor_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_ResultInfo": rulesets_ResultInfo_output, + "rulesets_ResultInfo_cursors": rulesets_ResultInfo_cursors_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets`, query: [ @@ -775,6 +1454,218 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}`, query: [ diff --git a/src/generated/forge-mcp/rulesets/versions/byTag/tools.ts b/src/generated/forge-mcp/rulesets/versions/byTag/tools.ts index 915b91de..16d8a43a 100644 --- a/src/generated/forge-mcp/rulesets/versions/byTag/tools.ts +++ b/src/generated/forge-mcp/rulesets/versions/byTag/tools.ts @@ -2,6 +2,139 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + rulesets_Errors_output, + rulesets_Message_output, + rulesets_Message_source_output, + rulesets_Messages_output, + rulesets_Response_output, + rulesets_Response_result_output, +} from "../../../outputs.js"; +import { + rulesets_BlockRule_action_parameters_output, + rulesets_BlockRule_action_parameters_response_output, + rulesets_BlockRule_output, + rulesets_ChallengeRule_output, + rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + rulesets_CompressResponseRule_action_parameters_output, + rulesets_CompressResponseRule_output, + rulesets_DDoSDynamicRule_output, + rulesets_ExecuteCategoryOverrides_output, + rulesets_ExecuteMatchedData_output, + rulesets_ExecuteOverrides_output, + rulesets_ExecuteRuleOverrides_output, + rulesets_ExecuteRule_action_parameters_output, + rulesets_ExecuteRule_output, + rulesets_ExecuteSensitivityLevel_output, + rulesets_ForceConnectionCloseRule_output, + rulesets_JsChallengeRule_output, + rulesets_LogCustomFieldCookieFields_output, + rulesets_LogCustomFieldRawResponseFields_output, + rulesets_LogCustomFieldRequestFields_output, + rulesets_LogCustomFieldResponseFields_output, + rulesets_LogCustomFieldRule_action_parameters_output, + rulesets_LogCustomFieldRule_output, + rulesets_LogCustomFieldTransformedRequestFields_output, + rulesets_LogRule_output, + rulesets_ManagedChallengeRule_output, + rulesets_RedirectFromList_output, + rulesets_RedirectFromValue_output, + rulesets_RedirectFromValue_target_url_output, + rulesets_RedirectRule_action_parameters_output, + rulesets_RedirectRule_output, + rulesets_ResponseRule_output, + rulesets_ResponseRules_output, + rulesets_RewriteHeaderExpression_output, + rulesets_RewriteHeaderOperation_output, + rulesets_RewriteHeaderValue_output, + rulesets_RewriteHeaders_output, + rulesets_RewriteRule_action_parameters_output, + rulesets_RewriteRule_output, + rulesets_RewriteUriPath_output, + rulesets_RewriteUriQuery_output, + rulesets_RewriteUri_output, + rulesets_RouteHostHeader_output, + rulesets_RouteOrigin_output, + rulesets_RouteRule_action_parameters_output, + rulesets_RouteRule_output, + rulesets_RouteSNI_output, + rulesets_RuleAction_output, + rulesets_RuleCategories_output, + rulesets_RuleCategory_output, + rulesets_RuleEnabled_output, + rulesets_RuleExposedCredentialCheck_output, + rulesets_RuleId_output, + rulesets_RuleLogging_output, + rulesets_RuleRatelimit_output, + rulesets_RulesetId_output, + rulesets_RulesetKind_output, + rulesets_RulesetPhase_output, + rulesets_RulesetVersion_output, + rulesets_Ruleset_output, + rulesets_ScoreIncrement_output, + rulesets_ScoreRule_action_parameters_output, + rulesets_ScoreRule_output, + rulesets_ServeErrorAssetName_output, + rulesets_ServeErrorContentType_output, + rulesets_ServeErrorContent_output, + rulesets_ServeErrorRule_output, + rulesets_ServeErrorStatusCode_output, + rulesets_SetCacheControlCloudflareOnly_output, + rulesets_SetCacheControlDirectiveWithQualifiers_output, + rulesets_SetCacheControlDirectiveWithValue_output, + rulesets_SetCacheControlDirective_output, + rulesets_SetCacheControlOperation_output, + rulesets_SetCacheControlRule_action_parameters_output, + rulesets_SetCacheControlRule_output, + rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + rulesets_SetCacheSettingsBrowserTTL_output, + rulesets_SetCacheSettingsCacheKey_output, + rulesets_SetCacheSettingsCacheReserve_output, + rulesets_SetCacheSettingsCache_output, + rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + rulesets_SetCacheSettingsCustomCacheKeyHost_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + rulesets_SetCacheSettingsCustomCacheKeyUser_output, + rulesets_SetCacheSettingsCustomCacheKey_output, + rulesets_SetCacheSettingsEdgeTTL_output, + rulesets_SetCacheSettingsOriginCacheControl_output, + rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + rulesets_SetCacheSettingsOriginRangeRequests_output, + rulesets_SetCacheSettingsReadTimeout_output, + rulesets_SetCacheSettingsRespectStrongEtags_output, + rulesets_SetCacheSettingsRule_action_parameters_output, + rulesets_SetCacheSettingsRule_output, + rulesets_SetCacheSettingsServeStale_output, + rulesets_SetCacheSettingsSharedDictionary_output, + rulesets_SetCacheSettingsStatusCodeTTL_output, + rulesets_SetCacheSettingsStripETags_output, + rulesets_SetCacheSettingsStripLastModified_output, + rulesets_SetCacheSettingsStripSetCookie_output, + rulesets_SetCacheSettingsVaryDefault_output, + rulesets_SetCacheSettingsVaryHeader_output, + rulesets_SetCacheSettingsVary_output, + rulesets_SetCacheTagsExpression_output, + rulesets_SetCacheTagsOperation_output, + rulesets_SetCacheTagsRule_action_parameters_output, + rulesets_SetCacheTagsRule_output, + rulesets_SetCacheTagsValues_output, + rulesets_SetConfigAutominify_output, + rulesets_SetConfigRule_action_parameters_output, + rulesets_SetConfigRule_output, + rulesets_SkipPhase_output, + rulesets_SkipPhases_output, + rulesets_SkipProducts_output, + rulesets_SkipRule_action_parameters_output, + rulesets_SkipRule_output, + rulesets_SkipRules_output, + rulesets_SkipRuleset_output, + rulesets_SkipRulesets_output, + rulesets_TransformResponseHTMLRule_action_parameters_output, + rulesets_TransformResponseHTMLRule_output, +} from "../../outputs.js"; /** * The tools of `rulesets.versions.by_tag`. @@ -82,6 +215,211 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "id")}/versions/${pathParam(args, "ruleset_version")}/by_tag/${pathParam(args, "tag")}`, }), diff --git a/src/generated/forge-mcp/rulesets/versions/tools.ts b/src/generated/forge-mcp/rulesets/versions/tools.ts index c9e7e5f6..3c1af975 100644 --- a/src/generated/forge-mcp/rulesets/versions/tools.ts +++ b/src/generated/forge-mcp/rulesets/versions/tools.ts @@ -2,6 +2,142 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + rulesets_Errors_output, + rulesets_Message_output, + rulesets_Message_source_output, + rulesets_Messages_output, + rulesets_Response_output, + rulesets_Response_result_output, +} from "../../outputs.js"; +import { + rulesets_BlockRule_action_parameters_output, + rulesets_BlockRule_action_parameters_response_output, + rulesets_BlockRule_output, + rulesets_ChallengeRule_output, + rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + rulesets_CompressResponseRule_action_parameters_output, + rulesets_CompressResponseRule_output, + rulesets_Cursor_output, + rulesets_DDoSDynamicRule_output, + rulesets_ExecuteCategoryOverrides_output, + rulesets_ExecuteMatchedData_output, + rulesets_ExecuteOverrides_output, + rulesets_ExecuteRuleOverrides_output, + rulesets_ExecuteRule_action_parameters_output, + rulesets_ExecuteRule_output, + rulesets_ExecuteSensitivityLevel_output, + rulesets_ForceConnectionCloseRule_output, + rulesets_JsChallengeRule_output, + rulesets_LogCustomFieldCookieFields_output, + rulesets_LogCustomFieldRawResponseFields_output, + rulesets_LogCustomFieldRequestFields_output, + rulesets_LogCustomFieldResponseFields_output, + rulesets_LogCustomFieldRule_action_parameters_output, + rulesets_LogCustomFieldRule_output, + rulesets_LogCustomFieldTransformedRequestFields_output, + rulesets_LogRule_output, + rulesets_ManagedChallengeRule_output, + rulesets_RedirectFromList_output, + rulesets_RedirectFromValue_output, + rulesets_RedirectFromValue_target_url_output, + rulesets_RedirectRule_action_parameters_output, + rulesets_RedirectRule_output, + rulesets_ResponseRule_output, + rulesets_ResponseRules_output, + rulesets_ResultInfo_cursors_output, + rulesets_ResultInfo_output, + rulesets_RewriteHeaderExpression_output, + rulesets_RewriteHeaderOperation_output, + rulesets_RewriteHeaderValue_output, + rulesets_RewriteHeaders_output, + rulesets_RewriteRule_action_parameters_output, + rulesets_RewriteRule_output, + rulesets_RewriteUriPath_output, + rulesets_RewriteUriQuery_output, + rulesets_RewriteUri_output, + rulesets_RouteHostHeader_output, + rulesets_RouteOrigin_output, + rulesets_RouteRule_action_parameters_output, + rulesets_RouteRule_output, + rulesets_RouteSNI_output, + rulesets_RuleAction_output, + rulesets_RuleCategories_output, + rulesets_RuleCategory_output, + rulesets_RuleEnabled_output, + rulesets_RuleExposedCredentialCheck_output, + rulesets_RuleId_output, + rulesets_RuleLogging_output, + rulesets_RuleRatelimit_output, + rulesets_RulesetId_output, + rulesets_RulesetKind_output, + rulesets_RulesetPhase_output, + rulesets_RulesetVersion_output, + rulesets_Ruleset_output, + rulesets_ScoreIncrement_output, + rulesets_ScoreRule_action_parameters_output, + rulesets_ScoreRule_output, + rulesets_ServeErrorAssetName_output, + rulesets_ServeErrorContentType_output, + rulesets_ServeErrorContent_output, + rulesets_ServeErrorRule_output, + rulesets_ServeErrorStatusCode_output, + rulesets_SetCacheControlCloudflareOnly_output, + rulesets_SetCacheControlDirectiveWithQualifiers_output, + rulesets_SetCacheControlDirectiveWithValue_output, + rulesets_SetCacheControlDirective_output, + rulesets_SetCacheControlOperation_output, + rulesets_SetCacheControlRule_action_parameters_output, + rulesets_SetCacheControlRule_output, + rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + rulesets_SetCacheSettingsBrowserTTL_output, + rulesets_SetCacheSettingsCacheKey_output, + rulesets_SetCacheSettingsCacheReserve_output, + rulesets_SetCacheSettingsCache_output, + rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + rulesets_SetCacheSettingsCustomCacheKeyHost_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + rulesets_SetCacheSettingsCustomCacheKeyUser_output, + rulesets_SetCacheSettingsCustomCacheKey_output, + rulesets_SetCacheSettingsEdgeTTL_output, + rulesets_SetCacheSettingsOriginCacheControl_output, + rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + rulesets_SetCacheSettingsOriginRangeRequests_output, + rulesets_SetCacheSettingsReadTimeout_output, + rulesets_SetCacheSettingsRespectStrongEtags_output, + rulesets_SetCacheSettingsRule_action_parameters_output, + rulesets_SetCacheSettingsRule_output, + rulesets_SetCacheSettingsServeStale_output, + rulesets_SetCacheSettingsSharedDictionary_output, + rulesets_SetCacheSettingsStatusCodeTTL_output, + rulesets_SetCacheSettingsStripETags_output, + rulesets_SetCacheSettingsStripLastModified_output, + rulesets_SetCacheSettingsStripSetCookie_output, + rulesets_SetCacheSettingsVaryDefault_output, + rulesets_SetCacheSettingsVaryHeader_output, + rulesets_SetCacheSettingsVary_output, + rulesets_SetCacheTagsExpression_output, + rulesets_SetCacheTagsOperation_output, + rulesets_SetCacheTagsRule_action_parameters_output, + rulesets_SetCacheTagsRule_output, + rulesets_SetCacheTagsValues_output, + rulesets_SetConfigAutominify_output, + rulesets_SetConfigRule_action_parameters_output, + rulesets_SetConfigRule_output, + rulesets_SkipPhase_output, + rulesets_SkipPhases_output, + rulesets_SkipProducts_output, + rulesets_SkipRule_action_parameters_output, + rulesets_SkipRule_output, + rulesets_SkipRules_output, + rulesets_SkipRuleset_output, + rulesets_SkipRulesets_output, + rulesets_TransformResponseHTMLRule_action_parameters_output, + rulesets_TransformResponseHTMLRule_output, +} from "../outputs.js"; /** * The tools of `rulesets.versions`. @@ -74,6 +210,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "204": null, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Errors": rulesets_Errors_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "id")}/versions/${pathParam(args, "ruleset_version")}`, query: [ @@ -151,6 +321,211 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_BlockRule": rulesets_BlockRule_output, + "rulesets_BlockRule_action_parameters": rulesets_BlockRule_action_parameters_output, + "rulesets_BlockRule_action_parameters_response": rulesets_BlockRule_action_parameters_response_output, + "rulesets_ChallengeRule": rulesets_ChallengeRule_output, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, + "rulesets_CompressResponseRule_action_parameters": rulesets_CompressResponseRule_action_parameters_output, + "rulesets_CompressResponseRule_action_parameters_algorithmsItem": rulesets_CompressResponseRule_action_parameters_algorithmsItem_output, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, + "rulesets_ExecuteRule": rulesets_ExecuteRule_output, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, + "rulesets_ExecuteRule_action_parameters": rulesets_ExecuteRule_action_parameters_output, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, + "rulesets_LogCustomFieldRule_action_parameters": rulesets_LogCustomFieldRule_action_parameters_output, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, + "rulesets_LogRule": rulesets_LogRule_output, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_RedirectFromList": rulesets_RedirectFromList_output, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, + "rulesets_RedirectFromValue_target_url": rulesets_RedirectFromValue_target_url_output, + "rulesets_RedirectRule": rulesets_RedirectRule_output, + "rulesets_RedirectRule_action_parameters": rulesets_RedirectRule_action_parameters_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_ResponseRule": rulesets_ResponseRule_output, + "rulesets_ResponseRules": rulesets_ResponseRules_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, + "rulesets_RewriteRule": rulesets_RewriteRule_output, + "rulesets_RewriteRule_action_parameters": rulesets_RewriteRule_action_parameters_output, + "rulesets_RewriteUri": rulesets_RewriteUri_output, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, + "rulesets_RouteOrigin": rulesets_RouteOrigin_output, + "rulesets_RouteRule": rulesets_RouteRule_output, + "rulesets_RouteRule_action_parameters": rulesets_RouteRule_action_parameters_output, + "rulesets_RouteSNI": rulesets_RouteSNI_output, + "rulesets_RuleAction": rulesets_RuleAction_output, + "rulesets_RuleCategories": rulesets_RuleCategories_output, + "rulesets_RuleCategory": rulesets_RuleCategory_output, + "rulesets_RuleEnabled": rulesets_RuleEnabled_output, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, + "rulesets_RuleId": rulesets_RuleId_output, + "rulesets_RuleLogging": rulesets_RuleLogging_output, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, + "rulesets_ScoreRule": rulesets_ScoreRule_output, + "rulesets_ScoreRule_action_parameters": rulesets_ScoreRule_action_parameters_output, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, + "rulesets_SetCacheControlRule_action_parameters": rulesets_SetCacheControlRule_action_parameters_output, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude": rulesets_SetCacheSettingsCustomCacheKeyQueryString_exclude_output, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString_include": rulesets_SetCacheSettingsCustomCacheKeyQueryString_include_output, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, + "rulesets_SetCacheSettingsRule_action_parameters": rulesets_SetCacheSettingsRule_action_parameters_output, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, + "rulesets_SetCacheTagsRule_action_parameters": rulesets_SetCacheTagsRule_action_parameters_output, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, + "rulesets_SetConfigRule": rulesets_SetConfigRule_output, + "rulesets_SetConfigRule_action_parameters": rulesets_SetConfigRule_action_parameters_output, + "rulesets_SkipPhase": rulesets_SkipPhase_output, + "rulesets_SkipPhases": rulesets_SkipPhases_output, + "rulesets_SkipProducts": rulesets_SkipProducts_output, + "rulesets_SkipRule": rulesets_SkipRule_output, + "rulesets_SkipRule_action_parameters": rulesets_SkipRule_action_parameters_output, + "rulesets_SkipRules": rulesets_SkipRules_output, + "rulesets_SkipRuleset": rulesets_SkipRuleset_output, + "rulesets_SkipRulesets": rulesets_SkipRulesets_output, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_TransformResponseHTMLRule_action_parameters": rulesets_TransformResponseHTMLRule_action_parameters_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "id")}/versions/${pathParam(args, "ruleset_version")}`, }), @@ -220,6 +595,98 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + } + }, + "required": [ + "kind", + "name", + "phase" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/rulesets_ResultInfo" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Cursor": rulesets_Cursor_output, + "rulesets_Errors": rulesets_Errors_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_ResultInfo": rulesets_ResultInfo_output, + "rulesets_ResultInfo_cursors": rulesets_ResultInfo_cursors_output, + "rulesets_Ruleset": rulesets_Ruleset_output, + "rulesets_RulesetId": rulesets_RulesetId_output, + "rulesets_RulesetKind": rulesets_RulesetKind_output, + "rulesets_RulesetPhase": rulesets_RulesetPhase_output, + "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "id")}/versions`, }), diff --git a/src/generated/forge-mcp/rum/outputs.ts b/src/generated/forge-mcp/rum/outputs.ts new file mode 100644 index 00000000..7492f10e --- /dev/null +++ b/src/generated/forge-mcp/rum/outputs.ts @@ -0,0 +1,97 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `rum_rule` in responses. + */ +export const rum_rule_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/rum_timestamp" + }, + "host": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/rum_rule_identifier" + }, + "inclusive": { + "type": "boolean" + }, + "is_paused": { + "type": "boolean" + }, + "paths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "priority": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `rum_rule_identifier` in responses. + */ +export const rum_rule_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rum_rules` in responses. + */ +export const rum_rules_output: JsonSchema = { + "items": { + "$ref": "#/$defs/rum_rule" + }, + "type": "array" +}; + +/** + * The schema of `rum_ruleset` in responses. + */ +export const rum_ruleset_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/rum_ruleset_identifier" + }, + "zone_name": { + "type": "string" + }, + "zone_tag": { + "$ref": "#/$defs/rum_zone_tag" + } + }, + "type": "object" +}; + +/** + * The schema of `rum_ruleset_identifier` in responses. + */ +export const rum_ruleset_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rum_timestamp` in responses. + */ +export const rum_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `rum_zone_tag` in responses. + */ +export const rum_zone_tag_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/rum/rules/tools.ts b/src/generated/forge-mcp/rum/rules/tools.ts index 168a5c38..c0c5dacb 100644 --- a/src/generated/forge-mcp/rum/rules/tools.ts +++ b/src/generated/forge-mcp/rum/rules/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + rum_api_response_common_failure_output, + rum_messages_2_output, +} from "../../outputs.js"; +import { + rum_rule_identifier_output, + rum_rule_output, + rum_rules_output, + rum_ruleset_identifier_output, + rum_ruleset_output, + rum_timestamp_output, + rum_zone_tag_output, +} from "../outputs.js"; import { rum_rule_identifier } from "../schemas.js"; import { rum_create_rule_request, @@ -63,6 +76,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "rules": { + "$ref": "#/$defs/rum_rules" + }, + "ruleset": { + "$ref": "#/$defs/rum_ruleset" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_messages-2": rum_messages_2_output, + "rum_rule": rum_rule_output, + "rum_rule_identifier": rum_rule_identifier_output, + "rum_rules": rum_rules_output, + "rum_ruleset": rum_ruleset_output, + "rum_ruleset_identifier": rum_ruleset_identifier_output, + "rum_timestamp": rum_timestamp_output, + "rum_zone_tag": rum_zone_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/v2/${pathParam(args, "ruleset_id")}/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -113,6 +155,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/rum_rule" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_messages-2": rum_messages_2_output, + "rum_rule": rum_rule_output, + "rum_rule_identifier": rum_rule_identifier_output, + "rum_timestamp": rum_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/v2/${pathParam(args, "ruleset_id")}/rule`, body: { value: args["body"], mediaType: "application/json" }, @@ -161,6 +220,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/rum_rule_identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_messages-2": rum_messages_2_output, + "rum_rule_identifier": rum_rule_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/v2/${pathParam(args, "ruleset_id")}/rule/${pathParam(args, "rule_id")}`, }), @@ -203,6 +282,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "rules": { + "$ref": "#/$defs/rum_rules" + }, + "ruleset": { + "$ref": "#/$defs/rum_ruleset" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_messages-2": rum_messages_2_output, + "rum_rule": rum_rule_output, + "rum_rule_identifier": rum_rule_identifier_output, + "rum_rules": rum_rules_output, + "rum_ruleset": rum_ruleset_output, + "rum_ruleset_identifier": rum_ruleset_identifier_output, + "rum_timestamp": rum_timestamp_output, + "rum_zone_tag": rum_zone_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/v2/${pathParam(args, "ruleset_id")}/rules`, }), @@ -257,6 +365,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/rum_rule" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_messages-2": rum_messages_2_output, + "rum_rule": rum_rule_output, + "rum_rule_identifier": rum_rule_identifier_output, + "rum_timestamp": rum_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/v2/${pathParam(args, "ruleset_id")}/rule/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/rum/siteInfo/outputs.ts b/src/generated/forge-mcp/rum/siteInfo/outputs.ts new file mode 100644 index 00000000..231162f8 --- /dev/null +++ b/src/generated/forge-mcp/rum/siteInfo/outputs.ts @@ -0,0 +1,93 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `rum_auto_install` in responses. + */ +export const rum_auto_install_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rum_result_info` in responses. + */ +export const rum_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `rum_site` in responses. + */ +export const rum_site_output: JsonSchema = { + "properties": { + "auto_install": { + "$ref": "#/$defs/rum_auto_install" + }, + "created": { + "$ref": "#/$defs/rum_timestamp" + }, + "rules": { + "$ref": "#/$defs/rum_rules" + }, + "ruleset": { + "$ref": "#/$defs/rum_ruleset" + }, + "site_tag": { + "$ref": "#/$defs/rum_site_tag" + }, + "site_token": { + "$ref": "#/$defs/rum_site_token" + }, + "snippet": { + "$ref": "#/$defs/rum_snippet" + } + }, + "type": "object" +}; + +/** + * The schema of `rum_site_tag` in responses. + */ +export const rum_site_tag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rum_site_token` in responses. + */ +export const rum_site_token_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rum_snippet` in responses. + */ +export const rum_snippet_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/rum/siteInfo/tools.ts b/src/generated/forge-mcp/rum/siteInfo/tools.ts index 84194c5a..5f2cd6c5 100644 --- a/src/generated/forge-mcp/rum/siteInfo/tools.ts +++ b/src/generated/forge-mcp/rum/siteInfo/tools.ts @@ -2,7 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + rum_api_response_common_failure_output, + rum_messages_2_output, +} from "../../outputs.js"; +import { + rum_rule_identifier_output, + rum_rule_output, + rum_rules_output, + rum_ruleset_identifier_output, + rum_ruleset_output, + rum_timestamp_output, + rum_zone_tag_output, +} from "../outputs.js"; import { rum_zone_tag } from "../schemas.js"; +import { + rum_auto_install_output, + rum_result_info_output, + rum_site_output, + rum_site_tag_output, + rum_site_token_output, + rum_snippet_output, +} from "./outputs.js"; import { rum_auto_install, rum_create_site_request, @@ -65,6 +86,32 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/rum_site" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_auto_install": rum_auto_install_output, + "rum_messages-2": rum_messages_2_output, + "rum_rule": rum_rule_output, + "rum_rule_identifier": rum_rule_identifier_output, + "rum_rules": rum_rules_output, + "rum_ruleset": rum_ruleset_output, + "rum_ruleset_identifier": rum_ruleset_identifier_output, + "rum_site": rum_site_output, + "rum_site_tag": rum_site_tag_output, + "rum_site_token": rum_site_token_output, + "rum_snippet": rum_snippet_output, + "rum_timestamp": rum_timestamp_output, + "rum_zone_tag": rum_zone_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info`, body: { value: args["body"], mediaType: "application/json" }, @@ -111,6 +158,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "site_tag": { + "$ref": "#/$defs/rum_site_tag" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_messages-2": rum_messages_2_output, + "rum_site_tag": rum_site_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info/${pathParam(args, "site_id")}`, }), @@ -156,6 +223,32 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/rum_site" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_auto_install": rum_auto_install_output, + "rum_messages-2": rum_messages_2_output, + "rum_rule": rum_rule_output, + "rum_rule_identifier": rum_rule_identifier_output, + "rum_rules": rum_rules_output, + "rum_ruleset": rum_ruleset_output, + "rum_ruleset_identifier": rum_ruleset_identifier_output, + "rum_site": rum_site_output, + "rum_site_tag": rum_site_tag_output, + "rum_site_token": rum_site_token_output, + "rum_snippet": rum_snippet_output, + "rum_timestamp": rum_timestamp_output, + "rum_zone_tag": rum_zone_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info/${pathParam(args, "site_id")}`, }), @@ -213,6 +306,47 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/rum_site" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/rum_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_auto_install": rum_auto_install_output, + "rum_messages-2": rum_messages_2_output, + "rum_result_info": rum_result_info_output, + "rum_rule": rum_rule_output, + "rum_rule_identifier": rum_rule_identifier_output, + "rum_rules": rum_rules_output, + "rum_ruleset": rum_ruleset_output, + "rum_ruleset_identifier": rum_ruleset_identifier_output, + "rum_site": rum_site_output, + "rum_site_tag": rum_site_tag_output, + "rum_site_token": rum_site_token_output, + "rum_snippet": rum_snippet_output, + "rum_timestamp": rum_timestamp_output, + "rum_zone_tag": rum_zone_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info/list`, query: [ @@ -262,6 +396,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/rum_site_tag" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_messages-2": rum_messages_2_output, + "rum_site_tag": rum_site_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info/site_tag/list`, query: [ @@ -305,6 +468,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/rum_zone_tag" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_messages-2": rum_messages_2_output, + "rum_zone_tag": rum_zone_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info/zone_tag/list`, }), @@ -362,6 +554,32 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/rum_site" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_auto_install": rum_auto_install_output, + "rum_messages-2": rum_messages_2_output, + "rum_rule": rum_rule_output, + "rum_rule_identifier": rum_rule_identifier_output, + "rum_rules": rum_rules_output, + "rum_ruleset": rum_ruleset_output, + "rum_ruleset_identifier": rum_ruleset_identifier_output, + "rum_site": rum_site_output, + "rum_site_tag": rum_site_tag_output, + "rum_site_token": rum_site_token_output, + "rum_snippet": rum_snippet_output, + "rum_timestamp": rum_timestamp_output, + "rum_zone_tag": rum_zone_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info/${pathParam(args, "site_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -408,6 +626,20 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_messages-2": rum_messages_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info/validate/${pathParam(args, "hostname")}`, }), diff --git a/src/generated/forge-mcp/scanLogo/tools.ts b/src/generated/forge-mcp/scanLogo/tools.ts index 44d1f375..85ca1cb3 100644 --- a/src/generated/forge-mcp/scanLogo/tools.ts +++ b/src/generated/forge-mcp/scanLogo/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `scan_logo`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/scan-logo`, }), diff --git a/src/generated/forge-mcp/scanPage/tools.ts b/src/generated/forge-mcp/scanPage/tools.ts index abcf16a4..49bf6f42 100644 --- a/src/generated/forge-mcp/scanPage/tools.ts +++ b/src/generated/forge-mcp/scanPage/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `scan_page`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/scan-page`, }), diff --git a/src/generated/forge-mcp/scim/groups/outputs.ts b/src/generated/forge-mcp/scim/groups/outputs.ts new file mode 100644 index 00000000..8951ffd6 --- /dev/null +++ b/src/generated/forge-mcp/scim/groups/outputs.ts @@ -0,0 +1,136 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_scim_group` in responses. + */ +export const iam_scim_group_output: JsonSchema = { + "properties": { + "displayName": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "id": { + "type": "string" + }, + "members": { + "items": { + "$ref": "#/$defs/iam_scim_group_membersItem" + }, + "type": "array" + }, + "meta": { + "$ref": "#/$defs/iam_scim_group_meta" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "displayName", + "id", + "schemas" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_group_list_response` in responses. + */ +export const iam_scim_group_list_response_output: JsonSchema = { + "properties": { + "Resources": { + "items": { + "$ref": "#/$defs/iam_scim_group_summary" + }, + "type": "array" + }, + "itemsPerPage": { + "type": "integer" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "startIndex": { + "type": "integer" + }, + "totalResults": { + "type": "integer" + } + }, + "required": [ + "Resources", + "schemas", + "totalResults" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_group_membersItem` in responses. + */ +export const iam_scim_group_membersItem_output: JsonSchema = { + "properties": { + "display": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_scim_group_meta` in responses. + */ +export const iam_scim_group_meta_output: JsonSchema = { + "properties": { + "resourceType": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_scim_group_summary` in responses. + */ +export const iam_scim_group_summary_output: JsonSchema = { + "properties": { + "displayName": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "id": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/iam_scim_group_meta" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "displayName", + "id", + "schemas" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/scim/groups/tools.ts b/src/generated/forge-mcp/scim/groups/tools.ts index 76752790..0e15d81e 100644 --- a/src/generated/forge-mcp/scim/groups/tools.ts +++ b/src/generated/forge-mcp/scim/groups/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { iam_scim_error_response_output } from "../outputs.js"; +import { + iam_scim_group_list_response_output, + iam_scim_group_membersItem_output, + iam_scim_group_meta_output, + iam_scim_group_output, + iam_scim_group_summary_output, +} from "./outputs.js"; import { iam_scim_group_create_request, iam_scim_group_patch_member_value, @@ -69,6 +77,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/iam_scim_group" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_group": iam_scim_group_output, + "iam_scim_group_membersItem": iam_scim_group_membersItem_output, + "iam_scim_group_meta": iam_scim_group_meta_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Groups`, body: { value: args["body"], mediaType: "application/scim+json" }, @@ -126,6 +150,17 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Groups/${pathParam(args, "group_id")}`, }), @@ -192,6 +227,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_group" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_group": iam_scim_group_output, + "iam_scim_group_membersItem": iam_scim_group_membersItem_output, + "iam_scim_group_meta": iam_scim_group_meta_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Groups/${pathParam(args, "group_id")}`, body: { value: args["body"], mediaType: "application/scim+json" }, @@ -250,6 +301,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_group" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_group": iam_scim_group_output, + "iam_scim_group_membersItem": iam_scim_group_membersItem_output, + "iam_scim_group_meta": iam_scim_group_meta_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Groups/${pathParam(args, "group_id")}`, }), @@ -315,6 +382,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_group_list_response" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_group_list_response": iam_scim_group_list_response_output, + "iam_scim_group_meta": iam_scim_group_meta_output, + "iam_scim_group_summary": iam_scim_group_summary_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Groups`, query: [ @@ -384,6 +467,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_group" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_group": iam_scim_group_output, + "iam_scim_group_membersItem": iam_scim_group_membersItem_output, + "iam_scim_group_meta": iam_scim_group_meta_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Groups/${pathParam(args, "group_id")}`, body: { value: args["body"], mediaType: "application/scim+json" }, diff --git a/src/generated/forge-mcp/scim/outputs.ts b/src/generated/forge-mcp/scim/outputs.ts new file mode 100644 index 00000000..ec208f89 --- /dev/null +++ b/src/generated/forge-mcp/scim/outputs.ts @@ -0,0 +1,32 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `iam_scim_error_response` in responses. + */ +export const iam_scim_error_response_output: JsonSchema = { + "properties": { + "detail": { + "type": "string" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "scimType": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "schemas", + "status" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/scim/resourceTypes/outputs.ts b/src/generated/forge-mcp/scim/resourceTypes/outputs.ts new file mode 100644 index 00000000..c95c12aa --- /dev/null +++ b/src/generated/forge-mcp/scim/resourceTypes/outputs.ts @@ -0,0 +1,119 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_scim_resource_type` in responses. + */ +export const iam_scim_resource_type_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "id": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/iam_scim_resource_type_meta" + }, + "name": { + "type": "string" + }, + "schema": { + "type": "string" + }, + "schemaExtensions": { + "items": { + "$ref": "#/$defs/iam_scim_schema_extension" + }, + "type": "array" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "endpoint", + "id", + "name", + "schema", + "schemas" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_resource_type_list_response` in responses. + */ +export const iam_scim_resource_type_list_response_output: JsonSchema = { + "properties": { + "Resources": { + "items": { + "$ref": "#/$defs/iam_scim_resource_type" + }, + "type": "array" + }, + "itemsPerPage": { + "type": "integer" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "startIndex": { + "type": "integer" + }, + "totalResults": { + "type": "integer" + } + }, + "required": [ + "Resources", + "schemas", + "totalResults" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_resource_type_meta` in responses. + */ +export const iam_scim_resource_type_meta_output: JsonSchema = { + "properties": { + "location": { + "type": "string" + }, + "resourceType": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_scim_schema_extension` in responses. + */ +export const iam_scim_schema_extension_output: JsonSchema = { + "properties": { + "required": { + "type": "boolean" + }, + "schema": { + "type": "string" + } + }, + "required": [ + "required", + "schema" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/scim/resourceTypes/tools.ts b/src/generated/forge-mcp/scim/resourceTypes/tools.ts index 0afcd5ae..95798b60 100644 --- a/src/generated/forge-mcp/scim/resourceTypes/tools.ts +++ b/src/generated/forge-mcp/scim/resourceTypes/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { iam_scim_error_response_output } from "../outputs.js"; +import { + iam_scim_resource_type_list_response_output, + iam_scim_resource_type_meta_output, + iam_scim_resource_type_output, + iam_scim_schema_extension_output, +} from "./outputs.js"; /** * The tools of `scim.resource_types`. @@ -64,6 +71,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_resource_type" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_resource_type": iam_scim_resource_type_output, + "iam_scim_resource_type_meta": iam_scim_resource_type_meta_output, + "iam_scim_schema_extension": iam_scim_schema_extension_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/ResourceTypes/${pathParam(args, "resource_type_id")}`, }), @@ -116,6 +139,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_resource_type_list_response" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_resource_type": iam_scim_resource_type_output, + "iam_scim_resource_type_list_response": iam_scim_resource_type_list_response_output, + "iam_scim_resource_type_meta": iam_scim_resource_type_meta_output, + "iam_scim_schema_extension": iam_scim_schema_extension_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/ResourceTypes`, }), diff --git a/src/generated/forge-mcp/scim/schemas/outputs.ts b/src/generated/forge-mcp/scim/schemas/outputs.ts new file mode 100644 index 00000000..775dd99d --- /dev/null +++ b/src/generated/forge-mcp/scim/schemas/outputs.ts @@ -0,0 +1,184 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_scim_schema` in responses. + */ +export const iam_scim_schema_output: JsonSchema = { + "properties": { + "attributes": { + "items": { + "$ref": "#/$defs/iam_scim_schema_attr" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/iam_scim_schema_meta" + }, + "name": { + "type": "string" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "attributes", + "id", + "name", + "schemas" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_schema_attr` in responses. + */ +export const iam_scim_schema_attr_output: JsonSchema = { + "properties": { + "canonicalValues": { + "items": { + "type": "string" + }, + "type": "array" + }, + "caseExact": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "multiValued": { + "type": "boolean" + }, + "mutability": { + "enum": [ + "readOnly", + "readWrite", + "immutable", + "writeOnly" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "referenceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "required": { + "type": "boolean" + }, + "returned": { + "enum": [ + "always", + "never", + "default", + "request" + ], + "type": "string" + }, + "subAttributes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "string", + "boolean", + "decimal", + "integer", + "dateTime", + "reference", + "complex" + ], + "type": "string" + }, + "uniqueness": { + "enum": [ + "none", + "server", + "global" + ], + "type": "string" + } + }, + "required": [ + "caseExact", + "description", + "multiValued", + "mutability", + "name", + "required", + "returned", + "type", + "uniqueness" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_schema_list_response` in responses. + */ +export const iam_scim_schema_list_response_output: JsonSchema = { + "properties": { + "Resources": { + "items": { + "$ref": "#/$defs/iam_scim_schema" + }, + "type": "array" + }, + "itemsPerPage": { + "type": "integer" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "startIndex": { + "type": "integer" + }, + "totalResults": { + "type": "integer" + } + }, + "required": [ + "Resources", + "schemas", + "totalResults" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_schema_meta` in responses. + */ +export const iam_scim_schema_meta_output: JsonSchema = { + "properties": { + "location": { + "type": "string" + }, + "resourceType": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/scim/schemas/tools.ts b/src/generated/forge-mcp/scim/schemas/tools.ts index 4c119e11..5ed044c4 100644 --- a/src/generated/forge-mcp/scim/schemas/tools.ts +++ b/src/generated/forge-mcp/scim/schemas/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { iam_scim_error_response_output } from "../outputs.js"; +import { + iam_scim_schema_attr_output, + iam_scim_schema_list_response_output, + iam_scim_schema_meta_output, + iam_scim_schema_output, +} from "./outputs.js"; /** * The tools of `scim.schemas`. @@ -60,6 +67,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_schema" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_schema": iam_scim_schema_output, + "iam_scim_schema_attr": iam_scim_schema_attr_output, + "iam_scim_schema_meta": iam_scim_schema_meta_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Schemas/${pathParam(args, "schema_id")}`, }), @@ -112,6 +135,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_schema_list_response" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_schema": iam_scim_schema_output, + "iam_scim_schema_attr": iam_scim_schema_attr_output, + "iam_scim_schema_list_response": iam_scim_schema_list_response_output, + "iam_scim_schema_meta": iam_scim_schema_meta_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Schemas`, }), diff --git a/src/generated/forge-mcp/scim/serviceProviderConfig/outputs.ts b/src/generated/forge-mcp/scim/serviceProviderConfig/outputs.ts new file mode 100644 index 00000000..d6f881af --- /dev/null +++ b/src/generated/forge-mcp/scim/serviceProviderConfig/outputs.ts @@ -0,0 +1,145 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_scim_authentication_scheme` in responses. + */ +export const iam_scim_authentication_scheme_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "documentationUri": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary": { + "type": "boolean" + }, + "specUri": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_bulk_feature` in responses. + */ +export const iam_scim_bulk_feature_output: JsonSchema = { + "properties": { + "maxOperations": { + "type": "integer" + }, + "maxPayloadSize": { + "type": "integer" + }, + "supported": { + "type": "boolean" + } + }, + "required": [ + "maxOperations", + "maxPayloadSize", + "supported" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_feature` in responses. + */ +export const iam_scim_feature_output: JsonSchema = { + "properties": { + "supported": { + "type": "boolean" + } + }, + "required": [ + "supported" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_filter_feature` in responses. + */ +export const iam_scim_filter_feature_output: JsonSchema = { + "properties": { + "maxResults": { + "type": "integer" + }, + "supported": { + "type": "boolean" + } + }, + "required": [ + "maxResults", + "supported" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_service_provider_config` in responses. + */ +export const iam_scim_service_provider_config_output: JsonSchema = { + "properties": { + "authenticationSchemes": { + "items": { + "$ref": "#/$defs/iam_scim_authentication_scheme" + }, + "type": "array" + }, + "bulk": { + "$ref": "#/$defs/iam_scim_bulk_feature" + }, + "changePassword": { + "$ref": "#/$defs/iam_scim_feature" + }, + "documentationUri": { + "type": "string" + }, + "etag": { + "$ref": "#/$defs/iam_scim_feature" + }, + "filter": { + "$ref": "#/$defs/iam_scim_filter_feature" + }, + "patch": { + "$ref": "#/$defs/iam_scim_feature" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "sort": { + "$ref": "#/$defs/iam_scim_feature" + } + }, + "required": [ + "authenticationSchemes", + "bulk", + "changePassword", + "etag", + "filter", + "patch", + "schemas", + "sort" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts b/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts index 20b7f7eb..a170be63 100644 --- a/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts +++ b/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { iam_scim_error_response_output } from "../outputs.js"; +import { + iam_scim_authentication_scheme_output, + iam_scim_bulk_feature_output, + iam_scim_feature_output, + iam_scim_filter_feature_output, + iam_scim_service_provider_config_output, +} from "./outputs.js"; /** * The tools of `scim.service_provider_config`. @@ -55,6 +63,24 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_service_provider_config" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_authentication_scheme": iam_scim_authentication_scheme_output, + "iam_scim_bulk_feature": iam_scim_bulk_feature_output, + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_feature": iam_scim_feature_output, + "iam_scim_filter_feature": iam_scim_filter_feature_output, + "iam_scim_service_provider_config": iam_scim_service_provider_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/ServiceProviderConfig`, }), diff --git a/src/generated/forge-mcp/scim/users/outputs.ts b/src/generated/forge-mcp/scim/users/outputs.ts new file mode 100644 index 00000000..584ffa00 --- /dev/null +++ b/src/generated/forge-mcp/scim/users/outputs.ts @@ -0,0 +1,144 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_scim_user` in responses. + */ +export const iam_scim_user_output: JsonSchema = { + "properties": { + "active": { + "type": "boolean" + }, + "displayName": { + "type": "string" + }, + "emails": { + "items": { + "$ref": "#/$defs/iam_scim_user_email_object" + }, + "type": "array" + }, + "externalId": { + "type": "string" + }, + "groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/iam_scim_user_meta" + }, + "name": { + "$ref": "#/$defs/iam_scim_user_name_object" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "userName": { + "type": "string" + } + }, + "required": [ + "active", + "id", + "schemas", + "userName" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_user_email_object` in responses. + */ +export const iam_scim_user_email_object_output: JsonSchema = { + "properties": { + "primary": { + "type": "boolean" + }, + "type": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_user_list_response` in responses. + */ +export const iam_scim_user_list_response_output: JsonSchema = { + "properties": { + "Resources": { + "items": { + "$ref": "#/$defs/iam_scim_user" + }, + "type": "array" + }, + "itemsPerPage": { + "type": "integer" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "startIndex": { + "type": "integer" + }, + "totalResults": { + "type": "integer" + } + }, + "required": [ + "Resources", + "schemas", + "totalResults" + ], + "type": "object" +}; + +/** + * The schema of `iam_scim_user_meta` in responses. + */ +export const iam_scim_user_meta_output: JsonSchema = { + "properties": { + "resourceType": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_scim_user_name_object` in responses. + */ +export const iam_scim_user_name_object_output: JsonSchema = { + "properties": { + "familyName": { + "type": "string" + }, + "formatted": { + "type": "string" + }, + "givenName": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/scim/users/tools.ts b/src/generated/forge-mcp/scim/users/tools.ts index e3f12e90..d0f7b44f 100644 --- a/src/generated/forge-mcp/scim/users/tools.ts +++ b/src/generated/forge-mcp/scim/users/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { iam_scim_error_response_output } from "../outputs.js"; +import { + iam_scim_user_email_object_output, + iam_scim_user_list_response_output, + iam_scim_user_meta_output, + iam_scim_user_name_object_output, + iam_scim_user_output, +} from "./outputs.js"; import { iam_scim_patch_op_request, iam_scim_patch_operation, @@ -71,6 +79,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/iam_scim_user" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_user": iam_scim_user_output, + "iam_scim_user_email_object": iam_scim_user_email_object_output, + "iam_scim_user_meta": iam_scim_user_meta_output, + "iam_scim_user_name_object": iam_scim_user_name_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Users`, body: { value: args["body"], mediaType: "application/scim+json" }, @@ -128,6 +153,17 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Users/${pathParam(args, "user_id")}`, }), @@ -192,6 +228,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_user" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_user": iam_scim_user_output, + "iam_scim_user_email_object": iam_scim_user_email_object_output, + "iam_scim_user_meta": iam_scim_user_meta_output, + "iam_scim_user_name_object": iam_scim_user_name_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Users/${pathParam(args, "user_id")}`, body: { value: args["body"], mediaType: "application/scim+json" }, @@ -250,6 +303,23 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_user" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_user": iam_scim_user_output, + "iam_scim_user_email_object": iam_scim_user_email_object_output, + "iam_scim_user_meta": iam_scim_user_meta_output, + "iam_scim_user_name_object": iam_scim_user_name_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Users/${pathParam(args, "user_id")}`, }), @@ -315,6 +385,24 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_user_list_response" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_user": iam_scim_user_output, + "iam_scim_user_email_object": iam_scim_user_email_object_output, + "iam_scim_user_list_response": iam_scim_user_list_response_output, + "iam_scim_user_meta": iam_scim_user_meta_output, + "iam_scim_user_name_object": iam_scim_user_name_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Users`, query: [ @@ -385,6 +473,23 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_scim_user" + }, + "4XX": { + "$ref": "#/$defs/iam_scim_error_response" + } + }, + $defs: { + "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_user": iam_scim_user_output, + "iam_scim_user_email_object": iam_scim_user_email_object_output, + "iam_scim_user_meta": iam_scim_user_meta_output, + "iam_scim_user_name_object": iam_scim_user_name_object_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Users/${pathParam(args, "user_id")}`, body: { value: args["body"], mediaType: "application/scim+json" }, diff --git a/src/generated/forge-mcp/search/tools.ts b/src/generated/forge-mcp/search/tools.ts index 2e7da652..eeaffec4 100644 --- a/src/generated/forge-mcp/search/tools.ts +++ b/src/generated/forge-mcp/search/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `search`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/search`, }), diff --git a/src/generated/forge-mcp/secretsStore/outputs.ts b/src/generated/forge-mcp/secretsStore/outputs.ts new file mode 100644 index 00000000..17b74cad --- /dev/null +++ b/src/generated/forge-mcp/secretsStore/outputs.ts @@ -0,0 +1,90 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `secrets-store_api-response-common-failure` in responses. + */ +export const secrets_store_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/secrets-store_messages" + }, + "messages": { + "$ref": "#/$defs/secrets-store_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `secrets-store_created` in responses. + */ +export const secrets_store_created_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `secrets-store_messages` in responses. + */ +export const secrets_store_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `secrets-store_modified` in responses. + */ +export const secrets_store_modified_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `secrets-store_store_identifier` in responses. + */ +export const secrets_store_store_identifier_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/secretsStore/quota/outputs.ts b/src/generated/forge-mcp/secretsStore/quota/outputs.ts new file mode 100644 index 00000000..4c15c435 --- /dev/null +++ b/src/generated/forge-mcp/secretsStore/quota/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `secrets-store_quota` in responses. + */ +export const secrets_store_quota_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `secrets-store_secretsUsageObject` in responses. + */ +export const secrets_store_secretsUsageObject_output: JsonSchema = { + "properties": { + "secrets": { + "$ref": "#/$defs/secrets-store_usageQuotaObject" + } + }, + "required": [ + "secrets" + ], + "type": "object" +}; + +/** + * The schema of `secrets-store_usage` in responses. + */ +export const secrets_store_usage_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `secrets-store_usageQuotaObject` in responses. + */ +export const secrets_store_usageQuotaObject_output: JsonSchema = { + "properties": { + "quota": { + "$ref": "#/$defs/secrets-store_quota" + }, + "usage": { + "$ref": "#/$defs/secrets-store_usage" + } + }, + "required": [ + "quota", + "usage" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/secretsStore/quota/tools.ts b/src/generated/forge-mcp/secretsStore/quota/tools.ts index 246bd382..8af15828 100644 --- a/src/generated/forge-mcp/secretsStore/quota/tools.ts +++ b/src/generated/forge-mcp/secretsStore/quota/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + secrets_store_api_response_common_failure_output, + secrets_store_messages_output, +} from "../outputs.js"; +import { + secrets_store_quota_output, + secrets_store_secretsUsageObject_output, + secrets_store_usageQuotaObject_output, + secrets_store_usage_output, +} from "./outputs.js"; /** * The tools of `secrets_store.quota`. @@ -45,6 +55,24 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secrets-store_secretsUsageObject" + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_messages": secrets_store_messages_output, + "secrets-store_quota": secrets_store_quota_output, + "secrets-store_secretsUsageObject": secrets_store_secretsUsageObject_output, + "secrets-store_usage": secrets_store_usage_output, + "secrets-store_usageQuotaObject": secrets_store_usageQuotaObject_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/quota`, }), diff --git a/src/generated/forge-mcp/secretsStore/secrets/outputs.ts b/src/generated/forge-mcp/secretsStore/secrets/outputs.ts new file mode 100644 index 00000000..d03393ab --- /dev/null +++ b/src/generated/forge-mcp/secretsStore/secrets/outputs.ts @@ -0,0 +1,96 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `secrets-store_SecretStatus` in responses. + */ +export const secrets_store_SecretStatus_output: JsonSchema = { + "enum": [ + "pending", + "active", + "deleted" + ], + "type": "string" +}; + +/** + * The schema of `secrets-store_comment` in responses. + */ +export const secrets_store_comment_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secrets-store_identifier` in responses. + */ +export const secrets_store_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secrets-store_scopes` in responses. + */ +export const secrets_store_scopes_output: JsonSchema = { + "items": { + "enum": [ + "workers", + "ai_gateway", + "dex", + "access", + "containers", + "websearch" + ], + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `secrets-store_secretObject` in responses. + */ +export const secrets_store_secretObject_output: JsonSchema = { + "properties": { + "comment": { + "$ref": "#/$defs/secrets-store_comment" + }, + "created": { + "$ref": "#/$defs/secrets-store_created" + }, + "id": { + "$ref": "#/$defs/secrets-store_identifier" + }, + "modified": { + "$ref": "#/$defs/secrets-store_modified" + }, + "name": { + "$ref": "#/$defs/secrets-store_secret_name" + }, + "scopes": { + "$ref": "#/$defs/secrets-store_scopes" + }, + "status": { + "$ref": "#/$defs/secrets-store_SecretStatus" + }, + "store_id": { + "$ref": "#/$defs/secrets-store_store_identifier" + } + }, + "required": [ + "created", + "id", + "modified", + "name", + "status", + "store_id" + ], + "type": "object" +}; + +/** + * The schema of `secrets-store_secret_name` in responses. + */ +export const secrets_store_secret_name_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/secretsStore/secrets/tools.ts b/src/generated/forge-mcp/secretsStore/secrets/tools.ts index 78a03c2d..da78779c 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/tools.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + secrets_store_api_response_common_failure_output, + secrets_store_created_output, + secrets_store_messages_output, + secrets_store_modified_output, + secrets_store_store_identifier_output, +} from "../outputs.js"; +import { + secrets_store_SecretStatus_output, + secrets_store_comment_output, + secrets_store_identifier_output, + secrets_store_scopes_output, + secrets_store_secretObject_output, + secrets_store_secret_name_output, +} from "./outputs.js"; import { secrets_store_comment, secrets_store_createSecretObject, @@ -68,6 +83,27 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "202": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_messages": secrets_store_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores/${pathParam(args, "store_id")}/secrets`, body: { value: args["body"], mediaType: "application/json" }, @@ -129,6 +165,60 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/secrets-store_secretObject" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_SecretStatus": secrets_store_SecretStatus_output, + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_comment": secrets_store_comment_output, + "secrets-store_created": secrets_store_created_output, + "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_messages": secrets_store_messages_output, + "secrets-store_modified": secrets_store_modified_output, + "secrets-store_scopes": secrets_store_scopes_output, + "secrets-store_secretObject": secrets_store_secretObject_output, + "secrets-store_secret_name": secrets_store_secret_name_output, + "secrets-store_store_identifier": secrets_store_store_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores/${pathParam(args, "store_id")}/secrets`, body: { value: args["body"], mediaType: "application/json" }, @@ -181,6 +271,27 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "202": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_messages": secrets_store_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores/${pathParam(args, "store_id")}/secrets/${pathParam(args, "secret_id")}`, }), @@ -242,6 +353,29 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secrets-store_secretObject" + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_SecretStatus": secrets_store_SecretStatus_output, + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_comment": secrets_store_comment_output, + "secrets-store_created": secrets_store_created_output, + "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_messages": secrets_store_messages_output, + "secrets-store_modified": secrets_store_modified_output, + "secrets-store_scopes": secrets_store_scopes_output, + "secrets-store_secretObject": secrets_store_secretObject_output, + "secrets-store_secret_name": secrets_store_secret_name_output, + "secrets-store_store_identifier": secrets_store_store_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores/${pathParam(args, "store_id")}/secrets/${pathParam(args, "secret_id")}/duplicate`, body: { value: args["body"], mediaType: "application/json" }, @@ -304,6 +438,29 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secrets-store_secretObject" + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_SecretStatus": secrets_store_SecretStatus_output, + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_comment": secrets_store_comment_output, + "secrets-store_created": secrets_store_created_output, + "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_messages": secrets_store_messages_output, + "secrets-store_modified": secrets_store_modified_output, + "secrets-store_scopes": secrets_store_scopes_output, + "secrets-store_secretObject": secrets_store_secretObject_output, + "secrets-store_secret_name": secrets_store_secret_name_output, + "secrets-store_store_identifier": secrets_store_store_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores/${pathParam(args, "store_id")}/secrets/${pathParam(args, "secret_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -357,6 +514,29 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secrets-store_secretObject" + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_SecretStatus": secrets_store_SecretStatus_output, + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_comment": secrets_store_comment_output, + "secrets-store_created": secrets_store_created_output, + "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_messages": secrets_store_messages_output, + "secrets-store_modified": secrets_store_modified_output, + "secrets-store_scopes": secrets_store_scopes_output, + "secrets-store_secretObject": secrets_store_secretObject_output, + "secrets-store_secret_name": secrets_store_secret_name_output, + "secrets-store_store_identifier": secrets_store_store_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores/${pathParam(args, "store_id")}/secrets/${pathParam(args, "secret_id")}`, }), @@ -452,6 +632,60 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/secrets-store_secretObject" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_SecretStatus": secrets_store_SecretStatus_output, + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_comment": secrets_store_comment_output, + "secrets-store_created": secrets_store_created_output, + "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_messages": secrets_store_messages_output, + "secrets-store_modified": secrets_store_modified_output, + "secrets-store_scopes": secrets_store_scopes_output, + "secrets-store_secretObject": secrets_store_secretObject_output, + "secrets-store_secret_name": secrets_store_secret_name_output, + "secrets-store_store_identifier": secrets_store_store_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores/${pathParam(args, "store_id")}/secrets`, query: [ diff --git a/src/generated/forge-mcp/secretsStore/stores/outputs.ts b/src/generated/forge-mcp/secretsStore/stores/outputs.ts new file mode 100644 index 00000000..8ccf94a3 --- /dev/null +++ b/src/generated/forge-mcp/secretsStore/stores/outputs.ts @@ -0,0 +1,48 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `secrets-store_account_identifier` in responses. + */ +export const secrets_store_account_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `secrets-store_storeObject` in responses. + */ +export const secrets_store_storeObject_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/secrets-store_account_identifier" + }, + "created": { + "$ref": "#/$defs/secrets-store_created" + }, + "id": { + "$ref": "#/$defs/secrets-store_store_identifier" + }, + "modified": { + "$ref": "#/$defs/secrets-store_modified" + }, + "name": { + "$ref": "#/$defs/secrets-store_store_name" + } + }, + "required": [ + "created", + "id", + "modified", + "name" + ], + "type": "object" +}; + +/** + * The schema of `secrets-store_store_name` in responses. + */ +export const secrets_store_store_name_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/secretsStore/stores/tools.ts b/src/generated/forge-mcp/secretsStore/stores/tools.ts index be19440c..26cfa83b 100644 --- a/src/generated/forge-mcp/secretsStore/stores/tools.ts +++ b/src/generated/forge-mcp/secretsStore/stores/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + secrets_store_api_response_common_failure_output, + secrets_store_created_output, + secrets_store_messages_output, + secrets_store_modified_output, + secrets_store_store_identifier_output, +} from "../outputs.js"; +import { + secrets_store_account_identifier_output, + secrets_store_storeObject_output, + secrets_store_store_name_output, +} from "./outputs.js"; /** * The tools of `secrets_store.stores`. @@ -50,6 +62,26 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/secrets-store_storeObject" + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_account_identifier": secrets_store_account_identifier_output, + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_created": secrets_store_created_output, + "secrets-store_messages": secrets_store_messages_output, + "secrets-store_modified": secrets_store_modified_output, + "secrets-store_storeObject": secrets_store_storeObject_output, + "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_store_name": secrets_store_store_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores/${pathParam(args, "store_id")}`, }), @@ -119,6 +151,57 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/secrets-store_storeObject" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/secrets-store_api-response-common-failure" + } + }, + $defs: { + "secrets-store_account_identifier": secrets_store_account_identifier_output, + "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, + "secrets-store_created": secrets_store_created_output, + "secrets-store_messages": secrets_store_messages_output, + "secrets-store_modified": secrets_store_modified_output, + "secrets-store_storeObject": secrets_store_storeObject_output, + "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_store_name": secrets_store_store_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores`, query: [ diff --git a/src/generated/forge-mcp/securityInsights/auditLogs/outputs.ts b/src/generated/forge-mcp/securityInsights/auditLogs/outputs.ts new file mode 100644 index 00000000..09c2285a --- /dev/null +++ b/src/generated/forge-mcp/securityInsights/auditLogs/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `security-center_auditLog` in responses. + */ +export const security_center_auditLog_output: JsonSchema = { + "properties": { + "changed_at": { + "format": "date-time", + "type": "string" + }, + "changed_by": { + "type": "string" + }, + "current_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "field_changed": { + "enum": [ + "status", + "user_classification" + ], + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "issue_id": { + "type": "string" + }, + "previous_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "rationale": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "zone_id": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts b/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts index 8fc0fc6d..e0aa4f91 100644 --- a/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts +++ b/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../outputs.js"; +import { security_center_auditLog_output } from "./outputs.js"; /** * The tools of `security_insights.audit_logs`. @@ -85,6 +90,46 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights/{issue_id}/audit-log", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/security-center_auditLog" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_auditLog": security_center_auditLog_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/${pathParam(args, "issue_id")}/audit-log`, query: [ @@ -172,6 +217,46 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights/audit-log", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/security-center_auditLog" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_auditLog": security_center_auditLog_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/audit-log`, query: [ diff --git a/src/generated/forge-mcp/securityInsights/context/tools.ts b/src/generated/forge-mcp/securityInsights/context/tools.ts index c9297df6..cc9231a5 100644 --- a/src/generated/forge-mcp/securityInsights/context/tools.ts +++ b/src/generated/forge-mcp/securityInsights/context/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../outputs.js"; /** * The tools of `security_insights.context`. @@ -36,6 +40,20 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/security-center/insights/{issue_id}/context", + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/security-center/insights/${pathParam(args, "issue_id")}/context`, }), diff --git a/src/generated/forge-mcp/securityInsights/count/tools.ts b/src/generated/forge-mcp/securityInsights/count/tools.ts index b906775a..cb03919c 100644 --- a/src/generated/forge-mcp/securityInsights/count/tools.ts +++ b/src/generated/forge-mcp/securityInsights/count/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../outputs.js"; import { security_center_dismissed, security_center_issueClass, @@ -103,6 +107,42 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights/class", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/class`, query: [ @@ -162,6 +202,28 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights/partner-count", + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "integer" + } + }, + "required": [ + "count" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/partner-count`, query: [ @@ -252,6 +314,42 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights/severity", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/severity`, query: [ @@ -353,6 +451,42 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights/type", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/type`, query: [ diff --git a/src/generated/forge-mcp/securityInsights/partners/outputs.ts b/src/generated/forge-mcp/securityInsights/partners/outputs.ts new file mode 100644 index 00000000..ea065276 --- /dev/null +++ b/src/generated/forge-mcp/securityInsights/partners/outputs.ts @@ -0,0 +1,57 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `security-center_partnerEntitlement` in responses. + */ +export const security_center_partnerEntitlement_output: JsonSchema = { + "enum": [ + "baseline", + "premium" + ], + "type": "string" +}; + +/** + * The schema of `security-center_shadowHost` in responses. + */ +export const security_center_shadowHost_output: JsonSchema = { + "properties": { + "criticality": { + "enum": [ + "unknown", + "idle", + "low", + "medium", + "high" + ], + "type": "string" + }, + "discovered_at": { + "format": "date-time", + "type": "string" + }, + "hosting_provider": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "ip_address": { + "type": "string" + }, + "issue_count": { + "type": "integer" + } + }, + "required": [ + "criticality", + "discovered_at", + "hosting_provider", + "hostname", + "ip_address" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/securityInsights/partners/settings/outputs.ts b/src/generated/forge-mcp/securityInsights/partners/settings/outputs.ts new file mode 100644 index 00000000..fc7b3395 --- /dev/null +++ b/src/generated/forge-mcp/securityInsights/partners/settings/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `security-center_partnerSettings` in responses. + */ +export const security_center_partnerSettings_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts b/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts index 2f1d417b..605134a8 100644 --- a/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts @@ -2,7 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../../outputs.js"; import { security_center_identifier } from "../schemas.js"; +import { security_center_partnerSettings_output } from "./outputs.js"; import { security_center_partnerSettings } from "./schemas.js"; /** @@ -45,6 +50,37 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/security-center/partners/{partner}/settings", + responses: { + schemas: { + "200": { + "properties": { + "enabled": { + "type": "boolean" + }, + "resolution_status": { + "enum": [ + "resolved", + "not_found", + "no_zones", + "pending" + ], + "type": "string" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/security-center/partners/${pathParam(args, "partner")}/settings`, }), @@ -90,6 +126,21 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/security-center/partners/{partner}/settings", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_partnerSettings" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + "security-center_partnerSettings": security_center_partnerSettings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/security-center/partners/${pathParam(args, "partner")}/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts b/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts index 4fe41a13..d5a46a36 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../../outputs.js"; +import { + security_center_partnerEntitlement_output, + security_center_shadowHost_output, +} from "../outputs.js"; import { security_center_identifier } from "../schemas.js"; /** @@ -60,6 +68,53 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "collection_truncated": { + "type": "boolean" + }, + "domain": { + "type": "string" + }, + "entitlement": { + "$ref": "#/$defs/security-center_partnerEntitlement" + }, + "has_more": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/$defs/security-center_shadowHost" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "collection_truncated", + "domain", + "entitlement", + "has_more", + "items", + "total_count" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + "security-center_partnerEntitlement": security_center_partnerEntitlement_output, + "security-center_shadowHost": security_center_shadowHost_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/security-center/partners/${pathParam(args, "partner")}/shadow-hosts`, query: [ diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts b/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts index a093e7ac..231bf064 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../../outputs.js"; +import { + security_center_partnerEntitlement_output, + security_center_shadowHost_output, +} from "../outputs.js"; import { security_center_identifier } from "../schemas.js"; /** @@ -59,6 +67,53 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/security-center/partners/{partner}/shadow-zones/{domain}/hosts", + responses: { + schemas: { + "200": { + "properties": { + "collection_truncated": { + "type": "boolean" + }, + "domain": { + "type": "string" + }, + "entitlement": { + "$ref": "#/$defs/security-center_partnerEntitlement" + }, + "has_more": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/$defs/security-center_shadowHost" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "collection_truncated", + "domain", + "entitlement", + "has_more", + "items", + "total_count" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + "security-center_partnerEntitlement": security_center_partnerEntitlement_output, + "security-center_shadowHost": security_center_shadowHost_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/security-center/partners/${pathParam(args, "partner")}/shadow-zones/${pathParam(args, "domain")}/hosts`, query: [ diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts b/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts new file mode 100644 index 00000000..6d1d6f6c --- /dev/null +++ b/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts @@ -0,0 +1,28 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `security-center_shadowZone` in responses. + */ +export const security_center_shadowZone_output: JsonSchema = { + "properties": { + "discovered_at": { + "format": "date-time", + "type": "string" + }, + "domain": { + "type": "string" + }, + "shadow_host_count": { + "type": "integer" + } + }, + "required": [ + "discovered_at", + "domain", + "shadow_host_count" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts b/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts index 06461549..3ae0800b 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts @@ -2,7 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../../outputs.js"; +import { security_center_partnerEntitlement_output } from "../outputs.js"; import { security_center_identifier } from "../schemas.js"; +import { security_center_shadowZone_output } from "./outputs.js"; /** * The tools of `security_insights.partners.shadow_zones`. @@ -54,6 +60,49 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/security-center/partners/{partner}/shadow-zones", + responses: { + schemas: { + "200": { + "properties": { + "collection_truncated": { + "type": "boolean" + }, + "entitlement": { + "$ref": "#/$defs/security-center_partnerEntitlement" + }, + "has_more": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/$defs/security-center_shadowZone" + }, + "type": "array" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "collection_truncated", + "entitlement", + "has_more", + "items", + "total_count" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + "security-center_partnerEntitlement": security_center_partnerEntitlement_output, + "security-center_shadowZone": security_center_shadowZone_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/security-center/partners/${pathParam(args, "partner")}/shadow-zones`, query: [ diff --git a/src/generated/forge-mcp/securityInsights/scans/outputs.ts b/src/generated/forge-mcp/securityInsights/scans/outputs.ts new file mode 100644 index 00000000..65a59fc3 --- /dev/null +++ b/src/generated/forge-mcp/securityInsights/scans/outputs.ts @@ -0,0 +1,85 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `security-center_newScanResponse` in responses. + */ +export const security_center_newScanResponse_output: JsonSchema = { + "properties": { + "scan_id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `security-center_scanQuota` in responses. + */ +export const security_center_scanQuota_output: JsonSchema = { + "properties": { + "available": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "required": [ + "available", + "used" + ], + "type": "object" +}; + +/** + * The schema of `security-center_scanStatusResponse` in responses. + */ +export const security_center_scanStatusResponse_output: JsonSchema = { + "properties": { + "scan_id": { + "type": "string" + }, + "started_at": { + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "in_progress", + "completed" + ], + "type": "string" + } + }, + "required": [ + "scan_id", + "started_at", + "status" + ], + "type": "object" +}; + +/** + * The schema of `security-center_scansListResponse` in responses. + */ +export const security_center_scansListResponse_output: JsonSchema = { + "properties": { + "quota": { + "$ref": "#/$defs/security-center_scanQuota" + }, + "scans": { + "items": { + "$ref": "#/$defs/security-center_scanStatusResponse" + }, + "type": "array" + } + }, + "required": [ + "quota", + "scans" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/securityInsights/scans/tools.ts b/src/generated/forge-mcp/securityInsights/scans/tools.ts index b501842a..acf7a5bb 100644 --- a/src/generated/forge-mcp/securityInsights/scans/tools.ts +++ b/src/generated/forge-mcp/securityInsights/scans/tools.ts @@ -2,10 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../outputs.js"; import { security_center_issueClass, security_center_issueType, } from "../../schemas.js"; +import { + security_center_newScanResponse_output, + security_center_scanQuota_output, + security_center_scanStatusResponse_output, + security_center_scansListResponse_output, +} from "./outputs.js"; import { security_center_newScanRequest } from "./schemas.js"; /** @@ -46,6 +56,23 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights/scans", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_scansListResponse" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + "security-center_scanQuota": security_center_scanQuota_output, + "security-center_scanStatusResponse": security_center_scanStatusResponse_output, + "security-center_scansListResponse": security_center_scansListResponse_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/scans`, }), @@ -93,6 +120,21 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights/scans", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_newScanResponse" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + "security-center_newScanResponse": security_center_newScanResponse_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/scans`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/securityInsights/state/outputs.ts b/src/generated/forge-mcp/securityInsights/state/outputs.ts new file mode 100644 index 00000000..fd52c5bb --- /dev/null +++ b/src/generated/forge-mcp/securityInsights/state/outputs.ts @@ -0,0 +1,23 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `security-center_accountStateResponse` in responses. + */ +export const security_center_accountStateResponse_output: JsonSchema = { + "properties": { + "recent_dormant_reactivation": { + "type": "boolean" + }, + "scans_enabled": { + "type": "boolean" + } + }, + "required": [ + "recent_dormant_reactivation", + "scans_enabled" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/securityInsights/state/tools.ts b/src/generated/forge-mcp/securityInsights/state/tools.ts index 37e39568..f07bf1b5 100644 --- a/src/generated/forge-mcp/securityInsights/state/tools.ts +++ b/src/generated/forge-mcp/securityInsights/state/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_messages_output, +} from "../../outputs.js"; +import { security_center_accountStateResponse_output } from "./outputs.js"; import { security_center_updateAccountStateRequest } from "./schemas.js"; /** @@ -33,6 +38,21 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/security-center/state", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_accountStateResponse" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_accountStateResponse": security_center_accountStateResponse_output, + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/security-center/state`, }), @@ -69,6 +89,21 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/security-center/state", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_accountStateResponse" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_accountStateResponse": security_center_accountStateResponse_output, + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/security-center/state`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/securityInsights/tools.ts b/src/generated/forge-mcp/securityInsights/tools.ts index d7d6229b..2c5ec9f9 100644 --- a/src/generated/forge-mcp/securityInsights/tools.ts +++ b/src/generated/forge-mcp/securityInsights/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_api_response_common_output, + security_center_count_output, + security_center_issueClass_output, + security_center_issueType_output, + security_center_issue_output, + security_center_issue_payload_output, + security_center_messages_output, + security_center_page_output, + security_center_perPage_output, + security_center_source_output, + security_center_subject_output, + security_center_userClassification_output, +} from "../outputs.js"; import { security_center_dismissed, security_center_issueClass, @@ -70,6 +85,21 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights/{issue_id}/classification", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common": security_center_api_response_common_output, + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/${pathParam(args, "issue_id")}/classification`, body: { value: args["body"], mediaType: "application/json" }, @@ -130,6 +160,21 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common": security_center_api_response_common_output, + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/${pathParam(args, "issue_id")}/dismiss`, body: { value: args["body"], mediaType: "application/json" }, @@ -228,6 +273,47 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/{account_or_zone}/{account_or_zone_id}/security-center/insights", + responses: { + schemas: { + "200": { + "properties": { + "count": { + "$ref": "#/$defs/security-center_count" + }, + "issues": { + "items": { + "$ref": "#/$defs/security-center_issue" + }, + "type": "array" + }, + "page": { + "$ref": "#/$defs/security-center_page" + }, + "per_page": { + "$ref": "#/$defs/security-center_perPage" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_count": security_center_count_output, + "security-center_issue": security_center_issue_output, + "security-center_issueClass": security_center_issueClass_output, + "security-center_issueType": security_center_issueType_output, + "security-center_issue_payload": security_center_issue_payload_output, + "security-center_messages": security_center_messages_output, + "security-center_page": security_center_page_output, + "security-center_perPage": security_center_perPage_output, + "security-center_source": security_center_source_output, + "security-center_subject": security_center_subject_output, + "security-center_userClassification": security_center_userClassification_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights`, query: [ diff --git a/src/generated/forge-mcp/securityTxt/outputs.ts b/src/generated/forge-mcp/securityTxt/outputs.ts new file mode 100644 index 00000000..1918771a --- /dev/null +++ b/src/generated/forge-mcp/securityTxt/outputs.ts @@ -0,0 +1,59 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `security-center_securityTxt` in responses. + */ +export const security_center_securityTxt_output: JsonSchema = { + "properties": { + "acknowledgments": { + "items": { + "type": "string" + }, + "type": "array" + }, + "canonical": { + "items": { + "type": "string" + }, + "type": "array" + }, + "contact": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "encryption": { + "items": { + "type": "string" + }, + "type": "array" + }, + "expires": { + "format": "date-time", + "type": "string" + }, + "hiring": { + "items": { + "type": "string" + }, + "type": "array" + }, + "policy": { + "items": { + "type": "string" + }, + "type": "array" + }, + "preferred_languages": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/securityTxt/tools.ts b/src/generated/forge-mcp/securityTxt/tools.ts index 855b7456..2c91a19f 100644 --- a/src/generated/forge-mcp/securityTxt/tools.ts +++ b/src/generated/forge-mcp/securityTxt/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + security_center_api_response_common_failure_output, + security_center_api_response_common_output, + security_center_messages_output, +} from "../outputs.js"; +import { security_center_securityTxt_output } from "./outputs.js"; import { security_center_securityTxt } from "./schemas.js"; /** @@ -38,6 +44,21 @@ export const tools: readonly Tool[] = [ "Zone Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common": security_center_api_response_common_output, + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/security-center/securitytxt`, }), @@ -73,6 +94,21 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_securityTxt" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + "security-center_securityTxt": security_center_securityTxt_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/security-center/securitytxt`, }), @@ -114,6 +150,21 @@ export const tools: readonly Tool[] = [ "Zone Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/security-center_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/security-center_api-response-common-failure" + } + }, + $defs: { + "security-center_api-response-common": security_center_api_response_common_output, + "security-center_api-response-common-failure": security_center_api_response_common_failure_output, + "security-center_messages": security_center_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/security-center/securitytxt`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/signedUrl/tools.ts b/src/generated/forge-mcp/signedUrl/tools.ts index 14c1c567..c6a738e2 100644 --- a/src/generated/forge-mcp/signedUrl/tools.ts +++ b/src/generated/forge-mcp/signedUrl/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `signed_url`. @@ -24,6 +25,16 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/signed-url", + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (_args) => ({ path: `/signed-url`, }), diff --git a/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts b/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts new file mode 100644 index 00000000..46a8aaae --- /dev/null +++ b/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts @@ -0,0 +1,60 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `smartshield_cache_reserve_clear` in responses. + */ +export const smartshield_cache_reserve_clear_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "cache_reserve_clear" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `smartshield_cache_reserve_clear_end_ts` in responses. + */ +export const smartshield_cache_reserve_clear_end_ts_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `smartshield_cache_reserve_clear_start_ts` in responses. + */ +export const smartshield_cache_reserve_clear_start_ts_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `smartshield_cache_reserve_clear_state` in responses. + */ +export const smartshield_cache_reserve_clear_state_output: JsonSchema = { + "enum": [ + "In-progress", + "Completed" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts b/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts index ddf69dab..5d1ccefe 100644 --- a/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts +++ b/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + smartshield_api_response_common_failure_output, + smartshield_messages_output, +} from "../outputs.js"; +import { + smartshield_cache_reserve_clear_end_ts_output, + smartshield_cache_reserve_clear_output, + smartshield_cache_reserve_clear_start_ts_output, + smartshield_cache_reserve_clear_state_output, +} from "./outputs.js"; /** * The tools of `smart_shield.cache_reserve_clear`. @@ -54,6 +64,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/smartshield_cache_reserve_clear" + }, + { + "properties": { + "end_ts": { + "$ref": "#/$defs/smartshield_cache_reserve_clear_end_ts" + }, + "start_ts": { + "$ref": "#/$defs/smartshield_cache_reserve_clear_start_ts" + }, + "state": { + "$ref": "#/$defs/smartshield_cache_reserve_clear_state" + } + }, + "required": [ + "start_ts", + "state" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + }, + $defs: { + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear_output, + "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts_output, + "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts_output, + "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state_output, + "smartshield_messages": smartshield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield/cache_reserve_clear`, }), @@ -107,6 +157,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/smartshield_cache_reserve_clear" + }, + { + "properties": { + "end_ts": { + "$ref": "#/$defs/smartshield_cache_reserve_clear_end_ts" + }, + "start_ts": { + "$ref": "#/$defs/smartshield_cache_reserve_clear_start_ts" + }, + "state": { + "$ref": "#/$defs/smartshield_cache_reserve_clear_state" + } + }, + "required": [ + "start_ts", + "state" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + }, + $defs: { + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear_output, + "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts_output, + "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts_output, + "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state_output, + "smartshield_messages": smartshield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield/cache_reserve_clear`, }), diff --git a/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts b/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts new file mode 100644 index 00000000..8e76b1f6 --- /dev/null +++ b/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts @@ -0,0 +1,426 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `smartshield_address` in responses. + */ +export const smartshield_address_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `smartshield_check_regions` in responses. + */ +export const smartshield_check_regions_output: JsonSchema = { + "oneOf": [ + { + "items": { + "enum": [ + "WNAM", + "ENAM", + "WEU", + "EEU", + "NSAM", + "SSAM", + "OC", + "ME", + "NAF", + "SAF", + "IN", + "SEAS", + "NEAS", + "ALL_REGIONS" + ], + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `smartshield_consecutive_fails` in responses. + */ +export const smartshield_consecutive_fails_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `smartshield_consecutive_successes` in responses. + */ +export const smartshield_consecutive_successes_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `smartshield_description` in responses. + */ +export const smartshield_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `smartshield_failure_reason` in responses. + */ +export const smartshield_failure_reason_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `smartshield_healthchecks` in responses. + */ +export const smartshield_healthchecks_output: JsonSchema = { + "properties": { + "address": { + "$ref": "#/$defs/smartshield_address" + }, + "check_regions": { + "$ref": "#/$defs/smartshield_check_regions" + }, + "consecutive_fails": { + "$ref": "#/$defs/smartshield_consecutive_fails" + }, + "consecutive_successes": { + "$ref": "#/$defs/smartshield_consecutive_successes" + }, + "created_on": { + "$ref": "#/$defs/smartshield_timestamp" + }, + "description": { + "$ref": "#/$defs/smartshield_description" + }, + "failure_reason": { + "$ref": "#/$defs/smartshield_failure_reason" + }, + "http_config": { + "$ref": "#/$defs/smartshield_http_config" + }, + "id": { + "$ref": "#/$defs/smartshield_identifier" + }, + "interval": { + "$ref": "#/$defs/smartshield_interval" + }, + "modified_on": { + "$ref": "#/$defs/smartshield_timestamp" + }, + "name": { + "$ref": "#/$defs/smartshield_name" + }, + "retries": { + "$ref": "#/$defs/smartshield_retries" + }, + "status": { + "$ref": "#/$defs/smartshield_status" + }, + "suspended": { + "$ref": "#/$defs/smartshield_suspended" + }, + "tcp_config": { + "$ref": "#/$defs/smartshield_tcp_config" + }, + "timeout": { + "$ref": "#/$defs/smartshield_timeout" + }, + "type": { + "$ref": "#/$defs/smartshield_type" + } + }, + "type": "object" +}; + +/** + * The schema of `smartshield_http_config` in responses. + */ +export const smartshield_http_config_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "allow_insecure": { + "type": "boolean" + }, + "expected_body": { + "type": "string" + }, + "expected_codes": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "follow_redirects": { + "type": "boolean" + }, + "header": { + "oneOf": [ + { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "method": { + "enum": [ + "GET", + "HEAD" + ], + "type": "string" + }, + "path": { + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `smartshield_identifier` in responses. + */ +export const smartshield_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `smartshield_interval` in responses. + */ +export const smartshield_interval_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `smartshield_name` in responses. + */ +export const smartshield_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `smartshield_response_collection` in responses. + */ +export const smartshield_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/smartshield_messages" + }, + "messages": { + "$ref": "#/$defs/smartshield_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/smartshield_healthchecks" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/smartshield_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `smartshield_result_info` in responses. + */ +export const smartshield_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `smartshield_retries` in responses. + */ +export const smartshield_retries_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `smartshield_single_hc_id_response` in responses. + */ +export const smartshield_single_hc_id_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/smartshield_messages" + }, + "messages": { + "$ref": "#/$defs/smartshield_messages" + }, + "result": { + "$ref": "#/$defs/smartshield_single_hc_id_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `smartshield_single_hc_id_response_result` in responses. + */ +export const smartshield_single_hc_id_response_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/smartshield_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `smartshield_single_hc_response` in responses. + */ +export const smartshield_single_hc_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/smartshield_messages" + }, + "messages": { + "$ref": "#/$defs/smartshield_messages" + }, + "result": { + "$ref": "#/$defs/smartshield_healthchecks" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `smartshield_status` in responses. + */ +export const smartshield_status_output: JsonSchema = { + "enum": [ + "unknown", + "healthy", + "unhealthy", + "suspended" + ], + "type": "string" +}; + +/** + * The schema of `smartshield_suspended` in responses. + */ +export const smartshield_suspended_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `smartshield_tcp_config` in responses. + */ +export const smartshield_tcp_config_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "method": { + "enum": [ + "connection_established" + ], + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `smartshield_timeout` in responses. + */ +export const smartshield_timeout_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `smartshield_timestamp` in responses. + */ +export const smartshield_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `smartshield_type` in responses. + */ +export const smartshield_type_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/smartShield/healthChecks/tools.ts b/src/generated/forge-mcp/smartShield/healthChecks/tools.ts index 7ba5e9e1..73e38a71 100644 --- a/src/generated/forge-mcp/smartShield/healthChecks/tools.ts +++ b/src/generated/forge-mcp/smartShield/healthChecks/tools.ts @@ -2,7 +2,36 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + smartshield_api_response_common_failure_output, + smartshield_messages_output, +} from "../outputs.js"; import { smartshield_messages } from "../schemas.js"; +import { + smartshield_address_output, + smartshield_check_regions_output, + smartshield_consecutive_fails_output, + smartshield_consecutive_successes_output, + smartshield_description_output, + smartshield_failure_reason_output, + smartshield_healthchecks_output, + smartshield_http_config_output, + smartshield_identifier_output, + smartshield_interval_output, + smartshield_name_output, + smartshield_response_collection_output, + smartshield_result_info_output, + smartshield_retries_output, + smartshield_single_hc_id_response_output, + smartshield_single_hc_id_response_result_output, + smartshield_single_hc_response_output, + smartshield_status_output, + smartshield_suspended_output, + smartshield_tcp_config_output, + smartshield_timeout_output, + smartshield_timestamp_output, + smartshield_type_output, +} from "./outputs.js"; import { smartshield_address, smartshield_check_regions, @@ -82,6 +111,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/smartshield_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/smartshield_single_hc_response" + }, + { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + ] + } + }, + $defs: { + "smartshield_address": smartshield_address_output, + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_check_regions": smartshield_check_regions_output, + "smartshield_consecutive_fails": smartshield_consecutive_fails_output, + "smartshield_consecutive_successes": smartshield_consecutive_successes_output, + "smartshield_description": smartshield_description_output, + "smartshield_failure_reason": smartshield_failure_reason_output, + "smartshield_healthchecks": smartshield_healthchecks_output, + "smartshield_http_config": smartshield_http_config_output, + "smartshield_identifier": smartshield_identifier_output, + "smartshield_interval": smartshield_interval_output, + "smartshield_messages": smartshield_messages_output, + "smartshield_name": smartshield_name_output, + "smartshield_retries": smartshield_retries_output, + "smartshield_single_hc_response": smartshield_single_hc_response_output, + "smartshield_status": smartshield_status_output, + "smartshield_suspended": smartshield_suspended_output, + "smartshield_tcp_config": smartshield_tcp_config_output, + "smartshield_timeout": smartshield_timeout_output, + "smartshield_timestamp": smartshield_timestamp_output, + "smartshield_type": smartshield_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield/healthchecks`, body: { value: args["body"], mediaType: "application/json" }, @@ -128,6 +197,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/smartshield_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/smartshield_single_hc_id_response" + }, + { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + ] + } + }, + $defs: { + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_identifier": smartshield_identifier_output, + "smartshield_messages": smartshield_messages_output, + "smartshield_single_hc_id_response": smartshield_single_hc_id_response_output, + "smartshield_single_hc_id_response_result": smartshield_single_hc_id_response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield/healthchecks/${pathParam(args, "healthcheck_id")}`, }), @@ -193,6 +291,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/smartshield_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/smartshield_single_hc_response" + }, + { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + ] + } + }, + $defs: { + "smartshield_address": smartshield_address_output, + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_check_regions": smartshield_check_regions_output, + "smartshield_consecutive_fails": smartshield_consecutive_fails_output, + "smartshield_consecutive_successes": smartshield_consecutive_successes_output, + "smartshield_description": smartshield_description_output, + "smartshield_failure_reason": smartshield_failure_reason_output, + "smartshield_healthchecks": smartshield_healthchecks_output, + "smartshield_http_config": smartshield_http_config_output, + "smartshield_identifier": smartshield_identifier_output, + "smartshield_interval": smartshield_interval_output, + "smartshield_messages": smartshield_messages_output, + "smartshield_name": smartshield_name_output, + "smartshield_retries": smartshield_retries_output, + "smartshield_single_hc_response": smartshield_single_hc_response_output, + "smartshield_status": smartshield_status_output, + "smartshield_suspended": smartshield_suspended_output, + "smartshield_tcp_config": smartshield_tcp_config_output, + "smartshield_timeout": smartshield_timeout_output, + "smartshield_timestamp": smartshield_timestamp_output, + "smartshield_type": smartshield_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield/healthchecks/${pathParam(args, "healthcheck_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -240,6 +378,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/smartshield_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/smartshield_single_hc_response" + }, + { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + ] + } + }, + $defs: { + "smartshield_address": smartshield_address_output, + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_check_regions": smartshield_check_regions_output, + "smartshield_consecutive_fails": smartshield_consecutive_fails_output, + "smartshield_consecutive_successes": smartshield_consecutive_successes_output, + "smartshield_description": smartshield_description_output, + "smartshield_failure_reason": smartshield_failure_reason_output, + "smartshield_healthchecks": smartshield_healthchecks_output, + "smartshield_http_config": smartshield_http_config_output, + "smartshield_identifier": smartshield_identifier_output, + "smartshield_interval": smartshield_interval_output, + "smartshield_messages": smartshield_messages_output, + "smartshield_name": smartshield_name_output, + "smartshield_retries": smartshield_retries_output, + "smartshield_single_hc_response": smartshield_single_hc_response_output, + "smartshield_status": smartshield_status_output, + "smartshield_suspended": smartshield_suspended_output, + "smartshield_tcp_config": smartshield_tcp_config_output, + "smartshield_timeout": smartshield_timeout_output, + "smartshield_timestamp": smartshield_timestamp_output, + "smartshield_type": smartshield_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield/healthchecks/${pathParam(args, "healthcheck_id")}`, }), @@ -291,6 +469,61 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/smartshield_healthchecks" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/smartshield_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/smartshield_response_collection" + }, + { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + ] + } + }, + $defs: { + "smartshield_address": smartshield_address_output, + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_check_regions": smartshield_check_regions_output, + "smartshield_consecutive_fails": smartshield_consecutive_fails_output, + "smartshield_consecutive_successes": smartshield_consecutive_successes_output, + "smartshield_description": smartshield_description_output, + "smartshield_failure_reason": smartshield_failure_reason_output, + "smartshield_healthchecks": smartshield_healthchecks_output, + "smartshield_http_config": smartshield_http_config_output, + "smartshield_identifier": smartshield_identifier_output, + "smartshield_interval": smartshield_interval_output, + "smartshield_messages": smartshield_messages_output, + "smartshield_name": smartshield_name_output, + "smartshield_response_collection": smartshield_response_collection_output, + "smartshield_result_info": smartshield_result_info_output, + "smartshield_retries": smartshield_retries_output, + "smartshield_status": smartshield_status_output, + "smartshield_suspended": smartshield_suspended_output, + "smartshield_tcp_config": smartshield_tcp_config_output, + "smartshield_timeout": smartshield_timeout_output, + "smartshield_timestamp": smartshield_timestamp_output, + "smartshield_type": smartshield_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield/healthchecks`, query: [ @@ -362,6 +595,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/smartshield_healthchecks" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/smartshield_single_hc_response" + }, + { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + ] + } + }, + $defs: { + "smartshield_address": smartshield_address_output, + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_check_regions": smartshield_check_regions_output, + "smartshield_consecutive_fails": smartshield_consecutive_fails_output, + "smartshield_consecutive_successes": smartshield_consecutive_successes_output, + "smartshield_description": smartshield_description_output, + "smartshield_failure_reason": smartshield_failure_reason_output, + "smartshield_healthchecks": smartshield_healthchecks_output, + "smartshield_http_config": smartshield_http_config_output, + "smartshield_identifier": smartshield_identifier_output, + "smartshield_interval": smartshield_interval_output, + "smartshield_messages": smartshield_messages_output, + "smartshield_name": smartshield_name_output, + "smartshield_retries": smartshield_retries_output, + "smartshield_single_hc_response": smartshield_single_hc_response_output, + "smartshield_status": smartshield_status_output, + "smartshield_suspended": smartshield_suspended_output, + "smartshield_tcp_config": smartshield_tcp_config_output, + "smartshield_timeout": smartshield_timeout_output, + "smartshield_timestamp": smartshield_timestamp_output, + "smartshield_type": smartshield_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield/healthchecks/${pathParam(args, "healthcheck_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/smartShield/outputs.ts b/src/generated/forge-mcp/smartShield/outputs.ts new file mode 100644 index 00000000..378edbe7 --- /dev/null +++ b/src/generated/forge-mcp/smartShield/outputs.ts @@ -0,0 +1,216 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `smartshield_api-response-common-failure` in responses. + */ +export const smartshield_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/smartshield_messages" + }, + "messages": { + "$ref": "#/$defs/smartshield_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `smartshield_messages` in responses. + */ +export const smartshield_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `smartshield_smart_shield_settings_get_response` in responses. + */ +export const smartshield_smart_shield_settings_get_response_output: JsonSchema = { + "properties": { + "cache_reserve": { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" + }, + "healthchecks_count": { + "type": "integer" + }, + "regional_tiered_cache": { + "$ref": "#/$defs/smartshield_smart_shield_settings_regional_tiered_cache" + }, + "smart_routing": { + "$ref": "#/$defs/smartshield_smart_shield_settings_smart_routing" + }, + "smart_tiered_cache": { + "$ref": "#/$defs/smartshield_smart_shield_settings_smart_tiered_cache" + } + }, + "required": [ + "cache_reserve", + "regional_tiered_cache", + "smart_routing", + "smart_tiered_cache", + "healthchecks_count" + ], + "type": "object" +}; + +/** + * The schema of `smartshield_smart_shield_settings_patch_response` in + * responses. + */ +export const smartshield_smart_shield_settings_patch_response_output: JsonSchema = { + "properties": { + "smart_tiered_cache": { + "$ref": "#/$defs/smartshield_smart_shield_settings_patch_response_smart_tiered_cache" + } + }, + "required": [ + "smart_tiered_cache" + ], + "type": "object" +}; + +/** + * The schema of + * `smartshield_smart_shield_settings_patch_response_smart_tiered_cache` in + * responses. + */ +export const smartshield_smart_shield_settings_patch_response_smart_tiered_cache_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "modified_on": { + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `smartshield_smart_shield_settings_regional_tiered_cache` in + * responses. + */ +export const smartshield_smart_shield_settings_regional_tiered_cache_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `smartshield_smart_shield_settings_smart_routing` in responses. + */ +export const smartshield_smart_shield_settings_smart_routing_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `smartshield_smart_shield_settings_smart_tiered_cache` in + * responses. + */ +export const smartshield_smart_shield_settings_smart_tiered_cache_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "modified_on": { + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/smartShield/tools.ts b/src/generated/forge-mcp/smartShield/tools.ts index ac21a7a0..6a337890 100644 --- a/src/generated/forge-mcp/smartShield/tools.ts +++ b/src/generated/forge-mcp/smartShield/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + smartshield_api_response_common_failure_output, + smartshield_messages_output, + smartshield_smart_shield_settings_get_response_output, + smartshield_smart_shield_settings_patch_response_output, + smartshield_smart_shield_settings_patch_response_smart_tiered_cache_output, + smartshield_smart_shield_settings_regional_tiered_cache_output, + smartshield_smart_shield_settings_smart_routing_output, + smartshield_smart_shield_settings_smart_tiered_cache_output, +} from "./outputs.js"; import { smartshield_smart_shield_settings_patch_body, smartshield_smart_shield_settings_patch_body_cache_reserve, @@ -63,6 +73,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/smartshield_smart_shield_settings_get_response" + }, + "4XX": { + "$ref": "#/$defs/smartshield_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/smartshield_api-response-common-failure" + }, + "502": { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + }, + $defs: { + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_messages": smartshield_messages_output, + "smartshield_smart_shield_settings_get_response": smartshield_smart_shield_settings_get_response_output, + "smartshield_smart_shield_settings_regional_tiered_cache": smartshield_smart_shield_settings_regional_tiered_cache_output, + "smartshield_smart_shield_settings_smart_routing": smartshield_smart_shield_settings_smart_routing_output, + "smartshield_smart_shield_settings_smart_tiered_cache": smartshield_smart_shield_settings_smart_tiered_cache_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield`, }), @@ -129,6 +163,28 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/smartshield_smart_shield_settings_patch_response" + }, + "4XX": { + "$ref": "#/$defs/smartshield_api-response-common-failure" + }, + "500": { + "$ref": "#/$defs/smartshield_api-response-common-failure" + }, + "502": { + "$ref": "#/$defs/smartshield_api-response-common-failure" + } + }, + $defs: { + "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, + "smartshield_messages": smartshield_messages_output, + "smartshield_smart_shield_settings_patch_response": smartshield_smart_shield_settings_patch_response_output, + "smartshield_smart_shield_settings_patch_response_smart_tiered_cache": smartshield_smart_shield_settings_patch_response_smart_tiered_cache_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/snippets/content/tools.ts b/src/generated/forge-mcp/snippets/content/tools.ts index a53aa93a..58dc3bfd 100644 --- a/src/generated/forge-mcp/snippets/content/tools.ts +++ b/src/generated/forge-mcp/snippets/content/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + snippets_Errors_output, + snippets_Message_output, + snippets_Messages_output, + snippets_Response_output, +} from "../outputs.js"; /** * The tools of `snippets.content`. @@ -49,6 +55,59 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": null, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "snippets_Errors": snippets_Errors_output, + "snippets_Message": snippets_Message_output, + "snippets_Messages": snippets_Messages_output, + "snippets_Response": snippets_Response_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/snippets/${pathParam(args, "snippet_name")}/content`, }), diff --git a/src/generated/forge-mcp/snippets/outputs.ts b/src/generated/forge-mcp/snippets/outputs.ts new file mode 100644 index 00000000..09ec32b5 --- /dev/null +++ b/src/generated/forge-mcp/snippets/outputs.ts @@ -0,0 +1,141 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `snippets_Errors` in responses. + */ +export const snippets_Errors_output: JsonSchema = { + "items": { + "$ref": "#/$defs/snippets_Message" + }, + "type": "array" +}; + +/** + * The schema of `snippets_Message` in responses. + */ +export const snippets_Message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" +}; + +/** + * The schema of `snippets_Messages` in responses. + */ +export const snippets_Messages_output: JsonSchema = { + "items": { + "$ref": "#/$defs/snippets_Message" + }, + "type": "array" +}; + +/** + * The schema of `snippets_Page` in responses. + */ +export const snippets_Page_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `snippets_PerPage` in responses. + */ +export const snippets_PerPage_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `snippets_Response` in responses. + */ +export const snippets_Response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/snippets_Errors" + }, + "messages": { + "$ref": "#/$defs/snippets_Messages" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `snippets_ResultInfo` in responses. + */ +export const snippets_ResultInfo_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "$ref": "#/$defs/snippets_Page" + }, + "per_page": { + "$ref": "#/$defs/snippets_PerPage" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count", + "total_pages" + ], + "type": "object" +}; + +/** + * The schema of `snippets_Snippet` in responses. + */ +export const snippets_Snippet_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "snippet_name": { + "$ref": "#/$defs/snippets_SnippetName" + } + }, + "required": [ + "created_on", + "snippet_name" + ], + "type": "object" +}; + +/** + * The schema of `snippets_SnippetName` in responses. + */ +export const snippets_SnippetName_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/snippets/rules/outputs.ts b/src/generated/forge-mcp/snippets/rules/outputs.ts new file mode 100644 index 00000000..810a14c5 --- /dev/null +++ b/src/generated/forge-mcp/snippets/rules/outputs.ts @@ -0,0 +1,41 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `snippets_SnippetRules` in responses. + */ +export const snippets_SnippetRules_output: JsonSchema = { + "items": { + "properties": { + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "snippet_name": { + "$ref": "#/$defs/snippets_SnippetName" + } + }, + "required": [ + "expression", + "id", + "last_updated", + "snippet_name" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/snippets/rules/tools.ts b/src/generated/forge-mcp/snippets/rules/tools.ts index 8098a7ee..09e824b5 100644 --- a/src/generated/forge-mcp/snippets/rules/tools.ts +++ b/src/generated/forge-mcp/snippets/rules/tools.ts @@ -2,7 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + snippets_Errors_output, + snippets_Message_output, + snippets_Messages_output, + snippets_Response_output, + snippets_SnippetName_output, +} from "../outputs.js"; import { snippets_SnippetName } from "../schemas.js"; +import { snippets_SnippetRules_output } from "./outputs.js"; import { snippets_SnippetRules } from "./schemas.js"; /** @@ -45,6 +53,82 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "$ref": "#/$defs/snippets_SnippetRules" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "snippets_Errors": snippets_Errors_output, + "snippets_Message": snippets_Message_output, + "snippets_Messages": snippets_Messages_output, + "snippets_Response": snippets_Response_output, + "snippets_SnippetName": snippets_SnippetName_output, + "snippets_SnippetRules": snippets_SnippetRules_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/snippets/snippet_rules`, }), @@ -86,6 +170,82 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "$ref": "#/$defs/snippets_SnippetRules" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "snippets_Errors": snippets_Errors_output, + "snippets_Message": snippets_Message_output, + "snippets_Messages": snippets_Messages_output, + "snippets_Response": snippets_Response_output, + "snippets_SnippetName": snippets_SnippetName_output, + "snippets_SnippetRules": snippets_SnippetRules_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/snippets/snippet_rules`, }), @@ -143,6 +303,82 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "$ref": "#/$defs/snippets_SnippetRules" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "snippets_Errors": snippets_Errors_output, + "snippets_Message": snippets_Message_output, + "snippets_Messages": snippets_Messages_output, + "snippets_Response": snippets_Response_output, + "snippets_SnippetName": snippets_SnippetName_output, + "snippets_SnippetRules": snippets_SnippetRules_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/snippets/snippet_rules`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/snippets/tools.ts b/src/generated/forge-mcp/snippets/tools.ts index a8541372..113044e1 100644 --- a/src/generated/forge-mcp/snippets/tools.ts +++ b/src/generated/forge-mcp/snippets/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + snippets_Errors_output, + snippets_Message_output, + snippets_Messages_output, + snippets_Page_output, + snippets_PerPage_output, + snippets_Response_output, + snippets_ResultInfo_output, + snippets_SnippetName_output, + snippets_Snippet_output, +} from "./outputs.js"; import { snippets_Page, snippets_PerPage } from "./schemas.js"; /** @@ -49,6 +60,80 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "type": "null" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "snippets_Errors": snippets_Errors_output, + "snippets_Message": snippets_Message_output, + "snippets_Messages": snippets_Messages_output, + "snippets_Response": snippets_Response_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/snippets/${pathParam(args, "snippet_name")}`, }), @@ -95,6 +180,82 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "$ref": "#/$defs/snippets_Snippet" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "snippets_Errors": snippets_Errors_output, + "snippets_Message": snippets_Message_output, + "snippets_Messages": snippets_Messages_output, + "snippets_Response": snippets_Response_output, + "snippets_Snippet": snippets_Snippet_output, + "snippets_SnippetName": snippets_SnippetName_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/snippets/${pathParam(args, "snippet_name")}`, }), @@ -150,6 +311,91 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "items": { + "$ref": "#/$defs/snippets_Snippet" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/snippets_ResultInfo" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/snippets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "snippets_Errors": snippets_Errors_output, + "snippets_Message": snippets_Message_output, + "snippets_Messages": snippets_Messages_output, + "snippets_Page": snippets_Page_output, + "snippets_PerPage": snippets_PerPage_output, + "snippets_Response": snippets_Response_output, + "snippets_ResultInfo": snippets_ResultInfo_output, + "snippets_Snippet": snippets_Snippet_output, + "snippets_SnippetName": snippets_SnippetName_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/snippets`, query: [ diff --git a/src/generated/forge-mcp/source.json b/src/generated/forge-mcp/source.json new file mode 100644 index 00000000..2f3cf00f --- /dev/null +++ b/src/generated/forge-mcp/source.json @@ -0,0 +1,3 @@ +{ + "release": "openapi@fdbc7d9b0fdce613501dd81cb37466fbaf0b7cca" +} diff --git a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts index 847a14a5..fa589e96 100644 --- a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + spectrum_analytics_api_response_common_failure_output, + spectrum_analytics_identifier_output, + spectrum_analytics_messages_output, +} from "../../outputs.js"; import { spectrum_analytics_app_id_param } from "./schemas.js"; /** @@ -49,6 +54,66 @@ export const tools: readonly Tool[] = [ "Analytics Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "appID": { + "allOf": [ + { + "type": "string" + }, + { + "$ref": "#/$defs/spectrum-analytics_identifier" + } + ] + }, + "bytesEgress": { + "type": "number" + }, + "bytesIngress": { + "type": "number" + }, + "connections": { + "type": "number" + }, + "durationAvg": { + "type": "number" + } + }, + "required": [ + "appID", + "bytesEgress", + "bytesIngress", + "connections", + "durationAvg" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/spectrum-analytics_api-response-common-failure" + } + }, + $defs: { + "spectrum-analytics_api-response-common-failure": spectrum_analytics_api_response_common_failure_output, + "spectrum-analytics_identifier": spectrum_analytics_identifier_output, + "spectrum-analytics_messages": spectrum_analytics_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/analytics/aggregate/current`, query: [ diff --git a/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts b/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts index 087c17d0..31994132 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts @@ -2,11 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + spectrum_analytics_api_response_common_failure_output, + spectrum_analytics_messages_output, + spectrum_analytics_since_output, + spectrum_analytics_timestamp_output, + spectrum_analytics_until_output, +} from "../../outputs.js"; import { spectrum_analytics_since, spectrum_analytics_timestamp, spectrum_analytics_until, } from "../../schemas.js"; +import { + spectrum_analytics_column_metrics_output, + spectrum_analytics_column_output, + spectrum_analytics_dimensions_output, + spectrum_analytics_filters_output, + spectrum_analytics_metrics_output, + spectrum_analytics_query_output, + spectrum_analytics_sort_output, + spectrum_analytics_stat_output, +} from "../outputs.js"; import { spectrum_analytics_dimensions, spectrum_analytics_filters, @@ -94,6 +111,75 @@ export const tools: readonly Tool[] = [ "Analytics Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/spectrum-analytics_column" + }, + "type": "array" + }, + "data_lag": { + "type": "number" + }, + "max": { + "$ref": "#/$defs/spectrum-analytics_stat" + }, + "min": { + "$ref": "#/$defs/spectrum-analytics_stat" + }, + "query": { + "$ref": "#/$defs/spectrum-analytics_query" + }, + "rows": { + "type": "number" + }, + "time_intervals": { + "items": { + "items": { + "$ref": "#/$defs/spectrum-analytics_timestamp" + }, + "type": "array" + }, + "type": "array" + }, + "totals": { + "$ref": "#/$defs/spectrum-analytics_stat" + } + }, + "required": [ + "data", + "data_lag", + "max", + "min", + "query", + "rows", + "totals" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/spectrum-analytics_api-response-common-failure" + } + }, + $defs: { + "spectrum-analytics_api-response-common-failure": spectrum_analytics_api_response_common_failure_output, + "spectrum-analytics_column": spectrum_analytics_column_output, + "spectrum-analytics_column_metrics": spectrum_analytics_column_metrics_output, + "spectrum-analytics_dimensions": spectrum_analytics_dimensions_output, + "spectrum-analytics_filters": spectrum_analytics_filters_output, + "spectrum-analytics_messages": spectrum_analytics_messages_output, + "spectrum-analytics_metrics": spectrum_analytics_metrics_output, + "spectrum-analytics_query": spectrum_analytics_query_output, + "spectrum-analytics_since": spectrum_analytics_since_output, + "spectrum-analytics_sort": spectrum_analytics_sort_output, + "spectrum-analytics_stat": spectrum_analytics_stat_output, + "spectrum-analytics_timestamp": spectrum_analytics_timestamp_output, + "spectrum-analytics_until": spectrum_analytics_until_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/analytics/events/bytime`, query: [ diff --git a/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts new file mode 100644 index 00000000..d53dcab0 --- /dev/null +++ b/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts @@ -0,0 +1,137 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `spectrum-analytics_column` in responses. + */ +export const spectrum_analytics_column_output: JsonSchema = { + "properties": { + "dimensions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "metrics": { + "$ref": "#/$defs/spectrum-analytics_column_metrics" + } + }, + "type": "object" +}; + +/** + * The schema of `spectrum-analytics_column_metrics` in responses. + */ +export const spectrum_analytics_column_metrics_output: JsonSchema = { + "oneOf": [ + { + "items": { + "type": "number" + }, + "type": "array" + }, + { + "items": { + "items": { + "type": "number" + }, + "type": "array" + }, + "type": "array" + } + ] +}; + +/** + * The schema of `spectrum-analytics_dimensions` in responses. + */ +export const spectrum_analytics_dimensions_output: JsonSchema = { + "items": { + "enum": [ + "event", + "appID", + "coloName", + "ipVersion" + ], + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `spectrum-analytics_filters` in responses. + */ +export const spectrum_analytics_filters_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `spectrum-analytics_metrics` in responses. + */ +export const spectrum_analytics_metrics_output: JsonSchema = { + "items": { + "enum": [ + "count", + "bytesIngress", + "bytesEgress", + "durationAvg", + "durationMedian", + "duration90th", + "duration99th" + ], + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `spectrum-analytics_query` in responses. + */ +export const spectrum_analytics_query_output: JsonSchema = { + "properties": { + "dimensions": { + "$ref": "#/$defs/spectrum-analytics_dimensions" + }, + "filters": { + "$ref": "#/$defs/spectrum-analytics_filters" + }, + "limit": { + "type": "number" + }, + "metrics": { + "$ref": "#/$defs/spectrum-analytics_metrics" + }, + "since": { + "$ref": "#/$defs/spectrum-analytics_since" + }, + "sort": { + "$ref": "#/$defs/spectrum-analytics_sort" + }, + "until": { + "$ref": "#/$defs/spectrum-analytics_until" + } + }, + "type": "object" +}; + +/** + * The schema of `spectrum-analytics_sort` in responses. + */ +export const spectrum_analytics_sort_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `spectrum-analytics_stat` in responses. + */ +export const spectrum_analytics_stat_output: JsonSchema = { + "additionalProperties": { + "type": "number" + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts b/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts index 05db518e..b4b0f0e8 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts @@ -2,11 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + spectrum_analytics_api_response_common_failure_output, + spectrum_analytics_messages_output, + spectrum_analytics_since_output, + spectrum_analytics_timestamp_output, + spectrum_analytics_until_output, +} from "../../outputs.js"; import { spectrum_analytics_since, spectrum_analytics_timestamp, spectrum_analytics_until, } from "../../schemas.js"; +import { + spectrum_analytics_column_metrics_output, + spectrum_analytics_column_output, + spectrum_analytics_dimensions_output, + spectrum_analytics_filters_output, + spectrum_analytics_metrics_output, + spectrum_analytics_query_output, + spectrum_analytics_sort_output, + spectrum_analytics_stat_output, +} from "../outputs.js"; import { spectrum_analytics_dimensions, spectrum_analytics_filters, @@ -79,6 +96,75 @@ export const tools: readonly Tool[] = [ "Analytics Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "items": { + "$ref": "#/$defs/spectrum-analytics_column" + }, + "type": "array" + }, + "data_lag": { + "type": "number" + }, + "max": { + "$ref": "#/$defs/spectrum-analytics_stat" + }, + "min": { + "$ref": "#/$defs/spectrum-analytics_stat" + }, + "query": { + "$ref": "#/$defs/spectrum-analytics_query" + }, + "rows": { + "type": "number" + }, + "time_intervals": { + "items": { + "items": { + "$ref": "#/$defs/spectrum-analytics_timestamp" + }, + "type": "array" + }, + "type": "array" + }, + "totals": { + "$ref": "#/$defs/spectrum-analytics_stat" + } + }, + "required": [ + "data", + "data_lag", + "max", + "min", + "query", + "rows", + "totals" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/spectrum-analytics_api-response-common-failure" + } + }, + $defs: { + "spectrum-analytics_api-response-common-failure": spectrum_analytics_api_response_common_failure_output, + "spectrum-analytics_column": spectrum_analytics_column_output, + "spectrum-analytics_column_metrics": spectrum_analytics_column_metrics_output, + "spectrum-analytics_dimensions": spectrum_analytics_dimensions_output, + "spectrum-analytics_filters": spectrum_analytics_filters_output, + "spectrum-analytics_messages": spectrum_analytics_messages_output, + "spectrum-analytics_metrics": spectrum_analytics_metrics_output, + "spectrum-analytics_query": spectrum_analytics_query_output, + "spectrum-analytics_since": spectrum_analytics_since_output, + "spectrum-analytics_sort": spectrum_analytics_sort_output, + "spectrum-analytics_stat": spectrum_analytics_stat_output, + "spectrum-analytics_timestamp": spectrum_analytics_timestamp_output, + "spectrum-analytics_until": spectrum_analytics_until_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/analytics/events/summary`, query: [ diff --git a/src/generated/forge-mcp/spectrum/analytics/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/outputs.ts new file mode 100644 index 00000000..fca8d364 --- /dev/null +++ b/src/generated/forge-mcp/spectrum/analytics/outputs.ts @@ -0,0 +1,110 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `spectrum-analytics_api-response-common-failure` in responses. + */ +export const spectrum_analytics_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/spectrum-analytics_messages" + }, + "messages": { + "$ref": "#/$defs/spectrum-analytics_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `spectrum-analytics_identifier` in responses. + */ +export const spectrum_analytics_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `spectrum-analytics_messages` in responses. + */ +export const spectrum_analytics_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `spectrum-analytics_since` in responses. + */ +export const spectrum_analytics_since_output: JsonSchema = { + "allOf": [ + { + "type": "string" + }, + { + "$ref": "#/$defs/spectrum-analytics_timestamp" + } + ] +}; + +/** + * The schema of `spectrum-analytics_timestamp` in responses. + */ +export const spectrum_analytics_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `spectrum-analytics_until` in responses. + */ +export const spectrum_analytics_until_output: JsonSchema = { + "allOf": [ + { + "type": "string" + }, + { + "$ref": "#/$defs/spectrum-analytics_timestamp" + } + ] +}; diff --git a/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts new file mode 100644 index 00000000..bcc7a7b4 --- /dev/null +++ b/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts @@ -0,0 +1,61 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `spectrum-analytics_zone_report` in responses. + */ +export const spectrum_analytics_zone_report_output: JsonSchema = { + "properties": { + "totals": { + "$ref": "#/$defs/spectrum-analytics_zone_report_totals" + }, + "zone_id": { + "$ref": "#/$defs/spectrum-analytics_identifier" + } + }, + "required": [ + "totals", + "zone_id" + ], + "type": "object" +}; + +/** + * The schema of `spectrum-analytics_zone_report_totals` in responses. + */ +export const spectrum_analytics_zone_report_totals_output: JsonSchema = { + "properties": { + "bandwidth": { + "$ref": "#/$defs/spectrum-analytics_zone_report_totals_bandwidth" + } + }, + "required": [ + "bandwidth" + ], + "type": "object" +}; + +/** + * The schema of `spectrum-analytics_zone_report_totals_bandwidth` in responses. + */ +export const spectrum_analytics_zone_report_totals_bandwidth_output: JsonSchema = { + "properties": { + "all": { + "type": "number" + }, + "egress": { + "type": "number" + }, + "ingress": { + "type": "number" + } + }, + "required": [ + "all", + "egress", + "ingress" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts b/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts index 381dd8b6..2fd6da71 100644 --- a/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts @@ -2,11 +2,21 @@ /* eslint-disable */ import type { Tool } from "../../../../_/tool.js"; +import { + spectrum_analytics_api_response_common_failure_output, + spectrum_analytics_identifier_output, + spectrum_analytics_messages_output, +} from "../../outputs.js"; import { spectrum_analytics_since, spectrum_analytics_timestamp, spectrum_analytics_until, } from "../../schemas.js"; +import { + spectrum_analytics_zone_report_output, + spectrum_analytics_zone_report_totals_bandwidth_output, + spectrum_analytics_zone_report_totals_output, +} from "./outputs.js"; /** * The tools of `spectrum.analytics.zones.report`. @@ -52,6 +62,55 @@ export const tools: readonly Tool[] = [ "User Details Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/spectrum-analytics_zone_report" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/spectrum-analytics_api-response-common-failure" + } + }, + $defs: { + "spectrum-analytics_api-response-common-failure": spectrum_analytics_api_response_common_failure_output, + "spectrum-analytics_identifier": spectrum_analytics_identifier_output, + "spectrum-analytics_messages": spectrum_analytics_messages_output, + "spectrum-analytics_zone_report": spectrum_analytics_zone_report_output, + "spectrum-analytics_zone_report_totals": spectrum_analytics_zone_report_totals_output, + "spectrum-analytics_zone_report_totals_bandwidth": spectrum_analytics_zone_report_totals_bandwidth_output, + }, + }, request: (args) => ({ path: `/user/spectrum_analytics/zones/report`, query: [ diff --git a/src/generated/forge-mcp/spectrum/apps/outputs.ts b/src/generated/forge-mcp/spectrum/apps/outputs.ts new file mode 100644 index 00000000..60c70b48 --- /dev/null +++ b/src/generated/forge-mcp/spectrum/apps/outputs.ts @@ -0,0 +1,360 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `spectrum-config_app_config` in responses. + */ +export const spectrum_config_app_config_output: JsonSchema = { + "properties": { + "argo_smart_routing": { + "$ref": "#/$defs/spectrum-config_argo_smart_routing" + }, + "created_on": { + "$ref": "#/$defs/spectrum-config_created" + }, + "dns": { + "$ref": "#/$defs/spectrum-config_dns" + }, + "edge_ips": { + "$ref": "#/$defs/spectrum-config_edge_ips" + }, + "id": { + "$ref": "#/$defs/spectrum-config_app_identifier" + }, + "ip_firewall": { + "$ref": "#/$defs/spectrum-config_ip_firewall" + }, + "modified_on": { + "$ref": "#/$defs/spectrum-config_modified" + }, + "origin_direct": { + "$ref": "#/$defs/spectrum-config_origin_direct" + }, + "origin_dns": { + "$ref": "#/$defs/spectrum-config_origin_dns" + }, + "origin_port": { + "$ref": "#/$defs/spectrum-config_origin_port" + }, + "origin_worker_id": { + "$ref": "#/$defs/spectrum-config_origin_worker_id" + }, + "protocol": { + "$ref": "#/$defs/spectrum-config_protocol" + }, + "proxy_protocol": { + "$ref": "#/$defs/spectrum-config_proxy_protocol" + }, + "tls": { + "$ref": "#/$defs/spectrum-config_tls" + }, + "traffic_type": { + "$ref": "#/$defs/spectrum-config_traffic_type" + }, + "virtual_network_id": { + "$ref": "#/$defs/spectrum-config_virtual_network_id" + } + }, + "required": [ + "created_on", + "id", + "modified_on", + "dns", + "protocol", + "traffic_type" + ], + "type": "object" +}; + +/** + * The schema of `spectrum-config_app_identifier` in responses. + */ +export const spectrum_config_app_identifier_output: JsonSchema = { + "$ref": "#/$defs/spectrum-config_identifier" +}; + +/** + * The schema of `spectrum-config_argo_smart_routing` in responses. + */ +export const spectrum_config_argo_smart_routing_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `spectrum-config_created` in responses. + */ +export const spectrum_config_created_output: JsonSchema = { + "$ref": "#/$defs/spectrum-config_timestamp" +}; + +/** + * The schema of `spectrum-config_dns` in responses. + */ +export const spectrum_config_dns_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/spectrum-config_dns_name" + }, + "type": { + "$ref": "#/$defs/spectrum-config_dns_type" + } + }, + "type": "object" +}; + +/** + * The schema of `spectrum-config_dns_name` in responses. + */ +export const spectrum_config_dns_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `spectrum-config_dns_ttl` in responses. + */ +export const spectrum_config_dns_ttl_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `spectrum-config_dns_type` in responses. + */ +export const spectrum_config_dns_type_output: JsonSchema = { + "enum": [ + "CNAME", + "ADDRESS" + ], + "type": "string" +}; + +/** + * The schema of `spectrum-config_edge_ips` in responses. + */ +export const spectrum_config_edge_ips_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "connectivity": { + "enum": [ + "all", + "ipv4", + "ipv6" + ], + "type": "string" + }, + "type": { + "enum": [ + "dynamic" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "enum": [ + "static" + ], + "type": "string" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `spectrum-config_identifier` in responses. + */ +export const spectrum_config_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `spectrum-config_ip_firewall` in responses. + */ +export const spectrum_config_ip_firewall_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `spectrum-config_modified` in responses. + */ +export const spectrum_config_modified_output: JsonSchema = { + "$ref": "#/$defs/spectrum-config_timestamp" +}; + +/** + * The schema of `spectrum-config_origin_direct` in responses. + */ +export const spectrum_config_origin_direct_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `spectrum-config_origin_dns` in responses. + */ +export const spectrum_config_origin_dns_output: JsonSchema = { + "properties": { + "name": { + "$ref": "#/$defs/spectrum-config_origin_dns_name" + }, + "ttl": { + "$ref": "#/$defs/spectrum-config_dns_ttl" + }, + "type": { + "$ref": "#/$defs/spectrum-config_origin_dns_type" + } + }, + "type": "object" +}; + +/** + * The schema of `spectrum-config_origin_dns_name` in responses. + */ +export const spectrum_config_origin_dns_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `spectrum-config_origin_dns_type` in responses. + */ +export const spectrum_config_origin_dns_type_output: JsonSchema = { + "enum": [ + "", + "A", + "AAAA", + "SRV" + ], + "type": "string" +}; + +/** + * The schema of `spectrum-config_origin_port` in responses. + */ +export const spectrum_config_origin_port_output: JsonSchema = { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] +}; + +/** + * The schema of `spectrum-config_origin_worker_id` in responses. + */ +export const spectrum_config_origin_worker_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `spectrum-config_paygo_app_config` in responses. + */ +export const spectrum_config_paygo_app_config_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/spectrum-config_created" + }, + "dns": { + "$ref": "#/$defs/spectrum-config_dns" + }, + "id": { + "$ref": "#/$defs/spectrum-config_app_identifier" + }, + "modified_on": { + "$ref": "#/$defs/spectrum-config_modified" + }, + "origin_direct": { + "$ref": "#/$defs/spectrum-config_origin_direct" + }, + "protocol": { + "$ref": "#/$defs/spectrum-config_protocol" + } + }, + "required": [ + "created_on", + "id", + "modified_on", + "dns", + "protocol" + ], + "type": "object" +}; + +/** + * The schema of `spectrum-config_protocol` in responses. + */ +export const spectrum_config_protocol_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `spectrum-config_proxy_protocol` in responses. + */ +export const spectrum_config_proxy_protocol_output: JsonSchema = { + "enum": [ + "off", + "v1", + "v2", + "simple" + ], + "type": "string" +}; + +/** + * The schema of `spectrum-config_timestamp` in responses. + */ +export const spectrum_config_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `spectrum-config_tls` in responses. + */ +export const spectrum_config_tls_output: JsonSchema = { + "enum": [ + "off", + "flexible", + "full", + "strict" + ], + "type": "string" +}; + +/** + * The schema of `spectrum-config_traffic_type` in responses. + */ +export const spectrum_config_traffic_type_output: JsonSchema = { + "enum": [ + "direct", + "http", + "https", + "worker" + ], + "type": "string" +}; + +/** + * The schema of `spectrum-config_virtual_network_id` in responses. + */ +export const spectrum_config_virtual_network_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; diff --git a/src/generated/forge-mcp/spectrum/apps/tools.ts b/src/generated/forge-mcp/spectrum/apps/tools.ts index fd03af98..ad54b9ff 100644 --- a/src/generated/forge-mcp/spectrum/apps/tools.ts +++ b/src/generated/forge-mcp/spectrum/apps/tools.ts @@ -2,6 +2,37 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + spectrum_config_api_response_common_failure_output, + spectrum_config_messages_output, +} from "../outputs.js"; +import { + spectrum_config_app_config_output, + spectrum_config_app_identifier_output, + spectrum_config_argo_smart_routing_output, + spectrum_config_created_output, + spectrum_config_dns_name_output, + spectrum_config_dns_output, + spectrum_config_dns_ttl_output, + spectrum_config_dns_type_output, + spectrum_config_edge_ips_output, + spectrum_config_identifier_output, + spectrum_config_ip_firewall_output, + spectrum_config_modified_output, + spectrum_config_origin_direct_output, + spectrum_config_origin_dns_name_output, + spectrum_config_origin_dns_output, + spectrum_config_origin_dns_type_output, + spectrum_config_origin_port_output, + spectrum_config_origin_worker_id_output, + spectrum_config_paygo_app_config_output, + spectrum_config_protocol_output, + spectrum_config_proxy_protocol_output, + spectrum_config_timestamp_output, + spectrum_config_tls_output, + spectrum_config_traffic_type_output, + spectrum_config_virtual_network_id_output, +} from "./outputs.js"; import { spectrum_config_app_config, spectrum_config_argo_smart_routing, @@ -87,6 +118,52 @@ export const tools: readonly Tool[] = [ "Zone Settings Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/spectrum-config_app_config" + }, + { + "$ref": "#/$defs/spectrum-config_paygo_app_config" + } + ] + }, + "4XX": { + "$ref": "#/$defs/spectrum-config_api-response-common-failure" + } + }, + $defs: { + "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, + "spectrum-config_app_config": spectrum_config_app_config_output, + "spectrum-config_app_identifier": spectrum_config_app_identifier_output, + "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, + "spectrum-config_created": spectrum_config_created_output, + "spectrum-config_dns": spectrum_config_dns_output, + "spectrum-config_dns_name": spectrum_config_dns_name_output, + "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, + "spectrum-config_dns_type": spectrum_config_dns_type_output, + "spectrum-config_edge_ips": spectrum_config_edge_ips_output, + "spectrum-config_identifier": spectrum_config_identifier_output, + "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, + "spectrum-config_messages": spectrum_config_messages_output, + "spectrum-config_modified": spectrum_config_modified_output, + "spectrum-config_origin_direct": spectrum_config_origin_direct_output, + "spectrum-config_origin_dns": spectrum_config_origin_dns_output, + "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, + "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, + "spectrum-config_origin_port": spectrum_config_origin_port_output, + "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, + "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, + "spectrum-config_protocol": spectrum_config_protocol_output, + "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, + "spectrum-config_timestamp": spectrum_config_timestamp_output, + "spectrum-config_tls": spectrum_config_tls_output, + "spectrum-config_traffic_type": spectrum_config_traffic_type_output, + "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/apps`, body: { value: args["body"], mediaType: "application/json" }, @@ -127,6 +204,36 @@ export const tools: readonly Tool[] = [ "Zone Settings Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/spectrum-config_identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/spectrum-config_api-response-common-failure" + } + }, + $defs: { + "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, + "spectrum-config_identifier": spectrum_config_identifier_output, + "spectrum-config_messages": spectrum_config_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/apps/${pathParam(args, "app_id")}`, }), @@ -167,6 +274,52 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/spectrum-config_app_config" + }, + { + "$ref": "#/$defs/spectrum-config_paygo_app_config" + } + ] + }, + "4XX": { + "$ref": "#/$defs/spectrum-config_api-response-common-failure" + } + }, + $defs: { + "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, + "spectrum-config_app_config": spectrum_config_app_config_output, + "spectrum-config_app_identifier": spectrum_config_app_identifier_output, + "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, + "spectrum-config_created": spectrum_config_created_output, + "spectrum-config_dns": spectrum_config_dns_output, + "spectrum-config_dns_name": spectrum_config_dns_name_output, + "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, + "spectrum-config_dns_type": spectrum_config_dns_type_output, + "spectrum-config_edge_ips": spectrum_config_edge_ips_output, + "spectrum-config_identifier": spectrum_config_identifier_output, + "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, + "spectrum-config_messages": spectrum_config_messages_output, + "spectrum-config_modified": spectrum_config_modified_output, + "spectrum-config_origin_direct": spectrum_config_origin_direct_output, + "spectrum-config_origin_dns": spectrum_config_origin_dns_output, + "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, + "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, + "spectrum-config_origin_port": spectrum_config_origin_port_output, + "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, + "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, + "spectrum-config_protocol": spectrum_config_protocol_output, + "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, + "spectrum-config_timestamp": spectrum_config_timestamp_output, + "spectrum-config_tls": spectrum_config_tls_output, + "spectrum-config_traffic_type": spectrum_config_traffic_type_output, + "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/apps/${pathParam(args, "app_id")}`, }), @@ -232,6 +385,86 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/spectrum-config_app_config" + }, + "type": "array" + }, + { + "items": { + "$ref": "#/$defs/spectrum-config_paygo_app_config" + }, + "type": "array" + } + ] + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/spectrum-config_api-response-common-failure" + } + }, + $defs: { + "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, + "spectrum-config_app_config": spectrum_config_app_config_output, + "spectrum-config_app_identifier": spectrum_config_app_identifier_output, + "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, + "spectrum-config_created": spectrum_config_created_output, + "spectrum-config_dns": spectrum_config_dns_output, + "spectrum-config_dns_name": spectrum_config_dns_name_output, + "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, + "spectrum-config_dns_type": spectrum_config_dns_type_output, + "spectrum-config_edge_ips": spectrum_config_edge_ips_output, + "spectrum-config_identifier": spectrum_config_identifier_output, + "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, + "spectrum-config_messages": spectrum_config_messages_output, + "spectrum-config_modified": spectrum_config_modified_output, + "spectrum-config_origin_direct": spectrum_config_origin_direct_output, + "spectrum-config_origin_dns": spectrum_config_origin_dns_output, + "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, + "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, + "spectrum-config_origin_port": spectrum_config_origin_port_output, + "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, + "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, + "spectrum-config_protocol": spectrum_config_protocol_output, + "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, + "spectrum-config_timestamp": spectrum_config_timestamp_output, + "spectrum-config_tls": spectrum_config_tls_output, + "spectrum-config_traffic_type": spectrum_config_traffic_type_output, + "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/apps`, query: [ @@ -304,6 +537,52 @@ export const tools: readonly Tool[] = [ "Zone Settings Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/spectrum-config_app_config" + }, + { + "$ref": "#/$defs/spectrum-config_paygo_app_config" + } + ] + }, + "4XX": { + "$ref": "#/$defs/spectrum-config_api-response-common-failure" + } + }, + $defs: { + "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, + "spectrum-config_app_config": spectrum_config_app_config_output, + "spectrum-config_app_identifier": spectrum_config_app_identifier_output, + "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, + "spectrum-config_created": spectrum_config_created_output, + "spectrum-config_dns": spectrum_config_dns_output, + "spectrum-config_dns_name": spectrum_config_dns_name_output, + "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, + "spectrum-config_dns_type": spectrum_config_dns_type_output, + "spectrum-config_edge_ips": spectrum_config_edge_ips_output, + "spectrum-config_identifier": spectrum_config_identifier_output, + "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, + "spectrum-config_messages": spectrum_config_messages_output, + "spectrum-config_modified": spectrum_config_modified_output, + "spectrum-config_origin_direct": spectrum_config_origin_direct_output, + "spectrum-config_origin_dns": spectrum_config_origin_dns_output, + "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, + "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, + "spectrum-config_origin_port": spectrum_config_origin_port_output, + "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, + "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, + "spectrum-config_protocol": spectrum_config_protocol_output, + "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, + "spectrum-config_timestamp": spectrum_config_timestamp_output, + "spectrum-config_tls": spectrum_config_tls_output, + "spectrum-config_traffic_type": spectrum_config_traffic_type_output, + "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/apps/${pathParam(args, "app_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/spectrum/outputs.ts b/src/generated/forge-mcp/spectrum/outputs.ts new file mode 100644 index 00000000..b7d2755e --- /dev/null +++ b/src/generated/forge-mcp/spectrum/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `spectrum-config_api-response-common-failure` in responses. + */ +export const spectrum_config_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/spectrum-config_messages" + }, + "messages": { + "$ref": "#/$defs/spectrum-config_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `spectrum-config_messages` in responses. + */ +export const spectrum_config_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/spectrum/protocols/outputs.ts b/src/generated/forge-mcp/spectrum/protocols/outputs.ts new file mode 100644 index 00000000..54c9c628 --- /dev/null +++ b/src/generated/forge-mcp/spectrum/protocols/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `spectrum-config_app_protocol` in responses. + */ +export const spectrum_config_app_protocol_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ports": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "transport": { + "type": "string" + } + }, + "required": [ + "description", + "name", + "ports", + "transport" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/spectrum/protocols/tools.ts b/src/generated/forge-mcp/spectrum/protocols/tools.ts index a3897aad..610d694a 100644 --- a/src/generated/forge-mcp/spectrum/protocols/tools.ts +++ b/src/generated/forge-mcp/spectrum/protocols/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + spectrum_config_api_response_common_failure_output, + spectrum_config_messages_output, +} from "../outputs.js"; +import { spectrum_config_app_protocol_output } from "./outputs.js"; /** * The tools of `spectrum.protocols`. @@ -38,6 +43,52 @@ export const tools: readonly Tool[] = [ "Zone Settings Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/spectrum-config_app_protocol" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/spectrum-config_api-response-common-failure" + } + }, + $defs: { + "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, + "spectrum-config_app_protocol": spectrum_config_app_protocol_output, + "spectrum-config_messages": spectrum_config_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/protocols`, }), diff --git a/src/generated/forge-mcp/speed/availabilities/outputs.ts b/src/generated/forge-mcp/speed/availabilities/outputs.ts new file mode 100644 index 00000000..d9be0148 --- /dev/null +++ b/src/generated/forge-mcp/speed/availabilities/outputs.ts @@ -0,0 +1,128 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `observatory_availabilities` in responses. + */ +export const observatory_availabilities_output: JsonSchema = { + "properties": { + "quota": { + "$ref": "#/$defs/observatory_availabilities_quota" + }, + "regions": { + "items": { + "$ref": "#/$defs/observatory_labeled_region" + }, + "type": "array" + }, + "regionsPerPlan": { + "$ref": "#/$defs/observatory_availabilities_regionsPerPlan" + } + }, + "type": "object" +}; + +/** + * The schema of `observatory_availabilities_quota` in responses. + */ +export const observatory_availabilities_quota_output: JsonSchema = { + "properties": { + "plan": { + "type": "string" + }, + "quotasPerPlan": { + "$ref": "#/$defs/observatory_availabilities_quota_quotasPerPlan" + }, + "remainingSchedules": { + "type": "number" + }, + "remainingTests": { + "type": "number" + }, + "scheduleQuotasPerPlan": { + "$ref": "#/$defs/observatory_availabilities_quota_scheduleQuotasPerPlan" + } + }, + "type": "object" +}; + +/** + * The schema of `observatory_availabilities_quota_quotasPerPlan` in responses. + */ +export const observatory_availabilities_quota_quotasPerPlan_output: JsonSchema = { + "properties": { + "value": { + "$ref": "#/$defs/observatory_plan-properties-info" + } + }, + "type": "object" +}; + +/** + * The schema of `observatory_availabilities_quota_scheduleQuotasPerPlan` in + * responses. + */ +export const observatory_availabilities_quota_scheduleQuotasPerPlan_output: JsonSchema = { + "properties": { + "value": { + "$ref": "#/$defs/observatory_plan-properties-info" + } + }, + "type": "object" +}; + +/** + * The schema of `observatory_availabilities_regionsPerPlan` in responses. + */ +export const observatory_availabilities_regionsPerPlan_output: JsonSchema = { + "properties": { + "business": { + "items": { + "$ref": "#/$defs/observatory_labeled_region" + }, + "type": "array" + }, + "enterprise": { + "items": { + "$ref": "#/$defs/observatory_labeled_region" + }, + "type": "array" + }, + "free": { + "items": { + "$ref": "#/$defs/observatory_labeled_region" + }, + "type": "array" + }, + "pro": { + "items": { + "$ref": "#/$defs/observatory_labeled_region" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `observatory_plan-properties-info` in responses. + */ +export const observatory_plan_properties_info_output: JsonSchema = { + "properties": { + "business": { + "type": "integer" + }, + "enterprise": { + "type": "integer" + }, + "free": { + "type": "integer" + }, + "pro": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/speed/availabilities/tools.ts b/src/generated/forge-mcp/speed/availabilities/tools.ts index 075ccf50..fe6aa74d 100644 --- a/src/generated/forge-mcp/speed/availabilities/tools.ts +++ b/src/generated/forge-mcp/speed/availabilities/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + observatory_api_response_common_failure_output, + observatory_labeled_region_output, + observatory_messages_output, + observatory_region_output, +} from "../outputs.js"; +import { + observatory_availabilities_output, + observatory_availabilities_quota_output, + observatory_availabilities_quota_quotasPerPlan_output, + observatory_availabilities_quota_scheduleQuotasPerPlan_output, + observatory_availabilities_regionsPerPlan_output, + observatory_plan_properties_info_output, +} from "./outputs.js"; /** * The tools of `speed.availabilities`. @@ -44,6 +58,28 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/observatory_availabilities" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_availabilities": observatory_availabilities_output, + "observatory_availabilities_quota": observatory_availabilities_quota_output, + "observatory_availabilities_quota_quotasPerPlan": observatory_availabilities_quota_quotasPerPlan_output, + "observatory_availabilities_quota_scheduleQuotasPerPlan": observatory_availabilities_quota_scheduleQuotasPerPlan_output, + "observatory_availabilities_regionsPerPlan": observatory_availabilities_regionsPerPlan_output, + "observatory_labeled_region": observatory_labeled_region_output, + "observatory_messages": observatory_messages_output, + "observatory_plan-properties-info": observatory_plan_properties_info_output, + "observatory_region": observatory_region_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/availabilities`, }), diff --git a/src/generated/forge-mcp/speed/outputs.ts b/src/generated/forge-mcp/speed/outputs.ts new file mode 100644 index 00000000..7d4f7a5e --- /dev/null +++ b/src/generated/forge-mcp/speed/outputs.ts @@ -0,0 +1,264 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `observatory_api-response-common-failure` in responses. + */ +export const observatory_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/observatory_messages" + }, + "messages": { + "$ref": "#/$defs/observatory_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `observatory_device_type` in responses. + */ +export const observatory_device_type_output: JsonSchema = { + "enum": [ + "DESKTOP", + "MOBILE" + ], + "type": "string" +}; + +/** + * The schema of `observatory_labeled_region` in responses. + */ +export const observatory_labeled_region_output: JsonSchema = { + "properties": { + "label": { + "type": "string" + }, + "value": { + "$ref": "#/$defs/observatory_region" + } + }, + "type": "object" +}; + +/** + * The schema of `observatory_lighthouse_error_code` in responses. + */ +export const observatory_lighthouse_error_code_output: JsonSchema = { + "enum": [ + "NOT_REACHABLE", + "DNS_FAILURE", + "NOT_HTML", + "LIGHTHOUSE_TIMEOUT", + "UNKNOWN" + ], + "type": "string" +}; + +/** + * The schema of `observatory_lighthouse_report` in responses. + */ +export const observatory_lighthouse_report_output: JsonSchema = { + "properties": { + "cls": { + "type": "number" + }, + "deviceType": { + "$ref": "#/$defs/observatory_device_type" + }, + "error": { + "$ref": "#/$defs/observatory_lighthouse_report_error" + }, + "fcp": { + "type": "number" + }, + "jsonReportUrl": { + "type": "string" + }, + "lcp": { + "type": "number" + }, + "performanceScore": { + "type": "number" + }, + "si": { + "type": "number" + }, + "state": { + "$ref": "#/$defs/observatory_lighthouse_state" + }, + "tbt": { + "type": "number" + }, + "ttfb": { + "type": "number" + }, + "tti": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `observatory_lighthouse_report_error` in responses. + */ +export const observatory_lighthouse_report_error_output: JsonSchema = { + "properties": { + "code": { + "$ref": "#/$defs/observatory_lighthouse_error_code" + }, + "detail": { + "type": "string" + }, + "finalDisplayedUrl": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `observatory_lighthouse_state` in responses. + */ +export const observatory_lighthouse_state_output: JsonSchema = { + "enum": [ + "RUNNING", + "COMPLETE", + "FAILED" + ], + "type": "string" +}; + +/** + * The schema of `observatory_messages` in responses. + */ +export const observatory_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `observatory_page_test` in responses. + */ +export const observatory_page_test_output: JsonSchema = { + "properties": { + "date": { + "$ref": "#/$defs/observatory_timestamp" + }, + "desktopReport": { + "$ref": "#/$defs/observatory_lighthouse_report" + }, + "id": { + "$ref": "#/$defs/observatory_uuid" + }, + "mobileReport": { + "$ref": "#/$defs/observatory_lighthouse_report" + }, + "region": { + "$ref": "#/$defs/observatory_labeled_region" + }, + "scheduleFrequency": { + "$ref": "#/$defs/observatory_schedule_frequency" + }, + "url": { + "$ref": "#/$defs/observatory_url" + } + }, + "type": "object" +}; + +/** + * The schema of `observatory_region` in responses. + */ +export const observatory_region_output: JsonSchema = { + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" +}; + +/** + * The schema of `observatory_schedule_frequency` in responses. + */ +export const observatory_schedule_frequency_output: JsonSchema = { + "enum": [ + "DAILY", + "WEEKLY" + ], + "type": "string" +}; + +/** + * The schema of `observatory_timestamp` in responses. + */ +export const observatory_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `observatory_url` in responses. + */ +export const observatory_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `observatory_uuid` in responses. + */ +export const observatory_uuid_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/speed/pages/outputs.ts b/src/generated/forge-mcp/speed/pages/outputs.ts new file mode 100644 index 00000000..2f319680 --- /dev/null +++ b/src/generated/forge-mcp/speed/pages/outputs.ts @@ -0,0 +1,117 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `observatory_trend` in responses. + */ +export const observatory_trend_output: JsonSchema = { + "properties": { + "cls": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "fcp": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "lcp": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "performanceScore": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "si": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "tbt": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "ttfb": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "tti": { + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/speed/pages/tests/outputs.ts b/src/generated/forge-mcp/speed/pages/tests/outputs.ts new file mode 100644 index 00000000..4ffd172b --- /dev/null +++ b/src/generated/forge-mcp/speed/pages/tests/outputs.ts @@ -0,0 +1,25 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `observatory_result_info` in responses. + */ +export const observatory_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/speed/pages/tests/tools.ts b/src/generated/forge-mcp/speed/pages/tests/tools.ts index 3c6ae62e..e6201ac9 100644 --- a/src/generated/forge-mcp/speed/pages/tests/tools.ts +++ b/src/generated/forge-mcp/speed/pages/tests/tools.ts @@ -2,7 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + observatory_api_response_common_failure_output, + observatory_device_type_output, + observatory_labeled_region_output, + observatory_lighthouse_error_code_output, + observatory_lighthouse_report_error_output, + observatory_lighthouse_report_output, + observatory_lighthouse_state_output, + observatory_messages_output, + observatory_page_test_output, + observatory_region_output, + observatory_schedule_frequency_output, + observatory_timestamp_output, + observatory_url_output, + observatory_uuid_output, +} from "../../outputs.js"; import { observatory_region } from "../../schemas.js"; +import { observatory_result_info_output } from "./outputs.js"; /** * The tools of `speed.pages.tests`. @@ -67,6 +84,32 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/observatory_page_test" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_device_type": observatory_device_type_output, + "observatory_labeled_region": observatory_labeled_region_output, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, + "observatory_lighthouse_report": observatory_lighthouse_report_output, + "observatory_lighthouse_report_error": observatory_lighthouse_report_error_output, + "observatory_lighthouse_state": observatory_lighthouse_state_output, + "observatory_messages": observatory_messages_output, + "observatory_page_test": observatory_page_test_output, + "observatory_region": observatory_region_output, + "observatory_schedule_frequency": observatory_schedule_frequency_output, + "observatory_timestamp": observatory_timestamp_output, + "observatory_url": observatory_url_output, + "observatory_uuid": observatory_uuid_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/pages/${pathParam(args, "url")}/tests`, body: { value: args["body"], mediaType: "application/json" }, @@ -126,6 +169,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "number" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_messages": observatory_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/pages/${pathParam(args, "url")}/tests`, query: [ @@ -179,6 +241,32 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/observatory_page_test" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_device_type": observatory_device_type_output, + "observatory_labeled_region": observatory_labeled_region_output, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, + "observatory_lighthouse_report": observatory_lighthouse_report_output, + "observatory_lighthouse_report_error": observatory_lighthouse_report_error_output, + "observatory_lighthouse_state": observatory_lighthouse_state_output, + "observatory_messages": observatory_messages_output, + "observatory_page_test": observatory_page_test_output, + "observatory_region": observatory_region_output, + "observatory_schedule_frequency": observatory_schedule_frequency_output, + "observatory_timestamp": observatory_timestamp_output, + "observatory_url": observatory_url_output, + "observatory_uuid": observatory_uuid_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/pages/${pathParam(args, "url")}/tests/${pathParam(args, "test_id")}`, }), @@ -246,6 +334,47 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/observatory_page_test" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/observatory_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_device_type": observatory_device_type_output, + "observatory_labeled_region": observatory_labeled_region_output, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, + "observatory_lighthouse_report": observatory_lighthouse_report_output, + "observatory_lighthouse_report_error": observatory_lighthouse_report_error_output, + "observatory_lighthouse_state": observatory_lighthouse_state_output, + "observatory_messages": observatory_messages_output, + "observatory_page_test": observatory_page_test_output, + "observatory_region": observatory_region_output, + "observatory_result_info": observatory_result_info_output, + "observatory_schedule_frequency": observatory_schedule_frequency_output, + "observatory_timestamp": observatory_timestamp_output, + "observatory_url": observatory_url_output, + "observatory_uuid": observatory_uuid_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/pages/${pathParam(args, "url")}/tests`, query: [ diff --git a/src/generated/forge-mcp/speed/pages/tools.ts b/src/generated/forge-mcp/speed/pages/tools.ts index ab147f92..c9150a33 100644 --- a/src/generated/forge-mcp/speed/pages/tools.ts +++ b/src/generated/forge-mcp/speed/pages/tools.ts @@ -2,11 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + observatory_api_response_common_failure_output, + observatory_device_type_output, + observatory_labeled_region_output, + observatory_lighthouse_error_code_output, + observatory_lighthouse_report_error_output, + observatory_lighthouse_report_output, + observatory_lighthouse_state_output, + observatory_messages_output, + observatory_page_test_output, + observatory_region_output, + observatory_schedule_frequency_output, + observatory_timestamp_output, + observatory_url_output, + observatory_uuid_output, +} from "../outputs.js"; import { observatory_device_type, observatory_region, observatory_timestamp, } from "../schemas.js"; +import { observatory_trend_output } from "./outputs.js"; /** * The tools of `speed.pages`. @@ -49,6 +66,63 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "region": { + "$ref": "#/$defs/observatory_labeled_region" + }, + "scheduleFrequency": { + "$ref": "#/$defs/observatory_schedule_frequency" + }, + "tests": { + "items": { + "$ref": "#/$defs/observatory_page_test" + }, + "type": "array" + }, + "url": { + "$ref": "#/$defs/observatory_url" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_device_type": observatory_device_type_output, + "observatory_labeled_region": observatory_labeled_region_output, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, + "observatory_lighthouse_report": observatory_lighthouse_report_output, + "observatory_lighthouse_report_error": observatory_lighthouse_report_error_output, + "observatory_lighthouse_state": observatory_lighthouse_state_output, + "observatory_messages": observatory_messages_output, + "observatory_page_test": observatory_page_test_output, + "observatory_region": observatory_region_output, + "observatory_schedule_frequency": observatory_schedule_frequency_output, + "observatory_timestamp": observatory_timestamp_output, + "observatory_url": observatory_url_output, + "observatory_uuid": observatory_uuid_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/pages`, }), @@ -127,6 +201,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/observatory_trend" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_messages": observatory_messages_output, + "observatory_trend": observatory_trend_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/pages/${pathParam(args, "url")}/trend`, query: [ diff --git a/src/generated/forge-mcp/speed/schedule/outputs.ts b/src/generated/forge-mcp/speed/schedule/outputs.ts new file mode 100644 index 00000000..55db70b1 --- /dev/null +++ b/src/generated/forge-mcp/speed/schedule/outputs.ts @@ -0,0 +1,22 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `observatory_schedule` in responses. + */ +export const observatory_schedule_output: JsonSchema = { + "properties": { + "frequency": { + "$ref": "#/$defs/observatory_schedule_frequency" + }, + "region": { + "$ref": "#/$defs/observatory_region" + }, + "url": { + "$ref": "#/$defs/observatory_url" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/speed/schedule/tools.ts b/src/generated/forge-mcp/speed/schedule/tools.ts index 37f31055..bc917964 100644 --- a/src/generated/forge-mcp/speed/schedule/tools.ts +++ b/src/generated/forge-mcp/speed/schedule/tools.ts @@ -2,10 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + observatory_api_response_common_failure_output, + observatory_device_type_output, + observatory_labeled_region_output, + observatory_lighthouse_error_code_output, + observatory_lighthouse_report_error_output, + observatory_lighthouse_report_output, + observatory_lighthouse_state_output, + observatory_messages_output, + observatory_page_test_output, + observatory_region_output, + observatory_schedule_frequency_output, + observatory_timestamp_output, + observatory_url_output, + observatory_uuid_output, +} from "../outputs.js"; import { observatory_region, observatory_schedule_frequency, } from "../schemas.js"; +import { observatory_schedule_output } from "./outputs.js"; /** * The tools of `speed.schedule`. @@ -70,6 +87,41 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "schedule": { + "$ref": "#/$defs/observatory_schedule" + }, + "test": { + "$ref": "#/$defs/observatory_page_test" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_device_type": observatory_device_type_output, + "observatory_labeled_region": observatory_labeled_region_output, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, + "observatory_lighthouse_report": observatory_lighthouse_report_output, + "observatory_lighthouse_report_error": observatory_lighthouse_report_error_output, + "observatory_lighthouse_state": observatory_lighthouse_state_output, + "observatory_messages": observatory_messages_output, + "observatory_page_test": observatory_page_test_output, + "observatory_region": observatory_region_output, + "observatory_schedule": observatory_schedule_output, + "observatory_schedule_frequency": observatory_schedule_frequency_output, + "observatory_timestamp": observatory_timestamp_output, + "observatory_url": observatory_url_output, + "observatory_uuid": observatory_uuid_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/schedule/${pathParam(args, "url")}`, query: [ @@ -132,6 +184,25 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "number" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_messages": observatory_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/schedule/${pathParam(args, "url")}`, query: [ @@ -194,6 +265,24 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/observatory_schedule" + }, + "4XX": { + "$ref": "#/$defs/observatory_api-response-common-failure" + } + }, + $defs: { + "observatory_api-response-common-failure": observatory_api_response_common_failure_output, + "observatory_messages": observatory_messages_output, + "observatory_region": observatory_region_output, + "observatory_schedule": observatory_schedule_output, + "observatory_schedule_frequency": observatory_schedule_frequency_output, + "observatory_url": observatory_url_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/schedule/${pathParam(args, "url")}`, query: [ diff --git a/src/generated/forge-mcp/sql/tools.ts b/src/generated/forge-mcp/sql/tools.ts index 448fc0fb..309fbc07 100644 --- a/src/generated/forge-mcp/sql/tools.ts +++ b/src/generated/forge-mcp/sql/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; +import { + analytics_sql_ApiErrorResponse_output, + analytics_sql_Attribute_output, + analytics_sql_ClickHouseJsonQueryResponse_metaItem_output, + analytics_sql_ClickHouseJsonQueryResponse_output, + analytics_sql_CustomAttribute_output, + analytics_sql_DatasetAvailability_output, + analytics_sql_GatewayApiErrorResponse_output, + analytics_sql_IntrospectionColumn_output, + analytics_sql_IntrospectionDatasetKind_events_output, + analytics_sql_IntrospectionDatasetKind_logs_output, + analytics_sql_IntrospectionDatasetKind_output, + analytics_sql_IntrospectionDatasetKind_states_output, + analytics_sql_IntrospectionDataset_output, + analytics_sql_IntrospectionResponse_output, + analytics_sql_IntrospectionSampling_output, + analytics_sql_LogExplorerQueryResponse_output, + analytics_sql_SqlQueryResponse_output, + analytics_sql_SqlQueryStatistics_output, +} from "../outputs.js"; import { analytics_sql_SqlQueryAccountScope, analytics_sql_SqlQueryRequest, @@ -74,6 +94,42 @@ export const tools: readonly Tool[] = [ "Account Analytics Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/analytics-sql_IntrospectionResponse" + }, + "400": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_ApiErrorResponse" + }, + { + "$ref": "#/$defs/analytics-sql_GatewayApiErrorResponse" + } + ] + }, + "403": null, + "422": null, + "500": null, + "503": null + }, + $defs: { + "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, + "analytics-sql_Attribute": analytics_sql_Attribute_output, + "analytics-sql_CustomAttribute": analytics_sql_CustomAttribute_output, + "analytics-sql_DatasetAvailability": analytics_sql_DatasetAvailability_output, + "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, + "analytics-sql_IntrospectionColumn": analytics_sql_IntrospectionColumn_output, + "analytics-sql_IntrospectionDataset": analytics_sql_IntrospectionDataset_output, + "analytics-sql_IntrospectionDatasetKind": analytics_sql_IntrospectionDatasetKind_output, + "analytics-sql_IntrospectionDatasetKind_events": analytics_sql_IntrospectionDatasetKind_events_output, + "analytics-sql_IntrospectionDatasetKind_logs": analytics_sql_IntrospectionDatasetKind_logs_output, + "analytics-sql_IntrospectionDatasetKind_states": analytics_sql_IntrospectionDatasetKind_states_output, + "analytics-sql_IntrospectionResponse": analytics_sql_IntrospectionResponse_output, + "analytics-sql_IntrospectionSampling": analytics_sql_IntrospectionSampling_output, + }, + }, request: (args) => ({ path: `/analytics/sql/introspection`, query: [ @@ -129,6 +185,49 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_SqlQueryResponse" + }, + { + "$ref": "#/$defs/analytics-sql_ClickHouseJsonQueryResponse" + }, + { + "$ref": "#/$defs/analytics-sql_LogExplorerQueryResponse" + } + ] + }, + "400": { + "oneOf": [ + { + "$ref": "#/$defs/analytics-sql_ApiErrorResponse" + }, + { + "$ref": "#/$defs/analytics-sql_GatewayApiErrorResponse" + } + ] + }, + "403": null, + "422": null, + "429": null, + "500": null, + "501": null, + "503": null, + "507": null + }, + $defs: { + "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, + "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, + "analytics-sql_ClickHouseJsonQueryResponse_metaItem": analytics_sql_ClickHouseJsonQueryResponse_metaItem_output, + "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, + "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, + "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, + "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + }, + }, request: (args) => ({ path: `/analytics/sql`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/ssl/analyze/outputs.ts b/src/generated/forge-mcp/ssl/analyze/outputs.ts new file mode 100644 index 00000000..b1c61146 --- /dev/null +++ b/src/generated/forge-mcp/ssl/analyze/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_analyze_response` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_analyze_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/analyze/tools.ts b/src/generated/forge-mcp/ssl/analyze/tools.ts index e1062504..744d133e 100644 --- a/src/generated/forge-mcp/ssl/analyze/tools.ts +++ b/src/generated/forge-mcp/ssl/analyze/tools.ts @@ -2,10 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../outputs.js"; import { tls_certificates_and_hostnames_bundle_method, tls_certificates_and_hostnames_certificate, } from "../schemas.js"; +import { tls_certificates_and_hostnames_certificate_analyze_response_output } from "./outputs.js"; /** * The tools of `ssl.analyze`. @@ -79,6 +84,28 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_analyze_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_analyze_response": tls_certificates_and_hostnames_certificate_analyze_response_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/analyze`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts b/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts new file mode 100644 index 00000000..4531b65a --- /dev/null +++ b/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts @@ -0,0 +1,62 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cache_auto_origin_tls_kex_failure_response` in responses. + */ +export const cache_auto_origin_tls_kex_failure_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cache_messages" + }, + "messages": { + "$ref": "#/$defs/cache_messages" + }, + "result": { + "$ref": "#/$defs/cache_auto_origin_tls_kex_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cache_auto_origin_tls_kex_result` in responses. + */ +export const cache_auto_origin_tls_kex_result_output: JsonSchema = { + "properties": { + "enabled": { + "$ref": "#/$defs/cache_auto_origin_tls_kex_value" + }, + "id": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "enabled", + "id", + "modified_on" + ], + "type": "object" +}; + +/** + * The schema of `cache_auto_origin_tls_kex_value` in responses. + */ +export const cache_auto_origin_tls_kex_value_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts b/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts index 7b48e8e1..fc760120 100644 --- a/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts +++ b/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { cache_messages_output } from "../outputs.js"; +import { + cache_auto_origin_tls_kex_failure_response_output, + cache_auto_origin_tls_kex_result_output, + cache_auto_origin_tls_kex_value_output, +} from "./outputs.js"; import { cache_auto_origin_tls_kex_patch, cache_auto_origin_tls_kex_value, @@ -51,6 +57,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache_auto_origin_tls_kex_result" + }, + "4XX": { + "$ref": "#/$defs/cache_auto_origin_tls_kex_failure_response" + } + }, + $defs: { + "cache_auto_origin_tls_kex_failure_response": cache_auto_origin_tls_kex_failure_response_output, + "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result_output, + "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value_output, + "cache_messages": cache_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/auto_origin_tls_kex`, body: { value: args["body"], mediaType: "application/json" }, @@ -88,6 +110,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache_auto_origin_tls_kex_result" + }, + "4XX": { + "$ref": "#/$defs/cache_auto_origin_tls_kex_failure_response" + } + }, + $defs: { + "cache_auto_origin_tls_kex_failure_response": cache_auto_origin_tls_kex_failure_response_output, + "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result_output, + "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value_output, + "cache_messages": cache_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/auto_origin_tls_kex`, }), diff --git a/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts b/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts index 2a2f0493..b5549e0d 100644 --- a/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts +++ b/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cache_api_response_common_failure_output, + cache_messages_output, + cache_result_output, +} from "../outputs.js"; import { cache_schemas_patch, cache_schemas_value } from "./schemas.js"; /** @@ -56,6 +61,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache_result" + }, + "4XX": { + "$ref": "#/$defs/cache_api-response-common-failure" + } + }, + $defs: { + "cache_api-response-common-failure": cache_api_response_common_failure_output, + "cache_messages": cache_messages_output, + "cache_result": cache_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/ssl_automatic_mode`, }), @@ -118,6 +138,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache_result" + }, + "4XX": { + "$ref": "#/$defs/cache_api-response-common-failure" + } + }, + $defs: { + "cache_api-response-common-failure": cache_api_response_common_failure_output, + "cache_messages": cache_messages_output, + "cache_result": cache_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/ssl_automatic_mode`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/outputs.ts b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/outputs.ts new file mode 100644 index 00000000..7341b042 --- /dev/null +++ b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/outputs.ts @@ -0,0 +1,14 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_hostnames-2` in responses. + */ +export const tls_certificates_and_hostnames_hostnames_2_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts index 0f95263e..525dd2d3 100644 --- a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts +++ b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../../outputs.js"; +import { tls_certificates_and_hostnames_hostnames_2_output } from "./outputs.js"; import { tls_certificates_and_hostnames_hostname_association, tls_certificates_and_hostnames_hostnames_2, @@ -52,6 +57,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "hostnames": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostnames-2" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_hostnames-2": tls_certificates_and_hostnames_hostnames_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/certificate_authorities/hostname_associations`, query: [ @@ -103,6 +128,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "hostnames": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostnames-2" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_hostnames-2": tls_certificates_and_hostnames_hostnames_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/certificate_authorities/hostname_associations`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts b/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts new file mode 100644 index 00000000..e1880bfb --- /dev/null +++ b/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts @@ -0,0 +1,450 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of + * `tls-certificates-and-hostnames_advanced_certificate_pack_response_single` in + * responses. + */ +export const tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_authority-2` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_authority_2_output: JsonSchema = { + "enum": [ + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_pack` in responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_output: JsonSchema = { + "properties": { + "certificate_authority": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-2" + }, + "certificates": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_certificate" + }, + "type": "array" + }, + "cloudflare_branding": { + "$ref": "#/$defs/tls-certificates-and-hostnames_cloudflare_branding" + }, + "dcv_delegation_records": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validation_record" + }, + "type": "array" + }, + "hosts": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hosts-2" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier" + }, + "primary_certificate": { + "$ref": "#/$defs/tls-certificates-and-hostnames_primary" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-5" + }, + "type": { + "$ref": "#/$defs/tls-certificates-and-hostnames_type-2" + }, + "validation_errors": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_validation_errorsItem" + }, + "type": "array" + }, + "validation_method": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method" + }, + "validation_records": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validation_record" + }, + "type": "array" + }, + "validity_days": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validity_days" + } + }, + "required": [ + "certificates", + "hosts", + "id", + "status", + "type" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_pack_certificate` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_certificate_output: JsonSchema = { + "properties": { + "bundle_method": { + "type": "string" + }, + "expires_on": { + "format": "date-time", + "type": "string" + }, + "geo_restrictions": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_certificate_geo_restrictions" + }, + "hosts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "priority": { + "type": "number" + }, + "signature": { + "type": "string" + }, + "status": { + "type": "string" + }, + "uploaded_on": { + "format": "date-time", + "type": "string" + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier" + } + }, + "required": [ + "hosts", + "id", + "status" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_pack_certificate_geo_restrictions` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_certificate_geo_restrictions_output: JsonSchema = { + "properties": { + "label": { + "enum": [ + "us", + "eu", + "highest_security" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_pack_identifier` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_pack_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_pack_response_collection_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_pack_response_single` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_pack_validation_errorsItem` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_validation_errorsItem_output: JsonSchema = { + "properties": { + "message": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_cloudflare_branding` in + * responses. + */ +export const tls_certificates_and_hostnames_cloudflare_branding_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single` + * in responses. + */ +export const tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single_result` + * in responses. + */ +export const tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_hosts-2` in responses. + */ +export const tls_certificates_and_hostnames_hosts_2_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `tls-certificates-and-hostnames_primary` in responses. + */ +export const tls_certificates_and_hostnames_primary_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-5` in responses. + */ +export const tls_certificates_and_hostnames_status_5_output: JsonSchema = { + "enum": [ + "initializing", + "pending_validation", + "deleted", + "pending_issuance", + "pending_deployment", + "pending_deletion", + "pending_expiration", + "expired", + "active", + "initializing_timed_out", + "validation_timed_out", + "issuance_timed_out", + "deployment_timed_out", + "deletion_timed_out", + "pending_cleanup", + "staging_deployment", + "staging_active", + "deactivating", + "inactive", + "backup_issued", + "holding_deployment" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_type-2` in responses. + */ +export const tls_certificates_and_hostnames_type_2_output: JsonSchema = { + "enum": [ + "mh_custom", + "managed_hostname", + "sni_custom", + "universal", + "advanced", + "total_tls", + "keyless", + "legacy_custom" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_validation_method` in + * responses. + */ +export const tls_certificates_and_hostnames_validation_method_output: JsonSchema = { + "enum": [ + "txt", + "http", + "email" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_validity_days` in responses. + */ +export const tls_certificates_and_hostnames_validity_days_output: JsonSchema = { + "enum": [ + 14, + 30, + 90, + 365 + ], + "type": "integer" +}; diff --git a/src/generated/forge-mcp/ssl/certificatePacks/quota/outputs.ts b/src/generated/forge-mcp/ssl/certificatePacks/quota/outputs.ts new file mode 100644 index 00000000..d980668c --- /dev/null +++ b/src/generated/forge-mcp/ssl/certificatePacks/quota/outputs.ts @@ -0,0 +1,64 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_pack_quota_response` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_quota_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_quota_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_pack_quota_response_result` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_pack_quota_response_result_output: JsonSchema = { + "properties": { + "advanced": { + "$ref": "#/$defs/tls-certificates-and-hostnames_quota" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_quota` in responses. + */ +export const tls_certificates_and_hostnames_quota_output: JsonSchema = { + "properties": { + "allocated": { + "type": "integer" + }, + "used": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts b/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts index d4f58d53..862aa1ef 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../../outputs.js"; +import { + tls_certificates_and_hostnames_certificate_pack_quota_response_output, + tls_certificates_and_hostnames_certificate_pack_quota_response_result_output, + tls_certificates_and_hostnames_quota_output, +} from "./outputs.js"; /** * The tools of `ssl.certificate_packs.quota`. @@ -54,6 +63,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "advanced": { + "$ref": "#/$defs/tls-certificates-and-hostnames_quota" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_quota_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_pack_quota_response": tls_certificates_and_hostnames_certificate_pack_quota_response_output, + "tls-certificates-and-hostnames_certificate_pack_quota_response_result": tls_certificates_and_hostnames_certificate_pack_quota_response_result_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_quota": tls_certificates_and_hostnames_quota_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/certificate_packs/quota`, }), diff --git a/src/generated/forge-mcp/ssl/certificatePacks/tools.ts b/src/generated/forge-mcp/ssl/certificatePacks/tools.ts index bfc30400..ea2cd960 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/tools.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/tools.ts @@ -2,6 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_validation_record_output, +} from "../../outputs.js"; +import { tls_certificates_and_hostnames_identifier_output } from "../outputs.js"; +import { + tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output, + tls_certificates_and_hostnames_certificate_authority_2_output, + tls_certificates_and_hostnames_certificate_pack_certificate_geo_restrictions_output, + tls_certificates_and_hostnames_certificate_pack_certificate_output, + tls_certificates_and_hostnames_certificate_pack_identifier_output, + tls_certificates_and_hostnames_certificate_pack_output, + tls_certificates_and_hostnames_certificate_pack_response_collection_output, + tls_certificates_and_hostnames_certificate_pack_response_collection_result_info_output, + tls_certificates_and_hostnames_certificate_pack_response_single_output, + tls_certificates_and_hostnames_certificate_pack_validation_errorsItem_output, + tls_certificates_and_hostnames_cloudflare_branding_output, + tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_output, + tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_result_output, + tls_certificates_and_hostnames_hosts_2_output, + tls_certificates_and_hostnames_primary_output, + tls_certificates_and_hostnames_status_5_output, + tls_certificates_and_hostnames_type_2_output, + tls_certificates_and_hostnames_validation_method_output, + tls_certificates_and_hostnames_validity_days_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_advanced_type, tls_certificates_and_hostnames_certificate_authority_2, @@ -110,6 +137,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_advanced_certificate_pack_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, + "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, + "tls-certificates-and-hostnames_certificate_pack_certificate_geo_restrictions": tls_certificates_and_hostnames_certificate_pack_certificate_geo_restrictions_output, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, + "tls-certificates-and-hostnames_certificate_pack_validation_errorsItem": tls_certificates_and_hostnames_certificate_pack_validation_errorsItem_output, + "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, + "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, + "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, + "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, + "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, + "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, + "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, + "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/certificate_packs/order`, body: { value: args["body"], mediaType: "application/json" }, @@ -170,6 +234,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, + "tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single": tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_output, + "tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single_result": tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_result_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/certificate_packs/${pathParam(args, "certificate_pack_id")}`, }), @@ -242,6 +335,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_advanced_certificate_pack_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, + "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, + "tls-certificates-and-hostnames_certificate_pack_certificate_geo_restrictions": tls_certificates_and_hostnames_certificate_pack_certificate_geo_restrictions_output, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, + "tls-certificates-and-hostnames_certificate_pack_validation_errorsItem": tls_certificates_and_hostnames_certificate_pack_validation_errorsItem_output, + "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, + "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, + "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, + "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, + "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, + "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, + "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, + "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/certificate_packs/${pathParam(args, "certificate_pack_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -299,6 +429,43 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, + "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, + "tls-certificates-and-hostnames_certificate_pack_certificate_geo_restrictions": tls_certificates_and_hostnames_certificate_pack_certificate_geo_restrictions_output, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, + "tls-certificates-and-hostnames_certificate_pack_response_single": tls_certificates_and_hostnames_certificate_pack_response_single_output, + "tls-certificates-and-hostnames_certificate_pack_validation_errorsItem": tls_certificates_and_hostnames_certificate_pack_validation_errorsItem_output, + "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, + "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, + "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, + "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, + "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, + "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, + "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, + "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/certificate_packs/${pathParam(args, "certificate_pack_id")}`, }), @@ -375,6 +542,75 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, + "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, + "tls-certificates-and-hostnames_certificate_pack_certificate_geo_restrictions": tls_certificates_and_hostnames_certificate_pack_certificate_geo_restrictions_output, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, + "tls-certificates-and-hostnames_certificate_pack_response_collection": tls_certificates_and_hostnames_certificate_pack_response_collection_output, + "tls-certificates-and-hostnames_certificate_pack_response_collection_result_info": tls_certificates_and_hostnames_certificate_pack_response_collection_result_info_output, + "tls-certificates-and-hostnames_certificate_pack_validation_errorsItem": tls_certificates_and_hostnames_certificate_pack_validation_errorsItem_output, + "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, + "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, + "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, + "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, + "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, + "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, + "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, + "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/certificate_packs`, query: [ diff --git a/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts b/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts new file mode 100644 index 00000000..50512ce6 --- /dev/null +++ b/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts @@ -0,0 +1,243 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_certificate-7` in responses. + */ +export const tls_certificates_and_hostnames_certificate_7_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_authority-4` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_authority_4_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_client_certificate` in + * responses. + */ +export const tls_certificates_and_hostnames_client_certificate_output: JsonSchema = { + "properties": { + "certificate": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-7" + }, + "certificate_authority": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-4" + }, + "common_name": { + "$ref": "#/$defs/tls-certificates-and-hostnames_common_name" + }, + "country": { + "$ref": "#/$defs/tls-certificates-and-hostnames_country" + }, + "csr": { + "$ref": "#/$defs/tls-certificates-and-hostnames_csr-2" + }, + "expires_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_expired_on" + }, + "fingerprint_sha256": { + "$ref": "#/$defs/tls-certificates-and-hostnames_fingerprint_sha256" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier" + }, + "issued_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_issued_on" + }, + "location": { + "$ref": "#/$defs/tls-certificates-and-hostnames_location" + }, + "organization": { + "$ref": "#/$defs/tls-certificates-and-hostnames_organization" + }, + "organizational_unit": { + "$ref": "#/$defs/tls-certificates-and-hostnames_organizational_unit" + }, + "serial_number": { + "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number-3" + }, + "signature": { + "$ref": "#/$defs/tls-certificates-and-hostnames_signature-3" + }, + "ski": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ski" + }, + "state": { + "$ref": "#/$defs/tls-certificates-and-hostnames_state" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-11" + }, + "validity_days": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validity_days-2" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_client_certificate_identifier` + * in responses. + */ +export const tls_certificates_and_hostnames_client_certificate_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_client_certificate_response_single` in + * responses. + */ +export const tls_certificates_and_hostnames_client_certificate_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_common_name` in responses. + */ +export const tls_certificates_and_hostnames_common_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_country` in responses. + */ +export const tls_certificates_and_hostnames_country_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_csr-2` in responses. + */ +export const tls_certificates_and_hostnames_csr_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_expired_on` in responses. + */ +export const tls_certificates_and_hostnames_expired_on_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_fingerprint_sha256` in + * responses. + */ +export const tls_certificates_and_hostnames_fingerprint_sha256_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_issued_on` in responses. + */ +export const tls_certificates_and_hostnames_issued_on_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_location` in responses. + */ +export const tls_certificates_and_hostnames_location_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_organization` in responses. + */ +export const tls_certificates_and_hostnames_organization_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_organizational_unit` in + * responses. + */ +export const tls_certificates_and_hostnames_organizational_unit_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_serial_number-3` in responses. + */ +export const tls_certificates_and_hostnames_serial_number_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_signature-3` in responses. + */ +export const tls_certificates_and_hostnames_signature_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_ski` in responses. + */ +export const tls_certificates_and_hostnames_ski_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_state` in responses. + */ +export const tls_certificates_and_hostnames_state_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-11` in responses. + */ +export const tls_certificates_and_hostnames_status_11_output: JsonSchema = { + "enum": [ + "active", + "pending_reactivation", + "pending_revocation", + "revoked" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_validity_days-2` in responses. + */ +export const tls_certificates_and_hostnames_validity_days_2_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/ssl/clientCertificates/tools.ts b/src/generated/forge-mcp/ssl/clientCertificates/tools.ts index fccdab02..3227e223 100644 --- a/src/generated/forge-mcp/ssl/clientCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/clientCertificates/tools.ts @@ -2,6 +2,32 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_certificate_7_output, + tls_certificates_and_hostnames_certificate_authority_4_output, + tls_certificates_and_hostnames_client_certificate_identifier_output, + tls_certificates_and_hostnames_client_certificate_output, + tls_certificates_and_hostnames_client_certificate_response_single_output, + tls_certificates_and_hostnames_common_name_output, + tls_certificates_and_hostnames_country_output, + tls_certificates_and_hostnames_csr_2_output, + tls_certificates_and_hostnames_expired_on_output, + tls_certificates_and_hostnames_fingerprint_sha256_output, + tls_certificates_and_hostnames_issued_on_output, + tls_certificates_and_hostnames_location_output, + tls_certificates_and_hostnames_organization_output, + tls_certificates_and_hostnames_organizational_unit_output, + tls_certificates_and_hostnames_serial_number_3_output, + tls_certificates_and_hostnames_signature_3_output, + tls_certificates_and_hostnames_ski_output, + tls_certificates_and_hostnames_state_output, + tls_certificates_and_hostnames_status_11_output, + tls_certificates_and_hostnames_validity_days_2_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_csr_2, tls_certificates_and_hostnames_validity_days_2, @@ -79,6 +105,47 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, + "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, + "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, + "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, + "tls-certificates-and-hostnames_client_certificate_response_single": tls_certificates_and_hostnames_client_certificate_response_single_output, + "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, + "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, + "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, + "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, + "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, + "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, + "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, + "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, + "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, + "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, + "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, + "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, + "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, + "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/client_certificates`, body: { value: args["body"], mediaType: "application/json" }, @@ -135,6 +202,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate" + }, + "4XX": { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, + "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, + "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, + "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, + "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, + "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, + "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, + "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, + "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, + "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, + "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, + "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, + "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, + "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, + "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, + "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, + "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, + "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/client_certificates/${pathParam(args, "client_certificate_id")}`, }), @@ -199,6 +299,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate" + }, + "4XX": { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, + "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, + "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, + "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, + "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, + "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, + "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, + "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, + "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, + "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, + "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, + "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, + "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, + "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, + "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, + "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, + "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, + "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/client_certificates/${pathParam(args, "client_certificate_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -256,6 +389,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate" + }, + "4XX": { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, + "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, + "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, + "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, + "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, + "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, + "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, + "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, + "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, + "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, + "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, + "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, + "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, + "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, + "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, + "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, + "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, + "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/client_certificates/${pathParam(args, "client_certificate_id")}`, }), @@ -336,6 +502,70 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, + "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, + "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, + "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, + "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, + "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, + "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, + "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, + "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, + "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, + "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, + "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, + "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, + "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, + "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, + "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, + "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, + "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/client_certificates`, query: [ diff --git a/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts b/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts new file mode 100644 index 00000000..c624c7a9 --- /dev/null +++ b/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts @@ -0,0 +1,74 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_ct_alerting_emails` in + * responses. + */ +export const tls_certificates_and_hostnames_ct_alerting_emails_output: JsonSchema = { + "items": { + "type": "string" + }, + "maxItems": 100, + "type": "array" +}; + +/** + * The schema of `tls-certificates-and-hostnames_ct_alerting_enabled` in + * responses. + */ +export const tls_certificates_and_hostnames_ct_alerting_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tls-certificates-and-hostnames_ct_alerting_subscription` in + * responses. + */ +export const tls_certificates_and_hostnames_ct_alerting_subscription_output: JsonSchema = { + "properties": { + "emails": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_emails" + }, + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_enabled" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_ct_alerting_subscription_response_single` in + * responses. + */ +export const tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/ctAlerting/tools.ts b/src/generated/forge-mcp/ssl/ctAlerting/tools.ts index 4941b9b7..a99644f1 100644 --- a/src/generated/forge-mcp/ssl/ctAlerting/tools.ts +++ b/src/generated/forge-mcp/ssl/ctAlerting/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_ct_alerting_emails_output, + tls_certificates_and_hostnames_ct_alerting_enabled_output, + tls_certificates_and_hostnames_ct_alerting_subscription_output, + tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_ct_alerting_emails, tls_certificates_and_hostnames_ct_alerting_enabled, @@ -49,6 +59,31 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_ct_alerting_emails": tls_certificates_and_hostnames_ct_alerting_emails_output, + "tls-certificates-and-hostnames_ct_alerting_enabled": tls_certificates_and_hostnames_ct_alerting_enabled_output, + "tls-certificates-and-hostnames_ct_alerting_subscription": tls_certificates_and_hostnames_ct_alerting_subscription_output, + "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ct/alerting`, }), @@ -98,6 +133,31 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_ct_alerting_emails": tls_certificates_and_hostnames_ct_alerting_emails_output, + "tls-certificates-and-hostnames_ct_alerting_enabled": tls_certificates_and_hostnames_ct_alerting_enabled_output, + "tls-certificates-and-hostnames_ct_alerting_subscription": tls_certificates_and_hostnames_ct_alerting_subscription_output, + "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ct/alerting`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/ssl/customCertificates/outputs.ts b/src/generated/forge-mcp/ssl/customCertificates/outputs.ts new file mode 100644 index 00000000..25276093 --- /dev/null +++ b/src/generated/forge-mcp/ssl/customCertificates/outputs.ts @@ -0,0 +1,287 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-certificate" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_collection_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_response_id_only` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_response_id_only_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_id_only_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_id_only_result` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_response_id_only_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_response_single` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-certificate" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom-certificate` in + * responses. + */ +export const tls_certificates_and_hostnames_custom_certificate_output: JsonSchema = { + "properties": { + "bundle_method": { + "$ref": "#/$defs/tls-certificates-and-hostnames_bundle_method" + }, + "custom_csr_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_id" + }, + "expires_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on" + }, + "geo_restrictions": { + "$ref": "#/$defs/tls-certificates-and-hostnames_geo_restrictions" + }, + "hosts": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hosts" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier" + }, + "issuer": { + "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + }, + "keyless_server": { + "$ref": "#/$defs/tls-certificates-and-hostnames_base" + }, + "modified_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_modified_on" + }, + "policy_restrictions": { + "$ref": "#/$defs/tls-certificates-and-hostnames_policy_restrictions" + }, + "priority": { + "$ref": "#/$defs/tls-certificates-and-hostnames_priority" + }, + "signature": { + "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status" + }, + "uploaded_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on" + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier" + } + }, + "required": [ + "id", + "zone_id" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_certificate_identifier` + * in responses. + */ +export const tls_certificates_and_hostnames_custom_certificate_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_custom_csr_id` in responses. + */ +export const tls_certificates_and_hostnames_custom_csr_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_expires_on` in responses. + */ +export const tls_certificates_and_hostnames_expires_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_geo_restrictions` in responses. + */ +export const tls_certificates_and_hostnames_geo_restrictions_output: JsonSchema = { + "properties": { + "label": { + "enum": [ + "us", + "eu", + "highest_security" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_hosts` in responses. + */ +export const tls_certificates_and_hostnames_hosts_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `tls-certificates-and-hostnames_modified_on` in responses. + */ +export const tls_certificates_and_hostnames_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_policy_restrictions` in + * responses. + */ +export const tls_certificates_and_hostnames_policy_restrictions_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_priority` in responses. + */ +export const tls_certificates_and_hostnames_priority_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status` in responses. + */ +export const tls_certificates_and_hostnames_status_output: JsonSchema = { + "enum": [ + "active", + "expired", + "deleted", + "pending", + "initializing" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts b/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts index 170b8eea..f535a220 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts @@ -2,6 +2,41 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_issuer_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_signature_output, + tls_certificates_and_hostnames_uploaded_on_output, +} from "../../../outputs.js"; +import { + tls_certificates_and_hostnames_base_output, + tls_certificates_and_hostnames_bundle_method_output, + tls_certificates_and_hostnames_enabled_output, + tls_certificates_and_hostnames_host_output, + tls_certificates_and_hostnames_identifier_output, + tls_certificates_and_hostnames_keyless_certificate_identifier_output, + tls_certificates_and_hostnames_keyless_private_ip_output, + tls_certificates_and_hostnames_keyless_tunnel_output, + tls_certificates_and_hostnames_keyless_vnet_id_output, + tls_certificates_and_hostnames_name_output, + tls_certificates_and_hostnames_port_output, + tls_certificates_and_hostnames_status_2_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_certificate_response_collection_output, + tls_certificates_and_hostnames_certificate_response_collection_result_info_output, + tls_certificates_and_hostnames_custom_certificate_identifier_output, + tls_certificates_and_hostnames_custom_certificate_output, + tls_certificates_and_hostnames_custom_csr_id_output, + tls_certificates_and_hostnames_expires_on_output, + tls_certificates_and_hostnames_geo_restrictions_output, + tls_certificates_and_hostnames_hosts_output, + tls_certificates_and_hostnames_modified_on_output, + tls_certificates_and_hostnames_policy_restrictions_output, + tls_certificates_and_hostnames_priority_output, + tls_certificates_and_hostnames_status_output, +} from "../outputs.js"; import { tls_certificates_and_hostnames_priority } from "../schemas.js"; /** @@ -80,6 +115,85 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-certificate" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, + "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, + "tls-certificates-and-hostnames_certificate_response_collection": tls_certificates_and_hostnames_certificate_response_collection_output, + "tls-certificates-and-hostnames_certificate_response_collection_result_info": tls_certificates_and_hostnames_certificate_response_collection_result_info_output, + "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, + "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, + "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, + "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, + "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, + "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, + "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, + "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, + "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, + "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, + "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, + "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, + "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, + "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, + "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_certificates/prioritize`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/ssl/customCertificates/tools.ts b/src/generated/forge-mcp/ssl/customCertificates/tools.ts index 20fb025a..039dc543 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/tools.ts @@ -2,10 +2,48 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_issuer_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_signature_output, + tls_certificates_and_hostnames_uploaded_on_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_base_output, + tls_certificates_and_hostnames_bundle_method_output, + tls_certificates_and_hostnames_enabled_output, + tls_certificates_and_hostnames_host_output, + tls_certificates_and_hostnames_identifier_output, + tls_certificates_and_hostnames_keyless_certificate_identifier_output, + tls_certificates_and_hostnames_keyless_private_ip_output, + tls_certificates_and_hostnames_keyless_tunnel_output, + tls_certificates_and_hostnames_keyless_vnet_id_output, + tls_certificates_and_hostnames_name_output, + tls_certificates_and_hostnames_port_output, + tls_certificates_and_hostnames_status_2_output, +} from "../outputs.js"; import { tls_certificates_and_hostnames_bundle_method, tls_certificates_and_hostnames_certificate, } from "../schemas.js"; +import { + tls_certificates_and_hostnames_certificate_response_collection_output, + tls_certificates_and_hostnames_certificate_response_collection_result_info_output, + tls_certificates_and_hostnames_certificate_response_id_only_output, + tls_certificates_and_hostnames_certificate_response_id_only_result_output, + tls_certificates_and_hostnames_certificate_response_single_output, + tls_certificates_and_hostnames_custom_certificate_identifier_output, + tls_certificates_and_hostnames_custom_certificate_output, + tls_certificates_and_hostnames_custom_csr_id_output, + tls_certificates_and_hostnames_expires_on_output, + tls_certificates_and_hostnames_geo_restrictions_output, + tls_certificates_and_hostnames_hosts_output, + tls_certificates_and_hostnames_modified_on_output, + tls_certificates_and_hostnames_policy_restrictions_output, + tls_certificates_and_hostnames_priority_output, + tls_certificates_and_hostnames_status_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_custom_csr_id, tls_certificates_and_hostnames_deploy, @@ -120,6 +158,53 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-certificate" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, + "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, + "tls-certificates-and-hostnames_certificate_response_single": tls_certificates_and_hostnames_certificate_response_single_output, + "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, + "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, + "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, + "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, + "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, + "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, + "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, + "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, + "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, + "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, + "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, + "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, + "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, + "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, + "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_certificates`, body: { value: args["body"], mediaType: "application/json" }, @@ -177,6 +262,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_id_only" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_response_id_only": tls_certificates_and_hostnames_certificate_response_id_only_output, + "tls-certificates-and-hostnames_certificate_response_id_only_result": tls_certificates_and_hostnames_certificate_response_id_only_result_output, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_certificates/${pathParam(args, "custom_certificate_id")}`, }), @@ -278,6 +392,53 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-certificate" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, + "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, + "tls-certificates-and-hostnames_certificate_response_single": tls_certificates_and_hostnames_certificate_response_single_output, + "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, + "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, + "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, + "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, + "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, + "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, + "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, + "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, + "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, + "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, + "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, + "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, + "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, + "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, + "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_certificates/${pathParam(args, "custom_certificate_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -337,6 +498,53 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-certificate" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, + "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, + "tls-certificates-and-hostnames_certificate_response_single": tls_certificates_and_hostnames_certificate_response_single_output, + "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, + "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, + "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, + "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, + "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, + "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, + "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, + "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, + "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, + "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, + "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, + "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, + "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, + "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, + "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_certificates/${pathParam(args, "custom_certificate_id")}`, }), @@ -420,6 +628,85 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom-certificate" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, + "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, + "tls-certificates-and-hostnames_certificate_response_collection": tls_certificates_and_hostnames_certificate_response_collection_output, + "tls-certificates-and-hostnames_certificate_response_collection_result_info": tls_certificates_and_hostnames_certificate_response_collection_result_info_output, + "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, + "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, + "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, + "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, + "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, + "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, + "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, + "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, + "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, + "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, + "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, + "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, + "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, + "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, + "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_certificates`, query: [ diff --git a/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts b/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts new file mode 100644 index 00000000..ab15c2d7 --- /dev/null +++ b/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts @@ -0,0 +1,53 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_dcv_delegation_response` in + * responses. + */ +export const tls_certificates_and_hostnames_dcv_delegation_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uuidObject" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_uuid` in responses. + */ +export const tls_certificates_and_hostnames_uuid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_uuidObject` in responses. + */ +export const tls_certificates_and_hostnames_uuidObject_output: JsonSchema = { + "properties": { + "uuid": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uuid" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts b/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts index 4c3046f1..ac763988 100644 --- a/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts +++ b/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_dcv_delegation_response_output, + tls_certificates_and_hostnames_uuidObject_output, + tls_certificates_and_hostnames_uuid_output, +} from "./outputs.js"; /** * The tools of `ssl.dcv_delegation`. @@ -44,6 +53,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uuidObject" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_dcv_delegation_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_dcv_delegation_response": tls_certificates_and_hostnames_dcv_delegation_response_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_uuid": tls_certificates_and_hostnames_uuid_output, + "tls-certificates-and-hostnames_uuidObject": tls_certificates_and_hostnames_uuidObject_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dcv_delegation/uuid`, }), diff --git a/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts b/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts new file mode 100644 index 00000000..524068bd --- /dev/null +++ b/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts @@ -0,0 +1,140 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_keyless_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_keyless_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_base" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_keyless_response_collection_result_info` in + * responses. + */ +export const tls_certificates_and_hostnames_keyless_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_keyless_response_single` in + * responses. + */ +export const tls_certificates_and_hostnames_keyless_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_base" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_keyless_response_single_id` in + * responses. + */ +export const tls_certificates_and_hostnames_keyless_response_single_id_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single_id_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_keyless_response_single_id_result` in + * responses. + */ +export const tls_certificates_and_hostnames_keyless_response_single_id_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts b/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts index d32ad91a..3c142788 100644 --- a/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_base_output, + tls_certificates_and_hostnames_enabled_output, + tls_certificates_and_hostnames_host_output, + tls_certificates_and_hostnames_keyless_certificate_identifier_output, + tls_certificates_and_hostnames_keyless_private_ip_output, + tls_certificates_and_hostnames_keyless_tunnel_output, + tls_certificates_and_hostnames_keyless_vnet_id_output, + tls_certificates_and_hostnames_name_output, + tls_certificates_and_hostnames_port_output, + tls_certificates_and_hostnames_status_2_output, +} from "../outputs.js"; import { tls_certificates_and_hostnames_bundle_method, tls_certificates_and_hostnames_host, @@ -10,6 +26,13 @@ import { tls_certificates_and_hostnames_keyless_vnet_id, tls_certificates_and_hostnames_port, } from "../schemas.js"; +import { + tls_certificates_and_hostnames_keyless_response_collection_output, + tls_certificates_and_hostnames_keyless_response_collection_result_info_output, + tls_certificates_and_hostnames_keyless_response_single_id_output, + tls_certificates_and_hostnames_keyless_response_single_id_result_output, + tls_certificates_and_hostnames_keyless_response_single_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_certificate_2, tls_certificates_and_hostnames_enabled_write, @@ -113,6 +136,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_base" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, + "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, + "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, + "tls-certificates-and-hostnames_keyless_response_single": tls_certificates_and_hostnames_keyless_response_single_output, + "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, + "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, + "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, + "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/keyless_certificates`, body: { value: args["body"], mediaType: "application/json" }, @@ -169,6 +224,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single_id" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_response_single_id": tls_certificates_and_hostnames_keyless_response_single_id_output, + "tls-certificates-and-hostnames_keyless_response_single_id_result": tls_certificates_and_hostnames_keyless_response_single_id_result_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/keyless_certificates/${pathParam(args, "keyless_certificate_id")}`, }), @@ -260,6 +344,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_base" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, + "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, + "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, + "tls-certificates-and-hostnames_keyless_response_single": tls_certificates_and_hostnames_keyless_response_single_output, + "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, + "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, + "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, + "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/keyless_certificates/${pathParam(args, "keyless_certificate_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -354,6 +470,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_base" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, + "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, + "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, + "tls-certificates-and-hostnames_keyless_response_single": tls_certificates_and_hostnames_keyless_response_single_output, + "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, + "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, + "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, + "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/keyless_certificates/${pathParam(args, "keyless_certificate_id")}`, }), @@ -405,6 +553,70 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_base" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, + "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, + "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, + "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, + "tls-certificates-and-hostnames_keyless_response_collection": tls_certificates_and_hostnames_keyless_response_collection_output, + "tls-certificates-and-hostnames_keyless_response_collection_result_info": tls_certificates_and_hostnames_keyless_response_collection_result_info_output, + "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, + "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, + "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, + "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/keyless_certificates`, }), diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts new file mode 100644 index 00000000..fcea2056 --- /dev/null +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts @@ -0,0 +1,97 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_associationObject` in + * responses. + */ +export const tls_certificates_and_hostnames_associationObject_output: JsonSchema = { + "properties": { + "service": { + "$ref": "#/$defs/tls-certificates-and-hostnames_service" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-10" + } + }, + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_association_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_association_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_associationObject" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_association_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_association_response_collection_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_association_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_service` in responses. + */ +export const tls_certificates_and_hostnames_service_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-10` in responses. + */ +export const tls_certificates_and_hostnames_status_10_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts index 36962726..ac9276e0 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../../outputs.js"; +import { + tls_certificates_and_hostnames_associationObject_output, + tls_certificates_and_hostnames_association_response_collection_output, + tls_certificates_and_hostnames_association_response_collection_result_info_output, + tls_certificates_and_hostnames_service_output, + tls_certificates_and_hostnames_status_10_output, +} from "./outputs.js"; /** * The tools of `ssl.mtls_certificates.associations`. @@ -59,6 +70,63 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_associationObject" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_association_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_associationObject": tls_certificates_and_hostnames_associationObject_output, + "tls-certificates-and-hostnames_association_response_collection": tls_certificates_and_hostnames_association_response_collection_output, + "tls-certificates-and-hostnames_association_response_collection_result_info": tls_certificates_and_hostnames_association_response_collection_result_info_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_service": tls_certificates_and_hostnames_service_output, + "tls-certificates-and-hostnames_status-10": tls_certificates_and_hostnames_status_10_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mtls_certificates/${pathParam(args, "mtls_certificate_id")}/associations`, }), diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts new file mode 100644 index 00000000..ed7d79ab --- /dev/null +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts @@ -0,0 +1,268 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_ca` in responses. + */ +export const tls_certificates_and_hostnames_ca_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificateObject-3` in + * responses. + */ +export const tls_certificates_and_hostnames_certificateObject_3_output: JsonSchema = { + "properties": { + "ca": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ca" + }, + "certificates": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificates-2" + }, + "expires_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-2" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier" + }, + "issuer": { + "$ref": "#/$defs/tls-certificates-and-hostnames_issuer-2" + }, + "name": { + "$ref": "#/$defs/tls-certificates-and-hostnames_name-2" + }, + "serial_number": { + "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number-2" + }, + "signature": { + "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + }, + "type": { + "$ref": "#/$defs/tls-certificates-and-hostnames_type-3" + }, + "uploaded_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-4" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificateObjectPost` in + * responses. + */ +export const tls_certificates_and_hostnames_certificateObjectPost_output: JsonSchema = { + "properties": { + "ca": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ca" + }, + "certificates": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificates-2" + }, + "expires_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-2" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier" + }, + "issuer": { + "$ref": "#/$defs/tls-certificates-and-hostnames_issuer-2" + }, + "name": { + "$ref": "#/$defs/tls-certificates-and-hostnames_name-2" + }, + "serial_number": { + "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number-2" + }, + "signature": { + "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + }, + "type": { + "$ref": "#/$defs/tls-certificates-and-hostnames_type-3" + }, + "updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-4" + }, + "uploaded_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-4" + } + }, + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_collection-5` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_response_collection_5_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-3" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "properties": { + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_response_single-5` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_response_single_5_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-3" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_single_post` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_response_single_post_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObjectPost" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificates-2` in responses. + */ +export const tls_certificates_and_hostnames_certificates_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_issuer-2` in responses. + */ +export const tls_certificates_and_hostnames_issuer_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_mtls_certificate_identifier` in + * responses. + */ +export const tls_certificates_and_hostnames_mtls_certificate_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_name-2` in responses. + */ +export const tls_certificates_and_hostnames_name_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_serial_number-2` in responses. + */ +export const tls_certificates_and_hostnames_serial_number_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_type-3` in responses. + */ +export const tls_certificates_and_hostnames_type_3_output: JsonSchema = { + "enum": [ + "custom", + "gateway_managed", + "access_managed" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_updated_at-4` in responses. + */ +export const tls_certificates_and_hostnames_updated_at_4_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_uploaded_on-4` in responses. + */ +export const tls_certificates_and_hostnames_uploaded_on_4_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts index 71ecd419..04d04eb4 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts @@ -2,6 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_collection_output, + tls_certificates_and_hostnames_api_response_collection_result_info_output, + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_expires_on_2_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_signature_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_ca_output, + tls_certificates_and_hostnames_certificateObjectPost_output, + tls_certificates_and_hostnames_certificateObject_3_output, + tls_certificates_and_hostnames_certificate_response_collection_5_output, + tls_certificates_and_hostnames_certificate_response_single_5_output, + tls_certificates_and_hostnames_certificate_response_single_post_output, + tls_certificates_and_hostnames_certificates_2_output, + tls_certificates_and_hostnames_issuer_2_output, + tls_certificates_and_hostnames_mtls_certificate_identifier_output, + tls_certificates_and_hostnames_name_2_output, + tls_certificates_and_hostnames_serial_number_2_output, + tls_certificates_and_hostnames_type_3_output, + tls_certificates_and_hostnames_updated_at_4_output, + tls_certificates_and_hostnames_uploaded_on_4_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_ca, tls_certificates_and_hostnames_certificates_2, @@ -91,6 +115,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObjectPost" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single_post" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, + "tls-certificates-and-hostnames_certificateObjectPost": tls_certificates_and_hostnames_certificateObjectPost_output, + "tls-certificates-and-hostnames_certificate_response_single_post": tls_certificates_and_hostnames_certificate_response_single_post_output, + "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, + "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, + "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, + "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, + "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, + "tls-certificates-and-hostnames_updated_at-4": tls_certificates_and_hostnames_updated_at_4_output, + "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mtls_certificates`, body: { value: args["body"], mediaType: "application/json" }, @@ -147,6 +205,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-3" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-5" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, + "tls-certificates-and-hostnames_certificateObject-3": tls_certificates_and_hostnames_certificateObject_3_output, + "tls-certificates-and-hostnames_certificate_response_single-5": tls_certificates_and_hostnames_certificate_response_single_5_output, + "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, + "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, + "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, + "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, + "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, + "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mtls_certificates/${pathParam(args, "mtls_certificate_id")}`, }), @@ -203,6 +294,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-3" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-5" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, + "tls-certificates-and-hostnames_certificateObject-3": tls_certificates_and_hostnames_certificateObject_3_output, + "tls-certificates-and-hostnames_certificate_response_single-5": tls_certificates_and_hostnames_certificate_response_single_5_output, + "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, + "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, + "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, + "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, + "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, + "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mtls_certificates/${pathParam(args, "mtls_certificate_id")}`, }), @@ -266,6 +390,72 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-3" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-5" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, + "tls-certificates-and-hostnames_api-response-collection_result_info": tls_certificates_and_hostnames_api_response_collection_result_info_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, + "tls-certificates-and-hostnames_certificateObject-3": tls_certificates_and_hostnames_certificateObject_3_output, + "tls-certificates-and-hostnames_certificate_response_collection-5": tls_certificates_and_hostnames_certificate_response_collection_5_output, + "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, + "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, + "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, + "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, + "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, + "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mtls_certificates`, query: [ diff --git a/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts b/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts new file mode 100644 index 00000000..3b4587b8 --- /dev/null +++ b/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts @@ -0,0 +1,242 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_certificate-4` in responses. + */ +export const tls_certificates_and_hostnames_certificate_4_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_collection-2` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_response_collection_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificates" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-2_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_collection-2_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_response_collection_2_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_response_single-2` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_response_single_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificates" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_revoke_response` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_revoke_response_output: JsonSchema = { + "properties": { + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_revoke_response_result" + } + }, + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_revoke_response_result` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_revoke_response_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier" + }, + "revoked_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_revoked_at" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificates` in responses. + */ +export const tls_certificates_and_hostnames_certificates_output: JsonSchema = { + "properties": { + "certificate": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-4" + }, + "csr": { + "$ref": "#/$defs/tls-certificates-and-hostnames_csr" + }, + "expires_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-3" + }, + "hostnames": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostnames" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier" + }, + "request_type": { + "$ref": "#/$defs/tls-certificates-and-hostnames_request_type" + }, + "requested_validity": { + "$ref": "#/$defs/tls-certificates-and-hostnames_requested_validity" + } + }, + "required": [ + "csr", + "hostnames", + "request_type", + "requested_validity" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_csr` in responses. + */ +export const tls_certificates_and_hostnames_csr_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_expires_on-3` in responses. + */ +export const tls_certificates_and_hostnames_expires_on_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_hostnames` in responses. + */ +export const tls_certificates_and_hostnames_hostnames_output: JsonSchema = { + "items": { + "type": "string" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_origin_ca_certificate_identifier` in + * responses. + */ +export const tls_certificates_and_hostnames_origin_ca_certificate_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_request_type` in responses. + */ +export const tls_certificates_and_hostnames_request_type_output: JsonSchema = { + "enum": [ + "origin-rsa", + "origin-ecc", + "keyless-certificate" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_requested_validity` in + * responses. + */ +export const tls_certificates_and_hostnames_requested_validity_output: JsonSchema = { + "enum": [ + 7, + 30, + 90, + 365, + 730, + 1095, + 5475 + ], + "type": "integer" +}; + +/** + * The schema of `tls-certificates-and-hostnames_revoked_at` in responses. + */ +export const tls_certificates_and_hostnames_revoked_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts b/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts index 0571c939..ad924c71 100644 --- a/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts @@ -2,7 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../outputs.js"; import { tls_certificates_and_hostnames_identifier } from "../schemas.js"; +import { + tls_certificates_and_hostnames_certificate_4_output, + tls_certificates_and_hostnames_certificate_response_collection_2_output, + tls_certificates_and_hostnames_certificate_response_collection_2_result_info_output, + tls_certificates_and_hostnames_certificate_response_single_2_output, + tls_certificates_and_hostnames_certificate_revoke_response_output, + tls_certificates_and_hostnames_certificate_revoke_response_result_output, + tls_certificates_and_hostnames_certificates_output, + tls_certificates_and_hostnames_csr_output, + tls_certificates_and_hostnames_expires_on_3_output, + tls_certificates_and_hostnames_hostnames_output, + tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, + tls_certificates_and_hostnames_request_type_output, + tls_certificates_and_hostnames_requested_validity_output, + tls_certificates_and_hostnames_revoked_at_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_csr, tls_certificates_and_hostnames_hostnames, @@ -76,6 +96,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificates" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-2" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-4": tls_certificates_and_hostnames_certificate_4_output, + "tls-certificates-and-hostnames_certificate_response_single-2": tls_certificates_and_hostnames_certificate_response_single_2_output, + "tls-certificates-and-hostnames_certificates": tls_certificates_and_hostnames_certificates_output, + "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr_output, + "tls-certificates-and-hostnames_expires_on-3": tls_certificates_and_hostnames_expires_on_3_output, + "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, + "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type_output, + "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity_output, + }, + }, request: (args) => ({ path: `/certificates`, body: { value: args["body"], mediaType: "application/json" }, @@ -114,6 +164,31 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_revoke_response" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_revoke_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate_revoke_response": tls_certificates_and_hostnames_certificate_revoke_response_output, + "tls-certificates-and-hostnames_certificate_revoke_response_result": tls_certificates_and_hostnames_certificate_revoke_response_result_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, + "tls-certificates-and-hostnames_revoked_at": tls_certificates_and_hostnames_revoked_at_output, + }, + }, request: (args) => ({ path: `/certificates/${pathParam(args, "certificate_id")}`, }), @@ -151,6 +226,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificates" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-2" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-4": tls_certificates_and_hostnames_certificate_4_output, + "tls-certificates-and-hostnames_certificate_response_single-2": tls_certificates_and_hostnames_certificate_response_single_2_output, + "tls-certificates-and-hostnames_certificates": tls_certificates_and_hostnames_certificates_output, + "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr_output, + "tls-certificates-and-hostnames_expires_on-3": tls_certificates_and_hostnames_expires_on_3_output, + "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, + "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type_output, + "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity_output, + }, + }, request: (args) => ({ path: `/certificates/${pathParam(args, "certificate_id")}`, }), @@ -209,6 +314,68 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificates" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-2" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-4": tls_certificates_and_hostnames_certificate_4_output, + "tls-certificates-and-hostnames_certificate_response_collection-2": tls_certificates_and_hostnames_certificate_response_collection_2_output, + "tls-certificates-and-hostnames_certificate_response_collection-2_result_info": tls_certificates_and_hostnames_certificate_response_collection_2_result_info_output, + "tls-certificates-and-hostnames_certificates": tls_certificates_and_hostnames_certificates_output, + "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr_output, + "tls-certificates-and-hostnames_expires_on-3": tls_certificates_and_hostnames_expires_on_3_output, + "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, + "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type_output, + "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity_output, + }, + }, request: (args) => ({ path: `/certificates`, query: [ diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts new file mode 100644 index 00000000..bfc115b3 --- /dev/null +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts @@ -0,0 +1,95 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_hostname_assoc_object` in + * responses. + */ +export const tls_certificates_and_hostnames_hostname_assoc_object_output: JsonSchema = { + "properties": { + "cert_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_cert_id" + }, + "created_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-3" + }, + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-5" + }, + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-9" + }, + "updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-3" + } + }, + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_hostname_assoc_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_hostname_assoc_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_assoc_object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_assoc_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_hostname_assoc_response_collection_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_hostname_assoc_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts index dc01f0a7..eb3b2849 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../../outputs.js"; +import { + tls_certificates_and_hostnames_cert_id_output, + tls_certificates_and_hostnames_created_at_3_output, + tls_certificates_and_hostnames_enabled_5_output, + tls_certificates_and_hostnames_hostname_2_output, + tls_certificates_and_hostnames_status_9_output, + tls_certificates_and_hostnames_updated_at_3_output, +} from "../outputs.js"; +import { + tls_certificates_and_hostnames_hostname_assoc_object_output, + tls_certificates_and_hostnames_hostname_assoc_response_collection_output, + tls_certificates_and_hostnames_hostname_assoc_response_collection_result_info_output, +} from "./outputs.js"; /** * The tools of `ssl.origin_tls_client_auth.hostname_associations`. @@ -67,6 +84,67 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_assoc_object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_assoc_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_cert_id": tls_certificates_and_hostnames_cert_id_output, + "tls-certificates-and-hostnames_created_at-3": tls_certificates_and_hostnames_created_at_3_output, + "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5_output, + "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2_output, + "tls-certificates-and-hostnames_hostname_assoc_object": tls_certificates_and_hostnames_hostname_assoc_object_output, + "tls-certificates-and-hostnames_hostname_assoc_response_collection": tls_certificates_and_hostnames_hostname_assoc_response_collection_output, + "tls-certificates-and-hostnames_hostname_assoc_response_collection_result_info": tls_certificates_and_hostnames_hostname_assoc_response_collection_result_info_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, + "tls-certificates-and-hostnames_updated_at-3": tls_certificates_and_hostnames_updated_at_3_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/hostnames`, query: [ diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts new file mode 100644 index 00000000..37024a7b --- /dev/null +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts @@ -0,0 +1,131 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_certificateObject-2` in + * responses. + */ +export const tls_certificates_and_hostnames_certificateObject_2_output: JsonSchema = { + "properties": { + "certificate": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-6" + }, + "expires_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-5" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier" + }, + "issuer": { + "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + }, + "serial_number": { + "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number" + }, + "signature": { + "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-9" + }, + "uploaded_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-3" + } + }, + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_collection-4` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_response_collection_4_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-2" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-4_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_collection-4_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_response_collection_4_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_response_single-4` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_response_single_4_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-2" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts index 3414c67b..84e91928 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts @@ -2,10 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_issuer_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_signature_output, +} from "../../../outputs.js"; +import { + tls_certificates_and_hostnames_certificate_6_output, + tls_certificates_and_hostnames_expires_on_5_output, + tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, + tls_certificates_and_hostnames_serial_number_output, + tls_certificates_and_hostnames_status_9_output, + tls_certificates_and_hostnames_uploaded_on_3_output, +} from "../outputs.js"; import { tls_certificates_and_hostnames_certificate_6, tls_certificates_and_hostnames_private_key_3, } from "../schemas.js"; +import { + tls_certificates_and_hostnames_certificateObject_2_output, + tls_certificates_and_hostnames_certificate_response_collection_4_output, + tls_certificates_and_hostnames_certificate_response_collection_4_result_info_output, + tls_certificates_and_hostnames_certificate_response_single_4_output, +} from "./outputs.js"; /** * The tools of `ssl.origin_tls_client_auth.hostname_certificates`. @@ -69,6 +89,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-2" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-4" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, + "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, + "tls-certificates-and-hostnames_certificate_response_single-4": tls_certificates_and_hostnames_certificate_response_single_4_output, + "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, + "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/hostnames/certificates`, body: { value: args["body"], mediaType: "application/json" }, @@ -115,6 +166,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-2" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-4" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, + "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, + "tls-certificates-and-hostnames_certificate_response_single-4": tls_certificates_and_hostnames_certificate_response_single_4_output, + "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, + "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/hostnames/certificates/${pathParam(args, "certificate_id")}`, }), @@ -161,6 +243,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-2" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-4" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, + "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, + "tls-certificates-and-hostnames_certificate_response_single-4": tls_certificates_and_hostnames_certificate_response_single_4_output, + "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, + "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/hostnames/certificates/${pathParam(args, "certificate_id")}`, }), @@ -202,6 +315,69 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject-2" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-4" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, + "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, + "tls-certificates-and-hostnames_certificate_response_collection-4": tls_certificates_and_hostnames_certificate_response_collection_4_output, + "tls-certificates-and-hostnames_certificate_response_collection-4_result_info": tls_certificates_and_hostnames_certificate_response_collection_4_result_info_output, + "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, + "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/hostnames/certificates`, }), diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts new file mode 100644 index 00000000..3cb86358 --- /dev/null +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts @@ -0,0 +1,185 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of + * `tls-certificates-and-hostnames_hostname-authenticated-origin-pull` in + * responses. + */ +export const tls_certificates_and_hostnames_hostname_authenticated_origin_pull_output: JsonSchema = { + "allOf": [ + { + "properties": { + "cert_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier" + }, + "certificate": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-6" + }, + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-5" + }, + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier" + }, + "private_key": { + "$ref": "#/$defs/tls-certificates-and-hostnames_private_key-3" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_certid_object" + } + ] +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_hostname_aop_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_hostname_aop_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-authenticated-origin-pull" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_hostname_aop_response_collection_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_hostname_aop_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_hostname_aop_single_response` + * in responses. + */ +export const tls_certificates_and_hostnames_hostname_aop_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_certid_object" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_hostname_certid_object` in + * responses. + */ +export const tls_certificates_and_hostnames_hostname_certid_object_output: JsonSchema = { + "properties": { + "cert_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier" + }, + "cert_status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-9" + }, + "cert_updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-3" + }, + "cert_uploaded_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-3" + }, + "certificate": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-6" + }, + "created_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-3" + }, + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-5" + }, + "expires_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-5" + }, + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2" + }, + "issuer": { + "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + }, + "serial_number": { + "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number" + }, + "signature": { + "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-9" + }, + "updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-3" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts index d2ecf72c..96b263cb 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts @@ -2,11 +2,37 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_issuer_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_signature_output, +} from "../../../outputs.js"; +import { + tls_certificates_and_hostnames_certificate_6_output, + tls_certificates_and_hostnames_created_at_3_output, + tls_certificates_and_hostnames_enabled_5_output, + tls_certificates_and_hostnames_expires_on_5_output, + tls_certificates_and_hostnames_hostname_2_output, + tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, + tls_certificates_and_hostnames_private_key_3_output, + tls_certificates_and_hostnames_serial_number_output, + tls_certificates_and_hostnames_status_9_output, + tls_certificates_and_hostnames_updated_at_3_output, + tls_certificates_and_hostnames_uploaded_on_3_output, +} from "../outputs.js"; import { tls_certificates_and_hostnames_cert_id, tls_certificates_and_hostnames_enabled_5, tls_certificates_and_hostnames_hostname_2, } from "../schemas.js"; +import { + tls_certificates_and_hostnames_hostname_aop_response_collection_output, + tls_certificates_and_hostnames_hostname_aop_response_collection_result_info_output, + tls_certificates_and_hostnames_hostname_aop_single_response_output, + tls_certificates_and_hostnames_hostname_authenticated_origin_pull_output, + tls_certificates_and_hostnames_hostname_certid_object_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_config, tls_certificates_and_hostnames_hostname_certid_input, @@ -58,6 +84,41 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_certid_object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_single_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, + "tls-certificates-and-hostnames_created_at-3": tls_certificates_and_hostnames_created_at_3_output, + "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5_output, + "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, + "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2_output, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_hostname_aop_single_response": tls_certificates_and_hostnames_hostname_aop_single_response_output, + "tls-certificates-and-hostnames_hostname_certid_object": tls_certificates_and_hostnames_hostname_certid_object_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, + "tls-certificates-and-hostnames_updated_at-3": tls_certificates_and_hostnames_updated_at_3_output, + "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/hostnames/${pathParam(args, "hostname")}`, }), @@ -117,6 +178,75 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-authenticated-origin-pull" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, + "tls-certificates-and-hostnames_created_at-3": tls_certificates_and_hostnames_created_at_3_output, + "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5_output, + "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, + "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2_output, + "tls-certificates-and-hostnames_hostname-authenticated-origin-pull": tls_certificates_and_hostnames_hostname_authenticated_origin_pull_output, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_hostname_aop_response_collection": tls_certificates_and_hostnames_hostname_aop_response_collection_output, + "tls-certificates-and-hostnames_hostname_aop_response_collection_result_info": tls_certificates_and_hostnames_hostname_aop_response_collection_result_info_output, + "tls-certificates-and-hostnames_hostname_certid_object": tls_certificates_and_hostnames_hostname_certid_object_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_private_key-3": tls_certificates_and_hostnames_private_key_3_output, + "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, + "tls-certificates-and-hostnames_updated_at-3": tls_certificates_and_hostnames_updated_at_3_output, + "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/hostnames`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts new file mode 100644 index 00000000..0fb81e5c --- /dev/null +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts @@ -0,0 +1,117 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_cert_id` in responses. + */ +export const tls_certificates_and_hostnames_cert_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate-6` in responses. + */ +export const tls_certificates_and_hostnames_certificate_6_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_created_at-3` in responses. + */ +export const tls_certificates_and_hostnames_created_at_3_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_enabled-4` in responses. + */ +export const tls_certificates_and_hostnames_enabled_4_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tls-certificates-and-hostnames_enabled-5` in responses. + */ +export const tls_certificates_and_hostnames_enabled_5_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `tls-certificates-and-hostnames_expires_on-5` in responses. + */ +export const tls_certificates_and_hostnames_expires_on_5_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_hostname-2` in responses. + */ +export const tls_certificates_and_hostnames_hostname_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_hostname_aop_certificate_identifier` in + * responses. + */ +export const tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_private_key-3` in responses. + */ +export const tls_certificates_and_hostnames_private_key_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_serial_number` in responses. + */ +export const tls_certificates_and_hostnames_serial_number_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-9` in responses. + */ +export const tls_certificates_and_hostnames_status_9_output: JsonSchema = { + "enum": [ + "initializing", + "pending_deployment", + "pending_deletion", + "active", + "deleted", + "deployment_timed_out", + "deletion_timed_out" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_updated_at-3` in responses. + */ +export const tls_certificates_and_hostnames_updated_at_3_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_uploaded_on-3` in responses. + */ +export const tls_certificates_and_hostnames_uploaded_on_3_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts new file mode 100644 index 00000000..129a1387 --- /dev/null +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts @@ -0,0 +1,46 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_enabled_response` in responses. + */ +export const tls_certificates_and_hostnames_enabled_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled_response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_enabled_response_result` in + * responses. + */ +export const tls_certificates_and_hostnames_enabled_response_result_output: JsonSchema = { + "properties": { + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-4" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts index 01c7dacf..bcf12c55 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts @@ -2,7 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../../outputs.js"; +import { tls_certificates_and_hostnames_enabled_4_output } from "../outputs.js"; import { tls_certificates_and_hostnames_enabled_4 } from "../schemas.js"; +import { + tls_certificates_and_hostnames_enabled_response_output, + tls_certificates_and_hostnames_enabled_response_result_output, +} from "./outputs.js"; /** * The tools of `ssl.origin_tls_client_auth.settings`. @@ -45,6 +54,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-4" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, + "tls-certificates-and-hostnames_enabled_response": tls_certificates_and_hostnames_enabled_response_output, + "tls-certificates-and-hostnames_enabled_response_result": tls_certificates_and_hostnames_enabled_response_result_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/settings`, }), @@ -101,6 +139,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-4" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, + "tls-certificates-and-hostnames_enabled_response": tls_certificates_and_hostnames_enabled_response_output, + "tls-certificates-and-hostnames_enabled_response_result": tls_certificates_and_hostnames_enabled_response_result_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts new file mode 100644 index 00000000..47bd94b9 --- /dev/null +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts @@ -0,0 +1,212 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_certificate-5` in responses. + */ +export const tls_certificates_and_hostnames_certificate_5_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificateObject` in + * responses. + */ +export const tls_certificates_and_hostnames_certificateObject_output: JsonSchema = { + "properties": { + "certificate": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-5" + }, + "expires_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-4" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier" + }, + "issuer": { + "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + }, + "signature": { + "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-8" + }, + "uploaded_on": { + "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-2" + } + }, + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_collection-3` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_response_collection_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone-authenticated-origin-pull" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-3_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_certificate_response_collection-3_result_info` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_response_collection_3_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_response_single-3` + * in responses. + */ +export const tls_certificates_and_hostnames_certificate_response_single_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone-authenticated-origin-pull" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_expires_on-4` in responses. + */ +export const tls_certificates_and_hostnames_expires_on_4_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_private_key-2` in responses. + */ +export const tls_certificates_and_hostnames_private_key_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-8` in responses. + */ +export const tls_certificates_and_hostnames_status_8_output: JsonSchema = { + "enum": [ + "initializing", + "pending_deployment", + "pending_deletion", + "active", + "deleted", + "deployment_timed_out", + "deletion_timed_out" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_uploaded_on-2` in responses. + */ +export const tls_certificates_and_hostnames_uploaded_on_2_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_zone-authenticated-origin-pull` + * in responses. + */ +export const tls_certificates_and_hostnames_zone_authenticated_origin_pull_output: JsonSchema = { + "allOf": [ + { + "properties": { + "certificate": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-5" + }, + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-4" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier" + }, + "private_key": { + "$ref": "#/$defs/tls-certificates-and-hostnames_private_key-2" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificateObject" + } + ] +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_zone_aop_certificate_identifier` in + * responses. + */ +export const tls_certificates_and_hostnames_zone_aop_certificate_identifier_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts index ef2f106c..a6d3e725 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_issuer_output, + tls_certificates_and_hostnames_messages_output, + tls_certificates_and_hostnames_signature_output, +} from "../../../outputs.js"; +import { tls_certificates_and_hostnames_enabled_4_output } from "../outputs.js"; +import { + tls_certificates_and_hostnames_certificateObject_output, + tls_certificates_and_hostnames_certificate_5_output, + tls_certificates_and_hostnames_certificate_response_collection_3_output, + tls_certificates_and_hostnames_certificate_response_collection_3_result_info_output, + tls_certificates_and_hostnames_certificate_response_single_3_output, + tls_certificates_and_hostnames_expires_on_4_output, + tls_certificates_and_hostnames_private_key_2_output, + tls_certificates_and_hostnames_status_8_output, + tls_certificates_and_hostnames_uploaded_on_2_output, + tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_certificate_5, tls_certificates_and_hostnames_private_key_2, @@ -79,6 +99,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone-authenticated-origin-pull" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-3" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, + "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, + "tls-certificates-and-hostnames_certificate_response_single-3": tls_certificates_and_hostnames_certificate_response_single_3_output, + "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, + "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, + "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth`, body: { value: args["body"], mediaType: "application/json" }, @@ -125,6 +178,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone-authenticated-origin-pull" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-3" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, + "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, + "tls-certificates-and-hostnames_certificate_response_single-3": tls_certificates_and_hostnames_certificate_response_single_3_output, + "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, + "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, + "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/${pathParam(args, "certificate_id")}`, }), @@ -171,6 +257,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone-authenticated-origin-pull" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-3" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, + "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, + "tls-certificates-and-hostnames_certificate_response_single-3": tls_certificates_and_hostnames_certificate_response_single_3_output, + "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, + "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, + "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/${pathParam(args, "certificate_id")}`, }), @@ -222,6 +341,71 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone-authenticated-origin-pull" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-3" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, + "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, + "tls-certificates-and-hostnames_certificate_response_collection-3": tls_certificates_and_hostnames_certificate_response_collection_3_output, + "tls-certificates-and-hostnames_certificate_response_collection-3_result_info": tls_certificates_and_hostnames_certificate_response_collection_3_result_info_output, + "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, + "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, + "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, + "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, + "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, + "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth`, }), diff --git a/src/generated/forge-mcp/ssl/outputs.ts b/src/generated/forge-mcp/ssl/outputs.ts new file mode 100644 index 00000000..53403518 --- /dev/null +++ b/src/generated/forge-mcp/ssl/outputs.ts @@ -0,0 +1,251 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `cache_api-response-common-failure` in responses. + */ +export const cache_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/cache_messages" + }, + "messages": { + "$ref": "#/$defs/cache_messages" + }, + "result": { + "$ref": "#/$defs/cache_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cache_messages` in responses. + */ +export const cache_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `cache_result` in responses. + */ +export const cache_result_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "next_scheduled_scan": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "enum": [ + "auto", + "custom" + ], + "type": "string" + } + }, + "required": [ + "editable", + "id", + "modified_on", + "value" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_base` in responses. + */ +export const tls_certificates_and_hostnames_base_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled" + }, + "host": { + "$ref": "#/$defs/tls-certificates-and-hostnames_host" + }, + "id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "$ref": "#/$defs/tls-certificates-and-hostnames_name" + }, + "permissions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "port": { + "$ref": "#/$defs/tls-certificates-and-hostnames_port" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-2" + }, + "tunnel": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_tunnel" + } + }, + "required": [ + "created_on", + "enabled", + "host", + "id", + "modified_on", + "name", + "permissions", + "port", + "status" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_bundle_method` in responses. + */ +export const tls_certificates_and_hostnames_bundle_method_output: JsonSchema = { + "enum": [ + "ubiquitous", + "optimal", + "force" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_enabled` in responses. + */ +export const tls_certificates_and_hostnames_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tls-certificates-and-hostnames_host` in responses. + */ +export const tls_certificates_and_hostnames_host_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_identifier` in responses. + */ +export const tls_certificates_and_hostnames_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_keyless_certificate_identifier` + * in responses. + */ +export const tls_certificates_and_hostnames_keyless_certificate_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_keyless_private_ip` in + * responses. + */ +export const tls_certificates_and_hostnames_keyless_private_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_keyless_tunnel` in responses. + */ +export const tls_certificates_and_hostnames_keyless_tunnel_output: JsonSchema = { + "properties": { + "private_ip": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_private_ip" + }, + "vnet_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_vnet_id" + } + }, + "required": [ + "private_ip", + "vnet_id" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_keyless_vnet_id` in responses. + */ +export const tls_certificates_and_hostnames_keyless_vnet_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_name` in responses. + */ +export const tls_certificates_and_hostnames_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_port` in responses. + */ +export const tls_certificates_and_hostnames_port_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-2` in responses. + */ +export const tls_certificates_and_hostnames_status_2_output: JsonSchema = { + "enum": [ + "active", + "deleted" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/ssl/universal/settings/outputs.ts b/src/generated/forge-mcp/ssl/universal/settings/outputs.ts new file mode 100644 index 00000000..7f4a1bc2 --- /dev/null +++ b/src/generated/forge-mcp/ssl/universal/settings/outputs.ts @@ -0,0 +1,54 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_enabled-2` in responses. + */ +export const tls_certificates_and_hostnames_enabled_2_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_ssl_universal_settings_response` in + * responses. + */ +export const tls_certificates_and_hostnames_ssl_universal_settings_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_universal" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_universal` in responses. + */ +export const tls_certificates_and_hostnames_universal_output: JsonSchema = { + "properties": { + "enabled": { + "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-2" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/ssl/universal/settings/tools.ts b/src/generated/forge-mcp/ssl/universal/settings/tools.ts index 8d674fa7..00973d3a 100644 --- a/src/generated/forge-mcp/ssl/universal/settings/tools.ts +++ b/src/generated/forge-mcp/ssl/universal/settings/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../../outputs.js"; +import { + tls_certificates_and_hostnames_enabled_2_output, + tls_certificates_and_hostnames_ssl_universal_settings_response_output, + tls_certificates_and_hostnames_universal_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_enabled_2, tls_certificates_and_hostnames_universal, @@ -69,6 +78,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_universal" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_universal_settings_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_enabled-2": tls_certificates_and_hostnames_enabled_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_ssl_universal_settings_response": tls_certificates_and_hostnames_ssl_universal_settings_response_output, + "tls-certificates-and-hostnames_universal": tls_certificates_and_hostnames_universal_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/universal/settings`, body: { value: args["body"], mediaType: "application/json" }, @@ -121,6 +154,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_universal" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_universal_settings_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_enabled-2": tls_certificates_and_hostnames_enabled_2_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_ssl_universal_settings_response": tls_certificates_and_hostnames_ssl_universal_settings_response_output, + "tls-certificates-and-hostnames_universal": tls_certificates_and_hostnames_universal_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/universal/settings`, }), diff --git a/src/generated/forge-mcp/ssl/verification/outputs.ts b/src/generated/forge-mcp/ssl/verification/outputs.ts new file mode 100644 index 00000000..90b3b019 --- /dev/null +++ b/src/generated/forge-mcp/ssl/verification/outputs.ts @@ -0,0 +1,230 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_brand_check` in responses. + */ +export const tls_certificates_and_hostnames_brand_check_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tls-certificates-and-hostnames_cert_pack_uuid` in responses. + */ +export const tls_certificates_and_hostnames_cert_pack_uuid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_certificate_status` in + * responses. + */ +export const tls_certificates_and_hostnames_certificate_status_output: JsonSchema = { + "enum": [ + "initializing", + "authorizing", + "active", + "expired", + "issuing", + "timing_out", + "pending_deployment" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_signature-2` in responses. + */ +export const tls_certificates_and_hostnames_signature_2_output: JsonSchema = { + "enum": [ + "ECDSAWithSHA256", + "SHA1WithRSA", + "SHA256WithRSA" + ], + "type": "string" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_ssl_validation_method_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_ssl_validation_method_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_validation_method_response_collection_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_ssl_validation_method_response_collection_result` + * in responses. + */ +export const tls_certificates_and_hostnames_ssl_validation_method_response_collection_result_output: JsonSchema = { + "properties": { + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-6" + }, + "validation_method": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method_definition" + } + }, + "type": "object" +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_ssl_verification_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_ssl_verification_response_collection_output: JsonSchema = { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tls-certificates-and-hostnames_verification" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-6` in responses. + */ +export const tls_certificates_and_hostnames_status_6_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_validation_method-2` in + * responses. + */ +export const tls_certificates_and_hostnames_validation_method_2_output: JsonSchema = { + "enum": [ + "http", + "cname", + "txt" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_validation_method_definition` + * in responses. + */ +export const tls_certificates_and_hostnames_validation_method_definition_output: JsonSchema = { + "enum": [ + "http", + "cname", + "txt", + "email" + ], + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_verification` in responses. + */ +export const tls_certificates_and_hostnames_verification_output: JsonSchema = { + "properties": { + "brand_check": { + "$ref": "#/$defs/tls-certificates-and-hostnames_brand_check" + }, + "cert_pack_uuid": { + "$ref": "#/$defs/tls-certificates-and-hostnames_cert_pack_uuid" + }, + "certificate_status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_status" + }, + "signature": { + "$ref": "#/$defs/tls-certificates-and-hostnames_signature-2" + }, + "validation_method": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method-2" + }, + "verification_info": { + "$ref": "#/$defs/tls-certificates-and-hostnames_verification_info" + }, + "verification_status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_verification_status" + }, + "verification_type": { + "$ref": "#/$defs/tls-certificates-and-hostnames_verification_type" + } + }, + "required": [ + "certificate_status" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_verification_info` in + * responses. + */ +export const tls_certificates_and_hostnames_verification_info_output: JsonSchema = { + "properties": { + "record_name": { + "enum": [ + "record_name", + "http_url", + "cname", + "txt_name" + ], + "type": "string" + }, + "record_target": { + "enum": [ + "record_value", + "http_body", + "cname_target", + "txt_value" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_verification_status` in + * responses. + */ +export const tls_certificates_and_hostnames_verification_status_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tls-certificates-and-hostnames_verification_type` in + * responses. + */ +export const tls_certificates_and_hostnames_verification_type_output: JsonSchema = { + "enum": [ + "cname", + "meta tag" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/ssl/verification/tools.ts b/src/generated/forge-mcp/ssl/verification/tools.ts index cd44ead3..e53a1caa 100644 --- a/src/generated/forge-mcp/ssl/verification/tools.ts +++ b/src/generated/forge-mcp/ssl/verification/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../outputs.js"; +import { + tls_certificates_and_hostnames_brand_check_output, + tls_certificates_and_hostnames_cert_pack_uuid_output, + tls_certificates_and_hostnames_certificate_status_output, + tls_certificates_and_hostnames_signature_2_output, + tls_certificates_and_hostnames_ssl_validation_method_response_collection_output, + tls_certificates_and_hostnames_ssl_validation_method_response_collection_result_output, + tls_certificates_and_hostnames_ssl_verification_response_collection_output, + tls_certificates_and_hostnames_status_6_output, + tls_certificates_and_hostnames_validation_method_2_output, + tls_certificates_and_hostnames_validation_method_definition_output, + tls_certificates_and_hostnames_verification_info_output, + tls_certificates_and_hostnames_verification_output, + tls_certificates_and_hostnames_verification_status_output, + tls_certificates_and_hostnames_verification_type_output, +} from "./outputs.js"; import { tls_certificates_and_hostnames_validation_method_3, tls_certificates_and_hostnames_validation_method_definition, @@ -77,6 +97,39 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-6" + }, + "validation_method": { + "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method_definition" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_validation_method_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_ssl_validation_method_response_collection": tls_certificates_and_hostnames_ssl_validation_method_response_collection_output, + "tls-certificates-and-hostnames_ssl_validation_method_response_collection_result": tls_certificates_and_hostnames_ssl_validation_method_response_collection_result_output, + "tls-certificates-and-hostnames_status-6": tls_certificates_and_hostnames_status_6_output, + "tls-certificates-and-hostnames_validation_method_definition": tls_certificates_and_hostnames_validation_method_definition_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/verification/${pathParam(args, "certificate_pack_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -138,6 +191,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_verification_response_collection" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_verification_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_brand_check": tls_certificates_and_hostnames_brand_check_output, + "tls-certificates-and-hostnames_cert_pack_uuid": tls_certificates_and_hostnames_cert_pack_uuid_output, + "tls-certificates-and-hostnames_certificate_status": tls_certificates_and_hostnames_certificate_status_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_signature-2": tls_certificates_and_hostnames_signature_2_output, + "tls-certificates-and-hostnames_ssl_verification_response_collection": tls_certificates_and_hostnames_ssl_verification_response_collection_output, + "tls-certificates-and-hostnames_validation_method-2": tls_certificates_and_hostnames_validation_method_2_output, + "tls-certificates-and-hostnames_verification": tls_certificates_and_hostnames_verification_output, + "tls-certificates-and-hostnames_verification_info": tls_certificates_and_hostnames_verification_info_output, + "tls-certificates-and-hostnames_verification_status": tls_certificates_and_hostnames_verification_status_output, + "tls-certificates-and-hostnames_verification_type": tls_certificates_and_hostnames_verification_type_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/verification`, query: [ diff --git a/src/generated/forge-mcp/stream/keys/outputs.ts b/src/generated/forge-mcp/stream/keys/outputs.ts new file mode 100644 index 00000000..7ecb5e3f --- /dev/null +++ b/src/generated/forge-mcp/stream/keys/outputs.ts @@ -0,0 +1,54 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `stream_identifier-2` in responses. + */ +export const stream_identifier_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_jwk` in responses. + */ +export const stream_jwk_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_keys` in responses. + */ +export const stream_keys_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/stream_signing_key_created" + }, + "id": { + "$ref": "#/$defs/stream_identifier-2" + }, + "jwk": { + "$ref": "#/$defs/stream_jwk" + }, + "pem": { + "$ref": "#/$defs/stream_pem" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_pem` in responses. + */ +export const stream_pem_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_signing_key_created` in responses. + */ +export const stream_signing_key_created_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/stream/keys/tools.ts b/src/generated/forge-mcp/stream/keys/tools.ts index f7713646..9e495802 100644 --- a/src/generated/forge-mcp/stream/keys/tools.ts +++ b/src/generated/forge-mcp/stream/keys/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../outputs.js"; +import { + stream_identifier_2_output, + stream_jwk_output, + stream_keys_output, + stream_pem_output, + stream_signing_key_created_output, +} from "./outputs.js"; /** * The tools of `stream.keys`. @@ -37,6 +48,25 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_keys" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_identifier-2": stream_identifier_2_output, + "stream_jwk": stream_jwk_output, + "stream_keys": stream_keys_output, + "stream_messages": stream_messages_output, + "stream_pem": stream_pem_output, + "stream_signing_key_created": stream_signing_key_created_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/keys`, }), @@ -76,6 +106,20 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/keys/${pathParam(args, "identifier")}`, }), @@ -111,6 +155,47 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created": { + "$ref": "#/$defs/stream_signing_key_created" + }, + "id": { + "$ref": "#/$defs/stream_identifier-2" + }, + "key_id": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_identifier-2": stream_identifier_2_output, + "stream_messages": stream_messages_output, + "stream_signing_key_created": stream_signing_key_created_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/keys`, }), diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs.ts b/src/generated/forge-mcp/stream/liveInputs/outputs.ts new file mode 100644 index 00000000..1ceb7b2a --- /dev/null +++ b/src/generated/forge-mcp/stream/liveInputs/outputs.ts @@ -0,0 +1,454 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `stream_input_rtmps` in responses. + */ +export const stream_input_rtmps_output: JsonSchema = { + "properties": { + "streamKey": { + "$ref": "#/$defs/stream_input_rtmps_stream_key" + }, + "url": { + "$ref": "#/$defs/stream_input_rtmps_url" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_input_rtmps_stream_key` in responses. + */ +export const stream_input_rtmps_stream_key_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_input_rtmps_url` in responses. + */ +export const stream_input_rtmps_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_input_srt` in responses. + */ +export const stream_input_srt_output: JsonSchema = { + "properties": { + "passphrase": { + "$ref": "#/$defs/stream_input_srt_stream_passphrase" + }, + "streamId": { + "$ref": "#/$defs/stream_input_srt_stream_id" + }, + "url": { + "$ref": "#/$defs/stream_input_srt_url" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_input_srt_stream_id` in responses. + */ +export const stream_input_srt_stream_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_input_srt_stream_passphrase` in responses. + */ +export const stream_input_srt_stream_passphrase_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_input_srt_url` in responses. + */ +export const stream_input_srt_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_input_webrtc` in responses. + */ +export const stream_input_webrtc_output: JsonSchema = { + "properties": { + "url": { + "$ref": "#/$defs/stream_input_webrtc_url" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_input_webrtc_url` in responses. + */ +export const stream_input_webrtc_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_live_input_alt` in responses. + */ +export const stream_live_input_alt_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/stream_live_input_created" + }, + "deleteRecordingAfterDays": { + "$ref": "#/$defs/stream_live_input_recording_deletion" + }, + "enabled": { + "$ref": "#/$defs/stream_live_input_enabled" + }, + "keysRotatedAt": { + "$ref": "#/$defs/stream_live_input_keys_rotated_at" + }, + "meta": { + "$ref": "#/$defs/stream_live_input_metadata" + }, + "modified": { + "$ref": "#/$defs/stream_live_input_modified" + }, + "playback": { + "$ref": "#/$defs/stream_live_input_playback" + }, + "preferLowLatency": { + "$ref": "#/$defs/stream_live_input_prefer_low_latency" + }, + "recording": { + "$ref": "#/$defs/stream_live_input_recording_settings" + }, + "rtmps": { + "$ref": "#/$defs/stream_input_rtmps" + }, + "rtmpsPlayback": { + "$ref": "#/$defs/stream_playback_rtmps" + }, + "srt": { + "$ref": "#/$defs/stream_input_srt" + }, + "srtPlayback": { + "$ref": "#/$defs/stream_playback_srt" + }, + "status": { + "$ref": "#/$defs/stream_live_input_status" + }, + "uid": { + "$ref": "#/$defs/stream_live_input_identifier" + }, + "webRTC": { + "$ref": "#/$defs/stream_input_webrtc" + }, + "webRTCPlayback": { + "$ref": "#/$defs/stream_playback_webrtc" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_live_input_created` in responses. + */ +export const stream_live_input_created_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `stream_live_input_enabled` in responses. + */ +export const stream_live_input_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `stream_live_input_identifier` in responses. + */ +export const stream_live_input_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_live_input_keys_rotated_at` in responses. + */ +export const stream_live_input_keys_rotated_at_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `stream_live_input_metadata` in responses. + */ +export const stream_live_input_metadata_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `stream_live_input_modified` in responses. + */ +export const stream_live_input_modified_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `stream_live_input_object_without_url` in responses. + */ +export const stream_live_input_object_without_url_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/stream_live_input_created" + }, + "deleteRecordingAfterDays": { + "$ref": "#/$defs/stream_live_input_recording_deletion" + }, + "enabled": { + "$ref": "#/$defs/stream_live_input_enabled" + }, + "meta": { + "$ref": "#/$defs/stream_live_input_metadata" + }, + "modified": { + "$ref": "#/$defs/stream_live_input_modified" + }, + "uid": { + "$ref": "#/$defs/stream_live_input_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_live_input_playback` in responses. + */ +export const stream_live_input_playback_output: JsonSchema = { + "properties": { + "dash": { + "$ref": "#/$defs/stream_playback_dash_url" + }, + "hls": { + "$ref": "#/$defs/stream_playback_hls_url" + } + }, + "required": [ + "dash", + "hls" + ], + "type": "object" +}; + +/** + * The schema of `stream_live_input_prefer_low_latency` in responses. + */ +export const stream_live_input_prefer_low_latency_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `stream_live_input_recording_allowedOrigins` in responses. + */ +export const stream_live_input_recording_allowedOrigins_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `stream_live_input_recording_deletion` in responses. + */ +export const stream_live_input_recording_deletion_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `stream_live_input_recording_hideLiveViewerCount` in responses. + */ +export const stream_live_input_recording_hideLiveViewerCount_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `stream_live_input_recording_mode` in responses. + */ +export const stream_live_input_recording_mode_output: JsonSchema = { + "enum": [ + "off", + "automatic" + ], + "type": "string" +}; + +/** + * The schema of `stream_live_input_recording_requireSignedURLs` in responses. + */ +export const stream_live_input_recording_requireSignedURLs_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `stream_live_input_recording_settings` in responses. + */ +export const stream_live_input_recording_settings_output: JsonSchema = { + "properties": { + "allowedOrigins": { + "$ref": "#/$defs/stream_live_input_recording_allowedOrigins" + }, + "hideLiveViewerCount": { + "$ref": "#/$defs/stream_live_input_recording_hideLiveViewerCount" + }, + "mode": { + "$ref": "#/$defs/stream_live_input_recording_mode" + }, + "requireSignedURLs": { + "$ref": "#/$defs/stream_live_input_recording_requireSignedURLs" + }, + "timeoutSeconds": { + "$ref": "#/$defs/stream_live_input_recording_timeoutSeconds" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_live_input_recording_timeoutSeconds` in responses. + */ +export const stream_live_input_recording_timeoutSeconds_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `stream_live_input_status` in responses. + */ +export const stream_live_input_status_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "connected", + "reconnected", + "reconnecting", + "client_disconnect", + "ttl_exceeded", + "failed_to_connect", + "failed_to_reconnect", + "new_configuration_accepted" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `stream_playback_dash_url` in responses. + */ +export const stream_playback_dash_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_playback_hls_url` in responses. + */ +export const stream_playback_hls_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_playback_rtmps` in responses. + */ +export const stream_playback_rtmps_output: JsonSchema = { + "properties": { + "streamKey": { + "$ref": "#/$defs/stream_playback_rtmps_stream_key" + }, + "url": { + "$ref": "#/$defs/stream_playback_rtmps_url" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_playback_rtmps_stream_key` in responses. + */ +export const stream_playback_rtmps_stream_key_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_playback_rtmps_url` in responses. + */ +export const stream_playback_rtmps_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_playback_srt` in responses. + */ +export const stream_playback_srt_output: JsonSchema = { + "properties": { + "passphrase": { + "$ref": "#/$defs/stream_playback_srt_stream_passphrase" + }, + "streamId": { + "$ref": "#/$defs/stream_playback_srt_stream_id" + }, + "url": { + "$ref": "#/$defs/stream_playback_srt_url" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_playback_srt_stream_id` in responses. + */ +export const stream_playback_srt_stream_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_playback_srt_stream_passphrase` in responses. + */ +export const stream_playback_srt_stream_passphrase_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_playback_srt_url` in responses. + */ +export const stream_playback_srt_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_playback_webrtc` in responses. + */ +export const stream_playback_webrtc_output: JsonSchema = { + "properties": { + "url": { + "$ref": "#/$defs/stream_playback_webrtc_url" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_playback_webrtc_url` in responses. + */ +export const stream_playback_webrtc_url_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts b/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts new file mode 100644 index 00000000..d1f95085 --- /dev/null +++ b/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts @@ -0,0 +1,53 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `stream_output` in responses. + */ +export const stream_output_output: JsonSchema = { + "properties": { + "enabled": { + "$ref": "#/$defs/stream_output_enabled" + }, + "streamKey": { + "$ref": "#/$defs/stream_output_streamKey" + }, + "uid": { + "$ref": "#/$defs/stream_output_identifier" + }, + "url": { + "$ref": "#/$defs/stream_output_url" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_output_enabled` in responses. + */ +export const stream_output_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `stream_output_identifier` in responses. + */ +export const stream_output_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_output_streamKey` in responses. + */ +export const stream_output_streamKey_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_output_url` in responses. + */ +export const stream_output_url_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts b/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts index a3cc43e1..94866623 100644 --- a/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts +++ b/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../../outputs.js"; +import { + stream_output_enabled_output, + stream_output_identifier_output, + stream_output_output, + stream_output_streamKey_output, + stream_output_url_output, +} from "./outputs.js"; import { stream_create_output_request, stream_output_enabled, @@ -54,6 +65,25 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_output" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + "stream_output": stream_output_output, + "stream_output_enabled": stream_output_enabled_output, + "stream_output_identifier": stream_output_identifier_output, + "stream_output_streamKey": stream_output_streamKey_output, + "stream_output_url": stream_output_url_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}/outputs`, body: { value: args["body"], mediaType: "application/json" }, @@ -99,6 +129,12 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": {}, + "4XX": {} + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}/outputs/${pathParam(args, "output_identifier")}`, }), @@ -139,6 +175,39 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/stream_output" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + "stream_output": stream_output_output, + "stream_output_enabled": stream_output_enabled_output, + "stream_output_identifier": stream_output_identifier_output, + "stream_output_streamKey": stream_output_streamKey_output, + "stream_output_url": stream_output_url_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}/outputs`, }), @@ -191,6 +260,25 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_output" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + "stream_output": stream_output_output, + "stream_output_enabled": stream_output_enabled_output, + "stream_output_identifier": stream_output_identifier_output, + "stream_output_streamKey": stream_output_streamKey_output, + "stream_output_url": stream_output_url_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}/outputs/${pathParam(args, "output_identifier")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/stream/liveInputs/tools.ts b/src/generated/forge-mcp/stream/liveInputs/tools.ts index 68e17968..ff93292c 100644 --- a/src/generated/forge-mcp/stream/liveInputs/tools.ts +++ b/src/generated/forge-mcp/stream/liveInputs/tools.ts @@ -2,7 +2,51 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../outputs.js"; import { stream_include_counts } from "../schemas.js"; +import { + stream_input_rtmps_output, + stream_input_rtmps_stream_key_output, + stream_input_rtmps_url_output, + stream_input_srt_output, + stream_input_srt_stream_id_output, + stream_input_srt_stream_passphrase_output, + stream_input_srt_url_output, + stream_input_webrtc_output, + stream_input_webrtc_url_output, + stream_live_input_alt_output, + stream_live_input_created_output, + stream_live_input_enabled_output, + stream_live_input_identifier_output, + stream_live_input_keys_rotated_at_output, + stream_live_input_metadata_output, + stream_live_input_modified_output, + stream_live_input_object_without_url_output, + stream_live_input_playback_output, + stream_live_input_prefer_low_latency_output, + stream_live_input_recording_allowedOrigins_output, + stream_live_input_recording_deletion_output, + stream_live_input_recording_hideLiveViewerCount_output, + stream_live_input_recording_mode_output, + stream_live_input_recording_requireSignedURLs_output, + stream_live_input_recording_settings_output, + stream_live_input_recording_timeoutSeconds_output, + stream_live_input_status_output, + stream_playback_dash_url_output, + stream_playback_hls_url_output, + stream_playback_rtmps_output, + stream_playback_rtmps_stream_key_output, + stream_playback_rtmps_url_output, + stream_playback_srt_output, + stream_playback_srt_stream_id_output, + stream_playback_srt_stream_passphrase_output, + stream_playback_srt_url_output, + stream_playback_webrtc_output, + stream_playback_webrtc_url_output, +} from "./outputs.js"; import { stream_create_input_request, stream_live_input_default_creator, @@ -75,6 +119,57 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_live_input_alt" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_input_rtmps": stream_input_rtmps_output, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, + "stream_input_rtmps_url": stream_input_rtmps_url_output, + "stream_input_srt": stream_input_srt_output, + "stream_input_srt_stream_id": stream_input_srt_stream_id_output, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, + "stream_input_srt_url": stream_input_srt_url_output, + "stream_input_webrtc": stream_input_webrtc_output, + "stream_input_webrtc_url": stream_input_webrtc_url_output, + "stream_live_input_alt": stream_live_input_alt_output, + "stream_live_input_created": stream_live_input_created_output, + "stream_live_input_enabled": stream_live_input_enabled_output, + "stream_live_input_identifier": stream_live_input_identifier_output, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, + "stream_live_input_metadata": stream_live_input_metadata_output, + "stream_live_input_modified": stream_live_input_modified_output, + "stream_live_input_playback": stream_live_input_playback_output, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, + "stream_live_input_recording_mode": stream_live_input_recording_mode_output, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, + "stream_live_input_recording_settings": stream_live_input_recording_settings_output, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, + "stream_live_input_status": stream_live_input_status_output, + "stream_messages": stream_messages_output, + "stream_playback_dash_url": stream_playback_dash_url_output, + "stream_playback_hls_url": stream_playback_hls_url_output, + "stream_playback_rtmps": stream_playback_rtmps_output, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, + "stream_playback_rtmps_url": stream_playback_rtmps_url_output, + "stream_playback_srt": stream_playback_srt_output, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, + "stream_playback_srt_url": stream_playback_srt_url_output, + "stream_playback_webrtc": stream_playback_webrtc_output, + "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs`, headers: [ @@ -118,6 +213,12 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": {}, + "4XX": {} + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}`, }), @@ -152,6 +253,57 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/disable", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_live_input_alt" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_input_rtmps": stream_input_rtmps_output, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, + "stream_input_rtmps_url": stream_input_rtmps_url_output, + "stream_input_srt": stream_input_srt_output, + "stream_input_srt_stream_id": stream_input_srt_stream_id_output, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, + "stream_input_srt_url": stream_input_srt_url_output, + "stream_input_webrtc": stream_input_webrtc_output, + "stream_input_webrtc_url": stream_input_webrtc_url_output, + "stream_live_input_alt": stream_live_input_alt_output, + "stream_live_input_created": stream_live_input_created_output, + "stream_live_input_enabled": stream_live_input_enabled_output, + "stream_live_input_identifier": stream_live_input_identifier_output, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, + "stream_live_input_metadata": stream_live_input_metadata_output, + "stream_live_input_modified": stream_live_input_modified_output, + "stream_live_input_playback": stream_live_input_playback_output, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, + "stream_live_input_recording_mode": stream_live_input_recording_mode_output, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, + "stream_live_input_recording_settings": stream_live_input_recording_settings_output, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, + "stream_live_input_status": stream_live_input_status_output, + "stream_messages": stream_messages_output, + "stream_playback_dash_url": stream_playback_dash_url_output, + "stream_playback_hls_url": stream_playback_hls_url_output, + "stream_playback_rtmps": stream_playback_rtmps_output, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, + "stream_playback_rtmps_url": stream_playback_rtmps_url_output, + "stream_playback_srt": stream_playback_srt_output, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, + "stream_playback_srt_url": stream_playback_srt_url_output, + "stream_playback_webrtc": stream_playback_webrtc_output, + "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}/disable`, }), @@ -186,6 +338,57 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/enable", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_live_input_alt" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_input_rtmps": stream_input_rtmps_output, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, + "stream_input_rtmps_url": stream_input_rtmps_url_output, + "stream_input_srt": stream_input_srt_output, + "stream_input_srt_stream_id": stream_input_srt_stream_id_output, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, + "stream_input_srt_url": stream_input_srt_url_output, + "stream_input_webrtc": stream_input_webrtc_output, + "stream_input_webrtc_url": stream_input_webrtc_url_output, + "stream_live_input_alt": stream_live_input_alt_output, + "stream_live_input_created": stream_live_input_created_output, + "stream_live_input_enabled": stream_live_input_enabled_output, + "stream_live_input_identifier": stream_live_input_identifier_output, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, + "stream_live_input_metadata": stream_live_input_metadata_output, + "stream_live_input_modified": stream_live_input_modified_output, + "stream_live_input_playback": stream_live_input_playback_output, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, + "stream_live_input_recording_mode": stream_live_input_recording_mode_output, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, + "stream_live_input_recording_settings": stream_live_input_recording_settings_output, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, + "stream_live_input_status": stream_live_input_status_output, + "stream_messages": stream_messages_output, + "stream_playback_dash_url": stream_playback_dash_url_output, + "stream_playback_hls_url": stream_playback_hls_url_output, + "stream_playback_rtmps": stream_playback_rtmps_output, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, + "stream_playback_rtmps_url": stream_playback_rtmps_url_output, + "stream_playback_srt": stream_playback_srt_output, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, + "stream_playback_srt_url": stream_playback_srt_url_output, + "stream_playback_webrtc": stream_playback_webrtc_output, + "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}/enable`, }), @@ -226,6 +429,57 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_live_input_alt" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_input_rtmps": stream_input_rtmps_output, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, + "stream_input_rtmps_url": stream_input_rtmps_url_output, + "stream_input_srt": stream_input_srt_output, + "stream_input_srt_stream_id": stream_input_srt_stream_id_output, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, + "stream_input_srt_url": stream_input_srt_url_output, + "stream_input_webrtc": stream_input_webrtc_output, + "stream_input_webrtc_url": stream_input_webrtc_url_output, + "stream_live_input_alt": stream_live_input_alt_output, + "stream_live_input_created": stream_live_input_created_output, + "stream_live_input_enabled": stream_live_input_enabled_output, + "stream_live_input_identifier": stream_live_input_identifier_output, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, + "stream_live_input_metadata": stream_live_input_metadata_output, + "stream_live_input_modified": stream_live_input_modified_output, + "stream_live_input_playback": stream_live_input_playback_output, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, + "stream_live_input_recording_mode": stream_live_input_recording_mode_output, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, + "stream_live_input_recording_settings": stream_live_input_recording_settings_output, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, + "stream_live_input_status": stream_live_input_status_output, + "stream_messages": stream_messages_output, + "stream_playback_dash_url": stream_playback_dash_url_output, + "stream_playback_hls_url": stream_playback_hls_url_output, + "stream_playback_rtmps": stream_playback_rtmps_output, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, + "stream_playback_rtmps_url": stream_playback_rtmps_url_output, + "stream_playback_srt": stream_playback_srt_output, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, + "stream_playback_srt_url": stream_playback_srt_url_output, + "stream_playback_webrtc": stream_playback_webrtc_output, + "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}`, }), @@ -269,6 +523,41 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "liveInputs": { + "items": { + "$ref": "#/$defs/stream_live_input_object_without_url" + }, + "type": "array" + }, + "range": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_live_input_created": stream_live_input_created_output, + "stream_live_input_enabled": stream_live_input_enabled_output, + "stream_live_input_identifier": stream_live_input_identifier_output, + "stream_live_input_metadata": stream_live_input_metadata_output, + "stream_live_input_modified": stream_live_input_modified_output, + "stream_live_input_object_without_url": stream_live_input_object_without_url_output, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs`, query: [ @@ -306,6 +595,57 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/rotate_keys", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_live_input_alt" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_input_rtmps": stream_input_rtmps_output, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, + "stream_input_rtmps_url": stream_input_rtmps_url_output, + "stream_input_srt": stream_input_srt_output, + "stream_input_srt_stream_id": stream_input_srt_stream_id_output, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, + "stream_input_srt_url": stream_input_srt_url_output, + "stream_input_webrtc": stream_input_webrtc_output, + "stream_input_webrtc_url": stream_input_webrtc_url_output, + "stream_live_input_alt": stream_live_input_alt_output, + "stream_live_input_created": stream_live_input_created_output, + "stream_live_input_enabled": stream_live_input_enabled_output, + "stream_live_input_identifier": stream_live_input_identifier_output, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, + "stream_live_input_metadata": stream_live_input_metadata_output, + "stream_live_input_modified": stream_live_input_modified_output, + "stream_live_input_playback": stream_live_input_playback_output, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, + "stream_live_input_recording_mode": stream_live_input_recording_mode_output, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, + "stream_live_input_recording_settings": stream_live_input_recording_settings_output, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, + "stream_live_input_status": stream_live_input_status_output, + "stream_messages": stream_messages_output, + "stream_playback_dash_url": stream_playback_dash_url_output, + "stream_playback_hls_url": stream_playback_hls_url_output, + "stream_playback_rtmps": stream_playback_rtmps_output, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, + "stream_playback_rtmps_url": stream_playback_rtmps_url_output, + "stream_playback_srt": stream_playback_srt_output, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, + "stream_playback_srt_url": stream_playback_srt_url_output, + "stream_playback_webrtc": stream_playback_webrtc_output, + "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}/rotate_keys`, }), @@ -363,6 +703,57 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_live_input_alt" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_input_rtmps": stream_input_rtmps_output, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, + "stream_input_rtmps_url": stream_input_rtmps_url_output, + "stream_input_srt": stream_input_srt_output, + "stream_input_srt_stream_id": stream_input_srt_stream_id_output, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, + "stream_input_srt_url": stream_input_srt_url_output, + "stream_input_webrtc": stream_input_webrtc_output, + "stream_input_webrtc_url": stream_input_webrtc_url_output, + "stream_live_input_alt": stream_live_input_alt_output, + "stream_live_input_created": stream_live_input_created_output, + "stream_live_input_enabled": stream_live_input_enabled_output, + "stream_live_input_identifier": stream_live_input_identifier_output, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, + "stream_live_input_metadata": stream_live_input_metadata_output, + "stream_live_input_modified": stream_live_input_modified_output, + "stream_live_input_playback": stream_live_input_playback_output, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, + "stream_live_input_recording_mode": stream_live_input_recording_mode_output, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, + "stream_live_input_recording_settings": stream_live_input_recording_settings_output, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, + "stream_live_input_status": stream_live_input_status_output, + "stream_messages": stream_messages_output, + "stream_playback_dash_url": stream_playback_dash_url_output, + "stream_playback_hls_url": stream_playback_hls_url_output, + "stream_playback_rtmps": stream_playback_rtmps_output, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, + "stream_playback_rtmps_url": stream_playback_rtmps_url_output, + "stream_playback_srt": stream_playback_srt_output, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, + "stream_playback_srt_url": stream_playback_srt_url_output, + "stream_playback_webrtc": stream_playback_webrtc_output, + "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs/${pathParam(args, "live_input_identifier")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/stream/outputs.ts b/src/generated/forge-mcp/stream/outputs.ts new file mode 100644 index 00000000..3f086dc6 --- /dev/null +++ b/src/generated/forge-mcp/stream/outputs.ts @@ -0,0 +1,194 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `stream_api-response-common-failure` in responses. + */ +export const stream_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/stream_messages" + }, + "messages": { + "$ref": "#/$defs/stream_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `stream_creator` in responses. + */ +export const stream_creator_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_downloadedFrom` in responses. + */ +export const stream_downloadedFrom_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_height` in responses. + */ +export const stream_height_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `stream_messages` in responses. + */ +export const stream_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `stream_name` in responses. + */ +export const stream_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_opacity` in responses. + */ +export const stream_opacity_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `stream_padding` in responses. + */ +export const stream_padding_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `stream_position` in responses. + */ +export const stream_position_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_scale` in responses. + */ +export const stream_scale_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `stream_watermark_created` in responses. + */ +export const stream_watermark_created_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `stream_watermark_identifier` in responses. + */ +export const stream_watermark_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_watermark_size` in responses. + */ +export const stream_watermark_size_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `stream_watermarks` in responses. + */ +export const stream_watermarks_output: JsonSchema = { + "properties": { + "created": { + "$ref": "#/$defs/stream_watermark_created" + }, + "downloadedFrom": { + "$ref": "#/$defs/stream_downloadedFrom" + }, + "height": { + "$ref": "#/$defs/stream_height" + }, + "name": { + "$ref": "#/$defs/stream_name" + }, + "opacity": { + "$ref": "#/$defs/stream_opacity" + }, + "padding": { + "$ref": "#/$defs/stream_padding" + }, + "position": { + "$ref": "#/$defs/stream_position" + }, + "scale": { + "$ref": "#/$defs/stream_scale" + }, + "size": { + "$ref": "#/$defs/stream_watermark_size" + }, + "uid": { + "$ref": "#/$defs/stream_watermark_identifier" + }, + "width": { + "$ref": "#/$defs/stream_width" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_width` in responses. + */ +export const stream_width_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/stream/tools.ts b/src/generated/forge-mcp/stream/tools.ts index ae7fdff8..a21b33bc 100644 --- a/src/generated/forge-mcp/stream/tools.ts +++ b/src/generated/forge-mcp/stream/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_creator_output, + stream_messages_output, +} from "./outputs.js"; import { stream_creator } from "./schemas.js"; /** @@ -46,6 +51,35 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "creator": { + "$ref": "#/$defs/stream_creator" + }, + "totalStorageMinutes": { + "type": "number" + }, + "totalStorageMinutesLimit": { + "type": "integer" + }, + "videoCount": { + "type": "integer" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_creator": stream_creator_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/storage-usage`, query: [ diff --git a/src/generated/forge-mcp/stream/usage/tools.ts b/src/generated/forge-mcp/stream/usage/tools.ts index 396ee78d..04ad8ada 100644 --- a/src/generated/forge-mcp/stream/usage/tools.ts +++ b/src/generated/forge-mcp/stream/usage/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + usage_analytics_api_error_output, + usage_analytics_api_message_output, + usage_analytics_error_response_output, + usage_analytics_stream_usage_data_point_output, +} from "../../outputs.js"; /** * The tools of `stream.usage`. @@ -82,6 +88,42 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/usage-analytics_stream_usage_data_point" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/usage-analytics_error_response" + }, + "401": { + "$ref": "#/$defs/usage-analytics_error_response" + }, + "403": { + "$ref": "#/$defs/usage-analytics_error_response" + } + }, + $defs: { + "usage-analytics_api_error": usage_analytics_api_error_output, + "usage-analytics_api_message": usage_analytics_api_message_output, + "usage-analytics_error_response": usage_analytics_error_response_output, + "usage-analytics_stream_usage_data_point": usage_analytics_stream_usage_data_point_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/stream/usage`, query: [ diff --git a/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts b/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts new file mode 100644 index 00000000..1a9020ad --- /dev/null +++ b/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts @@ -0,0 +1,80 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `stream_additionalAudio` in responses. + */ +export const stream_additionalAudio_output: JsonSchema = { + "properties": { + "default": { + "$ref": "#/$defs/stream_audio_default" + }, + "label": { + "$ref": "#/$defs/stream_audio_label" + }, + "status": { + "$ref": "#/$defs/stream_audio_state" + }, + "uid": { + "$ref": "#/$defs/stream_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_audio_default` in responses. + */ +export const stream_audio_default_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `stream_audio_label` in responses. + */ +export const stream_audio_label_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_audio_state` in responses. + */ +export const stream_audio_state_output: JsonSchema = { + "enum": [ + "queued", + "ready", + "error" + ], + "type": "string" +}; + +/** + * The schema of `stream_deleted_response` in responses. + */ +export const stream_deleted_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/stream_messages" + }, + "messages": { + "$ref": "#/$defs/stream_messages" + }, + "result": { + "type": "string" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts b/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts index bfe9562d..044bf6c6 100644 --- a/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts +++ b/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../../outputs.js"; +import { stream_identifier_output } from "../outputs.js"; +import { + stream_additionalAudio_output, + stream_audio_default_output, + stream_audio_label_output, + stream_audio_state_output, + stream_deleted_response_output, +} from "./outputs.js"; import { stream_audio_default, stream_audio_label, @@ -51,6 +63,25 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/{identifier}/audio/copy", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_additionalAudio" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_additionalAudio": stream_additionalAudio_output, + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_audio_default": stream_audio_default_output, + "stream_audio_label": stream_audio_label_output, + "stream_audio_state": stream_audio_state_output, + "stream_identifier": stream_identifier_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/audio/copy`, body: { value: args["body"], mediaType: "application/json" }, @@ -96,6 +127,20 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/stream_deleted_response" + } + }, + $defs: { + "stream_deleted_response": stream_deleted_response_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/audio/${pathParam(args, "audio_identifier")}`, }), @@ -149,6 +194,25 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_additionalAudio" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_additionalAudio": stream_additionalAudio_output, + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_audio_default": stream_audio_default_output, + "stream_audio_label": stream_audio_label_output, + "stream_audio_state": stream_audio_state_output, + "stream_identifier": stream_identifier_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/audio/${pathParam(args, "audio_identifier")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -190,6 +254,33 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "audio": { + "items": { + "$ref": "#/$defs/stream_additionalAudio" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_additionalAudio": stream_additionalAudio_output, + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_audio_default": stream_audio_default_output, + "stream_audio_label": stream_audio_label_output, + "stream_audio_state": stream_audio_state_output, + "stream_identifier": stream_identifier_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/audio`, }), diff --git a/src/generated/forge-mcp/stream/videos/captions/language/tools.ts b/src/generated/forge-mcp/stream/videos/captions/language/tools.ts index 92b7e35d..1a29edc0 100644 --- a/src/generated/forge-mcp/stream/videos/captions/language/tools.ts +++ b/src/generated/forge-mcp/stream/videos/captions/language/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../../../outputs.js"; +import { + stream_caption_status_output, + stream_captions_output, + stream_generated_caption_output, + stream_label_output, + stream_language_output, +} from "../outputs.js"; /** * The tools of `stream.videos.captions.language`. @@ -47,6 +58,20 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/captions/${pathParam(args, "language")}`, }), @@ -86,6 +111,25 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/{identifier}/captions/{language}/generate", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_captions" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_caption_status": stream_caption_status_output, + "stream_captions": stream_captions_output, + "stream_generated_caption": stream_generated_caption_output, + "stream_label": stream_label_output, + "stream_language": stream_language_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/captions/${pathParam(args, "language")}/generate`, }), @@ -131,6 +175,25 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_captions" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_caption_status": stream_caption_status_output, + "stream_captions": stream_captions_output, + "stream_generated_caption": stream_generated_caption_output, + "stream_label": stream_label_output, + "stream_language": stream_language_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/captions/${pathParam(args, "language")}`, }), diff --git a/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts b/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts index 3fbcc8b0..8ebd8d73 100644 --- a/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts +++ b/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../../../../outputs.js"; /** * The tools of `stream.videos.captions.language.vtt`. @@ -48,6 +52,18 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/captions/${pathParam(args, "language")}/vtt`, }), diff --git a/src/generated/forge-mcp/stream/videos/captions/outputs.ts b/src/generated/forge-mcp/stream/videos/captions/outputs.ts new file mode 100644 index 00000000..d2d982e3 --- /dev/null +++ b/src/generated/forge-mcp/stream/videos/captions/outputs.ts @@ -0,0 +1,58 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `stream_caption_status` in responses. + */ +export const stream_caption_status_output: JsonSchema = { + "enum": [ + "ready", + "inprogress", + "error" + ], + "type": "string" +}; + +/** + * The schema of `stream_captions` in responses. + */ +export const stream_captions_output: JsonSchema = { + "properties": { + "generated": { + "$ref": "#/$defs/stream_generated_caption" + }, + "label": { + "$ref": "#/$defs/stream_label" + }, + "language": { + "$ref": "#/$defs/stream_language" + }, + "status": { + "$ref": "#/$defs/stream_caption_status" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_generated_caption` in responses. + */ +export const stream_generated_caption_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `stream_label` in responses. + */ +export const stream_label_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_language` in responses. + */ +export const stream_language_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/stream/videos/captions/tools.ts b/src/generated/forge-mcp/stream/videos/captions/tools.ts index 50310c9b..7b857049 100644 --- a/src/generated/forge-mcp/stream/videos/captions/tools.ts +++ b/src/generated/forge-mcp/stream/videos/captions/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../../outputs.js"; +import { + stream_caption_status_output, + stream_captions_output, + stream_generated_caption_output, + stream_label_output, + stream_language_output, +} from "./outputs.js"; /** * The tools of `stream.videos.captions`. @@ -43,6 +54,39 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/stream_captions" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_caption_status": stream_caption_status_output, + "stream_captions": stream_captions_output, + "stream_generated_caption": stream_generated_caption_output, + "stream_label": stream_label_output, + "stream_language": stream_language_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/captions`, }), diff --git a/src/generated/forge-mcp/stream/videos/directUpload/tools.ts b/src/generated/forge-mcp/stream/videos/directUpload/tools.ts index dab84084..e070349a 100644 --- a/src/generated/forge-mcp/stream/videos/directUpload/tools.ts +++ b/src/generated/forge-mcp/stream/videos/directUpload/tools.ts @@ -2,7 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_downloadedFrom_output, + stream_height_output, + stream_messages_output, + stream_name_output, + stream_opacity_output, + stream_padding_output, + stream_position_output, + stream_scale_output, + stream_watermark_created_output, + stream_watermark_identifier_output, + stream_watermark_size_output, + stream_watermarks_output, + stream_width_output, +} from "../../outputs.js"; import { stream_creator } from "../../schemas.js"; +import { + stream_identifier_output, + stream_scheduledDeletion_output, +} from "../outputs.js"; import { stream_allowedOrigins, stream_maxDurationSeconds, @@ -67,6 +87,48 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "scheduledDeletion": { + "$ref": "#/$defs/stream_scheduledDeletion" + }, + "uid": { + "$ref": "#/$defs/stream_identifier" + }, + "uploadURL": { + "type": "string" + }, + "watermark": { + "$ref": "#/$defs/stream_watermarks" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_downloadedFrom": stream_downloadedFrom_output, + "stream_height": stream_height_output, + "stream_identifier": stream_identifier_output, + "stream_messages": stream_messages_output, + "stream_name": stream_name_output, + "stream_opacity": stream_opacity_output, + "stream_padding": stream_padding_output, + "stream_position": stream_position_output, + "stream_scale": stream_scale_output, + "stream_scheduledDeletion": stream_scheduledDeletion_output, + "stream_watermark_created": stream_watermark_created_output, + "stream_watermark_identifier": stream_watermark_identifier_output, + "stream_watermark_size": stream_watermark_size_output, + "stream_watermarks": stream_watermarks_output, + "stream_width": stream_width_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/direct_upload`, headers: [ diff --git a/src/generated/forge-mcp/stream/videos/downloads/tools.ts b/src/generated/forge-mcp/stream/videos/downloads/tools.ts index 2cb55bc6..c30e45ce 100644 --- a/src/generated/forge-mcp/stream/videos/downloads/tools.ts +++ b/src/generated/forge-mcp/stream/videos/downloads/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../../outputs.js"; +import { + stream_download_percent_complete_output, + stream_download_status_output, + stream_download_url_output, + stream_downloads_output, +} from "../outputs.js"; /** * The tools of `stream.videos.downloads`. @@ -42,6 +52,32 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/{identifier}/downloads/{download_type}", + responses: { + schemas: { + "200": { + "properties": { + "audio": { + "$ref": "#/$defs/stream_downloads" + }, + "default": { + "$ref": "#/$defs/stream_downloads" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_download_percent_complete": stream_download_percent_complete_output, + "stream_download_status": stream_download_status_output, + "stream_download_url": stream_download_url_output, + "stream_downloads": stream_downloads_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/downloads/${pathParam(args, "download_type")}`, }), @@ -86,6 +122,20 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/downloads/${pathParam(args, "download_type")}`, }), diff --git a/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts b/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts index 0889bac8..e8c65a0c 100644 --- a/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts +++ b/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../../outputs.js"; +import { + stream_download_percent_complete_output, + stream_download_status_output, + stream_download_url_output, + stream_downloads_output, +} from "../outputs.js"; /** * The tools of `stream.videos.downloads_default`. @@ -37,6 +47,32 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/{identifier}/downloads", + responses: { + schemas: { + "200": { + "properties": { + "audio": { + "$ref": "#/$defs/stream_downloads" + }, + "default": { + "$ref": "#/$defs/stream_downloads" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_download_percent_complete": stream_download_percent_complete_output, + "stream_download_status": stream_download_status_output, + "stream_download_url": stream_download_url_output, + "stream_downloads": stream_downloads_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/downloads`, }), @@ -76,6 +112,20 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/downloads`, }), @@ -116,6 +166,32 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "audio": { + "$ref": "#/$defs/stream_downloads" + }, + "default": { + "$ref": "#/$defs/stream_downloads" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_download_percent_complete": stream_download_percent_complete_output, + "stream_download_status": stream_download_status_output, + "stream_download_url": stream_download_url_output, + "stream_downloads": stream_downloads_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/downloads`, }), diff --git a/src/generated/forge-mcp/stream/videos/outputs.ts b/src/generated/forge-mcp/stream/videos/outputs.ts new file mode 100644 index 00000000..e1913b8a --- /dev/null +++ b/src/generated/forge-mcp/stream/videos/outputs.ts @@ -0,0 +1,414 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `stream_allowedOrigins` in responses. + */ +export const stream_allowedOrigins_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `stream_created` in responses. + */ +export const stream_created_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `stream_download_percent_complete` in responses. + */ +export const stream_download_percent_complete_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `stream_download_status` in responses. + */ +export const stream_download_status_output: JsonSchema = { + "enum": [ + "ready", + "inprogress", + "error" + ], + "type": "string" +}; + +/** + * The schema of `stream_download_url` in responses. + */ +export const stream_download_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_downloads` in responses. + */ +export const stream_downloads_output: JsonSchema = { + "properties": { + "percentComplete": { + "$ref": "#/$defs/stream_download_percent_complete" + }, + "status": { + "$ref": "#/$defs/stream_download_status" + }, + "url": { + "$ref": "#/$defs/stream_download_url" + } + }, + "required": [ + "percentComplete", + "status" + ], + "type": "object" +}; + +/** + * The schema of `stream_duration` in responses. + */ +export const stream_duration_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `stream_errorReasonCode` in responses. + */ +export const stream_errorReasonCode_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_errorReasonText` in responses. + */ +export const stream_errorReasonText_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_identifier` in responses. + */ +export const stream_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_input` in responses. + */ +export const stream_input_output: JsonSchema = { + "properties": { + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_liveInput` in responses. + */ +export const stream_liveInput_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_maxDurationSeconds` in responses. + */ +export const stream_maxDurationSeconds_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `stream_media_metadata` in responses. + */ +export const stream_media_metadata_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `stream_media_state` in responses. + */ +export const stream_media_state_output: JsonSchema = { + "enum": [ + "pendingupload", + "downloading", + "queued", + "inprogress", + "ready", + "error", + "live-inprogress" + ], + "type": "string" +}; + +/** + * The schema of `stream_media_status` in responses. + */ +export const stream_media_status_output: JsonSchema = { + "properties": { + "errorReasonCode": { + "$ref": "#/$defs/stream_errorReasonCode" + }, + "errorReasonText": { + "$ref": "#/$defs/stream_errorReasonText" + }, + "pctComplete": { + "$ref": "#/$defs/stream_pctComplete" + }, + "state": { + "$ref": "#/$defs/stream_media_state" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_modified` in responses. + */ +export const stream_modified_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `stream_oneTimeUploadExpiry` in responses. + */ +export const stream_oneTimeUploadExpiry_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `stream_pctComplete` in responses. + */ +export const stream_pctComplete_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_playback` in responses. + */ +export const stream_playback_output: JsonSchema = { + "properties": { + "dash": { + "type": "string" + }, + "hls": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_preview` in responses. + */ +export const stream_preview_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_readyToStream` in responses. + */ +export const stream_readyToStream_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `stream_readyToStreamAt` in responses. + */ +export const stream_readyToStreamAt_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `stream_requireSignedURLs` in responses. + */ +export const stream_requireSignedURLs_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `stream_scheduledDeletion` in responses. + */ +export const stream_scheduledDeletion_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `stream_size` in responses. + */ +export const stream_size_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `stream_thumbnailTimestampPct` in responses. + */ +export const stream_thumbnailTimestampPct_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `stream_thumbnail_url` in responses. + */ +export const stream_thumbnail_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `stream_uploaded` in responses. + */ +export const stream_uploaded_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `stream_videos` in responses. + */ +export const stream_videos_output: JsonSchema = { + "properties": { + "allowedOrigins": { + "$ref": "#/$defs/stream_allowedOrigins" + }, + "clippedFrom": { + "type": "string" + }, + "created": { + "$ref": "#/$defs/stream_created" + }, + "creator": { + "$ref": "#/$defs/stream_creator" + }, + "duration": { + "$ref": "#/$defs/stream_duration" + }, + "input": { + "$ref": "#/$defs/stream_input" + }, + "liveInput": { + "$ref": "#/$defs/stream_liveInput" + }, + "maxDurationSeconds": { + "$ref": "#/$defs/stream_maxDurationSeconds" + }, + "maxSizeBytes": { + "type": "integer" + }, + "meta": { + "$ref": "#/$defs/stream_media_metadata" + }, + "modified": { + "$ref": "#/$defs/stream_modified" + }, + "playback": { + "$ref": "#/$defs/stream_playback" + }, + "preview": { + "$ref": "#/$defs/stream_preview" + }, + "publicDetails": { + "$ref": "#/$defs/stream_videos_publicDetails" + }, + "readyToStream": { + "$ref": "#/$defs/stream_readyToStream" + }, + "readyToStreamAt": { + "$ref": "#/$defs/stream_readyToStreamAt" + }, + "requireSignedURLs": { + "$ref": "#/$defs/stream_requireSignedURLs" + }, + "scheduledDeletion": { + "$ref": "#/$defs/stream_scheduledDeletion" + }, + "size": { + "$ref": "#/$defs/stream_size" + }, + "status": { + "$ref": "#/$defs/stream_media_status" + }, + "thumbnail": { + "$ref": "#/$defs/stream_thumbnail_url" + }, + "thumbnailTimestampPct": { + "$ref": "#/$defs/stream_thumbnailTimestampPct" + }, + "uid": { + "$ref": "#/$defs/stream_identifier" + }, + "uploadExpiry": { + "$ref": "#/$defs/stream_oneTimeUploadExpiry" + }, + "uploaded": { + "$ref": "#/$defs/stream_uploaded" + }, + "watermark": { + "$ref": "#/$defs/stream_watermarks" + } + }, + "type": "object" +}; + +/** + * The schema of `stream_videos_publicDetails` in responses. + */ +export const stream_videos_publicDetails_output: JsonSchema = { + "properties": { + "channel_link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "logo": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "media_id": { + "type": "integer" + }, + "share_link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/stream/videos/token/tools.ts b/src/generated/forge-mcp/stream/videos/token/tools.ts index 66bba992..7b5f2186 100644 --- a/src/generated/forge-mcp/stream/videos/token/tools.ts +++ b/src/generated/forge-mcp/stream/videos/token/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../../outputs.js"; import { stream_accessRules, stream_signed_token_request, @@ -51,6 +55,25 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/{identifier}/token", + responses: { + schemas: { + "200": { + "properties": { + "token": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/token`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/stream/videos/tools.ts b/src/generated/forge-mcp/stream/videos/tools.ts index f42ad68c..0b6fdafe 100644 --- a/src/generated/forge-mcp/stream/videos/tools.ts +++ b/src/generated/forge-mcp/stream/videos/tools.ts @@ -2,7 +2,53 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_creator_output, + stream_downloadedFrom_output, + stream_height_output, + stream_messages_output, + stream_name_output, + stream_opacity_output, + stream_padding_output, + stream_position_output, + stream_scale_output, + stream_watermark_created_output, + stream_watermark_identifier_output, + stream_watermark_size_output, + stream_watermarks_output, + stream_width_output, +} from "../outputs.js"; import { stream_creator, stream_include_counts } from "../schemas.js"; +import { + stream_allowedOrigins_output, + stream_created_output, + stream_duration_output, + stream_errorReasonCode_output, + stream_errorReasonText_output, + stream_identifier_output, + stream_input_output, + stream_liveInput_output, + stream_maxDurationSeconds_output, + stream_media_metadata_output, + stream_media_state_output, + stream_media_status_output, + stream_modified_output, + stream_oneTimeUploadExpiry_output, + stream_pctComplete_output, + stream_playback_output, + stream_preview_output, + stream_readyToStreamAt_output, + stream_readyToStream_output, + stream_requireSignedURLs_output, + stream_scheduledDeletion_output, + stream_size_output, + stream_thumbnailTimestampPct_output, + stream_thumbnail_url_output, + stream_uploaded_output, + stream_videos_output, + stream_videos_publicDetails_output, +} from "./outputs.js"; import { stream_allowedOrigins, stream_asc, @@ -84,6 +130,60 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_videos" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_allowedOrigins": stream_allowedOrigins_output, + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_created": stream_created_output, + "stream_creator": stream_creator_output, + "stream_downloadedFrom": stream_downloadedFrom_output, + "stream_duration": stream_duration_output, + "stream_errorReasonCode": stream_errorReasonCode_output, + "stream_errorReasonText": stream_errorReasonText_output, + "stream_height": stream_height_output, + "stream_identifier": stream_identifier_output, + "stream_input": stream_input_output, + "stream_liveInput": stream_liveInput_output, + "stream_maxDurationSeconds": stream_maxDurationSeconds_output, + "stream_media_metadata": stream_media_metadata_output, + "stream_media_state": stream_media_state_output, + "stream_media_status": stream_media_status_output, + "stream_messages": stream_messages_output, + "stream_modified": stream_modified_output, + "stream_name": stream_name_output, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, + "stream_opacity": stream_opacity_output, + "stream_padding": stream_padding_output, + "stream_pctComplete": stream_pctComplete_output, + "stream_playback": stream_playback_output, + "stream_position": stream_position_output, + "stream_preview": stream_preview_output, + "stream_readyToStream": stream_readyToStream_output, + "stream_readyToStreamAt": stream_readyToStreamAt_output, + "stream_requireSignedURLs": stream_requireSignedURLs_output, + "stream_scale": stream_scale_output, + "stream_scheduledDeletion": stream_scheduledDeletion_output, + "stream_size": stream_size_output, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, + "stream_thumbnail_url": stream_thumbnail_url_output, + "stream_uploaded": stream_uploaded_output, + "stream_videos": stream_videos_output, + "stream_videos_publicDetails": stream_videos_publicDetails_output, + "stream_watermark_created": stream_watermark_created_output, + "stream_watermark_identifier": stream_watermark_identifier_output, + "stream_watermark_size": stream_watermark_size_output, + "stream_watermarks": stream_watermarks_output, + "stream_width": stream_width_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/clip`, body: { value: args["body"], mediaType: "application/json" }, @@ -137,6 +237,60 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_videos" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_allowedOrigins": stream_allowedOrigins_output, + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_created": stream_created_output, + "stream_creator": stream_creator_output, + "stream_downloadedFrom": stream_downloadedFrom_output, + "stream_duration": stream_duration_output, + "stream_errorReasonCode": stream_errorReasonCode_output, + "stream_errorReasonText": stream_errorReasonText_output, + "stream_height": stream_height_output, + "stream_identifier": stream_identifier_output, + "stream_input": stream_input_output, + "stream_liveInput": stream_liveInput_output, + "stream_maxDurationSeconds": stream_maxDurationSeconds_output, + "stream_media_metadata": stream_media_metadata_output, + "stream_media_state": stream_media_state_output, + "stream_media_status": stream_media_status_output, + "stream_messages": stream_messages_output, + "stream_modified": stream_modified_output, + "stream_name": stream_name_output, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, + "stream_opacity": stream_opacity_output, + "stream_padding": stream_padding_output, + "stream_pctComplete": stream_pctComplete_output, + "stream_playback": stream_playback_output, + "stream_position": stream_position_output, + "stream_preview": stream_preview_output, + "stream_readyToStream": stream_readyToStream_output, + "stream_readyToStreamAt": stream_readyToStreamAt_output, + "stream_requireSignedURLs": stream_requireSignedURLs_output, + "stream_scale": stream_scale_output, + "stream_scheduledDeletion": stream_scheduledDeletion_output, + "stream_size": stream_size_output, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, + "stream_thumbnail_url": stream_thumbnail_url_output, + "stream_uploaded": stream_uploaded_output, + "stream_videos": stream_videos_output, + "stream_videos_publicDetails": stream_videos_publicDetails_output, + "stream_watermark_created": stream_watermark_created_output, + "stream_watermark_identifier": stream_watermark_identifier_output, + "stream_watermark_size": stream_watermark_size_output, + "stream_watermarks": stream_watermarks_output, + "stream_width": stream_width_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/copy`, headers: [ @@ -205,6 +359,18 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "201": null, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream`, query: [ @@ -253,6 +419,18 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}`, }), @@ -303,6 +481,60 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/stream/{identifier}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_videos" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_allowedOrigins": stream_allowedOrigins_output, + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_created": stream_created_output, + "stream_creator": stream_creator_output, + "stream_downloadedFrom": stream_downloadedFrom_output, + "stream_duration": stream_duration_output, + "stream_errorReasonCode": stream_errorReasonCode_output, + "stream_errorReasonText": stream_errorReasonText_output, + "stream_height": stream_height_output, + "stream_identifier": stream_identifier_output, + "stream_input": stream_input_output, + "stream_liveInput": stream_liveInput_output, + "stream_maxDurationSeconds": stream_maxDurationSeconds_output, + "stream_media_metadata": stream_media_metadata_output, + "stream_media_state": stream_media_state_output, + "stream_media_status": stream_media_status_output, + "stream_messages": stream_messages_output, + "stream_modified": stream_modified_output, + "stream_name": stream_name_output, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, + "stream_opacity": stream_opacity_output, + "stream_padding": stream_padding_output, + "stream_pctComplete": stream_pctComplete_output, + "stream_playback": stream_playback_output, + "stream_position": stream_position_output, + "stream_preview": stream_preview_output, + "stream_readyToStream": stream_readyToStream_output, + "stream_readyToStreamAt": stream_readyToStreamAt_output, + "stream_requireSignedURLs": stream_requireSignedURLs_output, + "stream_scale": stream_scale_output, + "stream_scheduledDeletion": stream_scheduledDeletion_output, + "stream_size": stream_size_output, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, + "stream_thumbnail_url": stream_thumbnail_url_output, + "stream_uploaded": stream_uploaded_output, + "stream_videos": stream_videos_output, + "stream_videos_publicDetails": stream_videos_publicDetails_output, + "stream_watermark_created": stream_watermark_created_output, + "stream_watermark_identifier": stream_watermark_identifier_output, + "stream_watermark_size": stream_watermark_size_output, + "stream_watermarks": stream_watermarks_output, + "stream_width": stream_width_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -344,6 +576,18 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}/embed`, }), @@ -384,6 +628,60 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_videos" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_allowedOrigins": stream_allowedOrigins_output, + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_created": stream_created_output, + "stream_creator": stream_creator_output, + "stream_downloadedFrom": stream_downloadedFrom_output, + "stream_duration": stream_duration_output, + "stream_errorReasonCode": stream_errorReasonCode_output, + "stream_errorReasonText": stream_errorReasonText_output, + "stream_height": stream_height_output, + "stream_identifier": stream_identifier_output, + "stream_input": stream_input_output, + "stream_liveInput": stream_liveInput_output, + "stream_maxDurationSeconds": stream_maxDurationSeconds_output, + "stream_media_metadata": stream_media_metadata_output, + "stream_media_state": stream_media_state_output, + "stream_media_status": stream_media_status_output, + "stream_messages": stream_messages_output, + "stream_modified": stream_modified_output, + "stream_name": stream_name_output, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, + "stream_opacity": stream_opacity_output, + "stream_padding": stream_padding_output, + "stream_pctComplete": stream_pctComplete_output, + "stream_playback": stream_playback_output, + "stream_position": stream_position_output, + "stream_preview": stream_preview_output, + "stream_readyToStream": stream_readyToStream_output, + "stream_readyToStreamAt": stream_readyToStreamAt_output, + "stream_requireSignedURLs": stream_requireSignedURLs_output, + "stream_scale": stream_scale_output, + "stream_scheduledDeletion": stream_scheduledDeletion_output, + "stream_size": stream_size_output, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, + "stream_thumbnail_url": stream_thumbnail_url_output, + "stream_uploaded": stream_uploaded_output, + "stream_videos": stream_videos_output, + "stream_videos_publicDetails": stream_videos_publicDetails_output, + "stream_watermark_created": stream_watermark_created_output, + "stream_watermark_identifier": stream_watermark_identifier_output, + "stream_watermark_size": stream_watermark_size_output, + "stream_watermarks": stream_watermarks_output, + "stream_width": stream_width_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/${pathParam(args, "identifier")}`, }), @@ -494,6 +792,74 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/stream_videos" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_allowedOrigins": stream_allowedOrigins_output, + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_created": stream_created_output, + "stream_creator": stream_creator_output, + "stream_downloadedFrom": stream_downloadedFrom_output, + "stream_duration": stream_duration_output, + "stream_errorReasonCode": stream_errorReasonCode_output, + "stream_errorReasonText": stream_errorReasonText_output, + "stream_height": stream_height_output, + "stream_identifier": stream_identifier_output, + "stream_input": stream_input_output, + "stream_liveInput": stream_liveInput_output, + "stream_maxDurationSeconds": stream_maxDurationSeconds_output, + "stream_media_metadata": stream_media_metadata_output, + "stream_media_state": stream_media_state_output, + "stream_media_status": stream_media_status_output, + "stream_messages": stream_messages_output, + "stream_modified": stream_modified_output, + "stream_name": stream_name_output, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, + "stream_opacity": stream_opacity_output, + "stream_padding": stream_padding_output, + "stream_pctComplete": stream_pctComplete_output, + "stream_playback": stream_playback_output, + "stream_position": stream_position_output, + "stream_preview": stream_preview_output, + "stream_readyToStream": stream_readyToStream_output, + "stream_readyToStreamAt": stream_readyToStreamAt_output, + "stream_requireSignedURLs": stream_requireSignedURLs_output, + "stream_scale": stream_scale_output, + "stream_scheduledDeletion": stream_scheduledDeletion_output, + "stream_size": stream_size_output, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, + "stream_thumbnail_url": stream_thumbnail_url_output, + "stream_uploaded": stream_uploaded_output, + "stream_videos": stream_videos_output, + "stream_videos_publicDetails": stream_videos_publicDetails_output, + "stream_watermark_created": stream_watermark_created_output, + "stream_watermark_identifier": stream_watermark_identifier_output, + "stream_watermark_size": stream_watermark_size_output, + "stream_watermarks": stream_watermarks_output, + "stream_width": stream_width_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream`, query: [ diff --git a/src/generated/forge-mcp/stream/watermarks/tools.ts b/src/generated/forge-mcp/stream/watermarks/tools.ts index d1c95569..cf7aa3c5 100644 --- a/src/generated/forge-mcp/stream/watermarks/tools.ts +++ b/src/generated/forge-mcp/stream/watermarks/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_downloadedFrom_output, + stream_height_output, + stream_messages_output, + stream_name_output, + stream_opacity_output, + stream_padding_output, + stream_position_output, + stream_scale_output, + stream_watermark_created_output, + stream_watermark_identifier_output, + stream_watermark_size_output, + stream_watermarks_output, + stream_width_output, +} from "../outputs.js"; import { stream_name, stream_opacity, @@ -86,6 +102,32 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_watermarks" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_downloadedFrom": stream_downloadedFrom_output, + "stream_height": stream_height_output, + "stream_messages": stream_messages_output, + "stream_name": stream_name_output, + "stream_opacity": stream_opacity_output, + "stream_padding": stream_padding_output, + "stream_position": stream_position_output, + "stream_scale": stream_scale_output, + "stream_watermark_created": stream_watermark_created_output, + "stream_watermark_identifier": stream_watermark_identifier_output, + "stream_watermark_size": stream_watermark_size_output, + "stream_watermarks": stream_watermarks_output, + "stream_width": stream_width_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/watermarks`, body: { value: args["body"], mediaType: "application/json" }, @@ -126,6 +168,20 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/watermarks/${pathParam(args, "identifier")}`, }), @@ -166,6 +222,32 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/stream_watermarks" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_downloadedFrom": stream_downloadedFrom_output, + "stream_height": stream_height_output, + "stream_messages": stream_messages_output, + "stream_name": stream_name_output, + "stream_opacity": stream_opacity_output, + "stream_padding": stream_padding_output, + "stream_position": stream_position_output, + "stream_scale": stream_scale_output, + "stream_watermark_created": stream_watermark_created_output, + "stream_watermark_identifier": stream_watermark_identifier_output, + "stream_watermark_size": stream_watermark_size_output, + "stream_watermarks": stream_watermarks_output, + "stream_width": stream_width_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/watermarks/${pathParam(args, "identifier")}`, }), @@ -201,6 +283,46 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/stream_watermarks" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_downloadedFrom": stream_downloadedFrom_output, + "stream_height": stream_height_output, + "stream_messages": stream_messages_output, + "stream_name": stream_name_output, + "stream_opacity": stream_opacity_output, + "stream_padding": stream_padding_output, + "stream_position": stream_position_output, + "stream_scale": stream_scale_output, + "stream_watermark_created": stream_watermark_created_output, + "stream_watermark_identifier": stream_watermark_identifier_output, + "stream_watermark_size": stream_watermark_size_output, + "stream_watermarks": stream_watermarks_output, + "stream_width": stream_width_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/watermarks`, }), diff --git a/src/generated/forge-mcp/stream/webhooks/tools.ts b/src/generated/forge-mcp/stream/webhooks/tools.ts index 763a789c..7772cc85 100644 --- a/src/generated/forge-mcp/stream/webhooks/tools.ts +++ b/src/generated/forge-mcp/stream/webhooks/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + stream_api_response_common_failure_output, + stream_messages_output, +} from "../outputs.js"; import { stream_webhook_request } from "./schemas.js"; /** @@ -38,6 +42,20 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/webhook`, }), @@ -73,6 +91,32 @@ export const tools: readonly Tool[] = [ "Stream Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "format": "date-time", + "type": "string" + }, + "notificationUrl": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/webhook`, }), @@ -114,6 +158,32 @@ export const tools: readonly Tool[] = [ "Stream Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "modified": { + "format": "date-time", + "type": "string" + }, + "notificationUrl": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/stream_api-response-common-failure" + } + }, + $defs: { + "stream_api-response-common-failure": stream_api_response_common_failure_output, + "stream_messages": stream_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/webhook`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/submissionInfo/tools.ts b/src/generated/forge-mcp/submissionInfo/tools.ts index 31a2bbb0..c69a35c9 100644 --- a/src/generated/forge-mcp/submissionInfo/tools.ts +++ b/src/generated/forge-mcp/submissionInfo/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `submission_info`. @@ -37,6 +38,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/submission-info`, }), diff --git a/src/generated/forge-mcp/submit/outputs.ts b/src/generated/forge-mcp/submit/outputs.ts new file mode 100644 index 00000000..651b4dca --- /dev/null +++ b/src/generated/forge-mcp/submit/outputs.ts @@ -0,0 +1,25 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `brand-protection-api_URLSubmit` in responses. + */ +export const brand_protection_api_URLSubmit_output: JsonSchema = { + "properties": { + "skipped_urls": { + "items": { + "type": "object" + }, + "type": "array" + }, + "submitted_urls": { + "items": { + "type": "object" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/submit/tools.ts b/src/generated/forge-mcp/submit/tools.ts index 5e5f1975..90dcd070 100644 --- a/src/generated/forge-mcp/submit/tools.ts +++ b/src/generated/forge-mcp/submit/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; +import { brand_protection_api_URLSubmit_output } from "./outputs.js"; /** * The tools of `submit`. @@ -36,6 +38,20 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/brand-protection-api_URLSubmit" + }, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_URLSubmit": brand_protection_api_URLSubmit_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/submit`, }), diff --git a/src/generated/forge-mcp/tags/accountResources/tools.ts b/src/generated/forge-mcp/tags/accountResources/tools.ts index 06aaef37..1c563d5e 100644 --- a/src/generated/forge-mcp/tags/accountResources/tools.ts +++ b/src/generated/forge-mcp/tags/accountResources/tools.ts @@ -2,6 +2,70 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + resource_tagging_access_application_id_output, + resource_tagging_api_response_common_failure_output, + resource_tagging_etag_output, + resource_tagging_identifier_output, + resource_tagging_messages_output, + resource_tagging_namespace_worker_navigation_output, + resource_tagging_resource_id_output, + resource_tagging_resource_name_output, + resource_tagging_tagged_resource_object_access_application_output, + resource_tagging_tagged_resource_object_access_application_policy_base_output, + resource_tagging_tagged_resource_object_access_application_policy_output, + resource_tagging_tagged_resource_object_access_group_output, + resource_tagging_tagged_resource_object_access_service_token_output, + resource_tagging_tagged_resource_object_account_level_base_output, + resource_tagging_tagged_resource_object_account_output, + resource_tagging_tagged_resource_object_account_ruleset_output, + resource_tagging_tagged_resource_object_ai_gateway_output, + resource_tagging_tagged_resource_object_ai_search_instance_output, + resource_tagging_tagged_resource_object_alerting_policy_output, + resource_tagging_tagged_resource_object_alerting_webhook_output, + resource_tagging_tagged_resource_object_api_gateway_operation_output, + resource_tagging_tagged_resource_object_cloudflared_tunnel_output, + resource_tagging_tagged_resource_object_custom_certificate_output, + resource_tagging_tagged_resource_object_custom_hostname_output, + resource_tagging_tagged_resource_object_cws_deployment_output, + resource_tagging_tagged_resource_object_cws_policy_output, + resource_tagging_tagged_resource_object_cws_policy_set_output, + resource_tagging_tagged_resource_object_cws_workload_output, + resource_tagging_tagged_resource_object_d1_database_output, + resource_tagging_tagged_resource_object_device_output, + resource_tagging_tagged_resource_object_dns_record_output, + resource_tagging_tagged_resource_object_durable_object_namespace_output, + resource_tagging_tagged_resource_object_gateway_list_output, + resource_tagging_tagged_resource_object_gateway_rule_output, + resource_tagging_tagged_resource_object_healthcheck_output, + resource_tagging_tagged_resource_object_image_output, + resource_tagging_tagged_resource_object_infrastructure_target_output, + resource_tagging_tagged_resource_object_kv_namespace_output, + resource_tagging_tagged_resource_object_load_balancer_monitor_output, + resource_tagging_tagged_resource_object_load_balancer_output, + resource_tagging_tagged_resource_object_load_balancer_pool_output, + resource_tagging_tagged_resource_object_managed_client_certificate_output, + resource_tagging_tagged_resource_object_namespace_worker_output, + resource_tagging_tagged_resource_object_output, + resource_tagging_tagged_resource_object_pages_project_output, + resource_tagging_tagged_resource_object_queue_output, + resource_tagging_tagged_resource_object_r2_bucket_output, + resource_tagging_tagged_resource_object_resource_share_output, + resource_tagging_tagged_resource_object_stream_live_input_output, + resource_tagging_tagged_resource_object_stream_video_output, + resource_tagging_tagged_resource_object_vectorize_index_output, + resource_tagging_tagged_resource_object_worker_output, + resource_tagging_tagged_resource_object_worker_route_output, + resource_tagging_tagged_resource_object_worker_version_base_output, + resource_tagging_tagged_resource_object_worker_version_output, + resource_tagging_tagged_resource_object_zone_level_base_output, + resource_tagging_tagged_resource_object_zone_output, + resource_tagging_tagged_resource_object_zone_ruleset_output, + resource_tagging_tags_output, + resource_tagging_tags_updated_at_output, + resource_tagging_worker_id_output, + resource_tagging_zone_id_output, +} from "../outputs.js"; import { resource_tagging_resource_id, resource_tagging_tags, @@ -83,6 +147,24 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "204": null, + "412": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + } + }, + $defs: { + "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, + "resource-tagging_messages": resource_tagging_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/tags`, headers: [ @@ -153,6 +235,83 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-tagging_tagged_resource_object" + }, + "4XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + } + }, + $defs: { + "resource-tagging_access_application_id": resource_tagging_access_application_id_output, + "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, + "resource-tagging_etag": resource_tagging_etag_output, + "resource-tagging_identifier": resource_tagging_identifier_output, + "resource-tagging_messages": resource_tagging_messages_output, + "resource-tagging_namespace_worker_navigation": resource_tagging_namespace_worker_navigation_output, + "resource-tagging_resource_id": resource_tagging_resource_id_output, + "resource-tagging_resource_name": resource_tagging_resource_name_output, + "resource-tagging_tagged_resource_object": resource_tagging_tagged_resource_object_output, + "resource-tagging_tagged_resource_object_access_application": resource_tagging_tagged_resource_object_access_application_output, + "resource-tagging_tagged_resource_object_access_application_policy": resource_tagging_tagged_resource_object_access_application_policy_output, + "resource-tagging_tagged_resource_object_access_application_policy_base": resource_tagging_tagged_resource_object_access_application_policy_base_output, + "resource-tagging_tagged_resource_object_access_group": resource_tagging_tagged_resource_object_access_group_output, + "resource-tagging_tagged_resource_object_access_service_token": resource_tagging_tagged_resource_object_access_service_token_output, + "resource-tagging_tagged_resource_object_account": resource_tagging_tagged_resource_object_account_output, + "resource-tagging_tagged_resource_object_account_level_base": resource_tagging_tagged_resource_object_account_level_base_output, + "resource-tagging_tagged_resource_object_account_ruleset": resource_tagging_tagged_resource_object_account_ruleset_output, + "resource-tagging_tagged_resource_object_ai_gateway": resource_tagging_tagged_resource_object_ai_gateway_output, + "resource-tagging_tagged_resource_object_ai_search_instance": resource_tagging_tagged_resource_object_ai_search_instance_output, + "resource-tagging_tagged_resource_object_alerting_policy": resource_tagging_tagged_resource_object_alerting_policy_output, + "resource-tagging_tagged_resource_object_alerting_webhook": resource_tagging_tagged_resource_object_alerting_webhook_output, + "resource-tagging_tagged_resource_object_api_gateway_operation": resource_tagging_tagged_resource_object_api_gateway_operation_output, + "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource_tagging_tagged_resource_object_cloudflared_tunnel_output, + "resource-tagging_tagged_resource_object_custom_certificate": resource_tagging_tagged_resource_object_custom_certificate_output, + "resource-tagging_tagged_resource_object_custom_hostname": resource_tagging_tagged_resource_object_custom_hostname_output, + "resource-tagging_tagged_resource_object_cws_deployment": resource_tagging_tagged_resource_object_cws_deployment_output, + "resource-tagging_tagged_resource_object_cws_policy": resource_tagging_tagged_resource_object_cws_policy_output, + "resource-tagging_tagged_resource_object_cws_policy_set": resource_tagging_tagged_resource_object_cws_policy_set_output, + "resource-tagging_tagged_resource_object_cws_workload": resource_tagging_tagged_resource_object_cws_workload_output, + "resource-tagging_tagged_resource_object_d1_database": resource_tagging_tagged_resource_object_d1_database_output, + "resource-tagging_tagged_resource_object_device": resource_tagging_tagged_resource_object_device_output, + "resource-tagging_tagged_resource_object_dns_record": resource_tagging_tagged_resource_object_dns_record_output, + "resource-tagging_tagged_resource_object_durable_object_namespace": resource_tagging_tagged_resource_object_durable_object_namespace_output, + "resource-tagging_tagged_resource_object_gateway_list": resource_tagging_tagged_resource_object_gateway_list_output, + "resource-tagging_tagged_resource_object_gateway_rule": resource_tagging_tagged_resource_object_gateway_rule_output, + "resource-tagging_tagged_resource_object_healthcheck": resource_tagging_tagged_resource_object_healthcheck_output, + "resource-tagging_tagged_resource_object_image": resource_tagging_tagged_resource_object_image_output, + "resource-tagging_tagged_resource_object_infrastructure_target": resource_tagging_tagged_resource_object_infrastructure_target_output, + "resource-tagging_tagged_resource_object_kv_namespace": resource_tagging_tagged_resource_object_kv_namespace_output, + "resource-tagging_tagged_resource_object_load_balancer": resource_tagging_tagged_resource_object_load_balancer_output, + "resource-tagging_tagged_resource_object_load_balancer_monitor": resource_tagging_tagged_resource_object_load_balancer_monitor_output, + "resource-tagging_tagged_resource_object_load_balancer_pool": resource_tagging_tagged_resource_object_load_balancer_pool_output, + "resource-tagging_tagged_resource_object_managed_client_certificate": resource_tagging_tagged_resource_object_managed_client_certificate_output, + "resource-tagging_tagged_resource_object_namespace_worker": resource_tagging_tagged_resource_object_namespace_worker_output, + "resource-tagging_tagged_resource_object_pages_project": resource_tagging_tagged_resource_object_pages_project_output, + "resource-tagging_tagged_resource_object_queue": resource_tagging_tagged_resource_object_queue_output, + "resource-tagging_tagged_resource_object_r2_bucket": resource_tagging_tagged_resource_object_r2_bucket_output, + "resource-tagging_tagged_resource_object_resource_share": resource_tagging_tagged_resource_object_resource_share_output, + "resource-tagging_tagged_resource_object_stream_live_input": resource_tagging_tagged_resource_object_stream_live_input_output, + "resource-tagging_tagged_resource_object_stream_video": resource_tagging_tagged_resource_object_stream_video_output, + "resource-tagging_tagged_resource_object_vectorize_index": resource_tagging_tagged_resource_object_vectorize_index_output, + "resource-tagging_tagged_resource_object_worker": resource_tagging_tagged_resource_object_worker_output, + "resource-tagging_tagged_resource_object_worker_route": resource_tagging_tagged_resource_object_worker_route_output, + "resource-tagging_tagged_resource_object_worker_version": resource_tagging_tagged_resource_object_worker_version_output, + "resource-tagging_tagged_resource_object_worker_version_base": resource_tagging_tagged_resource_object_worker_version_base_output, + "resource-tagging_tagged_resource_object_zone": resource_tagging_tagged_resource_object_zone_output, + "resource-tagging_tagged_resource_object_zone_level_base": resource_tagging_tagged_resource_object_zone_level_base_output, + "resource-tagging_tagged_resource_object_zone_ruleset": resource_tagging_tagged_resource_object_zone_ruleset_output, + "resource-tagging_tags": resource_tagging_tags_output, + "resource-tagging_tags_updated_at": resource_tagging_tags_updated_at_output, + "resource-tagging_worker_id": resource_tagging_worker_id_output, + "resource-tagging_zone_id": resource_tagging_zone_id_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/tags`, query: [ @@ -223,6 +382,86 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/resource-tagging_tagged_resource_object" + }, + "412": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + } + }, + $defs: { + "resource-tagging_access_application_id": resource_tagging_access_application_id_output, + "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, + "resource-tagging_etag": resource_tagging_etag_output, + "resource-tagging_identifier": resource_tagging_identifier_output, + "resource-tagging_messages": resource_tagging_messages_output, + "resource-tagging_namespace_worker_navigation": resource_tagging_namespace_worker_navigation_output, + "resource-tagging_resource_id": resource_tagging_resource_id_output, + "resource-tagging_resource_name": resource_tagging_resource_name_output, + "resource-tagging_tagged_resource_object": resource_tagging_tagged_resource_object_output, + "resource-tagging_tagged_resource_object_access_application": resource_tagging_tagged_resource_object_access_application_output, + "resource-tagging_tagged_resource_object_access_application_policy": resource_tagging_tagged_resource_object_access_application_policy_output, + "resource-tagging_tagged_resource_object_access_application_policy_base": resource_tagging_tagged_resource_object_access_application_policy_base_output, + "resource-tagging_tagged_resource_object_access_group": resource_tagging_tagged_resource_object_access_group_output, + "resource-tagging_tagged_resource_object_access_service_token": resource_tagging_tagged_resource_object_access_service_token_output, + "resource-tagging_tagged_resource_object_account": resource_tagging_tagged_resource_object_account_output, + "resource-tagging_tagged_resource_object_account_level_base": resource_tagging_tagged_resource_object_account_level_base_output, + "resource-tagging_tagged_resource_object_account_ruleset": resource_tagging_tagged_resource_object_account_ruleset_output, + "resource-tagging_tagged_resource_object_ai_gateway": resource_tagging_tagged_resource_object_ai_gateway_output, + "resource-tagging_tagged_resource_object_ai_search_instance": resource_tagging_tagged_resource_object_ai_search_instance_output, + "resource-tagging_tagged_resource_object_alerting_policy": resource_tagging_tagged_resource_object_alerting_policy_output, + "resource-tagging_tagged_resource_object_alerting_webhook": resource_tagging_tagged_resource_object_alerting_webhook_output, + "resource-tagging_tagged_resource_object_api_gateway_operation": resource_tagging_tagged_resource_object_api_gateway_operation_output, + "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource_tagging_tagged_resource_object_cloudflared_tunnel_output, + "resource-tagging_tagged_resource_object_custom_certificate": resource_tagging_tagged_resource_object_custom_certificate_output, + "resource-tagging_tagged_resource_object_custom_hostname": resource_tagging_tagged_resource_object_custom_hostname_output, + "resource-tagging_tagged_resource_object_cws_deployment": resource_tagging_tagged_resource_object_cws_deployment_output, + "resource-tagging_tagged_resource_object_cws_policy": resource_tagging_tagged_resource_object_cws_policy_output, + "resource-tagging_tagged_resource_object_cws_policy_set": resource_tagging_tagged_resource_object_cws_policy_set_output, + "resource-tagging_tagged_resource_object_cws_workload": resource_tagging_tagged_resource_object_cws_workload_output, + "resource-tagging_tagged_resource_object_d1_database": resource_tagging_tagged_resource_object_d1_database_output, + "resource-tagging_tagged_resource_object_device": resource_tagging_tagged_resource_object_device_output, + "resource-tagging_tagged_resource_object_dns_record": resource_tagging_tagged_resource_object_dns_record_output, + "resource-tagging_tagged_resource_object_durable_object_namespace": resource_tagging_tagged_resource_object_durable_object_namespace_output, + "resource-tagging_tagged_resource_object_gateway_list": resource_tagging_tagged_resource_object_gateway_list_output, + "resource-tagging_tagged_resource_object_gateway_rule": resource_tagging_tagged_resource_object_gateway_rule_output, + "resource-tagging_tagged_resource_object_healthcheck": resource_tagging_tagged_resource_object_healthcheck_output, + "resource-tagging_tagged_resource_object_image": resource_tagging_tagged_resource_object_image_output, + "resource-tagging_tagged_resource_object_infrastructure_target": resource_tagging_tagged_resource_object_infrastructure_target_output, + "resource-tagging_tagged_resource_object_kv_namespace": resource_tagging_tagged_resource_object_kv_namespace_output, + "resource-tagging_tagged_resource_object_load_balancer": resource_tagging_tagged_resource_object_load_balancer_output, + "resource-tagging_tagged_resource_object_load_balancer_monitor": resource_tagging_tagged_resource_object_load_balancer_monitor_output, + "resource-tagging_tagged_resource_object_load_balancer_pool": resource_tagging_tagged_resource_object_load_balancer_pool_output, + "resource-tagging_tagged_resource_object_managed_client_certificate": resource_tagging_tagged_resource_object_managed_client_certificate_output, + "resource-tagging_tagged_resource_object_namespace_worker": resource_tagging_tagged_resource_object_namespace_worker_output, + "resource-tagging_tagged_resource_object_pages_project": resource_tagging_tagged_resource_object_pages_project_output, + "resource-tagging_tagged_resource_object_queue": resource_tagging_tagged_resource_object_queue_output, + "resource-tagging_tagged_resource_object_r2_bucket": resource_tagging_tagged_resource_object_r2_bucket_output, + "resource-tagging_tagged_resource_object_resource_share": resource_tagging_tagged_resource_object_resource_share_output, + "resource-tagging_tagged_resource_object_stream_live_input": resource_tagging_tagged_resource_object_stream_live_input_output, + "resource-tagging_tagged_resource_object_stream_video": resource_tagging_tagged_resource_object_stream_video_output, + "resource-tagging_tagged_resource_object_vectorize_index": resource_tagging_tagged_resource_object_vectorize_index_output, + "resource-tagging_tagged_resource_object_worker": resource_tagging_tagged_resource_object_worker_output, + "resource-tagging_tagged_resource_object_worker_route": resource_tagging_tagged_resource_object_worker_route_output, + "resource-tagging_tagged_resource_object_worker_version": resource_tagging_tagged_resource_object_worker_version_output, + "resource-tagging_tagged_resource_object_worker_version_base": resource_tagging_tagged_resource_object_worker_version_base_output, + "resource-tagging_tagged_resource_object_zone": resource_tagging_tagged_resource_object_zone_output, + "resource-tagging_tagged_resource_object_zone_level_base": resource_tagging_tagged_resource_object_zone_level_base_output, + "resource-tagging_tagged_resource_object_zone_ruleset": resource_tagging_tagged_resource_object_zone_ruleset_output, + "resource-tagging_tags": resource_tagging_tags_output, + "resource-tagging_tags_updated_at": resource_tagging_tags_updated_at_output, + "resource-tagging_worker_id": resource_tagging_worker_id_output, + "resource-tagging_zone_id": resource_tagging_zone_id_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/tags`, headers: [ diff --git a/src/generated/forge-mcp/tags/keys/tools.ts b/src/generated/forge-mcp/tags/keys/tools.ts index 51117f7f..a26044fc 100644 --- a/src/generated/forge-mcp/tags/keys/tools.ts +++ b/src/generated/forge-mcp/tags/keys/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + resource_tagging_api_response_common_failure_output, + resource_tagging_cursor_result_info_output, + resource_tagging_messages_output, +} from "../outputs.js"; /** * The tools of `tags.keys`. @@ -44,6 +49,38 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/resource-tagging_cursor_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + } + }, + $defs: { + "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, + "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, + "resource-tagging_messages": resource_tagging_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tags/keys`, query: [ diff --git a/src/generated/forge-mcp/tags/outputs.ts b/src/generated/forge-mcp/tags/outputs.ts new file mode 100644 index 00000000..42781a1a --- /dev/null +++ b/src/generated/forge-mcp/tags/outputs.ts @@ -0,0 +1,1634 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `resource-tagging_access_application_id` in responses. + */ +export const resource_tagging_access_application_id_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `resource-tagging_api-response-common-failure` in responses. + */ +export const resource_tagging_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/resource-tagging_messages" + }, + "messages": { + "$ref": "#/$defs/resource-tagging_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `resource-tagging_cursor_result_info` in responses. + */ +export const resource_tagging_cursor_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `resource-tagging_etag` in responses. + */ +export const resource_tagging_etag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-tagging_identifier` in responses. + */ +export const resource_tagging_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-tagging_messages` in responses. + */ +export const resource_tagging_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `resource-tagging_namespace_worker_navigation` in responses. + */ +export const resource_tagging_namespace_worker_navigation_output: JsonSchema = { + "properties": { + "namespace_id": { + "type": "string" + }, + "namespace_name": { + "type": "string" + }, + "script_name": { + "type": "string" + } + }, + "required": [ + "namespace_id", + "namespace_name", + "script_name" + ], + "type": "object" +}; + +/** + * The schema of `resource-tagging_resource_id` in responses. + */ +export const resource_tagging_resource_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-tagging_resource_name` in responses. + */ +export const resource_tagging_resource_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-tagging_tagged_resource_object` in responses. + */ +export const resource_tagging_tagged_resource_object_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_access_application" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_access_application_policy" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_access_group" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_access_service_token" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_ruleset" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_ai_gateway" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_ai_search_instance" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_alerting_policy" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_alerting_webhook" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_api_gateway_operation" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_cloudflared_tunnel" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_custom_certificate" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_custom_hostname" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_cws_deployment" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_cws_policy" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_cws_policy_set" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_cws_workload" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_d1_database" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_device" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_dns_record" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_durable_object_namespace" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_gateway_list" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_gateway_rule" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_healthcheck" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_image" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_infrastructure_target" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_kv_namespace" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_load_balancer" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_load_balancer_monitor" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_load_balancer_pool" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_managed_client_certificate" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_namespace_worker" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_pages_project" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_queue" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_r2_bucket" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_resource_share" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_stream_live_input" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_stream_video" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_vectorize_index" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_worker" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_worker_route" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_worker_version" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_ruleset" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_access_application` in + * responses. + */ +export const resource_tagging_tagged_resource_object_access_application_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "access_application" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of + * `resource-tagging_tagged_resource_object_access_application_policy` in + * responses. + */ +export const resource_tagging_tagged_resource_object_access_application_policy_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "access_application_policy" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_access_application_policy_base" + } + ] +}; + +/** + * The schema of + * `resource-tagging_tagged_resource_object_access_application_policy_base` in + * responses. + */ +export const resource_tagging_tagged_resource_object_access_application_policy_base_output: JsonSchema = { + "properties": { + "access_application_id": { + "$ref": "#/$defs/resource-tagging_access_application_id" + }, + "etag": { + "$ref": "#/$defs/resource-tagging_etag" + }, + "id": { + "$ref": "#/$defs/resource-tagging_resource_id" + }, + "name": { + "$ref": "#/$defs/resource-tagging_resource_name" + }, + "tags": { + "$ref": "#/$defs/resource-tagging_tags" + }, + "tags_updated_at": { + "$ref": "#/$defs/resource-tagging_tags_updated_at" + }, + "zone_id": { + "$ref": "#/$defs/resource-tagging_zone_id" + } + }, + "required": [ + "access_application_id", + "etag", + "id", + "name", + "tags", + "zone_id" + ], + "type": "object" +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_access_group` in + * responses. + */ +export const resource_tagging_tagged_resource_object_access_group_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "access_group" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_access_service_token` + * in responses. + */ +export const resource_tagging_tagged_resource_object_access_service_token_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "access_service_token" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_account` in responses. + */ +export const resource_tagging_tagged_resource_object_account_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "account" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_account_level_base` in + * responses. + */ +export const resource_tagging_tagged_resource_object_account_level_base_output: JsonSchema = { + "properties": { + "etag": { + "$ref": "#/$defs/resource-tagging_etag" + }, + "id": { + "$ref": "#/$defs/resource-tagging_resource_id" + }, + "name": { + "$ref": "#/$defs/resource-tagging_resource_name" + }, + "tags": { + "$ref": "#/$defs/resource-tagging_tags" + }, + "tags_updated_at": { + "$ref": "#/$defs/resource-tagging_tags_updated_at" + } + }, + "required": [ + "etag", + "id", + "name", + "tags" + ], + "type": "object" +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_account_ruleset` in + * responses. + */ +export const resource_tagging_tagged_resource_object_account_ruleset_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "account_ruleset" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_ai_gateway` in + * responses. + */ +export const resource_tagging_tagged_resource_object_ai_gateway_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "ai_gateway" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_ai_search_instance` in + * responses. + */ +export const resource_tagging_tagged_resource_object_ai_search_instance_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "ai_search_instance" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_alerting_policy` in + * responses. + */ +export const resource_tagging_tagged_resource_object_alerting_policy_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "alerting_policy" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_alerting_webhook` in + * responses. + */ +export const resource_tagging_tagged_resource_object_alerting_webhook_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "alerting_webhook" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_api_gateway_operation` + * in responses. + */ +export const resource_tagging_tagged_resource_object_api_gateway_operation_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "api_gateway_operation" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_cloudflared_tunnel` in + * responses. + */ +export const resource_tagging_tagged_resource_object_cloudflared_tunnel_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "cloudflared_tunnel" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_custom_certificate` in + * responses. + */ +export const resource_tagging_tagged_resource_object_custom_certificate_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "custom_certificate" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_custom_hostname` in + * responses. + */ +export const resource_tagging_tagged_resource_object_custom_hostname_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "custom_hostname" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_cws_deployment` in + * responses. + */ +export const resource_tagging_tagged_resource_object_cws_deployment_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "cws_deployment" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_cws_policy` in + * responses. + */ +export const resource_tagging_tagged_resource_object_cws_policy_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "cws_policy" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_cws_policy_set` in + * responses. + */ +export const resource_tagging_tagged_resource_object_cws_policy_set_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "cws_policy_set" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_cws_workload` in + * responses. + */ +export const resource_tagging_tagged_resource_object_cws_workload_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "cws_workload" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_d1_database` in + * responses. + */ +export const resource_tagging_tagged_resource_object_d1_database_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "d1_database" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_device` in responses. + */ +export const resource_tagging_tagged_resource_object_device_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "device" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_dns_record` in + * responses. + */ +export const resource_tagging_tagged_resource_object_dns_record_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "dns_record" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of + * `resource-tagging_tagged_resource_object_durable_object_namespace` in + * responses. + */ +export const resource_tagging_tagged_resource_object_durable_object_namespace_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "durable_object_namespace" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_gateway_list` in + * responses. + */ +export const resource_tagging_tagged_resource_object_gateway_list_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "gateway_list" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_gateway_rule` in + * responses. + */ +export const resource_tagging_tagged_resource_object_gateway_rule_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "gateway_rule" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_healthcheck` in + * responses. + */ +export const resource_tagging_tagged_resource_object_healthcheck_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "healthcheck" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_image` in responses. + */ +export const resource_tagging_tagged_resource_object_image_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "image" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_infrastructure_target` + * in responses. + */ +export const resource_tagging_tagged_resource_object_infrastructure_target_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "infrastructure_target" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_kv_namespace` in + * responses. + */ +export const resource_tagging_tagged_resource_object_kv_namespace_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "kv_namespace" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_load_balancer` in + * responses. + */ +export const resource_tagging_tagged_resource_object_load_balancer_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "load_balancer" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_load_balancer_monitor` + * in responses. + */ +export const resource_tagging_tagged_resource_object_load_balancer_monitor_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "load_balancer_monitor" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_load_balancer_pool` in + * responses. + */ +export const resource_tagging_tagged_resource_object_load_balancer_pool_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "load_balancer_pool" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of + * `resource-tagging_tagged_resource_object_managed_client_certificate` in + * responses. + */ +export const resource_tagging_tagged_resource_object_managed_client_certificate_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "managed_client_certificate" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_namespace_worker` in + * responses. + */ +export const resource_tagging_tagged_resource_object_namespace_worker_output: JsonSchema = { + "allOf": [ + { + "properties": { + "navigation": { + "$ref": "#/$defs/resource-tagging_namespace_worker_navigation" + }, + "type": { + "enum": [ + "namespace_worker" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_pages_project` in + * responses. + */ +export const resource_tagging_tagged_resource_object_pages_project_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "pages_project" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_queue` in responses. + */ +export const resource_tagging_tagged_resource_object_queue_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "queue" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_r2_bucket` in + * responses. + */ +export const resource_tagging_tagged_resource_object_r2_bucket_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "r2_bucket" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_resource_share` in + * responses. + */ +export const resource_tagging_tagged_resource_object_resource_share_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "resource_share" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_stream_live_input` in + * responses. + */ +export const resource_tagging_tagged_resource_object_stream_live_input_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "stream_live_input" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_stream_video` in + * responses. + */ +export const resource_tagging_tagged_resource_object_stream_video_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "stream_video" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_vectorize_index` in + * responses. + */ +export const resource_tagging_tagged_resource_object_vectorize_index_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "vectorize_index" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_worker` in responses. + */ +export const resource_tagging_tagged_resource_object_worker_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "worker" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_worker_route` in + * responses. + */ +export const resource_tagging_tagged_resource_object_worker_route_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "worker_route" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_worker_version` in + * responses. + */ +export const resource_tagging_tagged_resource_object_worker_version_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "worker_version" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_worker_version_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_worker_version_base` + * in responses. + */ +export const resource_tagging_tagged_resource_object_worker_version_base_output: JsonSchema = { + "properties": { + "etag": { + "$ref": "#/$defs/resource-tagging_etag" + }, + "id": { + "$ref": "#/$defs/resource-tagging_resource_id" + }, + "name": { + "$ref": "#/$defs/resource-tagging_resource_name" + }, + "tags": { + "$ref": "#/$defs/resource-tagging_tags" + }, + "tags_updated_at": { + "$ref": "#/$defs/resource-tagging_tags_updated_at" + }, + "worker_id": { + "$ref": "#/$defs/resource-tagging_worker_id" + } + }, + "required": [ + "etag", + "id", + "name", + "tags", + "worker_id" + ], + "type": "object" +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_zone` in responses. + */ +export const resource_tagging_tagged_resource_object_zone_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "zone" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_zone_level_base` in + * responses. + */ +export const resource_tagging_tagged_resource_object_zone_level_base_output: JsonSchema = { + "properties": { + "etag": { + "$ref": "#/$defs/resource-tagging_etag" + }, + "id": { + "$ref": "#/$defs/resource-tagging_resource_id" + }, + "name": { + "$ref": "#/$defs/resource-tagging_resource_name" + }, + "tags": { + "$ref": "#/$defs/resource-tagging_tags" + }, + "tags_updated_at": { + "$ref": "#/$defs/resource-tagging_tags_updated_at" + }, + "zone_id": { + "$ref": "#/$defs/resource-tagging_zone_id" + } + }, + "required": [ + "etag", + "id", + "name", + "tags", + "zone_id" + ], + "type": "object" +}; + +/** + * The schema of `resource-tagging_tagged_resource_object_zone_ruleset` in + * responses. + */ +export const resource_tagging_tagged_resource_object_zone_ruleset_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "zone_ruleset" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_zone_level_base" + } + ] +}; + +/** + * The schema of `resource-tagging_tags` in responses. + */ +export const resource_tagging_tags_output: JsonSchema = { + "additionalProperties": { + "type": "string" + }, + "type": "object" +}; + +/** + * The schema of `resource-tagging_tags_updated_at` in responses. + */ +export const resource_tagging_tags_updated_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `resource-tagging_worker_id` in responses. + */ +export const resource_tagging_worker_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `resource-tagging_zone_id` in responses. + */ +export const resource_tagging_zone_id_output: JsonSchema = { + "$ref": "#/$defs/resource-tagging_identifier" +}; diff --git a/src/generated/forge-mcp/tags/resources/tools.ts b/src/generated/forge-mcp/tags/resources/tools.ts index 46a30dd2..65809679 100644 --- a/src/generated/forge-mcp/tags/resources/tools.ts +++ b/src/generated/forge-mcp/tags/resources/tools.ts @@ -2,6 +2,71 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + resource_tagging_access_application_id_output, + resource_tagging_api_response_common_failure_output, + resource_tagging_cursor_result_info_output, + resource_tagging_etag_output, + resource_tagging_identifier_output, + resource_tagging_messages_output, + resource_tagging_namespace_worker_navigation_output, + resource_tagging_resource_id_output, + resource_tagging_resource_name_output, + resource_tagging_tagged_resource_object_access_application_output, + resource_tagging_tagged_resource_object_access_application_policy_base_output, + resource_tagging_tagged_resource_object_access_application_policy_output, + resource_tagging_tagged_resource_object_access_group_output, + resource_tagging_tagged_resource_object_access_service_token_output, + resource_tagging_tagged_resource_object_account_level_base_output, + resource_tagging_tagged_resource_object_account_output, + resource_tagging_tagged_resource_object_account_ruleset_output, + resource_tagging_tagged_resource_object_ai_gateway_output, + resource_tagging_tagged_resource_object_ai_search_instance_output, + resource_tagging_tagged_resource_object_alerting_policy_output, + resource_tagging_tagged_resource_object_alerting_webhook_output, + resource_tagging_tagged_resource_object_api_gateway_operation_output, + resource_tagging_tagged_resource_object_cloudflared_tunnel_output, + resource_tagging_tagged_resource_object_custom_certificate_output, + resource_tagging_tagged_resource_object_custom_hostname_output, + resource_tagging_tagged_resource_object_cws_deployment_output, + resource_tagging_tagged_resource_object_cws_policy_output, + resource_tagging_tagged_resource_object_cws_policy_set_output, + resource_tagging_tagged_resource_object_cws_workload_output, + resource_tagging_tagged_resource_object_d1_database_output, + resource_tagging_tagged_resource_object_device_output, + resource_tagging_tagged_resource_object_dns_record_output, + resource_tagging_tagged_resource_object_durable_object_namespace_output, + resource_tagging_tagged_resource_object_gateway_list_output, + resource_tagging_tagged_resource_object_gateway_rule_output, + resource_tagging_tagged_resource_object_healthcheck_output, + resource_tagging_tagged_resource_object_image_output, + resource_tagging_tagged_resource_object_infrastructure_target_output, + resource_tagging_tagged_resource_object_kv_namespace_output, + resource_tagging_tagged_resource_object_load_balancer_monitor_output, + resource_tagging_tagged_resource_object_load_balancer_output, + resource_tagging_tagged_resource_object_load_balancer_pool_output, + resource_tagging_tagged_resource_object_managed_client_certificate_output, + resource_tagging_tagged_resource_object_namespace_worker_output, + resource_tagging_tagged_resource_object_output, + resource_tagging_tagged_resource_object_pages_project_output, + resource_tagging_tagged_resource_object_queue_output, + resource_tagging_tagged_resource_object_r2_bucket_output, + resource_tagging_tagged_resource_object_resource_share_output, + resource_tagging_tagged_resource_object_stream_live_input_output, + resource_tagging_tagged_resource_object_stream_video_output, + resource_tagging_tagged_resource_object_vectorize_index_output, + resource_tagging_tagged_resource_object_worker_output, + resource_tagging_tagged_resource_object_worker_route_output, + resource_tagging_tagged_resource_object_worker_version_base_output, + resource_tagging_tagged_resource_object_worker_version_output, + resource_tagging_tagged_resource_object_zone_level_base_output, + resource_tagging_tagged_resource_object_zone_output, + resource_tagging_tagged_resource_object_zone_ruleset_output, + resource_tagging_tags_output, + resource_tagging_tags_updated_at_output, + resource_tagging_worker_id_output, + resource_tagging_zone_id_output, +} from "../outputs.js"; import { resource_tagging_resource_id, resource_tagging_resource_type, @@ -88,6 +153,98 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/resource-tagging_tagged_resource_object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/resource-tagging_cursor_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + } + }, + $defs: { + "resource-tagging_access_application_id": resource_tagging_access_application_id_output, + "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, + "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, + "resource-tagging_etag": resource_tagging_etag_output, + "resource-tagging_identifier": resource_tagging_identifier_output, + "resource-tagging_messages": resource_tagging_messages_output, + "resource-tagging_namespace_worker_navigation": resource_tagging_namespace_worker_navigation_output, + "resource-tagging_resource_id": resource_tagging_resource_id_output, + "resource-tagging_resource_name": resource_tagging_resource_name_output, + "resource-tagging_tagged_resource_object": resource_tagging_tagged_resource_object_output, + "resource-tagging_tagged_resource_object_access_application": resource_tagging_tagged_resource_object_access_application_output, + "resource-tagging_tagged_resource_object_access_application_policy": resource_tagging_tagged_resource_object_access_application_policy_output, + "resource-tagging_tagged_resource_object_access_application_policy_base": resource_tagging_tagged_resource_object_access_application_policy_base_output, + "resource-tagging_tagged_resource_object_access_group": resource_tagging_tagged_resource_object_access_group_output, + "resource-tagging_tagged_resource_object_access_service_token": resource_tagging_tagged_resource_object_access_service_token_output, + "resource-tagging_tagged_resource_object_account": resource_tagging_tagged_resource_object_account_output, + "resource-tagging_tagged_resource_object_account_level_base": resource_tagging_tagged_resource_object_account_level_base_output, + "resource-tagging_tagged_resource_object_account_ruleset": resource_tagging_tagged_resource_object_account_ruleset_output, + "resource-tagging_tagged_resource_object_ai_gateway": resource_tagging_tagged_resource_object_ai_gateway_output, + "resource-tagging_tagged_resource_object_ai_search_instance": resource_tagging_tagged_resource_object_ai_search_instance_output, + "resource-tagging_tagged_resource_object_alerting_policy": resource_tagging_tagged_resource_object_alerting_policy_output, + "resource-tagging_tagged_resource_object_alerting_webhook": resource_tagging_tagged_resource_object_alerting_webhook_output, + "resource-tagging_tagged_resource_object_api_gateway_operation": resource_tagging_tagged_resource_object_api_gateway_operation_output, + "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource_tagging_tagged_resource_object_cloudflared_tunnel_output, + "resource-tagging_tagged_resource_object_custom_certificate": resource_tagging_tagged_resource_object_custom_certificate_output, + "resource-tagging_tagged_resource_object_custom_hostname": resource_tagging_tagged_resource_object_custom_hostname_output, + "resource-tagging_tagged_resource_object_cws_deployment": resource_tagging_tagged_resource_object_cws_deployment_output, + "resource-tagging_tagged_resource_object_cws_policy": resource_tagging_tagged_resource_object_cws_policy_output, + "resource-tagging_tagged_resource_object_cws_policy_set": resource_tagging_tagged_resource_object_cws_policy_set_output, + "resource-tagging_tagged_resource_object_cws_workload": resource_tagging_tagged_resource_object_cws_workload_output, + "resource-tagging_tagged_resource_object_d1_database": resource_tagging_tagged_resource_object_d1_database_output, + "resource-tagging_tagged_resource_object_device": resource_tagging_tagged_resource_object_device_output, + "resource-tagging_tagged_resource_object_dns_record": resource_tagging_tagged_resource_object_dns_record_output, + "resource-tagging_tagged_resource_object_durable_object_namespace": resource_tagging_tagged_resource_object_durable_object_namespace_output, + "resource-tagging_tagged_resource_object_gateway_list": resource_tagging_tagged_resource_object_gateway_list_output, + "resource-tagging_tagged_resource_object_gateway_rule": resource_tagging_tagged_resource_object_gateway_rule_output, + "resource-tagging_tagged_resource_object_healthcheck": resource_tagging_tagged_resource_object_healthcheck_output, + "resource-tagging_tagged_resource_object_image": resource_tagging_tagged_resource_object_image_output, + "resource-tagging_tagged_resource_object_infrastructure_target": resource_tagging_tagged_resource_object_infrastructure_target_output, + "resource-tagging_tagged_resource_object_kv_namespace": resource_tagging_tagged_resource_object_kv_namespace_output, + "resource-tagging_tagged_resource_object_load_balancer": resource_tagging_tagged_resource_object_load_balancer_output, + "resource-tagging_tagged_resource_object_load_balancer_monitor": resource_tagging_tagged_resource_object_load_balancer_monitor_output, + "resource-tagging_tagged_resource_object_load_balancer_pool": resource_tagging_tagged_resource_object_load_balancer_pool_output, + "resource-tagging_tagged_resource_object_managed_client_certificate": resource_tagging_tagged_resource_object_managed_client_certificate_output, + "resource-tagging_tagged_resource_object_namespace_worker": resource_tagging_tagged_resource_object_namespace_worker_output, + "resource-tagging_tagged_resource_object_pages_project": resource_tagging_tagged_resource_object_pages_project_output, + "resource-tagging_tagged_resource_object_queue": resource_tagging_tagged_resource_object_queue_output, + "resource-tagging_tagged_resource_object_r2_bucket": resource_tagging_tagged_resource_object_r2_bucket_output, + "resource-tagging_tagged_resource_object_resource_share": resource_tagging_tagged_resource_object_resource_share_output, + "resource-tagging_tagged_resource_object_stream_live_input": resource_tagging_tagged_resource_object_stream_live_input_output, + "resource-tagging_tagged_resource_object_stream_video": resource_tagging_tagged_resource_object_stream_video_output, + "resource-tagging_tagged_resource_object_vectorize_index": resource_tagging_tagged_resource_object_vectorize_index_output, + "resource-tagging_tagged_resource_object_worker": resource_tagging_tagged_resource_object_worker_output, + "resource-tagging_tagged_resource_object_worker_route": resource_tagging_tagged_resource_object_worker_route_output, + "resource-tagging_tagged_resource_object_worker_version": resource_tagging_tagged_resource_object_worker_version_output, + "resource-tagging_tagged_resource_object_worker_version_base": resource_tagging_tagged_resource_object_worker_version_base_output, + "resource-tagging_tagged_resource_object_zone": resource_tagging_tagged_resource_object_zone_output, + "resource-tagging_tagged_resource_object_zone_level_base": resource_tagging_tagged_resource_object_zone_level_base_output, + "resource-tagging_tagged_resource_object_zone_ruleset": resource_tagging_tagged_resource_object_zone_ruleset_output, + "resource-tagging_tags": resource_tagging_tags_output, + "resource-tagging_tags_updated_at": resource_tagging_tags_updated_at_output, + "resource-tagging_worker_id": resource_tagging_worker_id_output, + "resource-tagging_zone_id": resource_tagging_zone_id_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tags/resources`, query: [ diff --git a/src/generated/forge-mcp/tags/summary/outputs.ts b/src/generated/forge-mcp/tags/summary/outputs.ts new file mode 100644 index 00000000..fbbd8910 --- /dev/null +++ b/src/generated/forge-mcp/tags/summary/outputs.ts @@ -0,0 +1,26 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `resource-tagging_tag_key_summary` in responses. + */ +export const resource_tagging_tag_key_summary_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "key", + "values" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/tags/summary/tools.ts b/src/generated/forge-mcp/tags/summary/tools.ts index 8c08588d..29ec628d 100644 --- a/src/generated/forge-mcp/tags/summary/tools.ts +++ b/src/generated/forge-mcp/tags/summary/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + resource_tagging_api_response_common_failure_output, + resource_tagging_cursor_result_info_output, + resource_tagging_messages_output, +} from "../outputs.js"; +import { resource_tagging_tag_key_summary_output } from "./outputs.js"; /** * The tools of `tags.summary`. @@ -44,6 +50,39 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/resource-tagging_tag_key_summary" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/resource-tagging_cursor_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + } + }, + $defs: { + "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, + "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, + "resource-tagging_messages": resource_tagging_messages_output, + "resource-tagging_tag_key_summary": resource_tagging_tag_key_summary_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tags/summary`, query: [ diff --git a/src/generated/forge-mcp/tags/values/tools.ts b/src/generated/forge-mcp/tags/values/tools.ts index 1203b9f2..7170201f 100644 --- a/src/generated/forge-mcp/tags/values/tools.ts +++ b/src/generated/forge-mcp/tags/values/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + resource_tagging_api_response_common_failure_output, + resource_tagging_cursor_result_info_output, + resource_tagging_messages_output, +} from "../outputs.js"; import { resource_tagging_resource_type } from "../schemas.js"; /** @@ -57,6 +62,38 @@ export const tools: readonly Tool[] = [ }, "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/resource-tagging_cursor_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + }, + "5XX": { + "$ref": "#/$defs/resource-tagging_api-response-common-failure" + } + }, + $defs: { + "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, + "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, + "resource-tagging_messages": resource_tagging_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tags/values/${pathParam(args, "tag_key")}`, query: [ diff --git a/src/generated/forge-mcp/tenant/account/tools.ts b/src/generated/forge-mcp/tenant/account/tools.ts index 12ce4dca..a027b3b5 100644 --- a/src/generated/forge-mcp/tenant/account/tools.ts +++ b/src/generated/forge-mcp/tenant/account/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + organizations_api_Account_output, + organizations_api_Account_settings_output, + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; /** * The tools of `tenant.account`. @@ -32,6 +38,36 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/tenants/{tenant_id}/accounts", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/organizations-api_Account" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Account": organizations_api_Account_output, + "organizations-api_Account_settings": organizations_api_Account_settings_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/tenants/${pathParam(args, "tenant_id")}/accounts`, }), diff --git a/src/generated/forge-mcp/tenant/accountType/tools.ts b/src/generated/forge-mcp/tenant/accountType/tools.ts index e6137cf3..7ca101a1 100644 --- a/src/generated/forge-mcp/tenant/accountType/tools.ts +++ b/src/generated/forge-mcp/tenant/accountType/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; /** * The tools of `tenant.account_type`. @@ -32,6 +36,34 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/tenants/{tenant_id}/account_types", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/tenants/${pathParam(args, "tenant_id")}/account_types`, }), diff --git a/src/generated/forge-mcp/tenant/entitlement/outputs.ts b/src/generated/forge-mcp/tenant/entitlement/outputs.ts new file mode 100644 index 00000000..f8e57dd1 --- /dev/null +++ b/src/generated/forge-mcp/tenant/entitlement/outputs.ts @@ -0,0 +1,162 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `organizations-api_BoolAllocation` in responses. + */ +export const organizations_api_BoolAllocation_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "bool" + ], + "type": "string" + }, + "value": { + "type": "boolean" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_Entitlement` in responses. + */ +export const organizations_api_Entitlement_output: JsonSchema = { + "properties": { + "allocation": { + "$ref": "#/$defs/organizations-api_Entitlement_allocation" + }, + "feature": { + "$ref": "#/$defs/organizations-api_Feature" + } + }, + "required": [ + "allocation", + "feature" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_Entitlement_allocation` in responses. + */ +export const organizations_api_Entitlement_allocation_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/organizations-api_MaxCountAllocation" + }, + { + "$ref": "#/$defs/organizations-api_BoolAllocation" + }, + { + "$ref": "#/$defs/organizations-api_NullAllocation" + } + ] +}; + +/** + * The schema of `organizations-api_Feature` in responses. + */ +export const organizations_api_Feature_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_InnateEntitlements` in responses. + */ +export const organizations_api_InnateEntitlements_output: JsonSchema = { + "properties": { + "allow_add_subdomain": { + "$ref": "#/$defs/organizations-api_BoolAllocation" + }, + "allow_auto_accept_invites": { + "$ref": "#/$defs/organizations-api_BoolAllocation" + }, + "cname_setup_allowed": { + "$ref": "#/$defs/organizations-api_BoolAllocation" + }, + "custom_entitlements": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/organizations-api_Entitlement" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "mhs_certificate_count": { + "$ref": "#/$defs/organizations-api_MaxCountAllocation" + }, + "partial_setup_allowed": { + "$ref": "#/$defs/organizations-api_BoolAllocation" + } + }, + "required": [ + "allow_add_subdomain", + "allow_auto_accept_invites", + "cname_setup_allowed", + "custom_entitlements", + "mhs_certificate_count", + "partial_setup_allowed" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_MaxCountAllocation` in responses. + */ +export const organizations_api_MaxCountAllocation_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "max_count" + ], + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "required": [ + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_NullAllocation` in responses. + */ +export const organizations_api_NullAllocation_output: JsonSchema = { + "properties": { + "type": { + "type": "string" + }, + "value": { + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/tenant/entitlement/tools.ts b/src/generated/forge-mcp/tenant/entitlement/tools.ts index 94512396..113c97dc 100644 --- a/src/generated/forge-mcp/tenant/entitlement/tools.ts +++ b/src/generated/forge-mcp/tenant/entitlement/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; +import { + organizations_api_BoolAllocation_output, + organizations_api_Entitlement_allocation_output, + organizations_api_Entitlement_output, + organizations_api_Feature_output, + organizations_api_InnateEntitlements_output, + organizations_api_MaxCountAllocation_output, + organizations_api_NullAllocation_output, +} from "./outputs.js"; /** * The tools of `tenant.entitlement`. @@ -32,6 +45,27 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/tenants/{tenant_id}/entitlements", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_InnateEntitlements" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_BoolAllocation": organizations_api_BoolAllocation_output, + "organizations-api_Entitlement": organizations_api_Entitlement_output, + "organizations-api_Entitlement_allocation": organizations_api_Entitlement_allocation_output, + "organizations-api_Feature": organizations_api_Feature_output, + "organizations-api_InnateEntitlements": organizations_api_InnateEntitlements_output, + "organizations-api_MaxCountAllocation": organizations_api_MaxCountAllocation_output, + "organizations-api_NullAllocation": organizations_api_NullAllocation_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/tenants/${pathParam(args, "tenant_id")}/entitlements`, }), diff --git a/src/generated/forge-mcp/tenant/outputs.ts b/src/generated/forge-mcp/tenant/outputs.ts new file mode 100644 index 00000000..db389e00 --- /dev/null +++ b/src/generated/forge-mcp/tenant/outputs.ts @@ -0,0 +1,162 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `organizations-api_Tenant` in responses. + */ +export const organizations_api_Tenant_output: JsonSchema = { + "properties": { + "cdate": { + "format": "date-time", + "type": "string" + }, + "customer_id": { + "type": "string" + }, + "edate": { + "format": "date-time", + "type": "string" + }, + "tenant_contacts": { + "$ref": "#/$defs/organizations-api_Tenant_tenant_contacts" + }, + "tenant_labels": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tenant_metadata": { + "$ref": "#/$defs/organizations-api_Tenant_tenant_metadata" + }, + "tenant_name": { + "type": "string" + }, + "tenant_network": { + "type": "object" + }, + "tenant_status": { + "type": "string" + }, + "tenant_tag": { + "type": "string" + }, + "tenant_type": { + "type": "string" + }, + "tenant_units": { + "items": { + "$ref": "#/$defs/organizations-api_TenantUnit" + }, + "type": "array" + } + }, + "required": [ + "cdate", + "edate", + "tenant_contacts", + "tenant_labels", + "tenant_metadata", + "tenant_name", + "tenant_network", + "tenant_status", + "tenant_tag", + "tenant_type", + "tenant_units" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_TenantUnit` in responses. + */ +export const organizations_api_TenantUnit_output: JsonSchema = { + "properties": { + "unit_memberships": { + "items": { + "type": "object" + }, + "type": "array" + }, + "unit_metadata": { + "type": "object" + }, + "unit_name": { + "type": "string" + }, + "unit_status": { + "type": "string" + }, + "unit_tag": { + "type": "string" + } + }, + "required": [ + "unit_memberships", + "unit_metadata", + "unit_name", + "unit_status", + "unit_tag" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_Tenant_tenant_contacts` in responses. + */ +export const organizations_api_Tenant_tenant_contacts_output: JsonSchema = { + "properties": { + "email": { + "type": "string" + }, + "website": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `organizations-api_Tenant_tenant_metadata` in responses. + */ +export const organizations_api_Tenant_tenant_metadata_output: JsonSchema = { + "properties": { + "dns": { + "$ref": "#/$defs/organizations-api_Tenant_tenant_metadata_dns" + } + }, + "type": "object" +}; + +/** + * The schema of `organizations-api_Tenant_tenant_metadata_dns` in responses. + */ +export const organizations_api_Tenant_tenant_metadata_dns_output: JsonSchema = { + "properties": { + "ns_pool": { + "$ref": "#/$defs/organizations-api_Tenant_tenant_metadata_dns_ns_pool" + } + }, + "required": [ + "ns_pool" + ], + "type": "object" +}; + +/** + * The schema of `organizations-api_Tenant_tenant_metadata_dns_ns_pool` in + * responses. + */ +export const organizations_api_Tenant_tenant_metadata_dns_ns_pool_output: JsonSchema = { + "properties": { + "primary": { + "type": "string" + }, + "secondary": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/tenant/tools.ts b/src/generated/forge-mcp/tenant/tools.ts index d59903d0..2e3c7f8b 100644 --- a/src/generated/forge-mcp/tenant/tools.ts +++ b/src/generated/forge-mcp/tenant/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../outputs.js"; +import { + organizations_api_TenantUnit_output, + organizations_api_Tenant_output, + organizations_api_Tenant_tenant_contacts_output, + organizations_api_Tenant_tenant_metadata_dns_ns_pool_output, + organizations_api_Tenant_tenant_metadata_dns_output, + organizations_api_Tenant_tenant_metadata_output, +} from "./outputs.js"; /** * The tools of `tenant`. @@ -32,6 +44,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/tenants/{tenant_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/organizations-api_Tenant" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Tenant": organizations_api_Tenant_output, + "organizations-api_TenantUnit": organizations_api_TenantUnit_output, + "organizations-api_Tenant_tenant_contacts": organizations_api_Tenant_tenant_contacts_output, + "organizations-api_Tenant_tenant_metadata": organizations_api_Tenant_tenant_metadata_output, + "organizations-api_Tenant_tenant_metadata_dns": organizations_api_Tenant_tenant_metadata_dns_output, + "organizations-api_Tenant_tenant_metadata_dns_ns_pool": organizations_api_Tenant_tenant_metadata_dns_ns_pool_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (args) => ({ path: `/tenants/${pathParam(args, "tenant_id")}`, }), diff --git a/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts b/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts new file mode 100644 index 00000000..1330ee17 --- /dev/null +++ b/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts @@ -0,0 +1,212 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `dns-custom-nameservers_CustomNS-2` in responses. + */ +export const dns_custom_nameservers_CustomNS_2_output: JsonSchema = { + "properties": { + "dns_records": { + "items": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS-2_dns_recordsItem" + }, + "type": "array" + }, + "ns_name": { + "$ref": "#/$defs/dns-custom-nameservers_ns_name" + }, + "ns_set": { + "$ref": "#/$defs/dns-custom-nameservers_ns_set" + }, + "status": { + "enum": [ + "moved", + "pending", + "verified" + ], + "type": "string" + }, + "zone_tag": { + "$ref": "#/$defs/dns-custom-nameservers_identifier-2" + } + }, + "required": [ + "dns_records", + "ns_name", + "status", + "zone_tag" + ], + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_CustomNS-2_dns_recordsItem` in + * responses. + */ +export const dns_custom_nameservers_CustomNS_2_dns_recordsItem_output: JsonSchema = { + "properties": { + "type": { + "enum": [ + "A", + "AAAA" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_empty_response-3` in responses. + */ +export const dns_custom_nameservers_empty_response_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "messages": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "result": { + "items": { + "type": "string" + }, + "maxItems": 0, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/dns-custom-nameservers_empty_response-3_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_empty_response-3_result_info` in + * responses. + */ +export const dns_custom_nameservers_empty_response_3_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_tcns_response_collection` in responses. + */ +export const dns_custom_nameservers_tcns_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "messages": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS-2" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/dns-custom-nameservers_tcns_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_tcns_response_collection_result_info` + * in responses. + */ +export const dns_custom_nameservers_tcns_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `dns-custom-nameservers_tcns_response_single` in responses. + */ +export const dns_custom_nameservers_tcns_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "messages": { + "$ref": "#/$defs/dns-custom-nameservers_messages" + }, + "result": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS-2" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/tenantCustomNameservers/tools.ts b/src/generated/forge-mcp/tenantCustomNameservers/tools.ts index 6e52aeb5..9c04aacd 100644 --- a/src/generated/forge-mcp/tenantCustomNameservers/tools.ts +++ b/src/generated/forge-mcp/tenantCustomNameservers/tools.ts @@ -2,11 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + dns_custom_nameservers_api_response_common_failure_output, + dns_custom_nameservers_identifier_2_output, + dns_custom_nameservers_messages_output, + dns_custom_nameservers_ns_name_output, + dns_custom_nameservers_ns_set_output, +} from "../outputs.js"; import { dns_custom_nameservers_CustomNSInput, dns_custom_nameservers_ns_name, dns_custom_nameservers_ns_set, } from "../schemas.js"; +import { + dns_custom_nameservers_CustomNS_2_dns_recordsItem_output, + dns_custom_nameservers_CustomNS_2_output, + dns_custom_nameservers_empty_response_3_output, + dns_custom_nameservers_empty_response_3_result_info_output, + dns_custom_nameservers_tcns_response_collection_output, + dns_custom_nameservers_tcns_response_collection_result_info_output, + dns_custom_nameservers_tcns_response_single_output, +} from "./outputs.js"; /** * The tools of `tenant_custom_nameservers`. @@ -54,6 +70,33 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS-2" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-custom-nameservers_tcns_response_single" + }, + { + "$ref": "#/$defs/dns-custom-nameservers_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-custom-nameservers_CustomNS-2": dns_custom_nameservers_CustomNS_2_output, + "dns-custom-nameservers_CustomNS-2_dns_recordsItem": dns_custom_nameservers_CustomNS_2_dns_recordsItem_output, + "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, + "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, + "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, + "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, + "dns-custom-nameservers_tcns_response_single": dns_custom_nameservers_tcns_response_single_output, + }, + }, request: (args) => ({ path: `/tenants/${pathParam(args, "tenant_tag")}/custom_ns`, body: { value: args["body"], mediaType: "application/json" }, @@ -97,6 +140,61 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "type": "string" + }, + "maxItems": 0, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-custom-nameservers_empty_response-3" + }, + { + "$ref": "#/$defs/dns-custom-nameservers_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, + "dns-custom-nameservers_empty_response-3": dns_custom_nameservers_empty_response_3_output, + "dns-custom-nameservers_empty_response-3_result_info": dns_custom_nameservers_empty_response_3_result_info_output, + "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + }, + }, request: (args) => ({ path: `/tenants/${pathParam(args, "tenant_tag")}/custom_ns/${pathParam(args, "custom_ns_id")}`, }), @@ -134,6 +232,65 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dns-custom-nameservers_CustomNS-2" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/dns-custom-nameservers_tcns_response_collection" + }, + { + "$ref": "#/$defs/dns-custom-nameservers_api-response-common-failure" + } + ] + } + }, + $defs: { + "dns-custom-nameservers_CustomNS-2": dns_custom_nameservers_CustomNS_2_output, + "dns-custom-nameservers_CustomNS-2_dns_recordsItem": dns_custom_nameservers_CustomNS_2_dns_recordsItem_output, + "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, + "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, + "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, + "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, + "dns-custom-nameservers_tcns_response_collection": dns_custom_nameservers_tcns_response_collection_output, + "dns-custom-nameservers_tcns_response_collection_result_info": dns_custom_nameservers_tcns_response_collection_result_info_output, + }, + }, request: (args) => ({ path: `/tenants/${pathParam(args, "tenant_tag")}/custom_ns`, }), diff --git a/src/generated/forge-mcp/totalQueries/tools.ts b/src/generated/forge-mcp/totalQueries/tools.ts index 8e6f9f68..28ed68bc 100644 --- a/src/generated/forge-mcp/totalQueries/tools.ts +++ b/src/generated/forge-mcp/totalQueries/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `total_queries`. @@ -37,6 +38,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/total-queries`, }), diff --git a/src/generated/forge-mcp/trackedDomains/tools.ts b/src/generated/forge-mcp/trackedDomains/tools.ts index 8b5ab076..5887b767 100644 --- a/src/generated/forge-mcp/trackedDomains/tools.ts +++ b/src/generated/forge-mcp/trackedDomains/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `tracked_domains`. @@ -37,6 +38,16 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/tracked-domains`, }), diff --git a/src/generated/forge-mcp/tunnel/outputs.ts b/src/generated/forge-mcp/tunnel/outputs.ts new file mode 100644 index 00000000..0d2fdc5d --- /dev/null +++ b/src/generated/forge-mcp/tunnel/outputs.ts @@ -0,0 +1,40 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `tunnel_cfd-tunnel-response-collection` in responses. + */ +export const tunnel_cfd_tunnel_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tunnel_cfd_tunnel" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/tunnel/tools.ts b/src/generated/forge-mcp/tunnel/tools.ts index 43740bd6..4f8c8a3e 100644 --- a/src/generated/forge-mcp/tunnel/tools.ts +++ b/src/generated/forge-mcp/tunnel/tools.ts @@ -2,6 +2,32 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + tunnel_account_id_output, + tunnel_api_response_common_failure_output, + tunnel_cfd_tunnel_output, + tunnel_client_id_output, + tunnel_colo_name_output, + tunnel_config_src_output, + tunnel_connection_id_output, + tunnel_connections_deprecated_output, + tunnel_conns_active_at_output, + tunnel_conns_inactive_at_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_ip_output, + tunnel_is_pending_reconnect_output, + tunnel_messages_output, + tunnel_metadata_output, + tunnel_remote_config_output, + tunnel_result_info_output, + tunnel_schemas_connection_output, + tunnel_status_output, + tunnel_tunnel_id_output, + tunnel_tunnel_name_output, + tunnel_tunnel_type_output, + tunnel_version_output, +} from "../outputs.js"; import { tunnel_existed_at, tunnel_page_number, @@ -10,6 +36,7 @@ import { tunnel_tunnel_id, tunnel_tunnel_name, } from "../schemas.js"; +import { tunnel_cfd_tunnel_response_collection_output } from "./outputs.js"; /** * The tools of `tunnel`. @@ -104,6 +131,64 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tunnel_cfd_tunnel" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_cfd-tunnel-response-collection" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_cfd-tunnel-response-collection": tunnel_cfd_tunnel_response_collection_output, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_config_src": tunnel_config_src_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_remote_config": tunnel_remote_config_output, + "tunnel_result_info": tunnel_result_info_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel`, query: [ diff --git a/src/generated/forge-mcp/tunnels/config/outputs.ts b/src/generated/forge-mcp/tunnels/config/outputs.ts new file mode 100644 index 00000000..3d8ff52c --- /dev/null +++ b/src/generated/forge-mcp/tunnels/config/outputs.ts @@ -0,0 +1,202 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tunnel_config` in responses. + */ +export const tunnel_config_output: JsonSchema = { + "properties": { + "ingress": { + "items": { + "$ref": "#/$defs/tunnel_ingressRule" + }, + "minItems": 1, + "type": "array" + }, + "originRequest": { + "$ref": "#/$defs/tunnel_originRequest" + }, + "warp-routing": { + "$ref": "#/$defs/tunnel_config_warp-routing" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_config_src-2` in responses. + */ +export const tunnel_config_src_2_output: JsonSchema = { + "enum": [ + "local", + "cloudflare" + ], + "type": "string" +}; + +/** + * The schema of `tunnel_config_version-2` in responses. + */ +export const tunnel_config_version_2_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `tunnel_config_warp-routing` in responses. + */ +export const tunnel_config_warp_routing_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_configuration` in responses. + */ +export const tunnel_configuration_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_identifier" + }, + "config": { + "$ref": "#/$defs/tunnel_config" + }, + "created_at": { + "$ref": "#/$defs/tunnel_timestamp" + }, + "source": { + "$ref": "#/$defs/tunnel_config_src-2" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id-2" + }, + "version": { + "$ref": "#/$defs/tunnel_config_version-2" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_identifier` in responses. + */ +export const tunnel_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tunnel_ingressRule` in responses. + */ +export const tunnel_ingressRule_output: JsonSchema = { + "properties": { + "hostname": { + "type": "string" + }, + "originRequest": { + "$ref": "#/$defs/tunnel_originRequest" + }, + "path": { + "type": "string" + }, + "service": { + "type": "string" + } + }, + "required": [ + "hostname", + "service" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_originRequest` in responses. + */ +export const tunnel_originRequest_output: JsonSchema = { + "properties": { + "access": { + "$ref": "#/$defs/tunnel_originRequest_access" + }, + "caPool": { + "type": "string" + }, + "connectTimeout": { + "type": "integer" + }, + "disableChunkedEncoding": { + "type": "boolean" + }, + "http2Origin": { + "type": "boolean" + }, + "httpHostHeader": { + "type": "string" + }, + "keepAliveConnections": { + "type": "integer" + }, + "keepAliveTimeout": { + "type": "integer" + }, + "matchSNItoHost": { + "type": "boolean" + }, + "noHappyEyeballs": { + "type": "boolean" + }, + "noTLSVerify": { + "type": "boolean" + }, + "originServerName": { + "type": "string" + }, + "proxyType": { + "type": "string" + }, + "tcpKeepAlive": { + "type": "integer" + }, + "tlsTimeout": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `tunnel_originRequest_access` in responses. + */ +export const tunnel_originRequest_access_output: JsonSchema = { + "properties": { + "audTag": { + "items": { + "type": "string" + }, + "type": "array" + }, + "required": { + "type": "boolean" + }, + "teamName": { + "type": "string" + } + }, + "required": [ + "audTag", + "teamName" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_timestamp` in responses. + */ +export const tunnel_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/tunnels/config/tools.ts b/src/generated/forge-mcp/tunnels/config/tools.ts index 6998237d..9d9a5c7a 100644 --- a/src/generated/forge-mcp/tunnels/config/tools.ts +++ b/src/generated/forge-mcp/tunnels/config/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_api_response_common_failure_2_output, + tunnel_messages_2_output, + tunnel_tunnel_id_2_output, +} from "../../outputs.js"; +import { + tunnel_config_output, + tunnel_config_src_2_output, + tunnel_config_version_2_output, + tunnel_config_warp_routing_output, + tunnel_configuration_output, + tunnel_identifier_output, + tunnel_ingressRule_output, + tunnel_originRequest_access_output, + tunnel_originRequest_output, + tunnel_timestamp_output, +} from "./outputs.js"; import { tunnel_config, tunnel_ingressRule, @@ -53,6 +70,31 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_configuration" + }, + "4XX": { + "$ref": "#/$defs/tunnel_api-response-common-failure-2" + } + }, + $defs: { + "tunnel_api-response-common-failure-2": tunnel_api_response_common_failure_2_output, + "tunnel_config": tunnel_config_output, + "tunnel_config_src-2": tunnel_config_src_2_output, + "tunnel_config_version-2": tunnel_config_version_2_output, + "tunnel_config_warp-routing": tunnel_config_warp_routing_output, + "tunnel_configuration": tunnel_configuration_output, + "tunnel_identifier": tunnel_identifier_output, + "tunnel_ingressRule": tunnel_ingressRule_output, + "tunnel_messages-2": tunnel_messages_2_output, + "tunnel_originRequest": tunnel_originRequest_output, + "tunnel_originRequest_access": tunnel_originRequest_access_output, + "tunnel_timestamp": tunnel_timestamp_output, + "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}/configurations`, }), @@ -109,6 +151,31 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_configuration" + }, + "4XX": { + "$ref": "#/$defs/tunnel_api-response-common-failure-2" + } + }, + $defs: { + "tunnel_api-response-common-failure-2": tunnel_api_response_common_failure_2_output, + "tunnel_config": tunnel_config_output, + "tunnel_config_src-2": tunnel_config_src_2_output, + "tunnel_config_version-2": tunnel_config_version_2_output, + "tunnel_config_warp-routing": tunnel_config_warp_routing_output, + "tunnel_configuration": tunnel_configuration_output, + "tunnel_identifier": tunnel_identifier_output, + "tunnel_ingressRule": tunnel_ingressRule_output, + "tunnel_messages-2": tunnel_messages_2_output, + "tunnel_originRequest": tunnel_originRequest_output, + "tunnel_originRequest_access": tunnel_originRequest_access_output, + "tunnel_timestamp": tunnel_timestamp_output, + "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}/configurations`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/tunnels/connections/outputs.ts b/src/generated/forge-mcp/tunnels/connections/outputs.ts new file mode 100644 index 00000000..f7c27cf6 --- /dev/null +++ b/src/generated/forge-mcp/tunnels/connections/outputs.ts @@ -0,0 +1,40 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tunnel_tunnel_connections_response` in responses. + */ +export const tunnel_tunnel_connections_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/tunnel_tunnel_client" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/tunnels/connections/tools.ts b/src/generated/forge-mcp/tunnels/connections/tools.ts index 9e9b93df..42f2de09 100644 --- a/src/generated/forge-mcp/tunnels/connections/tools.ts +++ b/src/generated/forge-mcp/tunnels/connections/tools.ts @@ -2,7 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_arch_output, + tunnel_client_id_output, + tunnel_colo_name_output, + tunnel_connection_id_output, + tunnel_empty_response_output, + tunnel_features_output, + tunnel_ip_output, + tunnel_is_pending_reconnect_output, + tunnel_messages_output, + tunnel_result_info_output, + tunnel_run_at_output, + tunnel_schemas_connection_output, + tunnel_version_output, +} from "../../outputs.js"; import { tunnel_client_id } from "../../schemas.js"; +import { + tunnel_config_version_output, + tunnel_connections_output, + tunnel_tunnel_client_output, +} from "../outputs.js"; +import { tunnel_tunnel_connections_response_output } from "./outputs.js"; /** * The tools of `tunnels.connections`. @@ -52,6 +74,28 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_empty_response" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_empty_response": tunnel_empty_response_output, + "tunnel_messages": tunnel_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}/connections`, query: [ @@ -99,6 +143,56 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/tunnel_tunnel_client" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_tunnel_connections_response" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_arch": tunnel_arch_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_config_version": tunnel_config_version_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections": tunnel_connections_output, + "tunnel_features": tunnel_features_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_result_info": tunnel_result_info_output, + "tunnel_run_at": tunnel_run_at_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_tunnel_client": tunnel_tunnel_client_output, + "tunnel_tunnel_connections_response": tunnel_tunnel_connections_response_output, + "tunnel_version": tunnel_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}/connections`, }), diff --git a/src/generated/forge-mcp/tunnels/connectors/outputs.ts b/src/generated/forge-mcp/tunnels/connectors/outputs.ts new file mode 100644 index 00000000..86d9c137 --- /dev/null +++ b/src/generated/forge-mcp/tunnels/connectors/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tunnel_tunnel_client_response` in responses. + */ +export const tunnel_tunnel_client_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_tunnel_client" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/tunnels/connectors/tools.ts b/src/generated/forge-mcp/tunnels/connectors/tools.ts index c9b80811..76fc88da 100644 --- a/src/generated/forge-mcp/tunnels/connectors/tools.ts +++ b/src/generated/forge-mcp/tunnels/connectors/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_arch_output, + tunnel_client_id_output, + tunnel_colo_name_output, + tunnel_connection_id_output, + tunnel_features_output, + tunnel_ip_output, + tunnel_is_pending_reconnect_output, + tunnel_messages_output, + tunnel_run_at_output, + tunnel_schemas_connection_output, + tunnel_version_output, +} from "../../outputs.js"; +import { + tunnel_config_version_output, + tunnel_connections_output, + tunnel_tunnel_client_output, +} from "../outputs.js"; +import { tunnel_tunnel_client_response_output } from "./outputs.js"; /** * The tools of `tunnels.connectors`. @@ -52,6 +72,41 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_tunnel_client" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_tunnel_client_response" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_arch": tunnel_arch_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_config_version": tunnel_config_version_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections": tunnel_connections_output, + "tunnel_features": tunnel_features_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_run_at": tunnel_run_at_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_tunnel_client": tunnel_tunnel_client_output, + "tunnel_tunnel_client_response": tunnel_tunnel_client_response_output, + "tunnel_version": tunnel_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}/connectors/${pathParam(args, "connector_id")}`, }), diff --git a/src/generated/forge-mcp/tunnels/managementToken/tools.ts b/src/generated/forge-mcp/tunnels/managementToken/tools.ts index 344c6cd3..c86d7642 100644 --- a/src/generated/forge-mcp/tunnels/managementToken/tools.ts +++ b/src/generated/forge-mcp/tunnels/managementToken/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_messages_output, + tunnel_tunnel_response_token_output, + tunnel_tunnel_token_output, +} from "../../outputs.js"; import { tunnel_management_resources } from "./schemas.js"; /** @@ -63,6 +69,29 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_tunnel_token" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_tunnel_response_token" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_tunnel_response_token": tunnel_tunnel_response_token_output, + "tunnel_tunnel_token": tunnel_tunnel_token_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}/management`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/tunnels/outputs.ts b/src/generated/forge-mcp/tunnels/outputs.ts new file mode 100644 index 00000000..37a54c89 --- /dev/null +++ b/src/generated/forge-mcp/tunnels/outputs.ts @@ -0,0 +1,124 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `tunnel_cfd-tunnel-response-single` in responses. + */ +export const tunnel_cfd_tunnel_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "$ref": "#/$defs/tunnel_cfd_tunnel" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_config_version` in responses. + */ +export const tunnel_config_version_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `tunnel_connections` in responses. + */ +export const tunnel_connections_output: JsonSchema = { + "items": { + "$ref": "#/$defs/tunnel_schemas-connection" + }, + "type": "array" +}; + +/** + * The schema of `tunnel_tunnel-response-collection` in responses. + */ +export const tunnel_tunnel_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tunnel_messages" + }, + "messages": { + "$ref": "#/$defs/tunnel_messages" + }, + "result": { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/tunnel_cfd_tunnel" + }, + { + "$ref": "#/$defs/tunnel_warp_connector_tunnel" + } + ] + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tunnel_tunnel_client` in responses. + */ +export const tunnel_tunnel_client_output: JsonSchema = { + "properties": { + "arch": { + "$ref": "#/$defs/tunnel_arch" + }, + "config_version": { + "$ref": "#/$defs/tunnel_config_version" + }, + "conns": { + "$ref": "#/$defs/tunnel_connections" + }, + "features": { + "$ref": "#/$defs/tunnel_features" + }, + "id": { + "$ref": "#/$defs/tunnel_connection_id" + }, + "run_at": { + "$ref": "#/$defs/tunnel_run_at" + }, + "version": { + "$ref": "#/$defs/tunnel_version" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/tunnels/token/tools.ts b/src/generated/forge-mcp/tunnels/token/tools.ts index 57284274..2dda1fae 100644 --- a/src/generated/forge-mcp/tunnels/token/tools.ts +++ b/src/generated/forge-mcp/tunnels/token/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_messages_output, + tunnel_tunnel_response_token_output, + tunnel_tunnel_token_output, +} from "../../outputs.js"; /** * The tools of `tunnels.token`. @@ -44,6 +50,29 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_tunnel_token" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_tunnel_response_token" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_tunnel_response_token": tunnel_tunnel_response_token_output, + "tunnel_tunnel_token": tunnel_tunnel_token_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}/token`, }), diff --git a/src/generated/forge-mcp/tunnels/tools.ts b/src/generated/forge-mcp/tunnels/tools.ts index 942d0111..29cacfb1 100644 --- a/src/generated/forge-mcp/tunnels/tools.ts +++ b/src/generated/forge-mcp/tunnels/tools.ts @@ -2,6 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + tunnel_account_id_output, + tunnel_api_response_common_failure_output, + tunnel_cfd_tunnel_output, + tunnel_client_id_output, + tunnel_colo_name_output, + tunnel_config_src_output, + tunnel_connection_id_output, + tunnel_connections_deprecated_output, + tunnel_conns_active_at_output, + tunnel_conns_inactive_at_output, + tunnel_created_at_output, + tunnel_deleted_at_output, + tunnel_ip_output, + tunnel_is_pending_reconnect_output, + tunnel_messages_output, + tunnel_metadata_output, + tunnel_remote_config_output, + tunnel_result_info_output, + tunnel_schemas_connection_output, + tunnel_status_output, + tunnel_tunnel_id_output, + tunnel_tunnel_name_output, + tunnel_tunnel_type_output, + tunnel_version_output, + tunnel_warp_connector_tunnel_output, +} from "../outputs.js"; import { tunnel_config_src, tunnel_existed_at, @@ -14,6 +41,10 @@ import { tunnel_tunnel_type, tunnel_tunnel_types, } from "../schemas.js"; +import { + tunnel_cfd_tunnel_response_single_output, + tunnel_tunnel_response_collection_output, +} from "./outputs.js"; /** * The tools of `tunnels`. @@ -76,6 +107,49 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_cfd_tunnel" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_cfd-tunnel-response-single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_config_src": tunnel_config_src_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_remote_config": tunnel_remote_config_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel`, body: { value: args["body"], mediaType: "application/json" }, @@ -118,6 +192,49 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_cfd_tunnel" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_cfd-tunnel-response-single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_config_src": tunnel_config_src_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_remote_config": tunnel_remote_config_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}`, }), @@ -177,6 +294,49 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_cfd_tunnel" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_cfd-tunnel-response-single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_config_src": tunnel_config_src_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_remote_config": tunnel_remote_config_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -222,6 +382,49 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tunnel_cfd_tunnel" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_cfd-tunnel-response-single" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_config_src": tunnel_config_src_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_remote_config": tunnel_remote_config_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}`, }), @@ -317,6 +520,72 @@ export const tools: readonly Tool[] = [ "Cloudflare Tunnel Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/tunnel_cfd_tunnel" + }, + { + "$ref": "#/$defs/tunnel_warp_connector_tunnel" + } + ] + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/tunnel_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tunnel_tunnel-response-collection" + }, + { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + ] + } + }, + $defs: { + "tunnel_account_id": tunnel_account_id_output, + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, + "tunnel_client_id": tunnel_client_id_output, + "tunnel_colo_name": tunnel_colo_name_output, + "tunnel_config_src": tunnel_config_src_output, + "tunnel_connection_id": tunnel_connection_id_output, + "tunnel_connections_deprecated": tunnel_connections_deprecated_output, + "tunnel_conns_active_at": tunnel_conns_active_at_output, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, + "tunnel_created_at": tunnel_created_at_output, + "tunnel_deleted_at": tunnel_deleted_at_output, + "tunnel_ip": tunnel_ip_output, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_metadata": tunnel_metadata_output, + "tunnel_remote_config": tunnel_remote_config_output, + "tunnel_result_info": tunnel_result_info_output, + "tunnel_schemas-connection": tunnel_schemas_connection_output, + "tunnel_status": tunnel_status_output, + "tunnel_tunnel-response-collection": tunnel_tunnel_response_collection_output, + "tunnel_tunnel_id": tunnel_tunnel_id_output, + "tunnel_tunnel_name": tunnel_tunnel_name_output, + "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_version": tunnel_version_output, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tunnels`, query: [ diff --git a/src/generated/forge-mcp/turnstile/widgets/outputs.ts b/src/generated/forge-mcp/turnstile/widgets/outputs.ts new file mode 100644 index 00000000..85ecb203 --- /dev/null +++ b/src/generated/forge-mcp/turnstile/widgets/outputs.ts @@ -0,0 +1,345 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `turnstile_api-response-common-failure` in responses. + */ +export const turnstile_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/turnstile_messages" + }, + "messages": { + "$ref": "#/$defs/turnstile_messages" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `turnstile_bot_fight_mode` in responses. + */ +export const turnstile_bot_fight_mode_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `turnstile_clearance_level` in responses. + */ +export const turnstile_clearance_level_output: JsonSchema = { + "enum": [ + "no_clearance", + "jschallenge", + "managed", + "interactive" + ], + "type": "string" +}; + +/** + * The schema of `turnstile_created_on` in responses. + */ +export const turnstile_created_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `turnstile_deployed_via` in responses. + */ +export const turnstile_deployed_via_output: JsonSchema = { + "enum": [ + "wrangler", + "dashboard", + "spin", + "api", + "unknown" + ], + "type": "string" +}; + +/** + * The schema of `turnstile_domains` in responses. + */ +export const turnstile_domains_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `turnstile_ephemeral_id` in responses. + */ +export const turnstile_ephemeral_id_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `turnstile_last_modified_via` in responses. + */ +export const turnstile_last_modified_via_output: JsonSchema = { + "enum": [ + "wrangler", + "dashboard", + "spin", + "api", + "unknown" + ], + "type": "string" +}; + +/** + * The schema of `turnstile_messages` in responses. + */ +export const turnstile_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `turnstile_modified_on` in responses. + */ +export const turnstile_modified_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `turnstile_name` in responses. + */ +export const turnstile_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `turnstile_offlabel` in responses. + */ +export const turnstile_offlabel_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `turnstile_region` in responses. + */ +export const turnstile_region_output: JsonSchema = { + "enum": [ + "world", + "china" + ], + "type": "string" +}; + +/** + * The schema of `turnstile_result_info` in responses. + */ +export const turnstile_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" +}; + +/** + * The schema of `turnstile_secret` in responses. + */ +export const turnstile_secret_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `turnstile_sitekey` in responses. + */ +export const turnstile_sitekey_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `turnstile_widget_detail` in responses. + */ +export const turnstile_widget_detail_output: JsonSchema = { + "properties": { + "bot_fight_mode": { + "$ref": "#/$defs/turnstile_bot_fight_mode" + }, + "clearance_level": { + "$ref": "#/$defs/turnstile_clearance_level" + }, + "created_on": { + "$ref": "#/$defs/turnstile_created_on" + }, + "deployed_via": { + "$ref": "#/$defs/turnstile_deployed_via" + }, + "domains": { + "$ref": "#/$defs/turnstile_domains" + }, + "ephemeral_id": { + "$ref": "#/$defs/turnstile_ephemeral_id" + }, + "last_modified_via": { + "$ref": "#/$defs/turnstile_last_modified_via" + }, + "mode": { + "$ref": "#/$defs/turnstile_widget_mode" + }, + "modified_on": { + "$ref": "#/$defs/turnstile_modified_on" + }, + "name": { + "$ref": "#/$defs/turnstile_name" + }, + "offlabel": { + "$ref": "#/$defs/turnstile_offlabel" + }, + "region": { + "$ref": "#/$defs/turnstile_region" + }, + "secret": { + "$ref": "#/$defs/turnstile_secret" + }, + "sitekey": { + "$ref": "#/$defs/turnstile_sitekey" + } + }, + "required": [ + "bot_fight_mode", + "clearance_level", + "created_on", + "domains", + "ephemeral_id", + "mode", + "modified_on", + "name", + "offlabel", + "region", + "secret", + "sitekey" + ], + "type": "object" +}; + +/** + * The schema of `turnstile_widget_list` in responses. + */ +export const turnstile_widget_list_output: JsonSchema = { + "properties": { + "bot_fight_mode": { + "$ref": "#/$defs/turnstile_bot_fight_mode" + }, + "clearance_level": { + "$ref": "#/$defs/turnstile_clearance_level" + }, + "created_on": { + "$ref": "#/$defs/turnstile_created_on" + }, + "deployed_via": { + "$ref": "#/$defs/turnstile_deployed_via" + }, + "domains": { + "$ref": "#/$defs/turnstile_domains" + }, + "ephemeral_id": { + "$ref": "#/$defs/turnstile_ephemeral_id" + }, + "last_modified_via": { + "$ref": "#/$defs/turnstile_last_modified_via" + }, + "mode": { + "$ref": "#/$defs/turnstile_widget_mode" + }, + "modified_on": { + "$ref": "#/$defs/turnstile_modified_on" + }, + "name": { + "$ref": "#/$defs/turnstile_name" + }, + "offlabel": { + "$ref": "#/$defs/turnstile_offlabel" + }, + "region": { + "$ref": "#/$defs/turnstile_region" + }, + "sitekey": { + "$ref": "#/$defs/turnstile_sitekey" + } + }, + "required": [ + "bot_fight_mode", + "clearance_level", + "created_on", + "domains", + "ephemeral_id", + "mode", + "modified_on", + "name", + "offlabel", + "region", + "sitekey" + ], + "type": "object" +}; + +/** + * The schema of `turnstile_widget_mode` in responses. + */ +export const turnstile_widget_mode_output: JsonSchema = { + "enum": [ + "non-interactive", + "invisible", + "managed" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/turnstile/widgets/tools.ts b/src/generated/forge-mcp/turnstile/widgets/tools.ts index 413593a0..0ec2855e 100644 --- a/src/generated/forge-mcp/turnstile/widgets/tools.ts +++ b/src/generated/forge-mcp/turnstile/widgets/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + turnstile_api_response_common_failure_output, + turnstile_bot_fight_mode_output, + turnstile_clearance_level_output, + turnstile_created_on_output, + turnstile_deployed_via_output, + turnstile_domains_output, + turnstile_ephemeral_id_output, + turnstile_last_modified_via_output, + turnstile_messages_output, + turnstile_modified_on_output, + turnstile_name_output, + turnstile_offlabel_output, + turnstile_region_output, + turnstile_result_info_output, + turnstile_secret_output, + turnstile_sitekey_output, + turnstile_widget_detail_output, + turnstile_widget_list_output, + turnstile_widget_mode_output, +} from "./outputs.js"; import { turnstile_bot_fight_mode, turnstile_clearance_level, @@ -142,6 +163,35 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/turnstile_widget_detail" + }, + "4XX": { + "$ref": "#/$defs/turnstile_api-response-common-failure" + } + }, + $defs: { + "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, + "turnstile_clearance_level": turnstile_clearance_level_output, + "turnstile_created_on": turnstile_created_on_output, + "turnstile_deployed_via": turnstile_deployed_via_output, + "turnstile_domains": turnstile_domains_output, + "turnstile_ephemeral_id": turnstile_ephemeral_id_output, + "turnstile_last_modified_via": turnstile_last_modified_via_output, + "turnstile_messages": turnstile_messages_output, + "turnstile_modified_on": turnstile_modified_on_output, + "turnstile_name": turnstile_name_output, + "turnstile_offlabel": turnstile_offlabel_output, + "turnstile_region": turnstile_region_output, + "turnstile_secret": turnstile_secret_output, + "turnstile_sitekey": turnstile_sitekey_output, + "turnstile_widget_detail": turnstile_widget_detail_output, + "turnstile_widget_mode": turnstile_widget_mode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/challenges/widgets`, query: [ @@ -194,6 +244,35 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/turnstile_widget_detail" + }, + "4XX": { + "$ref": "#/$defs/turnstile_api-response-common-failure" + } + }, + $defs: { + "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, + "turnstile_clearance_level": turnstile_clearance_level_output, + "turnstile_created_on": turnstile_created_on_output, + "turnstile_deployed_via": turnstile_deployed_via_output, + "turnstile_domains": turnstile_domains_output, + "turnstile_ephemeral_id": turnstile_ephemeral_id_output, + "turnstile_last_modified_via": turnstile_last_modified_via_output, + "turnstile_messages": turnstile_messages_output, + "turnstile_modified_on": turnstile_modified_on_output, + "turnstile_name": turnstile_name_output, + "turnstile_offlabel": turnstile_offlabel_output, + "turnstile_region": turnstile_region_output, + "turnstile_secret": turnstile_secret_output, + "turnstile_sitekey": turnstile_sitekey_output, + "turnstile_widget_detail": turnstile_widget_detail_output, + "turnstile_widget_mode": turnstile_widget_mode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/challenges/widgets/${pathParam(args, "sitekey")}`, }), @@ -240,6 +319,35 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/turnstile_widget_detail" + }, + "4XX": { + "$ref": "#/$defs/turnstile_api-response-common-failure" + } + }, + $defs: { + "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, + "turnstile_clearance_level": turnstile_clearance_level_output, + "turnstile_created_on": turnstile_created_on_output, + "turnstile_deployed_via": turnstile_deployed_via_output, + "turnstile_domains": turnstile_domains_output, + "turnstile_ephemeral_id": turnstile_ephemeral_id_output, + "turnstile_last_modified_via": turnstile_last_modified_via_output, + "turnstile_messages": turnstile_messages_output, + "turnstile_modified_on": turnstile_modified_on_output, + "turnstile_name": turnstile_name_output, + "turnstile_offlabel": turnstile_offlabel_output, + "turnstile_region": turnstile_region_output, + "turnstile_secret": turnstile_secret_output, + "turnstile_sitekey": turnstile_sitekey_output, + "turnstile_widget_detail": turnstile_widget_detail_output, + "turnstile_widget_mode": turnstile_widget_mode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/challenges/widgets/${pathParam(args, "sitekey")}`, }), @@ -313,6 +421,49 @@ export const tools: readonly Tool[] = [ "Account Settings Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/turnstile_widget_list" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/turnstile_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/turnstile_api-response-common-failure" + } + }, + $defs: { + "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, + "turnstile_clearance_level": turnstile_clearance_level_output, + "turnstile_created_on": turnstile_created_on_output, + "turnstile_deployed_via": turnstile_deployed_via_output, + "turnstile_domains": turnstile_domains_output, + "turnstile_ephemeral_id": turnstile_ephemeral_id_output, + "turnstile_last_modified_via": turnstile_last_modified_via_output, + "turnstile_messages": turnstile_messages_output, + "turnstile_modified_on": turnstile_modified_on_output, + "turnstile_name": turnstile_name_output, + "turnstile_offlabel": turnstile_offlabel_output, + "turnstile_region": turnstile_region_output, + "turnstile_result_info": turnstile_result_info_output, + "turnstile_sitekey": turnstile_sitekey_output, + "turnstile_widget_list": turnstile_widget_list_output, + "turnstile_widget_mode": turnstile_widget_mode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/challenges/widgets`, query: [ @@ -376,6 +527,35 @@ export const tools: readonly Tool[] = [ "Account Settings Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/turnstile_widget_detail" + }, + "4XX": { + "$ref": "#/$defs/turnstile_api-response-common-failure" + } + }, + $defs: { + "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, + "turnstile_clearance_level": turnstile_clearance_level_output, + "turnstile_created_on": turnstile_created_on_output, + "turnstile_deployed_via": turnstile_deployed_via_output, + "turnstile_domains": turnstile_domains_output, + "turnstile_ephemeral_id": turnstile_ephemeral_id_output, + "turnstile_last_modified_via": turnstile_last_modified_via_output, + "turnstile_messages": turnstile_messages_output, + "turnstile_modified_on": turnstile_modified_on_output, + "turnstile_name": turnstile_name_output, + "turnstile_offlabel": turnstile_offlabel_output, + "turnstile_region": turnstile_region_output, + "turnstile_secret": turnstile_secret_output, + "turnstile_sitekey": turnstile_sitekey_output, + "turnstile_widget_detail": turnstile_widget_detail_output, + "turnstile_widget_mode": turnstile_widget_mode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/challenges/widgets/${pathParam(args, "sitekey")}/rotate_secret`, body: { value: args["body"], mediaType: "application/json" }, @@ -476,6 +656,35 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/turnstile_widget_detail" + }, + "4XX": { + "$ref": "#/$defs/turnstile_api-response-common-failure" + } + }, + $defs: { + "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, + "turnstile_clearance_level": turnstile_clearance_level_output, + "turnstile_created_on": turnstile_created_on_output, + "turnstile_deployed_via": turnstile_deployed_via_output, + "turnstile_domains": turnstile_domains_output, + "turnstile_ephemeral_id": turnstile_ephemeral_id_output, + "turnstile_last_modified_via": turnstile_last_modified_via_output, + "turnstile_messages": turnstile_messages_output, + "turnstile_modified_on": turnstile_modified_on_output, + "turnstile_name": turnstile_name_output, + "turnstile_offlabel": turnstile_offlabel_output, + "turnstile_region": turnstile_region_output, + "turnstile_secret": turnstile_secret_output, + "turnstile_sitekey": turnstile_sitekey_output, + "turnstile_widget_detail": turnstile_widget_detail_output, + "turnstile_widget_mode": turnstile_widget_mode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/challenges/widgets/${pathParam(args, "sitekey")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/urlInfo/outputs.ts b/src/generated/forge-mcp/urlInfo/outputs.ts new file mode 100644 index 00000000..847d5d37 --- /dev/null +++ b/src/generated/forge-mcp/urlInfo/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `brand-protection-api_URLInfo` in responses. + */ +export const brand_protection_api_URLInfo_output: JsonSchema = { + "properties": { + "result": { + "items": { + "type": "object" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/urlInfo/tools.ts b/src/generated/forge-mcp/urlInfo/tools.ts index 0e9bb6d0..92bb5bb4 100644 --- a/src/generated/forge-mcp/urlInfo/tools.ts +++ b/src/generated/forge-mcp/urlInfo/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; +import { brand_protection_api_URLInfo_output } from "./outputs.js"; /** * The tools of `url_info`. @@ -37,6 +39,20 @@ export const tools: readonly Tool[] = [ "Intel Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/brand-protection-api_URLInfo" + }, + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_URLInfo": brand_protection_api_URLInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/url-info`, }), diff --git a/src/generated/forge-mcp/urlNormalization/outputs.ts b/src/generated/forge-mcp/urlNormalization/outputs.ts new file mode 100644 index 00000000..c162c59f --- /dev/null +++ b/src/generated/forge-mcp/urlNormalization/outputs.ts @@ -0,0 +1,32 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `rulesets_UrlNormalization` in responses. + */ +export const rulesets_UrlNormalization_output: JsonSchema = { + "properties": { + "scope": { + "enum": [ + "incoming", + "both", + "none" + ], + "type": "string" + }, + "type": { + "enum": [ + "cloudflare", + "rfc3986" + ], + "type": "string" + } + }, + "required": [ + "scope", + "type" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/urlNormalization/tools.ts b/src/generated/forge-mcp/urlNormalization/tools.ts index e2cf0653..f92e626e 100644 --- a/src/generated/forge-mcp/urlNormalization/tools.ts +++ b/src/generated/forge-mcp/urlNormalization/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + rulesets_Errors_output, + rulesets_Message_output, + rulesets_Message_source_output, + rulesets_Messages_output, + rulesets_Response_output, + rulesets_Response_result_output, +} from "../outputs.js"; +import { rulesets_UrlNormalization_output } from "./outputs.js"; import { rulesets_UrlNormalization } from "./schemas.js"; /** @@ -64,6 +73,40 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "204": null, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Errors": rulesets_Errors_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/url_normalization`, }), @@ -145,6 +188,62 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "$ref": "#/$defs/rulesets_UrlNormalization" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Errors": rulesets_Errors_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_UrlNormalization": rulesets_UrlNormalization_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/url_normalization`, }), @@ -212,6 +311,62 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "$ref": "#/$defs/rulesets_UrlNormalization" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "type": "object" + } + ] + } + }, + $defs: { + "rulesets_Errors": rulesets_Errors_output, + "rulesets_Message": rulesets_Message_output, + "rulesets_Message_source": rulesets_Message_source_output, + "rulesets_Messages": rulesets_Messages_output, + "rulesets_Response": rulesets_Response_output, + "rulesets_Response_result": rulesets_Response_result_output, + "rulesets_UrlNormalization": rulesets_UrlNormalization_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/url_normalization`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/urlScanner/responses/tools.ts b/src/generated/forge-mcp/urlScanner/responses/tools.ts index 1447653f..d27e130d 100644 --- a/src/generated/forge-mcp/urlScanner/responses/tools.ts +++ b/src/generated/forge-mcp/urlScanner/responses/tools.ts @@ -49,6 +49,49 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": null, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/responses/${pathParam(args, "response_id")}`, }), diff --git a/src/generated/forge-mcp/urlScanner/scans/tools.ts b/src/generated/forge-mcp/urlScanner/scans/tools.ts index 02647224..d55ee47a 100644 --- a/src/generated/forge-mcp/urlScanner/scans/tools.ts +++ b/src/generated/forge-mcp/urlScanner/scans/tools.ts @@ -99,6 +99,132 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "api": { + "type": "string" + }, + "options": { + "properties": { + "useragent": { + "type": "string" + } + }, + "type": "object" + }, + "result": { + "type": "string" + }, + "url": { + "type": "string" + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "unlisted" + ], + "type": "string" + } + }, + "required": [ + "api", + "result", + "url", + "uuid", + "visibility" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + }, + "429": { + "properties": { + "description": { + "type": "string" + }, + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "number" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "number" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -394,6 +520,174 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "api": { + "type": "string" + }, + "message": { + "type": "string" + }, + "options": { + "properties": { + "useragent": { + "type": "string" + } + }, + "type": "object" + }, + "result": { + "type": "string" + }, + "url": { + "type": "string" + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "visibility": { + "enum": [ + "public", + "unlisted" + ], + "type": "string" + } + }, + "required": [ + "api", + "message", + "result", + "url", + "uuid", + "visibility" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + }, + "409": { + "properties": { + "description": { + "type": "string" + }, + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "number" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "number" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + }, + "429": { + "properties": { + "description": { + "type": "string" + }, + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "number" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "number" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/scan`, body: { value: args["body"], mediaType: "application/json" }, @@ -442,6 +736,115 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": null, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "task": { + "properties": { + "status": { + "type": "string" + }, + "time": { + "type": "string" + }, + "url": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "visibility": { + "type": "string" + } + }, + "required": [ + "status", + "time", + "url", + "uuid", + "visibility" + ], + "type": "object" + } + }, + "required": [ + "errors", + "message", + "status", + "task" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/dom/${pathParam(args, "scan_id")}`, }), @@ -489,6 +892,4627 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "properties": { + "console": { + "items": { + "properties": { + "message": { + "properties": { + "level": { + "type": "string" + }, + "source": { + "type": "string" + }, + "text": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "level", + "source", + "text", + "url" + ], + "type": "object" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "cookies": { + "items": { + "properties": { + "domain": { + "type": "string" + }, + "expires": { + "type": "number" + }, + "httpOnly": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "priority": { + "type": "string" + }, + "sameParty": { + "type": "boolean" + }, + "secure": { + "type": "boolean" + }, + "session": { + "type": "boolean" + }, + "size": { + "type": "number" + }, + "sourcePort": { + "type": "number" + }, + "sourceScheme": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "domain", + "expires", + "httpOnly", + "name", + "path", + "priority", + "sameParty", + "secure", + "session", + "size", + "sourcePort", + "sourceScheme", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "globals": { + "items": { + "properties": { + "prop": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "prop", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "links": { + "items": { + "properties": { + "href": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": [ + "href", + "text" + ], + "type": "object" + }, + "type": "array" + }, + "performance": { + "items": { + "properties": { + "duration": { + "type": "number" + }, + "entryType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "startTime": { + "type": "number" + } + }, + "required": [ + "duration", + "entryType", + "name", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "requests": { + "items": { + "properties": { + "request": { + "properties": { + "documentURL": { + "type": "string" + }, + "frameId": { + "type": "string" + }, + "hasUserGesture": { + "type": "boolean" + }, + "initiator": { + "properties": { + "host": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "host", + "type", + "url" + ], + "type": "object" + }, + "loaderId": { + "type": "string" + }, + "primaryRequest": { + "type": "boolean" + }, + "redirectHasExtraInfo": { + "type": "boolean" + }, + "redirectResponse": { + "properties": { + "charset": { + "type": "string" + }, + "headers": { + "type": "object" + }, + "mimeType": { + "type": "string" + }, + "protocol": { + "type": "string" + }, + "remoteIPAddress": { + "type": "string" + }, + "remotePort": { + "type": "number" + }, + "securityHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "securityState": { + "type": "string" + }, + "status": { + "type": "number" + }, + "statusText": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "charset", + "mimeType", + "protocol", + "remoteIPAddress", + "remotePort", + "securityHeaders", + "securityState", + "status", + "statusText", + "url" + ], + "type": "object" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "initialPriority": { + "type": "string" + }, + "isSameSite": { + "type": "boolean" + }, + "method": { + "type": "string" + }, + "mixedContentType": { + "type": "string" + }, + "referrerPolicy": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "initialPriority", + "isSameSite", + "method", + "mixedContentType", + "referrerPolicy", + "url" + ], + "type": "object" + }, + "requestId": { + "type": "string" + }, + "type": { + "type": "string" + }, + "wallTime": { + "type": "number" + } + }, + "required": [ + "documentURL", + "hasUserGesture", + "initiator", + "redirectHasExtraInfo", + "request", + "requestId", + "type", + "wallTime" + ], + "type": "object" + }, + "requests": { + "items": { + "properties": { + "documentURL": { + "type": "string" + }, + "frameId": { + "type": "string" + }, + "hasUserGesture": { + "type": "boolean" + }, + "initiator": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "loaderId": { + "type": "string" + }, + "redirectHasExtraInfo": { + "type": "boolean" + }, + "request": { + "properties": { + "headers": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "initialPriority": { + "type": "string" + }, + "isSameSite": { + "type": "boolean" + }, + "method": { + "type": "string" + }, + "mixedContentType": { + "type": "string" + }, + "referrerPolicy": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "headers", + "initialPriority", + "isSameSite", + "method", + "mixedContentType", + "referrerPolicy", + "url" + ], + "type": "object" + }, + "requestId": { + "type": "string" + }, + "type": { + "type": "string" + }, + "wallTime": { + "type": "number" + } + }, + "required": [ + "documentURL", + "frameId", + "hasUserGesture", + "initiator", + "loaderId", + "redirectHasExtraInfo", + "request", + "requestId", + "type", + "wallTime" + ], + "type": "object" + }, + "type": "array" + }, + "response": { + "properties": { + "asn": { + "properties": { + "asn": { + "type": "string" + }, + "country": { + "type": "string" + }, + "description": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "name": { + "type": "string" + }, + "org": { + "type": "string" + } + }, + "required": [ + "asn", + "country", + "description", + "ip", + "name", + "org" + ], + "type": "object" + }, + "contentAvailable": { + "type": "boolean" + }, + "dataLength": { + "type": "number" + }, + "encodedDataLength": { + "type": "number" + }, + "geoip": { + "properties": { + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "country_name": { + "type": "string" + }, + "geonameId": { + "type": "string" + }, + "ll": { + "items": { + "type": "number" + }, + "type": "array" + }, + "region": { + "type": "string" + } + }, + "required": [ + "city", + "country", + "country_name", + "geonameId", + "ll", + "region" + ], + "type": "object" + }, + "hasExtraInfo": { + "type": "boolean" + }, + "hash": { + "type": "string" + }, + "requestId": { + "type": "string" + }, + "response": { + "properties": { + "charset": { + "type": "string" + }, + "headers": { + "type": "object" + }, + "mimeType": { + "type": "string" + }, + "protocol": { + "type": "string" + }, + "remoteIPAddress": { + "type": "string" + }, + "remotePort": { + "type": "number" + }, + "securityDetails": { + "properties": { + "certificateId": { + "type": "number" + }, + "certificateTransparencyCompliance": { + "type": "string" + }, + "cipher": { + "type": "string" + }, + "encryptedClientHello": { + "type": "boolean" + }, + "issuer": { + "type": "string" + }, + "keyExchange": { + "type": "string" + }, + "keyExchangeGroup": { + "type": "string" + }, + "protocol": { + "type": "string" + }, + "sanList": { + "items": { + "type": "string" + }, + "type": "array" + }, + "serverSignatureAlgorithm": { + "type": "number" + }, + "subjectName": { + "type": "string" + }, + "validFrom": { + "type": "number" + }, + "validTo": { + "type": "number" + } + }, + "required": [ + "certificateId", + "certificateTransparencyCompliance", + "cipher", + "encryptedClientHello", + "issuer", + "keyExchange", + "keyExchangeGroup", + "protocol", + "sanList", + "serverSignatureAlgorithm", + "subjectName", + "validFrom", + "validTo" + ], + "type": "object" + }, + "securityHeaders": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "securityState": { + "type": "string" + }, + "status": { + "type": "number" + }, + "statusText": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "charset", + "mimeType", + "protocol", + "remoteIPAddress", + "remotePort", + "securityDetails", + "securityHeaders", + "securityState", + "status", + "statusText", + "url" + ], + "type": "object" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": [ + "asn", + "dataLength", + "encodedDataLength", + "geoip", + "hasExtraInfo", + "requestId", + "response", + "size", + "type" + ], + "type": "object" + } + }, + "required": [ + "request", + "response" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "console", + "cookies", + "globals", + "links", + "performance", + "requests" + ], + "type": "object" + }, + "lists": { + "properties": { + "asns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "certificates": { + "items": { + "properties": { + "issuer": { + "type": "string" + }, + "subjectName": { + "type": "string" + }, + "validFrom": { + "type": "number" + }, + "validTo": { + "type": "number" + } + }, + "required": [ + "issuer", + "subjectName", + "validFrom", + "validTo" + ], + "type": "object" + }, + "type": "array" + }, + "continents": { + "items": { + "type": "string" + }, + "type": "array" + }, + "countries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "domains": { + "items": { + "type": "string" + }, + "type": "array" + }, + "hashes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "linkDomains": { + "items": { + "type": "string" + }, + "type": "array" + }, + "servers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "urls": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "asns", + "certificates", + "continents", + "countries", + "domains", + "hashes", + "ips", + "linkDomains", + "servers", + "urls" + ], + "type": "object" + }, + "meta": { + "properties": { + "processors": { + "properties": { + "agentReadiness": { + "properties": { + "checks": { + "properties": { + "botAccessControl": { + "properties": { + "contentSignals": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "robotsTxtAiRules": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "webBotAuth": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + } + }, + "required": [ + "contentSignals", + "robotsTxtAiRules", + "webBotAuth" + ], + "type": "object" + }, + "commerce": { + "properties": { + "acp": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "ap2": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "mpp": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "ucp": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "x402": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + } + }, + "required": [ + "acp", + "ap2", + "mpp", + "ucp", + "x402" + ], + "type": "object" + }, + "contentAccessibility": { + "properties": { + "markdownNegotiation": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + } + }, + "required": [ + "markdownNegotiation" + ], + "type": "object" + }, + "discoverability": { + "properties": { + "dnsAid": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "linkHeaders": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "robotsTxt": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "sitemap": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + } + }, + "required": [ + "dnsAid", + "linkHeaders", + "robotsTxt", + "sitemap" + ], + "type": "object" + }, + "discovery": { + "properties": { + "a2aAgentCard": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "agentSkills": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "apiCatalog": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "ard": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "authMd": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "mcpServerCard": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "oauthDiscovery": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "oauthProtectedResource": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + "webMcp": { + "properties": { + "details": { + "type": "object" + }, + "durationMs": { + "type": "number" + }, + "evidence": { + "items": { + "properties": { + "action": { + "type": "string" + }, + "finding": { + "properties": { + "outcome": { + "type": "string" + }, + "summary": { + "type": "string" + } + }, + "required": [ + "outcome", + "summary" + ], + "type": "object" + }, + "label": { + "type": "string" + }, + "request": { + "properties": { + "headers": { + "type": "object" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "bodyPreview": { + "type": "string" + }, + "bodySize": { + "type": "integer" + }, + "headers": { + "type": "object" + }, + "redirectedTo": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "status", + "statusText" + ], + "type": "object" + } + }, + "required": [ + "action", + "label" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "messageRef": { + "properties": { + "code": { + "type": "string" + }, + "params": { + "type": "object" + } + }, + "required": [ + "code" + ], + "type": "object" + }, + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + } + }, + "required": [ + "a2aAgentCard", + "agentSkills", + "apiCatalog", + "ard", + "authMd", + "mcpServerCard", + "oauthDiscovery", + "oauthProtectedResource", + "webMcp" + ], + "type": "object" + } + }, + "required": [ + "botAccessControl", + "commerce", + "contentAccessibility", + "discoverability", + "discovery" + ], + "type": "object" + }, + "commerceSignals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "isCommerce": { + "type": "boolean" + }, + "level": { + "type": "integer" + }, + "levelName": { + "type": "string" + }, + "nextLevel": { + "properties": { + "name": { + "type": "string" + }, + "requirements": { + "items": { + "properties": { + "check": { + "type": "string" + }, + "description": { + "type": "string" + }, + "prompt": { + "type": "string" + }, + "skillUrl": { + "type": "string" + }, + "specUrls": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "check", + "description", + "prompt", + "skillUrl", + "specUrls" + ], + "type": "object" + }, + "type": "array" + }, + "target": { + "type": "integer" + } + }, + "required": [ + "name", + "requirements", + "target" + ], + "type": "object" + } + }, + "required": [ + "checks", + "level", + "levelName" + ], + "type": "object" + }, + "asn": { + "properties": { + "data": { + "items": { + "properties": { + "asn": { + "type": "string" + }, + "country": { + "type": "string" + }, + "description": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "asn", + "country", + "description", + "ip", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "dns": { + "properties": { + "data": { + "items": { + "properties": { + "address": { + "type": "string" + }, + "dnssec_valid": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "address", + "dnssec_valid", + "name", + "type" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "domainCategories": { + "properties": { + "data": { + "items": { + "properties": { + "inherited": { + "type": "object" + }, + "isPrimary": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "required": [ + "inherited", + "isPrimary", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "geoip": { + "properties": { + "data": { + "items": { + "properties": { + "geoip": { + "properties": { + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "country_name": { + "type": "string" + }, + "ll": { + "items": { + "type": "number" + }, + "type": "array" + }, + "region": { + "type": "string" + } + }, + "required": [ + "city", + "country", + "country_name", + "ll", + "region" + ], + "type": "object" + }, + "ip": { + "type": "string" + } + }, + "required": [ + "geoip", + "ip" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "phishing": { + "properties": { + "data": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "phishing_v2": { + "properties": { + "data": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "radarRank": { + "properties": { + "data": { + "items": { + "properties": { + "bucket": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "bucket", + "hostname" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "robotsTxt": { + "properties": { + "data": { + "items": { + "properties": { + "hash": { + "type": "string" + }, + "rules": { + "additionalProperties": { + "properties": { + "allow": { + "items": { + "type": "string" + }, + "type": "array" + }, + "contentSignal": { + "properties": { + "ai-input": { + "type": "string" + }, + "ai-train": { + "type": "string" + }, + "search": { + "type": "string" + } + }, + "type": "object" + }, + "crawlDelay": { + "type": "number" + }, + "disallow": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "allow", + "disallow" + ], + "type": "object" + }, + "type": "object" + }, + "sitemaps": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "rules", + "sitemaps" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "urlCategories": { + "properties": { + "data": { + "items": { + "properties": { + "content": { + "items": { + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "super_category_id": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "super_category_id" + ], + "type": "object" + }, + "type": "array" + }, + "inherited": { + "properties": { + "content": { + "items": { + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "super_category_id": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "super_category_id" + ], + "type": "object" + }, + "type": "array" + }, + "from": { + "type": "string" + }, + "risks": { + "items": { + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "super_category_id": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "super_category_id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "content", + "from", + "risks" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "risks": { + "items": { + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "super_category_id": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "super_category_id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "content", + "inherited", + "name", + "risks" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "wappa": { + "properties": { + "data": { + "items": { + "properties": { + "app": { + "type": "string" + }, + "categories": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "priority": { + "type": "number" + } + }, + "required": [ + "name", + "priority" + ], + "type": "object" + }, + "type": "array" + }, + "confidence": { + "items": { + "properties": { + "confidence": { + "type": "number" + }, + "name": { + "type": "string" + }, + "pattern": { + "type": "string" + }, + "patternType": { + "type": "string" + } + }, + "required": [ + "confidence", + "name", + "pattern", + "patternType" + ], + "type": "object" + }, + "type": "array" + }, + "confidenceTotal": { + "type": "number" + }, + "icon": { + "type": "string" + }, + "website": { + "type": "string" + } + }, + "required": [ + "app", + "categories", + "confidence", + "confidenceTotal", + "icon", + "website" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "required": [ + "asn", + "dns", + "domainCategories", + "geoip", + "phishing", + "radarRank", + "wappa" + ], + "type": "object" + } + }, + "required": [ + "processors" + ], + "type": "object" + }, + "page": { + "properties": { + "apexDomain": { + "type": "string" + }, + "asn": { + "type": "string" + }, + "asnname": { + "type": "string" + }, + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "mimeType": { + "type": "string" + }, + "screenshot": { + "properties": { + "dhash": { + "type": "string" + }, + "mm3Hash": { + "type": "number" + }, + "name": { + "type": "string" + }, + "phash": { + "type": "string" + } + }, + "required": [ + "dhash", + "mm3Hash", + "name", + "phash" + ], + "type": "object" + }, + "server": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "tlsAgeDays": { + "type": "number" + }, + "tlsIssuer": { + "type": "string" + }, + "tlsValidDays": { + "type": "number" + }, + "tlsValidFrom": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "apexDomain", + "asn", + "asnname", + "city", + "country", + "domain", + "ip", + "mimeType", + "server", + "status", + "title", + "tlsAgeDays", + "tlsIssuer", + "tlsValidDays", + "tlsValidFrom", + "url" + ], + "type": "object" + }, + "scanner": { + "properties": { + "colo": { + "type": "string" + }, + "country": { + "type": "string" + } + }, + "required": [ + "colo", + "country" + ], + "type": "object" + }, + "stats": { + "properties": { + "IPv6Percentage": { + "type": "number" + }, + "domainStats": { + "items": { + "properties": { + "count": { + "type": "number" + }, + "countries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "domain": { + "type": "string" + }, + "encodedSize": { + "type": "number" + }, + "index": { + "type": "number" + }, + "initiators": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "redirects": { + "type": "number" + }, + "size": { + "type": "number" + } + }, + "required": [ + "count", + "countries", + "domain", + "encodedSize", + "index", + "initiators", + "ips", + "redirects", + "size" + ], + "type": "object" + }, + "type": "array" + }, + "ipStats": { + "items": { + "properties": { + "asn": { + "properties": { + "asn": { + "type": "string" + }, + "country": { + "type": "string" + }, + "description": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "name": { + "type": "string" + }, + "org": { + "type": "string" + } + }, + "required": [ + "asn", + "country", + "description", + "ip", + "name", + "org" + ], + "type": "object" + }, + "count": { + "type": "number" + }, + "countries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "domains": { + "items": { + "type": "string" + }, + "type": "array" + }, + "encodedSize": { + "type": "number" + }, + "geoip": { + "properties": { + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "country_name": { + "type": "string" + }, + "ll": { + "items": { + "type": "number" + }, + "type": "array" + }, + "region": { + "type": "string" + } + }, + "required": [ + "city", + "country", + "country_name", + "ll", + "region" + ], + "type": "object" + }, + "index": { + "type": "number" + }, + "ip": { + "type": "string" + }, + "ipv6": { + "type": "boolean" + }, + "redirects": { + "type": "number" + }, + "requests": { + "type": "number" + }, + "size": { + "type": "number" + } + }, + "required": [ + "asn", + "countries", + "domains", + "encodedSize", + "geoip", + "index", + "ip", + "ipv6", + "redirects", + "requests", + "size" + ], + "type": "object" + }, + "type": "array" + }, + "malicious": { + "type": "number" + }, + "protocolStats": { + "items": { + "properties": { + "count": { + "type": "number" + }, + "countries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "encodedSize": { + "type": "number" + }, + "ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "protocol": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "count", + "countries", + "encodedSize", + "ips", + "protocol", + "size" + ], + "type": "object" + }, + "type": "array" + }, + "resourceStats": { + "items": { + "properties": { + "compression": { + "type": "number" + }, + "count": { + "type": "number" + }, + "countries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "encodedSize": { + "type": "number" + }, + "ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "percentage": { + "type": "number" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": [ + "compression", + "count", + "countries", + "encodedSize", + "ips", + "percentage", + "size", + "type" + ], + "type": "object" + }, + "type": "array" + }, + "securePercentage": { + "type": "number" + }, + "secureRequests": { + "type": "number" + }, + "serverStats": { + "items": { + "properties": { + "count": { + "type": "number" + }, + "countries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "encodedSize": { + "type": "number" + }, + "ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "server": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "count", + "countries", + "encodedSize", + "ips", + "server", + "size" + ], + "type": "object" + }, + "type": "array" + }, + "tlsStats": { + "items": { + "properties": { + "count": { + "type": "number" + }, + "countries": { + "items": { + "type": "string" + }, + "type": "array" + }, + "encodedSize": { + "type": "number" + }, + "ips": { + "items": { + "type": "string" + }, + "type": "array" + }, + "protocols": { + "properties": { + "TLS 1.3 / AES_128_GCM": { + "type": "number" + } + }, + "required": [ + "TLS 1.3 / AES_128_GCM" + ], + "type": "object" + }, + "securityState": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "count", + "countries", + "encodedSize", + "ips", + "protocols", + "securityState", + "size" + ], + "type": "object" + }, + "type": "array" + }, + "totalLinks": { + "type": "number" + }, + "uniqASNs": { + "type": "number" + }, + "uniqCountries": { + "type": "number" + } + }, + "required": [ + "IPv6Percentage", + "domainStats", + "ipStats", + "malicious", + "protocolStats", + "resourceStats", + "securePercentage", + "secureRequests", + "serverStats", + "tlsStats", + "totalLinks", + "uniqASNs", + "uniqCountries" + ], + "type": "object" + }, + "task": { + "properties": { + "apexDomain": { + "type": "string" + }, + "domURL": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "method": { + "type": "string" + }, + "options": { + "properties": { + "customHeaders": { + "type": "object" + }, + "screenshotsResolutions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "reportURL": { + "type": "string" + }, + "screenshotURL": { + "type": "string" + }, + "source": { + "type": "string" + }, + "success": { + "type": "boolean" + }, + "time": { + "type": "string" + }, + "url": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "visibility": { + "type": "string" + } + }, + "required": [ + "apexDomain", + "domURL", + "domain", + "method", + "options", + "reportURL", + "screenshotURL", + "source", + "success", + "time", + "url", + "uuid", + "visibility" + ], + "type": "object" + }, + "verdicts": { + "properties": { + "overall": { + "properties": { + "categories": { + "items": { + "type": "string" + }, + "type": "array" + }, + "hasVerdicts": { + "type": "boolean" + }, + "malicious": { + "type": "boolean" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "categories", + "hasVerdicts", + "malicious", + "tags" + ], + "type": "object" + } + }, + "required": [ + "overall" + ], + "type": "object" + } + }, + "required": [ + "data", + "lists", + "meta", + "page", + "scanner", + "stats", + "task", + "verdicts" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "task": { + "properties": { + "status": { + "type": "string" + }, + "time": { + "type": "string" + }, + "url": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "visibility": { + "type": "string" + } + }, + "required": [ + "status", + "time", + "url", + "uuid", + "visibility" + ], + "type": "object" + } + }, + "required": [ + "errors", + "message", + "status", + "task" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/result/${pathParam(args, "scan_id")}`, }), @@ -536,6 +5560,372 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "log": { + "properties": { + "creator": { + "properties": { + "comment": { + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "comment", + "name", + "version" + ], + "type": "object" + }, + "entries": { + "items": { + "properties": { + "_initialPriority": { + "type": "string" + }, + "_initiator_type": { + "type": "string" + }, + "_priority": { + "type": "string" + }, + "_requestId": { + "type": "string" + }, + "_requestTime": { + "type": "number" + }, + "_resourceType": { + "type": "string" + }, + "cache": { + "type": "object" + }, + "connection": { + "type": "string" + }, + "pageref": { + "type": "string" + }, + "request": { + "properties": { + "bodySize": { + "type": "number" + }, + "headers": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "headersSize": { + "type": "number" + }, + "httpVersion": { + "type": "string" + }, + "method": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "bodySize", + "headers", + "headersSize", + "httpVersion", + "method", + "url" + ], + "type": "object" + }, + "response": { + "properties": { + "_transferSize": { + "type": "number" + }, + "bodySize": { + "type": "number" + }, + "content": { + "properties": { + "compression": { + "type": "integer" + }, + "mimeType": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "mimeType", + "size" + ], + "type": "object" + }, + "headers": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "headersSize": { + "type": "number" + }, + "httpVersion": { + "type": "string" + }, + "redirectURL": { + "type": "string" + }, + "status": { + "type": "number" + }, + "statusText": { + "type": "string" + } + }, + "required": [ + "_transferSize", + "bodySize", + "content", + "headers", + "headersSize", + "httpVersion", + "redirectURL", + "status", + "statusText" + ], + "type": "object" + }, + "serverIPAddress": { + "type": "string" + }, + "startedDateTime": { + "type": "string" + }, + "time": { + "type": "number" + } + }, + "required": [ + "_initialPriority", + "_initiator_type", + "_priority", + "_requestId", + "_requestTime", + "_resourceType", + "cache", + "connection", + "pageref", + "request", + "response", + "serverIPAddress", + "startedDateTime", + "time" + ], + "type": "object" + }, + "type": "array" + }, + "pages": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "pageTimings": { + "properties": { + "onContentLoad": { + "type": "number" + }, + "onLoad": { + "type": "number" + } + }, + "required": [ + "onContentLoad", + "onLoad" + ], + "type": "object" + }, + "startedDateTime": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "id", + "pageTimings", + "startedDateTime", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "version": { + "type": "string" + } + }, + "required": [ + "creator", + "entries", + "pages", + "version" + ], + "type": "object" + } + }, + "required": [ + "log" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "task": { + "properties": { + "status": { + "type": "string" + }, + "time": { + "type": "string" + }, + "url": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "visibility": { + "type": "string" + } + }, + "required": [ + "status", + "time", + "url", + "uuid", + "visibility" + ], + "type": "object" + } + }, + "required": [ + "errors", + "message", + "status", + "task" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/har/${pathParam(args, "scan_id")}`, }), @@ -585,6 +5975,158 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "results": { + "items": { + "properties": { + "_id": { + "type": "string" + }, + "page": { + "properties": { + "asn": { + "type": "string" + }, + "country": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "asn", + "country", + "ip", + "url" + ], + "type": "object" + }, + "result": { + "type": "string" + }, + "stats": { + "properties": { + "dataLength": { + "type": "number" + }, + "requests": { + "type": "number" + }, + "uniqCountries": { + "type": "number" + }, + "uniqIPs": { + "type": "number" + } + }, + "required": [ + "dataLength", + "requests", + "uniqCountries", + "uniqIPs" + ], + "type": "object" + }, + "task": { + "properties": { + "time": { + "type": "string" + }, + "url": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "visibility": { + "type": "string" + } + }, + "required": [ + "time", + "url", + "uuid", + "visibility" + ], + "type": "object" + }, + "verdicts": { + "properties": { + "malicious": { + "type": "boolean" + } + }, + "required": [ + "malicious" + ], + "type": "object" + } + }, + "required": [ + "_id", + "page", + "result", + "stats", + "task", + "verdicts" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "results" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/search`, query: [ @@ -646,6 +6188,115 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": null, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "errors", + "message", + "status" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "detail": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "title": { + "type": "string" + } + }, + "required": [ + "detail", + "status", + "title" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "task": { + "properties": { + "status": { + "type": "string" + }, + "time": { + "type": "string" + }, + "url": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "visibility": { + "type": "string" + } + }, + "required": [ + "status", + "time", + "url", + "uuid", + "visibility" + ], + "type": "object" + } + }, + "required": [ + "errors", + "message", + "status", + "task" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/screenshots/${pathParam(args, "scan_id")}.png`, query: [ diff --git a/src/generated/forge-mcp/user/auditLogs/tools.ts b/src/generated/forge-mcp/user/auditLogs/tools.ts index f7d72f07..12d3f692 100644 --- a/src/generated/forge-mcp/user/auditLogs/tools.ts +++ b/src/generated/forge-mcp/user/auditLogs/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import type { Tool } from "../../_/tool.js"; +import { + aaa_api_response_common_failure_output, + aaa_api_response_common_output, + aaa_audit_logs_action_output, + aaa_audit_logs_actor_output, + aaa_audit_logs_output, + aaa_audit_logs_owner_output, + aaa_audit_logs_resource_output, + aaa_audit_logs_response_collection_alt_output, + aaa_identifier_output, + aaa_messages_output, +} from "../../outputs.js"; /** * The tools of `user.audit_logs`. @@ -109,6 +121,35 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/aaa_audit_logs_response_collection_alt" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/aaa_audit_logs_response_collection_alt" + }, + { + "$ref": "#/$defs/aaa_api-response-common-failure" + } + ] + } + }, + $defs: { + "aaa_api-response-common": aaa_api_response_common_output, + "aaa_api-response-common-failure": aaa_api_response_common_failure_output, + "aaa_audit-logs": aaa_audit_logs_output, + "aaa_audit-logs_action": aaa_audit_logs_action_output, + "aaa_audit-logs_actor": aaa_audit_logs_actor_output, + "aaa_audit-logs_owner": aaa_audit_logs_owner_output, + "aaa_audit-logs_resource": aaa_audit_logs_resource_output, + "aaa_audit_logs_response_collection_alt": aaa_audit_logs_response_collection_alt_output, + "aaa_identifier": aaa_identifier_output, + "aaa_messages": aaa_messages_output, + }, + }, request: (args) => ({ path: `/user/audit_logs`, query: [ diff --git a/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts b/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts new file mode 100644 index 00000000..7a58ee27 --- /dev/null +++ b/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts @@ -0,0 +1,45 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `firewall_rule` in responses. + */ +export const firewall_rule_output: JsonSchema = { + "properties": { + "allowed_modes": { + "items": { + "$ref": "#/$defs/firewall_schemas-mode" + }, + "type": "array" + }, + "configuration": { + "$ref": "#/$defs/firewall_configuration" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/firewall_schemas-identifier" + }, + "mode": { + "$ref": "#/$defs/firewall_schemas-mode" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "notes": { + "$ref": "#/$defs/firewall_notes" + } + }, + "required": [ + "allowed_modes", + "configuration", + "id", + "mode" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/user/firewall/accessRules/tools.ts b/src/generated/forge-mcp/user/firewall/accessRules/tools.ts index 3c2ddc63..81dc31da 100644 --- a/src/generated/forge-mcp/user/firewall/accessRules/tools.ts +++ b/src/generated/forge-mcp/user/firewall/accessRules/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + firewall_api_response_common_failure_output, + firewall_asn_configuration_output, + firewall_cidr_configuration_output, + firewall_configuration_output, + firewall_country_configuration_output, + firewall_ip_configuration_output, + firewall_ipv6_configuration_output, + firewall_messages_output, + firewall_notes_output, + firewall_result_info_output, + firewall_schemas_identifier_output, + firewall_schemas_mode_output, +} from "../../../outputs.js"; import { firewall_asn_configuration, firewall_cidr_configuration, @@ -12,6 +26,7 @@ import { firewall_notes, firewall_schemas_mode, } from "../../../schemas.js"; +import { firewall_rule_output } from "./outputs.js"; /** * The tools of `user.firewall.access_rules`. @@ -79,6 +94,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/firewall_rule" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_asn_configuration": firewall_asn_configuration_output, + "firewall_cidr_configuration": firewall_cidr_configuration_output, + "firewall_configuration": firewall_configuration_output, + "firewall_country_configuration": firewall_country_configuration_output, + "firewall_ip_configuration": firewall_ip_configuration_output, + "firewall_ipv6_configuration": firewall_ipv6_configuration_output, + "firewall_messages": firewall_messages_output, + "firewall_notes": firewall_notes_output, + "firewall_rule": firewall_rule_output, + "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_schemas-mode": firewall_schemas_mode_output, + }, + }, request: (args) => ({ path: `/user/firewall/access_rules/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -120,6 +159,26 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/firewall_schemas-identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_messages": firewall_messages_output, + "firewall_schemas-identifier": firewall_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/user/firewall/access_rules/rules/${pathParam(args, "rule_id")}`, }), @@ -177,6 +236,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/firewall_rule" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_asn_configuration": firewall_asn_configuration_output, + "firewall_cidr_configuration": firewall_cidr_configuration_output, + "firewall_configuration": firewall_configuration_output, + "firewall_country_configuration": firewall_country_configuration_output, + "firewall_ip_configuration": firewall_ip_configuration_output, + "firewall_ipv6_configuration": firewall_ipv6_configuration_output, + "firewall_messages": firewall_messages_output, + "firewall_notes": firewall_notes_output, + "firewall_rule": firewall_rule_output, + "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_schemas-mode": firewall_schemas_mode_output, + }, + }, request: (args) => ({ path: `/user/firewall/access_rules/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -219,6 +302,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/firewall_rule" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_asn_configuration": firewall_asn_configuration_output, + "firewall_cidr_configuration": firewall_cidr_configuration_output, + "firewall_configuration": firewall_configuration_output, + "firewall_country_configuration": firewall_country_configuration_output, + "firewall_ip_configuration": firewall_ip_configuration_output, + "firewall_ipv6_configuration": firewall_ipv6_configuration_output, + "firewall_messages": firewall_messages_output, + "firewall_notes": firewall_notes_output, + "firewall_rule": firewall_rule_output, + "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_schemas-mode": firewall_schemas_mode_output, + }, + }, request: (args) => ({ path: `/user/firewall/access_rules/rules/${pathParam(args, "rule_id")}`, }), @@ -312,6 +419,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/firewall_rule" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/firewall_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/firewall_api-response-common-failure" + } + }, + $defs: { + "firewall_api-response-common-failure": firewall_api_response_common_failure_output, + "firewall_asn_configuration": firewall_asn_configuration_output, + "firewall_cidr_configuration": firewall_cidr_configuration_output, + "firewall_configuration": firewall_configuration_output, + "firewall_country_configuration": firewall_country_configuration_output, + "firewall_ip_configuration": firewall_ip_configuration_output, + "firewall_ipv6_configuration": firewall_ipv6_configuration_output, + "firewall_messages": firewall_messages_output, + "firewall_notes": firewall_notes_output, + "firewall_result_info": firewall_result_info_output, + "firewall_rule": firewall_rule_output, + "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_schemas-mode": firewall_schemas_mode_output, + }, + }, request: (args) => ({ path: `/user/firewall/access_rules/rules`, query: [ diff --git a/src/generated/forge-mcp/user/invites/outputs.ts b/src/generated/forge-mcp/user/invites/outputs.ts new file mode 100644 index 00000000..0da780b0 --- /dev/null +++ b/src/generated/forge-mcp/user/invites/outputs.ts @@ -0,0 +1,100 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_invite_components-schemas-identifier` in responses. + */ +export const iam_invite_components_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_invited_by` in responses. + */ +export const iam_invited_by_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_invited_member_email` in responses. + */ +export const iam_invited_member_email_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_invited_on` in responses. + */ +export const iam_invited_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `iam_schemas-expires_on` in responses. + */ +export const iam_schemas_expires_on_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `iam_user_invite` in responses. + */ +export const iam_user_invite_output: JsonSchema = { + "properties": { + "expires_on": { + "$ref": "#/$defs/iam_schemas-expires_on" + }, + "id": { + "$ref": "#/$defs/iam_invite_components-schemas-identifier" + }, + "invited_by": { + "$ref": "#/$defs/iam_invited_by" + }, + "invited_member_email": { + "$ref": "#/$defs/iam_invited_member_email" + }, + "invited_member_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "invited_on": { + "$ref": "#/$defs/iam_invited_on" + }, + "organization_id": { + "type": "string" + }, + "organization_is_enforcing_twofactor": { + "type": "boolean" + }, + "organization_name": { + "type": "string" + }, + "roles": { + "$ref": "#/$defs/iam_role_names" + }, + "status": { + "enum": [ + "pending", + "accepted", + "rejected", + "expired" + ], + "type": "string" + } + }, + "required": [ + "invited_member_id", + "organization_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/user/invites/tools.ts b/src/generated/forge-mcp/user/invites/tools.ts index 2a372ea1..8491c0f2 100644 --- a/src/generated/forge-mcp/user/invites/tools.ts +++ b/src/generated/forge-mcp/user/invites/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_messages_2_output, + iam_result_info_output, +} from "../../outputs.js"; +import { iam_role_names_output } from "../outputs.js"; +import { + iam_invite_components_schemas_identifier_output, + iam_invited_by_output, + iam_invited_member_email_output, + iam_invited_on_output, + iam_schemas_expires_on_output, + iam_user_invite_output, +} from "./outputs.js"; /** * The tools of `user.invites`. @@ -44,6 +58,27 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_user_invite" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier_output, + "iam_invited_by": iam_invited_by_output, + "iam_invited_member_email": iam_invited_member_email_output, + "iam_invited_on": iam_invited_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_role_names": iam_role_names_output, + "iam_schemas-expires_on": iam_schemas_expires_on_output, + "iam_user_invite": iam_user_invite_output, + }, + }, request: (args) => ({ path: `/user/invites/${pathParam(args, "invite_id")}`, }), @@ -77,6 +112,42 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_user_invite" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier_output, + "iam_invited_by": iam_invited_by_output, + "iam_invited_member_email": iam_invited_member_email_output, + "iam_invited_on": iam_invited_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_result_info": iam_result_info_output, + "iam_role_names": iam_role_names_output, + "iam_schemas-expires_on": iam_schemas_expires_on_output, + "iam_user_invite": iam_user_invite_output, + }, + }, request: (_args) => ({ path: `/user/invites`, }), @@ -134,6 +205,27 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_user_invite" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier_output, + "iam_invited_by": iam_invited_by_output, + "iam_invited_member_email": iam_invited_member_email_output, + "iam_invited_on": iam_invited_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_role_names": iam_role_names_output, + "iam_schemas-expires_on": iam_schemas_expires_on_output, + "iam_user_invite": iam_user_invite_output, + }, + }, request: (args) => ({ path: `/user/invites/${pathParam(args, "invite_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts b/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts index f90f46fd..395fa620 100644 --- a/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_identifier_output, + load_balancing_messages_output, +} from "../../../../outputs.js"; import { load_balancing_allow_insecure, load_balancing_consecutive_down, @@ -73,6 +78,32 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/user/load_balancers/monitors/{monitor_id}/preview", + responses: { + schemas: { + "200": { + "properties": { + "pools": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "preview_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/monitors/${pathParam(args, "monitor_id")}/preview`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts b/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts index de9b5ba2..79af662f 100644 --- a/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, +} from "../../../../outputs.js"; /** * The tools of `user.load_balancers.monitors.references`. @@ -37,6 +41,53 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "reference_type": { + "enum": [ + "*", + "referral", + "referrer" + ], + "type": "string" + }, + "resource_id": { + "type": "string" + }, + "resource_name": { + "type": "string" + }, + "resource_type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/monitors/${pathParam(args, "monitor_id")}/references`, }), diff --git a/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts b/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts index 8d460502..7d2b8a15 100644 --- a/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts @@ -2,6 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + load_balancing_allow_insecure_output, + load_balancing_api_response_common_failure_output, + load_balancing_consecutive_down_output, + load_balancing_consecutive_up_output, + load_balancing_description_output, + load_balancing_expected_body_output, + load_balancing_expected_codes_output, + load_balancing_follow_redirects_output, + load_balancing_header_output, + load_balancing_identifier_output, + load_balancing_interval_output, + load_balancing_messages_output, + load_balancing_method_output, + load_balancing_monitor_output, + load_balancing_path_output, + load_balancing_port_output, + load_balancing_probe_zone_output, + load_balancing_result_info_output, + load_balancing_retries_output, + load_balancing_timeout_output, + load_balancing_timestamp_output, + load_balancing_type_output, +} from "../../../outputs.js"; import { load_balancing_allow_insecure, load_balancing_consecutive_down, @@ -74,6 +98,39 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/monitors`, body: { value: args["body"], mediaType: "application/json" }, @@ -108,6 +165,26 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/monitors/${pathParam(args, "monitor_id")}`, }), @@ -164,6 +241,39 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/monitors/${pathParam(args, "monitor_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -199,6 +309,39 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/monitors/${pathParam(args, "monitor_id")}`, }), @@ -226,6 +369,54 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/load-balancing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (_args) => ({ path: `/user/load_balancers/monitors`, }), @@ -282,6 +473,39 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_monitor" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_allow_insecure": load_balancing_allow_insecure_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_consecutive_down": load_balancing_consecutive_down_output, + "load-balancing_consecutive_up": load_balancing_consecutive_up_output, + "load-balancing_description": load_balancing_description_output, + "load-balancing_expected_body": load_balancing_expected_body_output, + "load-balancing_expected_codes": load_balancing_expected_codes_output, + "load-balancing_follow_redirects": load_balancing_follow_redirects_output, + "load-balancing_header": load_balancing_header_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_interval": load_balancing_interval_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_method": load_balancing_method_output, + "load-balancing_monitor": load_balancing_monitor_output, + "load-balancing_path": load_balancing_path_output, + "load-balancing_port": load_balancing_port_output, + "load-balancing_probe_zone": load_balancing_probe_zone_output, + "load-balancing_retries": load_balancing_retries_output, + "load-balancing_timeout": load_balancing_timeout_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_type": load_balancing_type_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/monitors/${pathParam(args, "monitor_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts index 725accea..2745fa1e 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts @@ -2,6 +2,43 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + load_balancing_Host_output, + load_balancing_address_output, + load_balancing_api_response_common_failure_output, + load_balancing_check_regions_output, + load_balancing_disabled_at_output, + load_balancing_enabled_output, + load_balancing_filter_options_output, + load_balancing_health_sources_output, + load_balancing_latitude_output, + load_balancing_load_shedding_output, + load_balancing_longitude_output, + load_balancing_messages_output, + load_balancing_minimum_origins_output, + load_balancing_monitor_group_id_output, + load_balancing_monitor_id_output, + load_balancing_name_output, + load_balancing_networks_output, + load_balancing_notification_email_output, + load_balancing_notification_filter_output, + load_balancing_origin_flatten_cname_output, + load_balancing_origin_output, + load_balancing_origin_port_output, + load_balancing_origin_steering_output, + load_balancing_origins_output, + load_balancing_pool_output, + load_balancing_result_info_output, + load_balancing_schemas_description_output, + load_balancing_schemas_disabled_at_output, + load_balancing_schemas_enabled_output, + load_balancing_schemas_header_output, + load_balancing_schemas_identifier_output, + load_balancing_schemas_name_output, + load_balancing_timestamp_output, + load_balancing_virtual_network_id_output, + load_balancing_weight_output, +} from "../../../../../outputs.js"; import { load_balancing_Host, load_balancing_address, @@ -163,6 +200,52 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_pool" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools/${pathParam(args, "pool_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -206,6 +289,67 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/load-balancing_pool" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/load-balancing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts index c2458930..253d61a4 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, + load_balancing_origin_health_ip_output, + load_balancing_origin_health_output, +} from "../../../../outputs.js"; /** * The tools of `user.load_balancers.pools.health`. @@ -37,6 +43,41 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "pool_id": { + "type": "string" + }, + "pop_health": { + "properties": { + "healthy": { + "type": "boolean" + }, + "origins": { + "items": { + "$ref": "#/$defs/load-balancing_origin-health" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_origin-health": load_balancing_origin_health_output, + "load-balancing_origin-health_ip": load_balancing_origin_health_ip_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools/${pathParam(args, "pool_id")}/health`, }), diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts index 8eeaa8d2..2fc6300f 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_identifier_output, + load_balancing_messages_output, +} from "../../../../outputs.js"; import { load_balancing_allow_insecure, load_balancing_consecutive_down, @@ -73,6 +78,32 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/user/load_balancers/pools/{pool_id}/preview", + responses: { + schemas: { + "200": { + "properties": { + "pools": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "preview_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_identifier": load_balancing_identifier_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools/${pathParam(args, "pool_id")}/preview`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts index 051820fb..8ca489b0 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, +} from "../../../../outputs.js"; /** * The tools of `user.load_balancers.pools.references`. @@ -37,6 +41,53 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "reference_type": { + "enum": [ + "*", + "referral", + "referrer" + ], + "type": "string" + }, + "resource_id": { + "type": "string" + }, + "resource_name": { + "type": "string" + }, + "resource_type": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools/${pathParam(args, "pool_id")}/references`, }), diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts index b93670d9..01884b68 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts @@ -2,6 +2,43 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + load_balancing_Host_output, + load_balancing_address_output, + load_balancing_api_response_common_failure_output, + load_balancing_check_regions_output, + load_balancing_disabled_at_output, + load_balancing_enabled_output, + load_balancing_filter_options_output, + load_balancing_health_sources_output, + load_balancing_latitude_output, + load_balancing_load_shedding_output, + load_balancing_longitude_output, + load_balancing_messages_output, + load_balancing_minimum_origins_output, + load_balancing_monitor_group_id_output, + load_balancing_monitor_id_output, + load_balancing_name_output, + load_balancing_networks_output, + load_balancing_notification_email_output, + load_balancing_notification_filter_output, + load_balancing_origin_flatten_cname_output, + load_balancing_origin_output, + load_balancing_origin_port_output, + load_balancing_origin_steering_output, + load_balancing_origins_output, + load_balancing_pool_output, + load_balancing_result_info_output, + load_balancing_schemas_description_output, + load_balancing_schemas_disabled_at_output, + load_balancing_schemas_enabled_output, + load_balancing_schemas_header_output, + load_balancing_schemas_identifier_output, + load_balancing_schemas_name_output, + load_balancing_timestamp_output, + load_balancing_virtual_network_id_output, + load_balancing_weight_output, +} from "../../../outputs.js"; import { load_balancing_Host, load_balancing_address, @@ -168,6 +205,52 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_pool" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools`, body: { value: args["body"], mediaType: "application/json" }, @@ -202,6 +285,26 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools/${pathParam(args, "pool_id")}`, }), @@ -236,6 +339,52 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_pool" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools/${pathParam(args, "pool_id")}`, }), @@ -268,6 +417,67 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/load-balancing_pool" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/load-balancing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools`, query: [ @@ -411,6 +621,52 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_pool" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_Host": load_balancing_Host_output, + "load-balancing_address": load_balancing_address_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_check_regions": load_balancing_check_regions_output, + "load-balancing_disabled_at": load_balancing_disabled_at_output, + "load-balancing_enabled": load_balancing_enabled_output, + "load-balancing_filter_options": load_balancing_filter_options_output, + "load-balancing_health_sources": load_balancing_health_sources_output, + "load-balancing_latitude": load_balancing_latitude_output, + "load-balancing_load_shedding": load_balancing_load_shedding_output, + "load-balancing_longitude": load_balancing_longitude_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_minimum_origins": load_balancing_minimum_origins_output, + "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, + "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_name": load_balancing_name_output, + "load-balancing_networks": load_balancing_networks_output, + "load-balancing_notification_email": load_balancing_notification_email_output, + "load-balancing_notification_filter": load_balancing_notification_filter_output, + "load-balancing_origin": load_balancing_origin_output, + "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, + "load-balancing_origin_port": load_balancing_origin_port_output, + "load-balancing_origin_steering": load_balancing_origin_steering_output, + "load-balancing_origins": load_balancing_origins_output, + "load-balancing_pool": load_balancing_pool_output, + "load-balancing_schemas-description": load_balancing_schemas_description_output, + "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-header": load_balancing_schemas_header_output, + "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_timestamp": load_balancing_timestamp_output, + "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, + "load-balancing_weight": load_balancing_weight_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/pools/${pathParam(args, "pool_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts b/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts index 03cd10ce..121b46ef 100644 --- a/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, + load_balancing_origin_health_data_output, + load_balancing_preview_result_output, +} from "../../../outputs.js"; /** * The tools of `user.load_balancers.preview`. @@ -37,6 +43,22 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/load-balancing_preview_result" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_origin_health_data": load_balancing_origin_health_data_output, + "load-balancing_preview_result": load_balancing_preview_result_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/preview/${pathParam(args, "preview_id")}`, }), diff --git a/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts b/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts index d59c55c9..8c2ca764 100644 --- a/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import type { Tool } from "../../../_/tool.js"; +import { + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, +} from "../../../outputs.js"; import { load_balancing_subdivision_code_a2 } from "../../../schemas.js"; /** @@ -43,6 +47,20 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + }, + }, request: (args) => ({ path: `/user/load_balancers/regions`, query: [ diff --git a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts new file mode 100644 index 00000000..d68e1c77 --- /dev/null +++ b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts @@ -0,0 +1,87 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `load-balancing_analytics` in responses. + */ +export const load_balancing_analytics_output: JsonSchema = { + "properties": { + "id": { + "type": "integer" + }, + "origins": { + "items": { + "$ref": "#/$defs/load-balancing_origin-analytics" + }, + "type": "array" + }, + "pool": { + "type": "object" + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_origin-analytics` in responses. + */ +export const load_balancing_origin_analytics_output: JsonSchema = { + "properties": { + "address": { + "$ref": "#/$defs/load-balancing_address" + }, + "changed": { + "$ref": "#/$defs/load-balancing_origin-changed" + }, + "enabled": { + "$ref": "#/$defs/load-balancing_schemas-enabled" + }, + "failure_reason": { + "$ref": "#/$defs/load-balancing_origin-failure-reason" + }, + "healthy": { + "$ref": "#/$defs/load-balancing_origin-healthy" + }, + "ip": { + "$ref": "#/$defs/load-balancing_origin-ip" + }, + "name": { + "$ref": "#/$defs/load-balancing_schemas-name" + } + }, + "type": "object" +}; + +/** + * The schema of `load-balancing_origin-changed` in responses. + */ +export const load_balancing_origin_changed_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `load-balancing_origin-failure-reason` in responses. + */ +export const load_balancing_origin_failure_reason_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `load-balancing_origin-healthy` in responses. + */ +export const load_balancing_origin_healthy_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `load-balancing_origin-ip` in responses. + */ +export const load_balancing_origin_ip_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts index be017eca..e9fb9339 100644 --- a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts @@ -2,7 +2,23 @@ /* eslint-disable */ import type { Tool } from "../../../_/tool.js"; +import { + load_balancing_address_output, + load_balancing_api_response_common_failure_output, + load_balancing_messages_output, + load_balancing_result_info_output, + load_balancing_schemas_enabled_output, + load_balancing_schemas_name_output, +} from "../../../outputs.js"; import { load_balancing_schemas_identifier } from "../../../schemas.js"; +import { + load_balancing_analytics_output, + load_balancing_origin_analytics_output, + load_balancing_origin_changed_output, + load_balancing_origin_failure_reason_output, + load_balancing_origin_healthy_output, + load_balancing_origin_ip_output, +} from "./outputs.js"; import { load_balancing_origin_healthy_alt, load_balancing_pool_name, @@ -73,6 +89,44 @@ export const tools: readonly Tool[] = [ "Load Balancing: Monitors and Pools Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/load-balancing_analytics" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/load-balancing_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/load-balancing_api-response-common-failure" + } + }, + $defs: { + "load-balancing_address": load_balancing_address_output, + "load-balancing_analytics": load_balancing_analytics_output, + "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, + "load-balancing_messages": load_balancing_messages_output, + "load-balancing_origin-analytics": load_balancing_origin_analytics_output, + "load-balancing_origin-changed": load_balancing_origin_changed_output, + "load-balancing_origin-failure-reason": load_balancing_origin_failure_reason_output, + "load-balancing_origin-healthy": load_balancing_origin_healthy_output, + "load-balancing_origin-ip": load_balancing_origin_ip_output, + "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, + "load-balancing_schemas-name": load_balancing_schemas_name_output, + }, + }, request: (args) => ({ path: `/user/load_balancing_analytics/events`, query: [ diff --git a/src/generated/forge-mcp/user/memberships/outputs.ts b/src/generated/forge-mcp/user/memberships/outputs.ts new file mode 100644 index 00000000..f10d6b9f --- /dev/null +++ b/src/generated/forge-mcp/user/memberships/outputs.ts @@ -0,0 +1,194 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `iam_api_access_enabled` in responses. + */ +export const iam_api_access_enabled_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `iam_collection_membership_response` in responses. + */ +export const iam_collection_membership_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/iam_messages-2" + }, + "messages": { + "$ref": "#/$defs/iam_messages-2" + }, + "result": { + "items": { + "$ref": "#/$defs/iam_membership" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `iam_collection_membership_response_with_policies` in + * responses. + */ +export const iam_collection_membership_response_with_policies_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/iam_messages-2" + }, + "messages": { + "$ref": "#/$defs/iam_messages-2" + }, + "result": { + "items": { + "$ref": "#/$defs/iam_membership-with-policies" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `iam_membership` in responses. + */ +export const iam_membership_output: JsonSchema = { + "properties": { + "account": { + "$ref": "#/$defs/iam_schemas-account" + }, + "api_access_enabled": { + "$ref": "#/$defs/iam_api_access_enabled" + }, + "id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier" + }, + "permissions": { + "$ref": "#/$defs/iam_permissions" + }, + "roles": { + "$ref": "#/$defs/iam_role_names" + }, + "status": { + "$ref": "#/$defs/iam_schemas-status" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_membership-with-policies` in responses. + */ +export const iam_membership_with_policies_output: JsonSchema = { + "properties": { + "account": { + "$ref": "#/$defs/iam_schemas-account" + }, + "api_access_enabled": { + "$ref": "#/$defs/iam_api_access_enabled" + }, + "id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier" + }, + "permissions": { + "$ref": "#/$defs/iam_permissions" + }, + "policies": { + "items": { + "$ref": "#/$defs/iam_list_member_policy" + }, + "type": "array" + }, + "roles": { + "$ref": "#/$defs/iam_role_names" + }, + "status": { + "$ref": "#/$defs/iam_schemas-status" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_schemas-account` in responses. + */ +export const iam_schemas_account_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + }, + "managed_by": { + "$ref": "#/$defs/iam_account_managed_by" + }, + "name": { + "type": "string" + }, + "settings": { + "$ref": "#/$defs/iam_account_settings" + }, + "type": { + "$ref": "#/$defs/iam_account-type" + } + }, + "required": [ + "id", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `iam_schemas-status` in responses. + */ +export const iam_schemas_status_output: JsonSchema = { + "enum": [ + "accepted", + "pending", + "rejected" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/user/memberships/tools.ts b/src/generated/forge-mcp/user/memberships/tools.ts index ec5d30c4..8d9c138d 100644 --- a/src/generated/forge-mcp/user/memberships/tools.ts +++ b/src/generated/forge-mcp/user/memberships/tools.ts @@ -2,6 +2,41 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + iam_access_output, + iam_account_managed_by_output, + iam_account_settings_output, + iam_account_type_output, + iam_api_response_common_failure_output, + iam_common_components_schemas_identifier_output, + iam_grants_output, + iam_list_member_policy_output, + iam_membership_components_schemas_identifier_output, + iam_messages_2_output, + iam_permission_group_meta_output, + iam_permission_group_output, + iam_permission_groups_output, + iam_permissions_output, + iam_policy_identifier_output, + iam_resource_group_meta_output, + iam_resource_group_output, + iam_resource_groups_output, + iam_result_info_output, + iam_scope_key_output, + iam_scope_object_key_output, + iam_scope_object_output, + iam_scope_output, +} from "../../outputs.js"; +import { iam_role_names_output } from "../outputs.js"; +import { + iam_api_access_enabled_output, + iam_collection_membership_response_output, + iam_collection_membership_response_with_policies_output, + iam_membership_output, + iam_membership_with_policies_output, + iam_schemas_account_output, + iam_schemas_status_output, +} from "./outputs.js"; import { iam_properties_name } from "./schemas.js"; /** @@ -38,6 +73,26 @@ export const tools: readonly Tool[] = [ "Memberships Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/memberships/${pathParam(args, "membership_id")}`, }), @@ -113,6 +168,56 @@ export const tools: readonly Tool[] = [ "Memberships Read" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/iam_collection_membership_response" + }, + { + "$ref": "#/$defs/iam_collection_membership_response_with_policies" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_account-type": iam_account_type_output, + "iam_account_managed_by": iam_account_managed_by_output, + "iam_account_settings": iam_account_settings_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_api_access_enabled": iam_api_access_enabled_output, + "iam_collection_membership_response": iam_collection_membership_response_output, + "iam_collection_membership_response_with_policies": iam_collection_membership_response_with_policies_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_grants": iam_grants_output, + "iam_list_member_policy": iam_list_member_policy_output, + "iam_membership": iam_membership_output, + "iam_membership-with-policies": iam_membership_with_policies_output, + "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_permissions": iam_permissions_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_result_info": iam_result_info_output, + "iam_role_names": iam_role_names_output, + "iam_schemas-account": iam_schemas_account_output, + "iam_schemas-status": iam_schemas_status_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + }, + }, request: (args) => ({ path: `/memberships`, query: [ @@ -173,6 +278,45 @@ export const tools: readonly Tool[] = [ "Memberships Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_membership-with-policies" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_account-type": iam_account_type_output, + "iam_account_managed_by": iam_account_managed_by_output, + "iam_account_settings": iam_account_settings_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_api_access_enabled": iam_api_access_enabled_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_grants": iam_grants_output, + "iam_list_member_policy": iam_list_member_policy_output, + "iam_membership-with-policies": iam_membership_with_policies_output, + "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_permissions": iam_permissions_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_role_names": iam_role_names_output, + "iam_schemas-account": iam_schemas_account_output, + "iam_schemas-status": iam_schemas_status_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + }, + }, request: (args) => ({ path: `/memberships/${pathParam(args, "membership_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -225,6 +369,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_membership-with-policies" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_account-type": iam_account_type_output, + "iam_account_managed_by": iam_account_managed_by_output, + "iam_account_settings": iam_account_settings_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_api_access_enabled": iam_api_access_enabled_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_grants": iam_grants_output, + "iam_list_member_policy": iam_list_member_policy_output, + "iam_membership-with-policies": iam_membership_with_policies_output, + "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_permissions": iam_permissions_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_role_names": iam_role_names_output, + "iam_schemas-account": iam_schemas_account_output, + "iam_schemas-status": iam_schemas_status_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + }, + }, request: (args) => ({ path: `/user/memberships/${pathParam(args, "membership_id")}`, }), @@ -260,6 +443,45 @@ export const tools: readonly Tool[] = [ "Memberships Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_membership-with-policies" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_access": iam_access_output, + "iam_account-type": iam_account_type_output, + "iam_account_managed_by": iam_account_managed_by_output, + "iam_account_settings": iam_account_settings_output, + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_api_access_enabled": iam_api_access_enabled_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_grants": iam_grants_output, + "iam_list_member_policy": iam_list_member_policy_output, + "iam_membership-with-policies": iam_membership_with_policies_output, + "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_permissions": iam_permissions_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_resource_group": iam_resource_group_output, + "iam_resource_group_meta": iam_resource_group_meta_output, + "iam_resource_groups": iam_resource_groups_output, + "iam_role_names": iam_role_names_output, + "iam_schemas-account": iam_schemas_account_output, + "iam_schemas-status": iam_schemas_status_output, + "iam_scope": iam_scope_output, + "iam_scope_key": iam_scope_key_output, + "iam_scope_object": iam_scope_object_output, + "iam_scope_object_key": iam_scope_object_key_output, + }, + }, request: (args) => ({ path: `/memberships/${pathParam(args, "membership_id")}`, }), diff --git a/src/generated/forge-mcp/user/outputs.ts b/src/generated/forge-mcp/user/outputs.ts new file mode 100644 index 00000000..8f26d04b --- /dev/null +++ b/src/generated/forge-mcp/user/outputs.ts @@ -0,0 +1,118 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `iam_components-schemas-status` in responses. + */ +export const iam_components_schemas_status_output: JsonSchema = { + "enum": [ + "member", + "invited" + ], + "type": "string" +}; + +/** + * The schema of `iam_country` in responses. + */ +export const iam_country_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `iam_organization` in responses. + */ +export const iam_organization_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + }, + "name": { + "$ref": "#/$defs/iam_schemas-name" + }, + "permissions": { + "$ref": "#/$defs/iam_schemas-permissions" + }, + "roles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "$ref": "#/$defs/iam_components-schemas-status" + } + }, + "type": "object" +}; + +/** + * The schema of `iam_role_names` in responses. + */ +export const iam_role_names_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `iam_schemas-name` in responses. + */ +export const iam_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `iam_schemas-permissions` in responses. + */ +export const iam_schemas_permissions_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `iam_telephone` in responses. + */ +export const iam_telephone_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `iam_two_factor_authentication_locked` in responses. + */ +export const iam_two_factor_authentication_locked_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `iam_zipcode` in responses. + */ +export const iam_zipcode_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/user/subscriptions/tools.ts b/src/generated/forge-mcp/user/subscriptions/tools.ts index 5c750ce0..952d8f29 100644 --- a/src/generated/forge-mcp/user/subscriptions/tools.ts +++ b/src/generated/forge-mcp/user/subscriptions/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_component_value_output, + bill_subs_api_component_values_output, + bill_subs_api_currency_output, + bill_subs_api_current_period_end_output, + bill_subs_api_current_period_start_output, + bill_subs_api_frequency_output, + bill_subs_api_identifier_output, + bill_subs_api_install_id_output, + bill_subs_api_messages_output, + bill_subs_api_name_output, + bill_subs_api_price_output, + bill_subs_api_rate_plan_output, + bill_subs_api_result_info_output, + bill_subs_api_schemas_identifier_output, + bill_subs_api_state_output, + bill_subs_api_subscription_v2_app_output, + bill_subs_api_subscription_v2_output, + bill_subs_api_zone_output, +} from "../../outputs.js"; import { bill_subs_api_component_value, bill_subs_api_component_values, @@ -57,6 +78,26 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "subscription_id": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/user/subscriptions/${pathParam(args, "identifier")}`, }), @@ -94,6 +135,51 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/bill-subs-api_subscription-v2" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/bill-subs-api_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_component_value": bill_subs_api_component_value_output, + "bill-subs-api_component_values": bill_subs_api_component_values_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, + "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, + "bill-subs-api_frequency": bill_subs_api_frequency_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_install_id": bill_subs_api_install_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_name": bill_subs_api_name_output, + "bill-subs-api_price": bill_subs_api_price_output, + "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, + "bill-subs-api_result_info": bill_subs_api_result_info_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_state": bill_subs_api_state_output, + "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, + "bill-subs-api_subscription-v2_app": bill_subs_api_subscription_v2_app_output, + "bill-subs-api_zone": bill_subs_api_zone_output, + }, + }, request: (_args) => ({ path: `/user/subscriptions`, }), @@ -162,6 +248,20 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + }, + }, request: (args) => ({ path: `/user/subscriptions/${pathParam(args, "identifier")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/user/tenant/tools.ts b/src/generated/forge-mcp/user/tenant/tools.ts index 4093dbd7..965e1796 100644 --- a/src/generated/forge-mcp/user/tenant/tools.ts +++ b/src/generated/forge-mcp/user/tenant/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import type { Tool } from "../../_/tool.js"; +import { + organizations_api_OrganizationFlags_output, + organizations_api_OrganizationID_output, + organizations_api_Organization_meta_output, + organizations_api_Organization_output, + organizations_api_Organization_parent_output, + organizations_api_Profile_output, + organizations_api_V4ErrorResponse_output, + organizations_api_V4Message_output, +} from "../../outputs.js"; /** * The tools of `user.tenant`. @@ -30,6 +40,40 @@ export const tools: readonly Tool[] = [ "User Details Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/organizations-api_Organization" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/organizations-api_V4ErrorResponse" + } + }, + $defs: { + "organizations-api_Organization": organizations_api_Organization_output, + "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, + "organizations-api_OrganizationID": organizations_api_OrganizationID_output, + "organizations-api_Organization_meta": organizations_api_Organization_meta_output, + "organizations-api_Organization_parent": organizations_api_Organization_parent_output, + "organizations-api_Profile": organizations_api_Profile_output, + "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, + "organizations-api_V4Message": organizations_api_V4Message_output, + }, + }, request: (_args) => ({ path: `/user/tenants`, }), diff --git a/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts b/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts index 7452588e..7acf5f61 100644 --- a/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts +++ b/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import type { Tool } from "../../../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_messages_2_output, + iam_result_info_output, +} from "../../../outputs.js"; /** * The tools of `user.tokens.permission_groups`. @@ -55,6 +60,76 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "category": { + "enum": [ + "developer_platform", + "ai_and_machine_learning", + "dns_and_zones", + "app_security", + "rules_and_configuration", + "cloudflare_one_and_zero_trust", + "analytics_and_logs", + "network_services", + "media", + "email_and_messaging", + "cache_and_performance", + "account_and_billing", + "other" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "is_selectable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "scopes": { + "items": { + "enum": [ + "com.cloudflare.api.account", + "com.cloudflare.api.account.zone", + "com.cloudflare.api.user", + "com.cloudflare.edge.r2.bucket" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_result_info": iam_result_info_output, + }, + }, request: (args) => ({ path: `/user/tokens/permission_groups`, query: [ diff --git a/src/generated/forge-mcp/user/tokens/tools.ts b/src/generated/forge-mcp/user/tokens/tools.ts index eceebcb1..e1bad73e 100644 --- a/src/generated/forge-mcp/user/tokens/tools.ts +++ b/src/generated/forge-mcp/user/tokens/tools.ts @@ -2,6 +2,39 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_cidr_list_output, + iam_common_components_schemas_identifier_output, + iam_condition_output, + iam_creator_email_at_creation_output, + iam_effect_output, + iam_expires_on_output, + iam_issued_on_output, + iam_last_used_on_output, + iam_messages_2_output, + iam_modified_on_output, + iam_name_output, + iam_not_before_output, + iam_permission_group_meta_output, + iam_permission_group_output, + iam_permission_groups_output, + iam_policy_identifier_output, + iam_policy_with_permission_groups_and_resources_output, + iam_provisioner_id_output, + iam_provisioner_type_output, + iam_request_ip_output, + iam_resources_output, + iam_resources_type_object_nested_output, + iam_resources_type_object_string_output, + iam_result_info_output, + iam_token_base_output, + iam_token_identifier_output, + iam_token_policies_output, + iam_token_status_output, + iam_token_with_value_output, + iam_value_output, +} from "../../outputs.js"; import { iam_cidr_list, iam_condition, @@ -90,6 +123,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_token_with_value" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_cidr_list": iam_cidr_list_output, + "iam_condition": iam_condition_output, + "iam_creator_email_at_creation": iam_creator_email_at_creation_output, + "iam_effect": iam_effect_output, + "iam_expires_on": iam_expires_on_output, + "iam_issued_on": iam_issued_on_output, + "iam_last_used_on": iam_last_used_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_modified_on": iam_modified_on_output, + "iam_name": iam_name_output, + "iam_not_before": iam_not_before_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, + "iam_provisioner_id": iam_provisioner_id_output, + "iam_provisioner_type": iam_provisioner_type_output, + "iam_request_ip": iam_request_ip_output, + "iam_resources": iam_resources_output, + "iam_resources_type_object_nested": iam_resources_type_object_nested_output, + "iam_resources_type_object_string": iam_resources_type_object_string_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_policies": iam_token_policies_output, + "iam_token_status": iam_token_status_output, + "iam_token_with_value": iam_token_with_value_output, + "iam_value": iam_value_output, + }, + }, request: (args) => ({ path: `/user/tokens`, body: { value: args["body"], mediaType: "application/json" }, @@ -141,6 +214,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/iam_common_components-schemas-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_messages-2": iam_messages_2_output, + }, + }, request: (args) => ({ path: `/user/tokens/${pathParam(args, "token_id")}`, }), @@ -192,6 +295,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_token_base" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_cidr_list": iam_cidr_list_output, + "iam_condition": iam_condition_output, + "iam_creator_email_at_creation": iam_creator_email_at_creation_output, + "iam_effect": iam_effect_output, + "iam_expires_on": iam_expires_on_output, + "iam_issued_on": iam_issued_on_output, + "iam_last_used_on": iam_last_used_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_modified_on": iam_modified_on_output, + "iam_name": iam_name_output, + "iam_not_before": iam_not_before_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, + "iam_provisioner_id": iam_provisioner_id_output, + "iam_provisioner_type": iam_provisioner_type_output, + "iam_request_ip": iam_request_ip_output, + "iam_resources": iam_resources_output, + "iam_resources_type_object_nested": iam_resources_type_object_nested_output, + "iam_resources_type_object_string": iam_resources_type_object_string_output, + "iam_token_base": iam_token_base_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_policies": iam_token_policies_output, + "iam_token_status": iam_token_status_output, + }, + }, request: (args) => ({ path: `/user/tokens/${pathParam(args, "token_id")}`, }), @@ -259,6 +401,60 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/iam_token_base" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/iam_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_cidr_list": iam_cidr_list_output, + "iam_condition": iam_condition_output, + "iam_creator_email_at_creation": iam_creator_email_at_creation_output, + "iam_effect": iam_effect_output, + "iam_expires_on": iam_expires_on_output, + "iam_issued_on": iam_issued_on_output, + "iam_last_used_on": iam_last_used_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_modified_on": iam_modified_on_output, + "iam_name": iam_name_output, + "iam_not_before": iam_not_before_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, + "iam_provisioner_id": iam_provisioner_id_output, + "iam_provisioner_type": iam_provisioner_type_output, + "iam_request_ip": iam_request_ip_output, + "iam_resources": iam_resources_output, + "iam_resources_type_object_nested": iam_resources_type_object_nested_output, + "iam_resources_type_object_string": iam_resources_type_object_string_output, + "iam_result_info": iam_result_info_output, + "iam_token_base": iam_token_base_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_policies": iam_token_policies_output, + "iam_token_status": iam_token_status_output, + }, + }, request: (args) => ({ path: `/user/tokens`, query: [ @@ -315,6 +511,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_value" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_messages-2": iam_messages_2_output, + "iam_value": iam_value_output, + }, + }, request: (args) => ({ path: `/user/tokens/${pathParam(args, "token_id")}/value`, }), @@ -388,6 +599,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/iam_token_base" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_cidr_list": iam_cidr_list_output, + "iam_condition": iam_condition_output, + "iam_creator_email_at_creation": iam_creator_email_at_creation_output, + "iam_effect": iam_effect_output, + "iam_expires_on": iam_expires_on_output, + "iam_issued_on": iam_issued_on_output, + "iam_last_used_on": iam_last_used_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_modified_on": iam_modified_on_output, + "iam_name": iam_name_output, + "iam_not_before": iam_not_before_output, + "iam_permission_group": iam_permission_group_output, + "iam_permission_group_meta": iam_permission_group_meta_output, + "iam_permission_groups": iam_permission_groups_output, + "iam_policy_identifier": iam_policy_identifier_output, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, + "iam_provisioner_id": iam_provisioner_id_output, + "iam_provisioner_type": iam_provisioner_type_output, + "iam_request_ip": iam_request_ip_output, + "iam_resources": iam_resources_output, + "iam_resources_type_object_nested": iam_resources_type_object_nested_output, + "iam_resources_type_object_string": iam_resources_type_object_string_output, + "iam_token_base": iam_token_base_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_policies": iam_token_policies_output, + "iam_token_status": iam_token_status_output, + }, + }, request: (args) => ({ path: `/user/tokens/${pathParam(args, "token_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -418,6 +668,42 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "expires_on": { + "$ref": "#/$defs/iam_expires_on" + }, + "id": { + "$ref": "#/$defs/iam_token_identifier" + }, + "not_before": { + "$ref": "#/$defs/iam_not_before" + }, + "status": { + "$ref": "#/$defs/iam_token_status" + } + }, + "required": [ + "id", + "status" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_expires_on": iam_expires_on_output, + "iam_messages-2": iam_messages_2_output, + "iam_not_before": iam_not_before_output, + "iam_token_identifier": iam_token_identifier_output, + "iam_token_status": iam_token_status_output, + }, + }, request: (_args) => ({ path: `/user/tokens/verify`, }), diff --git a/src/generated/forge-mcp/user/tools.ts b/src/generated/forge-mcp/user/tools.ts index 895bc7b6..14347eb6 100644 --- a/src/generated/forge-mcp/user/tools.ts +++ b/src/generated/forge-mcp/user/tools.ts @@ -2,7 +2,25 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; +import { + iam_api_response_common_failure_output, + iam_common_components_schemas_identifier_output, + iam_first_name_output, + iam_last_name_output, + iam_messages_2_output, + iam_two_factor_authentication_enabled_output, +} from "../outputs.js"; import { iam_first_name, iam_last_name } from "../schemas.js"; +import { + iam_components_schemas_status_output, + iam_country_output, + iam_organization_output, + iam_schemas_name_output, + iam_schemas_permissions_output, + iam_telephone_output, + iam_two_factor_authentication_locked_output, + iam_zipcode_output, +} from "./outputs.js"; import { iam_country, iam_telephone, iam_zipcode } from "./schemas.js"; /** @@ -83,6 +101,89 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "betas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "country": { + "$ref": "#/$defs/iam_country" + }, + "email": { + "type": "string" + }, + "first_name": { + "$ref": "#/$defs/iam_first_name" + }, + "has_business_zones": { + "type": "boolean" + }, + "has_enterprise_zones": { + "type": "boolean" + }, + "has_pro_zones": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "last_name": { + "$ref": "#/$defs/iam_last_name" + }, + "organizations": { + "items": { + "$ref": "#/$defs/iam_organization" + }, + "type": "array" + }, + "suspended": { + "type": "boolean" + }, + "telephone": { + "$ref": "#/$defs/iam_telephone" + }, + "two_factor_authentication_enabled": { + "$ref": "#/$defs/iam_two_factor_authentication_enabled" + }, + "two_factor_authentication_locked": { + "$ref": "#/$defs/iam_two_factor_authentication_locked" + }, + "zipcode": { + "$ref": "#/$defs/iam_zipcode" + } + }, + "required": [ + "email", + "id" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_components-schemas-status": iam_components_schemas_status_output, + "iam_country": iam_country_output, + "iam_first_name": iam_first_name_output, + "iam_last_name": iam_last_name_output, + "iam_messages-2": iam_messages_2_output, + "iam_organization": iam_organization_output, + "iam_schemas-name": iam_schemas_name_output, + "iam_schemas-permissions": iam_schemas_permissions_output, + "iam_telephone": iam_telephone_output, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked_output, + "iam_zipcode": iam_zipcode_output, + }, + }, request: (args) => ({ path: `/user`, body: { value: args["body"], mediaType: "application/json" }, @@ -127,6 +228,89 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "betas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "country": { + "$ref": "#/$defs/iam_country" + }, + "email": { + "type": "string" + }, + "first_name": { + "$ref": "#/$defs/iam_first_name" + }, + "has_business_zones": { + "type": "boolean" + }, + "has_enterprise_zones": { + "type": "boolean" + }, + "has_pro_zones": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "last_name": { + "$ref": "#/$defs/iam_last_name" + }, + "organizations": { + "items": { + "$ref": "#/$defs/iam_organization" + }, + "type": "array" + }, + "suspended": { + "type": "boolean" + }, + "telephone": { + "$ref": "#/$defs/iam_telephone" + }, + "two_factor_authentication_enabled": { + "$ref": "#/$defs/iam_two_factor_authentication_enabled" + }, + "two_factor_authentication_locked": { + "$ref": "#/$defs/iam_two_factor_authentication_locked" + }, + "zipcode": { + "$ref": "#/$defs/iam_zipcode" + } + }, + "required": [ + "email", + "id" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/iam_api-response-common-failure" + } + }, + $defs: { + "iam_api-response-common-failure": iam_api_response_common_failure_output, + "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, + "iam_components-schemas-status": iam_components_schemas_status_output, + "iam_country": iam_country_output, + "iam_first_name": iam_first_name_output, + "iam_last_name": iam_last_name_output, + "iam_messages-2": iam_messages_2_output, + "iam_organization": iam_organization_output, + "iam_schemas-name": iam_schemas_name_output, + "iam_schemas-permissions": iam_schemas_permissions_output, + "iam_telephone": iam_telephone_output, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked_output, + "iam_zipcode": iam_zipcode_output, + }, + }, request: (_args) => ({ path: `/user`, }), diff --git a/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts b/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts new file mode 100644 index 00000000..83c08c45 --- /dev/null +++ b/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts @@ -0,0 +1,64 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `vectorize_create-metadata-index-response` in responses. + */ +export const vectorize_create_metadata_index_response_output: JsonSchema = { + "properties": { + "mutationId": { + "$ref": "#/$defs/vectorize_mutation-uuid" + } + }, + "type": "object" +}; + +/** + * The schema of `vectorize_delete-metadata-index-response` in responses. + */ +export const vectorize_delete_metadata_index_response_output: JsonSchema = { + "properties": { + "mutationId": { + "$ref": "#/$defs/vectorize_mutation-uuid" + } + }, + "type": "object" +}; + +/** + * The schema of `vectorize_list-metadata-index-response` in responses. + */ +export const vectorize_list_metadata_index_response_output: JsonSchema = { + "properties": { + "metadataIndexes": { + "items": { + "$ref": "#/$defs/vectorize_list-metadata-index-response_metadataIndexesItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `vectorize_list-metadata-index-response_metadataIndexesItem` in + * responses. + */ +export const vectorize_list_metadata_index_response_metadataIndexesItem_output: JsonSchema = { + "properties": { + "indexType": { + "enum": [ + "string", + "number", + "boolean" + ], + "type": "string" + }, + "propertyName": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts b/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts index 03a5d1b7..e803aa31 100644 --- a/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts +++ b/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + vectorize_api_response_common_failure_output, + vectorize_messages_output, + vectorize_mutation_uuid_output, +} from "../outputs.js"; +import { + vectorize_create_metadata_index_response_output, + vectorize_delete_metadata_index_response_output, + vectorize_list_metadata_index_response_metadataIndexesItem_output, + vectorize_list_metadata_index_response_output, +} from "./outputs.js"; import { vectorize_create_metadata_index_request, vectorize_delete_metadata_index_request, @@ -62,6 +73,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vectorize_create-metadata-index-response" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_create-metadata-index-response": vectorize_create_metadata_index_response_output, + "vectorize_messages": vectorize_messages_output, + "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}/metadata_index/create`, body: { value: args["body"], mediaType: "application/json" }, @@ -118,6 +145,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vectorize_delete-metadata-index-response" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_delete-metadata-index-response": vectorize_delete_metadata_index_response_output, + "vectorize_messages": vectorize_messages_output, + "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}/metadata_index/delete`, body: { value: args["body"], mediaType: "application/json" }, @@ -158,6 +201,22 @@ export const tools: readonly Tool[] = [ "Vectorize Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vectorize_list-metadata-index-response" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_list-metadata-index-response": vectorize_list_metadata_index_response_output, + "vectorize_list-metadata-index-response_metadataIndexesItem": vectorize_list_metadata_index_response_metadataIndexesItem_output, + "vectorize_messages": vectorize_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}/metadata_index/list`, }), diff --git a/src/generated/forge-mcp/vectorize/outputs.ts b/src/generated/forge-mcp/vectorize/outputs.ts new file mode 100644 index 00000000..86d69c59 --- /dev/null +++ b/src/generated/forge-mcp/vectorize/outputs.ts @@ -0,0 +1,390 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `vectorize_api-response-common-failure` in responses. + */ +export const vectorize_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/vectorize_messages" + }, + "messages": { + "$ref": "#/$defs/vectorize_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `vectorize_create-index-response` in responses. + */ +export const vectorize_create_index_response_output: JsonSchema = { + "properties": { + "config": { + "allOf": [ + { + "$ref": "#/$defs/vectorize_index-dimension-configuration" + }, + { + "properties": { + "preset": { + "$ref": "#/$defs/vectorize_index-preset" + } + }, + "type": "object" + } + ] + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "description": { + "$ref": "#/$defs/vectorize_index-description" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "type": "object" +}; + +/** + * The schema of `vectorize_index-delete-vectors-by-id-v2-response` in + * responses. + */ +export const vectorize_index_delete_vectors_by_id_v2_response_output: JsonSchema = { + "properties": { + "mutationId": { + "$ref": "#/$defs/vectorize_mutation-uuid" + } + }, + "type": "object" +}; + +/** + * The schema of `vectorize_index-description` in responses. + */ +export const vectorize_index_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `vectorize_index-dimension-configuration` in responses. + */ +export const vectorize_index_dimension_configuration_output: JsonSchema = { + "properties": { + "dimensions": { + "$ref": "#/$defs/vectorize_index-dimensions" + }, + "metric": { + "$ref": "#/$defs/vectorize_index-metric" + } + }, + "required": [ + "dimensions", + "metric" + ], + "type": "object" +}; + +/** + * The schema of `vectorize_index-dimensions` in responses. + */ +export const vectorize_index_dimensions_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `vectorize_index-get-vectors-by-id-response` in responses. + */ +export const vectorize_index_get_vectors_by_id_response_output: JsonSchema = { + "items": { + "properties": { + "id": { + "$ref": "#/$defs/vectorize_vector-identifier" + }, + "metadata": { + "type": "object" + }, + "namespace": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "values": { + "items": { + "type": "number" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `vectorize_index-info-response` in responses. + */ +export const vectorize_index_info_response_output: JsonSchema = { + "properties": { + "dimensions": { + "$ref": "#/$defs/vectorize_index-dimensions" + }, + "processedUpToDatetime": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "processedUpToMutation": { + "oneOf": [ + { + "$ref": "#/$defs/vectorize_mutation-uuid" + }, + { + "type": "null" + } + ] + }, + "vectorCount": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `vectorize_index-list-vectors-response` in responses. + */ +export const vectorize_index_list_vectors_response_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursorExpirationTimestamp": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "isTruncated": { + "type": "boolean" + }, + "nextCursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "totalCount": { + "type": "integer" + }, + "vectors": { + "items": { + "$ref": "#/$defs/vectorize_vector-list-item" + }, + "type": "array" + } + }, + "required": [ + "count", + "isTruncated", + "totalCount", + "vectors" + ], + "type": "object" +}; + +/** + * The schema of `vectorize_index-metric` in responses. + */ +export const vectorize_index_metric_output: JsonSchema = { + "enum": [ + "cosine", + "euclidean", + "dot-product" + ], + "type": "string" +}; + +/** + * The schema of `vectorize_index-name` in responses. + */ +export const vectorize_index_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `vectorize_index-preset` in responses. + */ +export const vectorize_index_preset_output: JsonSchema = { + "enum": [ + "@cf/baai/bge-small-en-v1.5", + "@cf/baai/bge-base-en-v1.5", + "@cf/baai/bge-large-en-v1.5", + "openai/text-embedding-ada-002", + "cohere/embed-multilingual-v2.0" + ], + "type": "string" +}; + +/** + * The schema of `vectorize_index-query-v2-response` in responses. + */ +export const vectorize_index_query_v2_response_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "matches": { + "items": { + "$ref": "#/$defs/vectorize_index-query-v2-response_matchesItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `vectorize_index-query-v2-response_matchesItem` in responses. + */ +export const vectorize_index_query_v2_response_matchesItem_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/vectorize_vector-identifier" + }, + "metadata": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "namespace": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "score": { + "type": "number" + }, + "values": { + "oneOf": [ + { + "items": { + "type": "number" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `vectorize_messages` in responses. + */ +export const vectorize_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `vectorize_mutation-uuid` in responses. + */ +export const vectorize_mutation_uuid_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `vectorize_vector-identifier` in responses. + */ +export const vectorize_vector_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `vectorize_vector-list-item` in responses. + */ +export const vectorize_vector_list_item_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/vectorize_vector-identifier" + } + }, + "required": [ + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/vectorize/tools.ts b/src/generated/forge-mcp/vectorize/tools.ts index 16cef605..49903ccd 100644 --- a/src/generated/forge-mcp/vectorize/tools.ts +++ b/src/generated/forge-mcp/vectorize/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + vectorize_api_response_common_failure_output, + vectorize_create_index_response_output, + vectorize_index_delete_vectors_by_id_v2_response_output, + vectorize_index_description_output, + vectorize_index_dimension_configuration_output, + vectorize_index_dimensions_output, + vectorize_index_get_vectors_by_id_response_output, + vectorize_index_info_response_output, + vectorize_index_list_vectors_response_output, + vectorize_index_metric_output, + vectorize_index_name_output, + vectorize_index_preset_output, + vectorize_index_query_v2_response_matchesItem_output, + vectorize_index_query_v2_response_output, + vectorize_messages_output, + vectorize_mutation_uuid_output, + vectorize_vector_identifier_output, + vectorize_vector_list_item_output, +} from "./outputs.js"; import { vectorize_create_index_request, vectorize_index_configuration, @@ -77,6 +97,27 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vectorize_create-index-response" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_create-index-response": vectorize_create_index_response_output, + "vectorize_index-description": vectorize_index_description_output, + "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration_output, + "vectorize_index-dimensions": vectorize_index_dimensions_output, + "vectorize_index-metric": vectorize_index_metric_output, + "vectorize_index-name": vectorize_index_name_output, + "vectorize_index-preset": vectorize_index_preset_output, + "vectorize_messages": vectorize_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes`, body: { value: args["body"], mediaType: "application/json" }, @@ -126,6 +167,27 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_messages": vectorize_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}`, }), @@ -182,6 +244,22 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vectorize_index-delete-vectors-by-id-v2-response" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_index-delete-vectors-by-id-v2-response": vectorize_index_delete_vectors_by_id_v2_response_output, + "vectorize_messages": vectorize_messages_output, + "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}/delete_by_ids`, body: { value: args["body"], mediaType: "application/json" }, @@ -232,6 +310,27 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vectorize_create-index-response" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_create-index-response": vectorize_create_index_response_output, + "vectorize_index-description": vectorize_index_description_output, + "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration_output, + "vectorize_index-dimensions": vectorize_index_dimensions_output, + "vectorize_index-metric": vectorize_index_metric_output, + "vectorize_index-name": vectorize_index_name_output, + "vectorize_index-preset": vectorize_index_preset_output, + "vectorize_messages": vectorize_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}`, }), @@ -279,6 +378,33 @@ export const tools: readonly Tool[] = [ "Vectorize Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/vectorize_index-get-vectors-by-id-response" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_index-get-vectors-by-id-response": vectorize_index_get_vectors_by_id_response_output, + "vectorize_messages": vectorize_messages_output, + "vectorize_vector-identifier": vectorize_vector_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}/get_by_ids`, body: { value: args["body"], mediaType: "application/json" }, @@ -329,6 +455,23 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vectorize_index-info-response" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_index-dimensions": vectorize_index_dimensions_output, + "vectorize_index-info-response": vectorize_index_info_response_output, + "vectorize_messages": vectorize_messages_output, + "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}/info`, }), @@ -374,6 +517,41 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/vectorize_create-index-response" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_create-index-response": vectorize_create_index_response_output, + "vectorize_index-description": vectorize_index_description_output, + "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration_output, + "vectorize_index-dimensions": vectorize_index_dimensions_output, + "vectorize_index-metric": vectorize_index_metric_output, + "vectorize_index-name": vectorize_index_name_output, + "vectorize_index-preset": vectorize_index_preset_output, + "vectorize_messages": vectorize_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes`, }), @@ -432,6 +610,23 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vectorize_index-list-vectors-response" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_index-list-vectors-response": vectorize_index_list_vectors_response_output, + "vectorize_messages": vectorize_messages_output, + "vectorize_vector-identifier": vectorize_vector_identifier_output, + "vectorize_vector-list-item": vectorize_vector_list_item_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}/list`, query: [ @@ -482,6 +677,23 @@ export const tools: readonly Tool[] = [ "Vectorize Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/vectorize_index-query-v2-response" + }, + "4XX": { + "$ref": "#/$defs/vectorize_api-response-common-failure" + } + }, + $defs: { + "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, + "vectorize_index-query-v2-response": vectorize_index_query_v2_response_output, + "vectorize_index-query-v2-response_matchesItem": vectorize_index_query_v2_response_matchesItem_output, + "vectorize_messages": vectorize_messages_output, + "vectorize_vector-identifier": vectorize_vector_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}/query`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/verify/tools.ts b/src/generated/forge-mcp/verify/tools.ts index 2ba3c8a3..560fda65 100644 --- a/src/generated/forge-mcp/verify/tools.ts +++ b/src/generated/forge-mcp/verify/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { brand_protection_api_Error_output } from "../outputs.js"; /** * The tools of `verify`. @@ -36,6 +37,16 @@ export const tools: readonly Tool[] = [ "Intel Write" ] }, + responses: { + schemas: { + "default": { + "$ref": "#/$defs/brand-protection-api_Error" + } + }, + $defs: { + "brand-protection-api_Error": brand_protection_api_Error_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/brand-protection/verify`, }), diff --git a/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/outputs.ts b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/outputs.ts new file mode 100644 index 00000000..c05f29e0 --- /dev/null +++ b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/outputs.ts @@ -0,0 +1,63 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `waitingroom_response_collection` in responses. + */ +export const waitingroom_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/waitingroom_waitingroom" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/waitingroom_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_response_collection_result_info` in responses. + */ +export const waitingroom_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts index f1dcb484..699498df 100644 --- a/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts @@ -2,6 +2,40 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + waitingroom_additional_routes_output, + waitingroom_api_response_common_failure_output, + waitingroom_cookie_attributes_output, + waitingroom_cookie_suffix_output, + waitingroom_custom_page_html_output, + waitingroom_default_template_language_output, + waitingroom_description_output, + waitingroom_disable_session_renewal_output, + waitingroom_enabled_origin_commands_output, + waitingroom_host_output, + waitingroom_json_response_enabled_output, + waitingroom_messages_output, + waitingroom_name_output, + waitingroom_new_users_per_minute_output, + waitingroom_next_event_prequeue_start_time_output, + waitingroom_next_event_start_time_output, + waitingroom_path_output, + waitingroom_queue_all_output, + waitingroom_queueing_method_output, + waitingroom_queueing_status_code_output, + waitingroom_session_duration_output, + waitingroom_suspended_output, + waitingroom_timestamp_output, + waitingroom_total_active_users_output, + waitingroom_turnstile_action_output, + waitingroom_turnstile_mode_output, + waitingroom_waiting_room_id_output, + waitingroom_waitingroom_output, +} from "../outputs.js"; +import { + waitingroom_response_collection_output, + waitingroom_response_collection_result_info_output, +} from "./outputs.js"; /** * The tools of `waiting_rooms.account_waiting_rooms`. @@ -62,6 +96,86 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waitingroom_waitingroom" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_response_collection" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_additional_routes": waitingroom_additional_routes_output, + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, + "waitingroom_custom_page_html": waitingroom_custom_page_html_output, + "waitingroom_default_template_language": waitingroom_default_template_language_output, + "waitingroom_description": waitingroom_description_output, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, + "waitingroom_host": waitingroom_host_output, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_name": waitingroom_name_output, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, + "waitingroom_path": waitingroom_path_output, + "waitingroom_queue_all": waitingroom_queue_all_output, + "waitingroom_queueing_method": waitingroom_queueing_method_output, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, + "waitingroom_response_collection": waitingroom_response_collection_output, + "waitingroom_response_collection_result_info": waitingroom_response_collection_result_info_output, + "waitingroom_session_duration": waitingroom_session_duration_output, + "waitingroom_suspended": waitingroom_suspended_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_total_active_users": waitingroom_total_active_users_output, + "waitingroom_turnstile_action": waitingroom_turnstile_action_output, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, + "waitingroom_waitingroom": waitingroom_waitingroom_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/waiting_rooms`, query: [ diff --git a/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts b/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts new file mode 100644 index 00000000..758af583 --- /dev/null +++ b/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts @@ -0,0 +1,131 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `waitingroom_event_details_custom_page_html` in responses. + */ +export const waitingroom_event_details_custom_page_html_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_event_details_disable_session_renewal` in + * responses. + */ +export const waitingroom_event_details_disable_session_renewal_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `waitingroom_event_details_new_users_per_minute` in responses. + */ +export const waitingroom_event_details_new_users_per_minute_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `waitingroom_event_details_queueing_method` in responses. + */ +export const waitingroom_event_details_queueing_method_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_event_details_response` in responses. + */ +export const waitingroom_event_details_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "$ref": "#/$defs/waitingroom_event_details_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_event_details_result` in responses. + */ +export const waitingroom_event_details_result_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/waitingroom_timestamp" + }, + "custom_page_html": { + "$ref": "#/$defs/waitingroom_event_details_custom_page_html" + }, + "description": { + "$ref": "#/$defs/waitingroom_event_description" + }, + "disable_session_renewal": { + "$ref": "#/$defs/waitingroom_event_details_disable_session_renewal" + }, + "event_end_time": { + "$ref": "#/$defs/waitingroom_event_end_time" + }, + "event_start_time": { + "$ref": "#/$defs/waitingroom_event_start_time" + }, + "id": { + "$ref": "#/$defs/waitingroom_event_id" + }, + "modified_on": { + "$ref": "#/$defs/waitingroom_timestamp" + }, + "name": { + "$ref": "#/$defs/waitingroom_event_name" + }, + "new_users_per_minute": { + "$ref": "#/$defs/waitingroom_event_details_new_users_per_minute" + }, + "prequeue_start_time": { + "$ref": "#/$defs/waitingroom_event_prequeue_start_time" + }, + "queueing_method": { + "$ref": "#/$defs/waitingroom_event_details_queueing_method" + }, + "session_duration": { + "$ref": "#/$defs/waitingroom_event_details_session_duration" + }, + "shuffle_at_event_start": { + "$ref": "#/$defs/waitingroom_event_shuffle_at_event_start" + }, + "suspended": { + "$ref": "#/$defs/waitingroom_event_suspended" + }, + "total_active_users": { + "$ref": "#/$defs/waitingroom_event_details_total_active_users" + } + }, + "type": "object" +}; + +/** + * The schema of `waitingroom_event_details_session_duration` in responses. + */ +export const waitingroom_event_details_session_duration_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `waitingroom_event_details_total_active_users` in responses. + */ +export const waitingroom_event_details_total_active_users_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/waitingRooms/events/details/tools.ts b/src/generated/forge-mcp/waitingRooms/events/details/tools.ts index cb66d896..a9f079d8 100644 --- a/src/generated/forge-mcp/waitingRooms/events/details/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/events/details/tools.ts @@ -2,6 +2,31 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + waitingroom_api_response_common_failure_output, + waitingroom_messages_output, + waitingroom_timestamp_output, +} from "../../outputs.js"; +import { + waitingroom_event_description_output, + waitingroom_event_end_time_output, + waitingroom_event_id_output, + waitingroom_event_name_output, + waitingroom_event_prequeue_start_time_output, + waitingroom_event_shuffle_at_event_start_output, + waitingroom_event_start_time_output, + waitingroom_event_suspended_output, +} from "../outputs.js"; +import { + waitingroom_event_details_custom_page_html_output, + waitingroom_event_details_disable_session_renewal_output, + waitingroom_event_details_new_users_per_minute_output, + waitingroom_event_details_queueing_method_output, + waitingroom_event_details_response_output, + waitingroom_event_details_result_output, + waitingroom_event_details_session_duration_output, + waitingroom_event_details_total_active_users_output, +} from "./outputs.js"; /** * The tools of `waiting_rooms.events.details`. @@ -52,6 +77,44 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waitingroom_event_details_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_event_details_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_event_description": waitingroom_event_description_output, + "waitingroom_event_details_custom_page_html": waitingroom_event_details_custom_page_html_output, + "waitingroom_event_details_disable_session_renewal": waitingroom_event_details_disable_session_renewal_output, + "waitingroom_event_details_new_users_per_minute": waitingroom_event_details_new_users_per_minute_output, + "waitingroom_event_details_queueing_method": waitingroom_event_details_queueing_method_output, + "waitingroom_event_details_response": waitingroom_event_details_response_output, + "waitingroom_event_details_result": waitingroom_event_details_result_output, + "waitingroom_event_details_session_duration": waitingroom_event_details_session_duration_output, + "waitingroom_event_details_total_active_users": waitingroom_event_details_total_active_users_output, + "waitingroom_event_end_time": waitingroom_event_end_time_output, + "waitingroom_event_id": waitingroom_event_id_output, + "waitingroom_event_name": waitingroom_event_name_output, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, + "waitingroom_event_start_time": waitingroom_event_start_time_output, + "waitingroom_event_suspended": waitingroom_event_suspended_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/events/${pathParam(args, "event_id")}/details`, }), diff --git a/src/generated/forge-mcp/waitingRooms/events/outputs.ts b/src/generated/forge-mcp/waitingRooms/events/outputs.ts new file mode 100644 index 00000000..9f3250f1 --- /dev/null +++ b/src/generated/forge-mcp/waitingRooms/events/outputs.ts @@ -0,0 +1,378 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `waitingroom_event_custom_page_html` in responses. + */ +export const waitingroom_event_custom_page_html_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_event_description` in responses. + */ +export const waitingroom_event_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_event_disable_session_renewal` in responses. + */ +export const waitingroom_event_disable_session_renewal_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_event_end_time` in responses. + */ +export const waitingroom_event_end_time_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_event_id` in responses. + */ +export const waitingroom_event_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_event_id_response` in responses. + */ +export const waitingroom_event_id_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "$ref": "#/$defs/waitingroom_event_id_response_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_event_id_response_result` in responses. + */ +export const waitingroom_event_id_response_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/waitingroom_event_id" + } + }, + "type": "object" +}; + +/** + * The schema of `waitingroom_event_name` in responses. + */ +export const waitingroom_event_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_event_new_users_per_minute` in responses. + */ +export const waitingroom_event_new_users_per_minute_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_event_prequeue_start_time` in responses. + */ +export const waitingroom_event_prequeue_start_time_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_event_queueing_method` in responses. + */ +export const waitingroom_event_queueing_method_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_event_response` in responses. + */ +export const waitingroom_event_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "$ref": "#/$defs/waitingroom_event_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_event_response_collection` in responses. + */ +export const waitingroom_event_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/waitingroom_event_result" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/waitingroom_event_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_event_response_collection_result_info` in + * responses. + */ +export const waitingroom_event_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `waitingroom_event_result` in responses. + */ +export const waitingroom_event_result_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/waitingroom_timestamp" + }, + "custom_page_html": { + "$ref": "#/$defs/waitingroom_event_custom_page_html" + }, + "description": { + "$ref": "#/$defs/waitingroom_event_description" + }, + "disable_session_renewal": { + "$ref": "#/$defs/waitingroom_event_disable_session_renewal" + }, + "event_end_time": { + "$ref": "#/$defs/waitingroom_event_end_time" + }, + "event_start_time": { + "$ref": "#/$defs/waitingroom_event_start_time" + }, + "id": { + "$ref": "#/$defs/waitingroom_event_id" + }, + "modified_on": { + "$ref": "#/$defs/waitingroom_timestamp" + }, + "name": { + "$ref": "#/$defs/waitingroom_event_name" + }, + "new_users_per_minute": { + "$ref": "#/$defs/waitingroom_event_new_users_per_minute" + }, + "prequeue_start_time": { + "$ref": "#/$defs/waitingroom_event_prequeue_start_time" + }, + "queueing_method": { + "$ref": "#/$defs/waitingroom_event_queueing_method" + }, + "session_duration": { + "$ref": "#/$defs/waitingroom_event_session_duration" + }, + "shuffle_at_event_start": { + "$ref": "#/$defs/waitingroom_event_shuffle_at_event_start" + }, + "suspended": { + "$ref": "#/$defs/waitingroom_event_suspended" + }, + "total_active_users": { + "$ref": "#/$defs/waitingroom_event_total_active_users" + }, + "turnstile_action": { + "$ref": "#/$defs/waitingroom_event_turnstile_action" + }, + "turnstile_mode": { + "$ref": "#/$defs/waitingroom_event_turnstile_mode" + } + }, + "type": "object" +}; + +/** + * The schema of `waitingroom_event_session_duration` in responses. + */ +export const waitingroom_event_session_duration_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_event_shuffle_at_event_start` in responses. + */ +export const waitingroom_event_shuffle_at_event_start_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `waitingroom_event_start_time` in responses. + */ +export const waitingroom_event_start_time_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_event_suspended` in responses. + */ +export const waitingroom_event_suspended_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `waitingroom_event_total_active_users` in responses. + */ +export const waitingroom_event_total_active_users_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_event_turnstile_action` in responses. + */ +export const waitingroom_event_turnstile_action_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "log", + "infinite_queue" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_event_turnstile_mode` in responses. + */ +export const waitingroom_event_turnstile_mode_output: JsonSchema = { + "oneOf": [ + { + "enum": [ + "off", + "invisible", + "visible_non_interactive", + "visible_managed" + ], + "type": "string" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/waitingRooms/events/tools.ts b/src/generated/forge-mcp/waitingRooms/events/tools.ts index 471781e0..f7aa4a21 100644 --- a/src/generated/forge-mcp/waitingRooms/events/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/events/tools.ts @@ -2,6 +2,35 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + waitingroom_api_response_common_failure_output, + waitingroom_messages_output, + waitingroom_timestamp_output, +} from "../outputs.js"; +import { + waitingroom_event_custom_page_html_output, + waitingroom_event_description_output, + waitingroom_event_disable_session_renewal_output, + waitingroom_event_end_time_output, + waitingroom_event_id_output, + waitingroom_event_id_response_output, + waitingroom_event_id_response_result_output, + waitingroom_event_name_output, + waitingroom_event_new_users_per_minute_output, + waitingroom_event_prequeue_start_time_output, + waitingroom_event_queueing_method_output, + waitingroom_event_response_collection_output, + waitingroom_event_response_collection_result_info_output, + waitingroom_event_response_output, + waitingroom_event_result_output, + waitingroom_event_session_duration_output, + waitingroom_event_shuffle_at_event_start_output, + waitingroom_event_start_time_output, + waitingroom_event_suspended_output, + waitingroom_event_total_active_users_output, + waitingroom_event_turnstile_action_output, + waitingroom_event_turnstile_mode_output, +} from "./outputs.js"; import { waitingroom_event_custom_page_html, waitingroom_event_description, @@ -84,6 +113,46 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waitingroom_event_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_event_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, + "waitingroom_event_description": waitingroom_event_description_output, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, + "waitingroom_event_end_time": waitingroom_event_end_time_output, + "waitingroom_event_id": waitingroom_event_id_output, + "waitingroom_event_name": waitingroom_event_name_output, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, + "waitingroom_event_response": waitingroom_event_response_output, + "waitingroom_event_result": waitingroom_event_result_output, + "waitingroom_event_session_duration": waitingroom_event_session_duration_output, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, + "waitingroom_event_start_time": waitingroom_event_start_time_output, + "waitingroom_event_suspended": waitingroom_event_suspended_output, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/events`, body: { value: args["body"], mediaType: "application/json" }, @@ -133,6 +202,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/waitingroom_event_id" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_event_id_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_event_id": waitingroom_event_id_output, + "waitingroom_event_id_response": waitingroom_event_id_response_output, + "waitingroom_event_id_response_result": waitingroom_event_id_response_result_output, + "waitingroom_messages": waitingroom_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/events/${pathParam(args, "event_id")}`, }), @@ -203,6 +301,46 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waitingroom_event_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_event_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, + "waitingroom_event_description": waitingroom_event_description_output, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, + "waitingroom_event_end_time": waitingroom_event_end_time_output, + "waitingroom_event_id": waitingroom_event_id_output, + "waitingroom_event_name": waitingroom_event_name_output, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, + "waitingroom_event_response": waitingroom_event_response_output, + "waitingroom_event_result": waitingroom_event_result_output, + "waitingroom_event_session_duration": waitingroom_event_session_duration_output, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, + "waitingroom_event_start_time": waitingroom_event_start_time_output, + "waitingroom_event_suspended": waitingroom_event_suspended_output, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/events/${pathParam(args, "event_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -253,6 +391,46 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waitingroom_event_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_event_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, + "waitingroom_event_description": waitingroom_event_description_output, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, + "waitingroom_event_end_time": waitingroom_event_end_time_output, + "waitingroom_event_id": waitingroom_event_id_output, + "waitingroom_event_name": waitingroom_event_name_output, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, + "waitingroom_event_response": waitingroom_event_response_output, + "waitingroom_event_result": waitingroom_event_result_output, + "waitingroom_event_session_duration": waitingroom_event_session_duration_output, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, + "waitingroom_event_start_time": waitingroom_event_start_time_output, + "waitingroom_event_suspended": waitingroom_event_suspended_output, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/events/${pathParam(args, "event_id")}`, }), @@ -308,6 +486,78 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waitingroom_event_result" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_event_response_collection" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, + "waitingroom_event_description": waitingroom_event_description_output, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, + "waitingroom_event_end_time": waitingroom_event_end_time_output, + "waitingroom_event_id": waitingroom_event_id_output, + "waitingroom_event_name": waitingroom_event_name_output, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, + "waitingroom_event_response_collection": waitingroom_event_response_collection_output, + "waitingroom_event_response_collection_result_info": waitingroom_event_response_collection_result_info_output, + "waitingroom_event_result": waitingroom_event_result_output, + "waitingroom_event_session_duration": waitingroom_event_session_duration_output, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, + "waitingroom_event_start_time": waitingroom_event_start_time_output, + "waitingroom_event_suspended": waitingroom_event_suspended_output, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/events`, query: [ @@ -382,6 +632,46 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waitingroom_event_result" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_event_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, + "waitingroom_event_description": waitingroom_event_description_output, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, + "waitingroom_event_end_time": waitingroom_event_end_time_output, + "waitingroom_event_id": waitingroom_event_id_output, + "waitingroom_event_name": waitingroom_event_name_output, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, + "waitingroom_event_response": waitingroom_event_response_output, + "waitingroom_event_result": waitingroom_event_result_output, + "waitingroom_event_session_duration": waitingroom_event_session_duration_output, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, + "waitingroom_event_start_time": waitingroom_event_start_time_output, + "waitingroom_event_suspended": waitingroom_event_suspended_output, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/events/${pathParam(args, "event_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/waitingRooms/outputs.ts b/src/generated/forge-mcp/waitingRooms/outputs.ts new file mode 100644 index 00000000..880e90f3 --- /dev/null +++ b/src/generated/forge-mcp/waitingRooms/outputs.ts @@ -0,0 +1,508 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `waitingroom_additional_routes` in responses. + */ +export const waitingroom_additional_routes_output: JsonSchema = { + "items": { + "properties": { + "host": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `waitingroom_api-response-common-failure` in responses. + */ +export const waitingroom_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_cookie_attributes` in responses. + */ +export const waitingroom_cookie_attributes_output: JsonSchema = { + "properties": { + "samesite": { + "enum": [ + "auto", + "lax", + "none", + "strict" + ], + "type": "string" + }, + "secure": { + "enum": [ + "auto", + "always", + "never" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `waitingroom_cookie_suffix` in responses. + */ +export const waitingroom_cookie_suffix_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_custom_page_html` in responses. + */ +export const waitingroom_custom_page_html_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_default_template_language` in responses. + */ +export const waitingroom_default_template_language_output: JsonSchema = { + "enum": [ + "en-US", + "es-ES", + "de-DE", + "fr-FR", + "it-IT", + "ja-JP", + "ko-KR", + "pt-BR", + "zh-CN", + "zh-TW", + "nl-NL", + "pl-PL", + "id-ID", + "tr-TR", + "ar-EG", + "ru-RU", + "fa-IR", + "bg-BG", + "hr-HR", + "cs-CZ", + "da-DK", + "fi-FI", + "lt-LT", + "lv-LV", + "ms-MY", + "nb-NO", + "ro-RO", + "el-GR", + "he-IL", + "hi-IN", + "hu-HU", + "sr-BA", + "sk-SK", + "sl-SI", + "sv-SE", + "tl-PH", + "th-TH", + "uk-UA", + "vi-VN" + ], + "type": "string" +}; + +/** + * The schema of `waitingroom_description` in responses. + */ +export const waitingroom_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_disable_session_renewal` in responses. + */ +export const waitingroom_disable_session_renewal_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `waitingroom_enabled_origin_commands` in responses. + */ +export const waitingroom_enabled_origin_commands_output: JsonSchema = { + "items": { + "enum": [ + "revoke" + ], + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `waitingroom_host` in responses. + */ +export const waitingroom_host_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_json_response_enabled` in responses. + */ +export const waitingroom_json_response_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `waitingroom_messages` in responses. + */ +export const waitingroom_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `waitingroom_name` in responses. + */ +export const waitingroom_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_new_users_per_minute` in responses. + */ +export const waitingroom_new_users_per_minute_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `waitingroom_next_event_prequeue_start_time` in responses. + */ +export const waitingroom_next_event_prequeue_start_time_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_next_event_start_time` in responses. + */ +export const waitingroom_next_event_start_time_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `waitingroom_path` in responses. + */ +export const waitingroom_path_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_queue_all` in responses. + */ +export const waitingroom_queue_all_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `waitingroom_queueing_method` in responses. + */ +export const waitingroom_queueing_method_output: JsonSchema = { + "enum": [ + "fifo", + "random", + "passthrough", + "reject" + ], + "type": "string" +}; + +/** + * The schema of `waitingroom_queueing_status_code` in responses. + */ +export const waitingroom_queueing_status_code_output: JsonSchema = { + "enum": [ + 200, + 202, + 429 + ], + "type": "integer" +}; + +/** + * The schema of `waitingroom_session_duration` in responses. + */ +export const waitingroom_session_duration_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `waitingroom_single_response` in responses. + */ +export const waitingroom_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "$ref": "#/$defs/waitingroom_waitingroom" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_suspended` in responses. + */ +export const waitingroom_suspended_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `waitingroom_timestamp` in responses. + */ +export const waitingroom_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `waitingroom_total_active_users` in responses. + */ +export const waitingroom_total_active_users_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `waitingroom_turnstile_action` in responses. + */ +export const waitingroom_turnstile_action_output: JsonSchema = { + "enum": [ + "log", + "infinite_queue" + ], + "type": "string" +}; + +/** + * The schema of `waitingroom_turnstile_mode` in responses. + */ +export const waitingroom_turnstile_mode_output: JsonSchema = { + "enum": [ + "off", + "invisible", + "visible_non_interactive", + "visible_managed" + ], + "type": "string" +}; + +/** + * The schema of `waitingroom_waiting_room_id` in responses. + */ +export const waitingroom_waiting_room_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_waiting_room_id_response` in responses. + */ +export const waitingroom_waiting_room_id_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "$ref": "#/$defs/waitingroom_waiting_room_id_response_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_waiting_room_id_response_result` in responses. + */ +export const waitingroom_waiting_room_id_response_result_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + } + }, + "type": "object" +}; + +/** + * The schema of `waitingroom_waitingroom` in responses. + */ +export const waitingroom_waitingroom_output: JsonSchema = { + "properties": { + "additional_routes": { + "$ref": "#/$defs/waitingroom_additional_routes" + }, + "cookie_attributes": { + "$ref": "#/$defs/waitingroom_cookie_attributes" + }, + "cookie_suffix": { + "$ref": "#/$defs/waitingroom_cookie_suffix" + }, + "created_on": { + "$ref": "#/$defs/waitingroom_timestamp" + }, + "custom_page_html": { + "$ref": "#/$defs/waitingroom_custom_page_html" + }, + "default_template_language": { + "$ref": "#/$defs/waitingroom_default_template_language" + }, + "description": { + "$ref": "#/$defs/waitingroom_description" + }, + "disable_session_renewal": { + "$ref": "#/$defs/waitingroom_disable_session_renewal" + }, + "enabled_origin_commands": { + "$ref": "#/$defs/waitingroom_enabled_origin_commands" + }, + "host": { + "$ref": "#/$defs/waitingroom_host" + }, + "id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "json_response_enabled": { + "$ref": "#/$defs/waitingroom_json_response_enabled" + }, + "modified_on": { + "$ref": "#/$defs/waitingroom_timestamp" + }, + "name": { + "$ref": "#/$defs/waitingroom_name" + }, + "new_users_per_minute": { + "$ref": "#/$defs/waitingroom_new_users_per_minute" + }, + "next_event_prequeue_start_time": { + "$ref": "#/$defs/waitingroom_next_event_prequeue_start_time" + }, + "next_event_start_time": { + "$ref": "#/$defs/waitingroom_next_event_start_time" + }, + "path": { + "$ref": "#/$defs/waitingroom_path" + }, + "queue_all": { + "$ref": "#/$defs/waitingroom_queue_all" + }, + "queueing_method": { + "$ref": "#/$defs/waitingroom_queueing_method" + }, + "queueing_status_code": { + "$ref": "#/$defs/waitingroom_queueing_status_code" + }, + "session_duration": { + "$ref": "#/$defs/waitingroom_session_duration" + }, + "suspended": { + "$ref": "#/$defs/waitingroom_suspended" + }, + "total_active_users": { + "$ref": "#/$defs/waitingroom_total_active_users" + }, + "turnstile_action": { + "$ref": "#/$defs/waitingroom_turnstile_action" + }, + "turnstile_mode": { + "$ref": "#/$defs/waitingroom_turnstile_mode" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/waitingRooms/page/outputs.ts b/src/generated/forge-mcp/waitingRooms/page/outputs.ts new file mode 100644 index 00000000..1879db3b --- /dev/null +++ b/src/generated/forge-mcp/waitingRooms/page/outputs.ts @@ -0,0 +1,50 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `waitingroom_preview_response` in responses. + */ +export const waitingroom_preview_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "$ref": "#/$defs/waitingroom_preview_response_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_preview_response_result` in responses. + */ +export const waitingroom_preview_response_result_output: JsonSchema = { + "properties": { + "preview_url": { + "$ref": "#/$defs/waitingroom_preview_url" + } + }, + "type": "object" +}; + +/** + * The schema of `waitingroom_preview_url` in responses. + */ +export const waitingroom_preview_url_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/waitingRooms/page/tools.ts b/src/generated/forge-mcp/waitingRooms/page/tools.ts index e4fad189..1a47f473 100644 --- a/src/generated/forge-mcp/waitingRooms/page/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/page/tools.ts @@ -2,7 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + waitingroom_api_response_common_failure_output, + waitingroom_messages_output, +} from "../outputs.js"; import { waitingroom_custom_page_html } from "../schemas.js"; +import { + waitingroom_preview_response_output, + waitingroom_preview_response_result_output, + waitingroom_preview_url_output, +} from "./outputs.js"; import { waitingroom_query_preview } from "./schemas.js"; /** @@ -53,6 +62,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "preview_url": { + "$ref": "#/$defs/waitingroom_preview_url" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_preview_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_preview_response": waitingroom_preview_response_output, + "waitingroom_preview_response_result": waitingroom_preview_response_result_output, + "waitingroom_preview_url": waitingroom_preview_url_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/preview`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/waitingRooms/rules/outputs.ts b/src/generated/forge-mcp/waitingRooms/rules/outputs.ts new file mode 100644 index 00000000..62a010f9 --- /dev/null +++ b/src/generated/forge-mcp/waitingRooms/rules/outputs.ts @@ -0,0 +1,139 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `waitingroom_rule_action` in responses. + */ +export const waitingroom_rule_action_output: JsonSchema = { + "enum": [ + "bypass_waiting_room" + ], + "type": "string" +}; + +/** + * The schema of `waitingroom_rule_description` in responses. + */ +export const waitingroom_rule_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_rule_enabled` in responses. + */ +export const waitingroom_rule_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `waitingroom_rule_expression` in responses. + */ +export const waitingroom_rule_expression_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_rule_id` in responses. + */ +export const waitingroom_rule_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_rule_result` in responses. + */ +export const waitingroom_rule_result_output: JsonSchema = { + "properties": { + "action": { + "$ref": "#/$defs/waitingroom_rule_action" + }, + "description": { + "$ref": "#/$defs/waitingroom_rule_description" + }, + "enabled": { + "$ref": "#/$defs/waitingroom_rule_enabled" + }, + "expression": { + "$ref": "#/$defs/waitingroom_rule_expression" + }, + "id": { + "$ref": "#/$defs/waitingroom_rule_id" + }, + "last_updated": { + "$ref": "#/$defs/waitingroom_timestamp" + }, + "version": { + "$ref": "#/$defs/waitingroom_rule_version" + } + }, + "type": "object" +}; + +/** + * The schema of `waitingroom_rule_version` in responses. + */ +export const waitingroom_rule_version_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_rules_response_collection` in responses. + */ +export const waitingroom_rules_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/waitingroom_rule_result" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/waitingroom_rules_response_collection_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_rules_response_collection_result_info` in + * responses. + */ +export const waitingroom_rules_response_collection_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/waitingRooms/rules/tools.ts b/src/generated/forge-mcp/waitingRooms/rules/tools.ts index 00474b0f..5b346fde 100644 --- a/src/generated/forge-mcp/waitingRooms/rules/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/rules/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + waitingroom_api_response_common_failure_output, + waitingroom_messages_output, + waitingroom_timestamp_output, +} from "../outputs.js"; +import { + waitingroom_rule_action_output, + waitingroom_rule_description_output, + waitingroom_rule_enabled_output, + waitingroom_rule_expression_output, + waitingroom_rule_id_output, + waitingroom_rule_result_output, + waitingroom_rule_version_output, + waitingroom_rules_response_collection_output, + waitingroom_rules_response_collection_result_info_output, +} from "./outputs.js"; import { waitingroom_create_rule, waitingroom_patch_rule, @@ -65,6 +81,68 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waitingroom_rule_result" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_rules_response_collection" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_rule_action": waitingroom_rule_action_output, + "waitingroom_rule_description": waitingroom_rule_description_output, + "waitingroom_rule_enabled": waitingroom_rule_enabled_output, + "waitingroom_rule_expression": waitingroom_rule_expression_output, + "waitingroom_rule_id": waitingroom_rule_id_output, + "waitingroom_rule_result": waitingroom_rule_result_output, + "waitingroom_rule_version": waitingroom_rule_version_output, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, + "waitingroom_rules_response_collection_result_info": waitingroom_rules_response_collection_result_info_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -115,6 +193,68 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waitingroom_rule_result" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_rules_response_collection" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_rule_action": waitingroom_rule_action_output, + "waitingroom_rule_description": waitingroom_rule_description_output, + "waitingroom_rule_enabled": waitingroom_rule_enabled_output, + "waitingroom_rule_expression": waitingroom_rule_expression_output, + "waitingroom_rule_id": waitingroom_rule_id_output, + "waitingroom_rule_result": waitingroom_rule_result_output, + "waitingroom_rule_version": waitingroom_rule_version_output, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, + "waitingroom_rules_response_collection_result_info": waitingroom_rules_response_collection_result_info_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/rules/${pathParam(args, "rule_id")}`, }), @@ -176,6 +316,68 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waitingroom_rule_result" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_rules_response_collection" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_rule_action": waitingroom_rule_action_output, + "waitingroom_rule_description": waitingroom_rule_description_output, + "waitingroom_rule_enabled": waitingroom_rule_enabled_output, + "waitingroom_rule_expression": waitingroom_rule_expression_output, + "waitingroom_rule_id": waitingroom_rule_id_output, + "waitingroom_rule_result": waitingroom_rule_result_output, + "waitingroom_rule_version": waitingroom_rule_version_output, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, + "waitingroom_rules_response_collection_result_info": waitingroom_rules_response_collection_result_info_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -222,6 +424,68 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waitingroom_rule_result" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_rules_response_collection" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_rule_action": waitingroom_rule_action_output, + "waitingroom_rule_description": waitingroom_rule_description_output, + "waitingroom_rule_enabled": waitingroom_rule_enabled_output, + "waitingroom_rule_expression": waitingroom_rule_expression_output, + "waitingroom_rule_id": waitingroom_rule_id_output, + "waitingroom_rule_result": waitingroom_rule_result_output, + "waitingroom_rule_version": waitingroom_rule_version_output, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, + "waitingroom_rules_response_collection_result_info": waitingroom_rules_response_collection_result_info_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/rules`, }), @@ -278,6 +542,68 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/waitingroom_rule_result" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_rules_response_collection" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_rule_action": waitingroom_rule_action_output, + "waitingroom_rule_description": waitingroom_rule_description_output, + "waitingroom_rule_enabled": waitingroom_rule_enabled_output, + "waitingroom_rule_expression": waitingroom_rule_expression_output, + "waitingroom_rule_id": waitingroom_rule_id_output, + "waitingroom_rule_result": waitingroom_rule_result_output, + "waitingroom_rule_version": waitingroom_rule_version_output, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, + "waitingroom_rules_response_collection_result_info": waitingroom_rules_response_collection_result_info_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/rules`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/waitingRooms/settings/outputs.ts b/src/generated/forge-mcp/waitingRooms/settings/outputs.ts new file mode 100644 index 00000000..9799eb0b --- /dev/null +++ b/src/generated/forge-mcp/waitingRooms/settings/outputs.ts @@ -0,0 +1,53 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `waitingroom_search_engine_crawler_bypass` in responses. + */ +export const waitingroom_search_engine_crawler_bypass_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `waitingroom_zone_settings_response` in responses. + */ +export const waitingroom_zone_settings_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "$ref": "#/$defs/waitingroom_zone_settings_response_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_zone_settings_response_result` in responses. + */ +export const waitingroom_zone_settings_response_result_output: JsonSchema = { + "properties": { + "search_engine_crawler_bypass": { + "$ref": "#/$defs/waitingroom_search_engine_crawler_bypass" + } + }, + "required": [ + "search_engine_crawler_bypass" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/waitingRooms/settings/tools.ts b/src/generated/forge-mcp/waitingRooms/settings/tools.ts index d5426b2f..aa102b94 100644 --- a/src/generated/forge-mcp/waitingRooms/settings/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/settings/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + waitingroom_api_response_common_failure_output, + waitingroom_messages_output, +} from "../outputs.js"; +import { + waitingroom_search_engine_crawler_bypass_output, + waitingroom_zone_settings_response_output, + waitingroom_zone_settings_response_result_output, +} from "./outputs.js"; import { waitingroom_search_engine_crawler_bypass, waitingroom_zone_settings, @@ -55,6 +64,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "search_engine_crawler_bypass": { + "$ref": "#/$defs/waitingroom_search_engine_crawler_bypass" + } + }, + "required": [ + "search_engine_crawler_bypass" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_zone_settings_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass_output, + "waitingroom_zone_settings_response": waitingroom_zone_settings_response_output, + "waitingroom_zone_settings_response_result": waitingroom_zone_settings_response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/settings`, body: { value: args["body"], mediaType: "application/json" }, @@ -97,6 +138,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "search_engine_crawler_bypass": { + "$ref": "#/$defs/waitingroom_search_engine_crawler_bypass" + } + }, + "required": [ + "search_engine_crawler_bypass" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_zone_settings_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass_output, + "waitingroom_zone_settings_response": waitingroom_zone_settings_response_output, + "waitingroom_zone_settings_response_result": waitingroom_zone_settings_response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/settings`, }), @@ -145,6 +218,38 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "search_engine_crawler_bypass": { + "$ref": "#/$defs/waitingroom_search_engine_crawler_bypass" + } + }, + "required": [ + "search_engine_crawler_bypass" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_zone_settings_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass_output, + "waitingroom_zone_settings_response": waitingroom_zone_settings_response_output, + "waitingroom_zone_settings_response_result": waitingroom_zone_settings_response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts b/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts new file mode 100644 index 00000000..000320f4 --- /dev/null +++ b/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts @@ -0,0 +1,96 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `waitingroom_estimated_queued_users` in responses. + */ +export const waitingroom_estimated_queued_users_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `waitingroom_estimated_total_active_users` in responses. + */ +export const waitingroom_estimated_total_active_users_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `waitingroom_max_estimated_time_minutes` in responses. + */ +export const waitingroom_max_estimated_time_minutes_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `waitingroom_status` in responses. + */ +export const waitingroom_status_output: JsonSchema = { + "enum": [ + "event_prequeueing", + "not_queueing", + "queueing", + "suspended" + ], + "type": "string" +}; + +/** + * The schema of `waitingroom_status_event_id` in responses. + */ +export const waitingroom_status_event_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `waitingroom_status_response` in responses. + */ +export const waitingroom_status_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/waitingroom_messages" + }, + "messages": { + "$ref": "#/$defs/waitingroom_messages" + }, + "result": { + "$ref": "#/$defs/waitingroom_status_response_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `waitingroom_status_response_result` in responses. + */ +export const waitingroom_status_response_result_output: JsonSchema = { + "properties": { + "estimated_queued_users": { + "$ref": "#/$defs/waitingroom_estimated_queued_users" + }, + "estimated_total_active_users": { + "$ref": "#/$defs/waitingroom_estimated_total_active_users" + }, + "event_id": { + "$ref": "#/$defs/waitingroom_status_event_id" + }, + "max_estimated_time_minutes": { + "$ref": "#/$defs/waitingroom_max_estimated_time_minutes" + }, + "status": { + "$ref": "#/$defs/waitingroom_status" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/waitingRooms/statuses/tools.ts b/src/generated/forge-mcp/waitingRooms/statuses/tools.ts index a1805b86..163f343a 100644 --- a/src/generated/forge-mcp/waitingRooms/statuses/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/statuses/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + waitingroom_api_response_common_failure_output, + waitingroom_messages_output, +} from "../outputs.js"; +import { + waitingroom_estimated_queued_users_output, + waitingroom_estimated_total_active_users_output, + waitingroom_max_estimated_time_minutes_output, + waitingroom_status_event_id_output, + waitingroom_status_output, + waitingroom_status_response_output, + waitingroom_status_response_result_output, +} from "./outputs.js"; /** * The tools of `waiting_rooms.statuses`. @@ -48,6 +61,51 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "estimated_queued_users": { + "$ref": "#/$defs/waitingroom_estimated_queued_users" + }, + "estimated_total_active_users": { + "$ref": "#/$defs/waitingroom_estimated_total_active_users" + }, + "event_id": { + "$ref": "#/$defs/waitingroom_status_event_id" + }, + "max_estimated_time_minutes": { + "$ref": "#/$defs/waitingroom_max_estimated_time_minutes" + }, + "status": { + "$ref": "#/$defs/waitingroom_status" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_status_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_estimated_queued_users": waitingroom_estimated_queued_users_output, + "waitingroom_estimated_total_active_users": waitingroom_estimated_total_active_users_output, + "waitingroom_max_estimated_time_minutes": waitingroom_max_estimated_time_minutes_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_status": waitingroom_status_output, + "waitingroom_status_event_id": waitingroom_status_event_id_output, + "waitingroom_status_response": waitingroom_status_response_output, + "waitingroom_status_response_result": waitingroom_status_response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/status`, }), diff --git a/src/generated/forge-mcp/waitingRooms/tools.ts b/src/generated/forge-mcp/waitingRooms/tools.ts index 22dbcebb..fd653600 100644 --- a/src/generated/forge-mcp/waitingRooms/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/tools.ts @@ -2,6 +2,39 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + waitingroom_additional_routes_output, + waitingroom_api_response_common_failure_output, + waitingroom_cookie_attributes_output, + waitingroom_cookie_suffix_output, + waitingroom_custom_page_html_output, + waitingroom_default_template_language_output, + waitingroom_description_output, + waitingroom_disable_session_renewal_output, + waitingroom_enabled_origin_commands_output, + waitingroom_host_output, + waitingroom_json_response_enabled_output, + waitingroom_messages_output, + waitingroom_name_output, + waitingroom_new_users_per_minute_output, + waitingroom_next_event_prequeue_start_time_output, + waitingroom_next_event_start_time_output, + waitingroom_path_output, + waitingroom_queue_all_output, + waitingroom_queueing_method_output, + waitingroom_queueing_status_code_output, + waitingroom_session_duration_output, + waitingroom_single_response_output, + waitingroom_suspended_output, + waitingroom_timestamp_output, + waitingroom_total_active_users_output, + waitingroom_turnstile_action_output, + waitingroom_turnstile_mode_output, + waitingroom_waiting_room_id_output, + waitingroom_waiting_room_id_response_output, + waitingroom_waiting_room_id_response_result_output, + waitingroom_waitingroom_output, +} from "./outputs.js"; import { waitingroom_additional_routes, waitingroom_cookie_attributes, @@ -95,6 +128,54 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waitingroom_waitingroom" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_single_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_additional_routes": waitingroom_additional_routes_output, + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, + "waitingroom_custom_page_html": waitingroom_custom_page_html_output, + "waitingroom_default_template_language": waitingroom_default_template_language_output, + "waitingroom_description": waitingroom_description_output, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, + "waitingroom_host": waitingroom_host_output, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_name": waitingroom_name_output, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, + "waitingroom_path": waitingroom_path_output, + "waitingroom_queue_all": waitingroom_queue_all_output, + "waitingroom_queueing_method": waitingroom_queueing_method_output, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, + "waitingroom_session_duration": waitingroom_session_duration_output, + "waitingroom_single_response": waitingroom_single_response_output, + "waitingroom_suspended": waitingroom_suspended_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_total_active_users": waitingroom_total_active_users_output, + "waitingroom_turnstile_action": waitingroom_turnstile_action_output, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, + "waitingroom_waitingroom": waitingroom_waitingroom_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms`, body: { value: args["body"], mediaType: "application/json" }, @@ -140,6 +221,35 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_waiting_room_id_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, + "waitingroom_waiting_room_id_response": waitingroom_waiting_room_id_response_output, + "waitingroom_waiting_room_id_response_result": waitingroom_waiting_room_id_response_result_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}`, }), @@ -212,6 +322,54 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waitingroom_waitingroom" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_single_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_additional_routes": waitingroom_additional_routes_output, + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, + "waitingroom_custom_page_html": waitingroom_custom_page_html_output, + "waitingroom_default_template_language": waitingroom_default_template_language_output, + "waitingroom_description": waitingroom_description_output, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, + "waitingroom_host": waitingroom_host_output, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_name": waitingroom_name_output, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, + "waitingroom_path": waitingroom_path_output, + "waitingroom_queue_all": waitingroom_queue_all_output, + "waitingroom_queueing_method": waitingroom_queueing_method_output, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, + "waitingroom_session_duration": waitingroom_session_duration_output, + "waitingroom_single_response": waitingroom_single_response_output, + "waitingroom_suspended": waitingroom_suspended_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_total_active_users": waitingroom_total_active_users_output, + "waitingroom_turnstile_action": waitingroom_turnstile_action_output, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, + "waitingroom_waitingroom": waitingroom_waitingroom_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -258,6 +416,54 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waitingroom_waitingroom" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_single_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_additional_routes": waitingroom_additional_routes_output, + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, + "waitingroom_custom_page_html": waitingroom_custom_page_html_output, + "waitingroom_default_template_language": waitingroom_default_template_language_output, + "waitingroom_description": waitingroom_description_output, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, + "waitingroom_host": waitingroom_host_output, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_name": waitingroom_name_output, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, + "waitingroom_path": waitingroom_path_output, + "waitingroom_queue_all": waitingroom_queue_all_output, + "waitingroom_queueing_method": waitingroom_queueing_method_output, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, + "waitingroom_session_duration": waitingroom_session_duration_output, + "waitingroom_single_response": waitingroom_single_response_output, + "waitingroom_suspended": waitingroom_suspended_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_total_active_users": waitingroom_total_active_users_output, + "waitingroom_turnstile_action": waitingroom_turnstile_action_output, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, + "waitingroom_waitingroom": waitingroom_waitingroom_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}`, }), @@ -330,6 +536,54 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/waitingroom_waitingroom" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/waitingroom_single_response" + }, + { + "$ref": "#/$defs/waitingroom_api-response-common-failure" + } + ] + } + }, + $defs: { + "waitingroom_additional_routes": waitingroom_additional_routes_output, + "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, + "waitingroom_custom_page_html": waitingroom_custom_page_html_output, + "waitingroom_default_template_language": waitingroom_default_template_language_output, + "waitingroom_description": waitingroom_description_output, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, + "waitingroom_host": waitingroom_host_output, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, + "waitingroom_messages": waitingroom_messages_output, + "waitingroom_name": waitingroom_name_output, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, + "waitingroom_path": waitingroom_path_output, + "waitingroom_queue_all": waitingroom_queue_all_output, + "waitingroom_queueing_method": waitingroom_queueing_method_output, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, + "waitingroom_session_duration": waitingroom_session_duration_output, + "waitingroom_single_response": waitingroom_single_response_output, + "waitingroom_suspended": waitingroom_suspended_output, + "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_total_active_users": waitingroom_total_active_users_output, + "waitingroom_turnstile_action": waitingroom_turnstile_action_output, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, + "waitingroom_waitingroom": waitingroom_waitingroom_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/outputs.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/outputs.ts new file mode 100644 index 00000000..a2e0f3ab --- /dev/null +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/outputs.ts @@ -0,0 +1,93 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of `web3_content_list_entry_collection_response` in responses. + */ +export const web3_content_list_entry_collection_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/web3_messages" + }, + "messages": { + "$ref": "#/$defs/web3_messages" + }, + "result": { + "$ref": "#/$defs/web3_content_list_entry_collection_response_result" + }, + "result_info": { + "$ref": "#/$defs/web3_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `web3_content_list_entry_collection_response_result` in + * responses. + */ +export const web3_content_list_entry_collection_response_result_output: JsonSchema = { + "properties": { + "entries": { + "$ref": "#/$defs/web3_content_list_entries" + } + }, + "type": "object" +}; + +/** + * The schema of `web3_content_list_entry_single_response` in responses. + */ +export const web3_content_list_entry_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/web3_messages" + }, + "messages": { + "$ref": "#/$defs/web3_messages" + }, + "result": { + "$ref": "#/$defs/web3_content_list_entry" + }, + "result_info": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts index 7711ef98..d716c62f 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts @@ -2,11 +2,32 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + web3_api_response_common_failure_output, + web3_api_response_single_id_output, + web3_api_response_single_id_result_output, + web3_identifier_output, + web3_messages_output, + web3_result_info_output, + web3_timestamp_output, +} from "../../../outputs.js"; +import { + web3_content_list_entries_output, + web3_content_list_entry_content_output, + web3_content_list_entry_description_output, + web3_content_list_entry_output, + web3_content_list_entry_type_output, +} from "../outputs.js"; import { web3_content_list_entry_content, web3_content_list_entry_description, web3_content_list_entry_type, } from "../schemas.js"; +import { + web3_content_list_entry_collection_response_output, + web3_content_list_entry_collection_response_result_output, + web3_content_list_entry_single_response_output, +} from "./outputs.js"; import { web3_content_list_entry_create_request } from "./schemas.js"; /** @@ -61,6 +82,44 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/web3_content_list_entry" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_entry_single_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_entry_single_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_content_list_entry": web3_content_list_entry_output, + "web3_content_list_entry_content": web3_content_list_entry_content_output, + "web3_content_list_entry_description": web3_content_list_entry_description_output, + "web3_content_list_entry_single_response": web3_content_list_entry_single_response_output, + "web3_content_list_entry_type": web3_content_list_entry_type_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + "web3_timestamp": web3_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}/ipfs_universal_path/content_list/entries`, body: { value: args["body"], mediaType: "application/json" }, @@ -112,6 +171,55 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/web3_identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_api-response-single-id" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_api-response-single-id" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_api-response-single-id": web3_api_response_single_id_output, + "web3_api-response-single-id_result": web3_api_response_single_id_result_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}/ipfs_universal_path/content_list/entries/${pathParam(args, "content_list_entry_identifier")}`, }), @@ -163,6 +271,44 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/web3_content_list_entry" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_entry_single_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_entry_single_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_content_list_entry": web3_content_list_entry_output, + "web3_content_list_entry_content": web3_content_list_entry_content_output, + "web3_content_list_entry_description": web3_content_list_entry_description_output, + "web3_content_list_entry_single_response": web3_content_list_entry_single_response_output, + "web3_content_list_entry_type": web3_content_list_entry_type_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + "web3_timestamp": web3_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}/ipfs_universal_path/content_list/entries/${pathParam(args, "content_list_entry_identifier")}`, }), @@ -209,6 +355,52 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "properties": { + "entries": { + "$ref": "#/$defs/web3_content_list_entries" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_entry_collection_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_entry_collection_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_content_list_entries": web3_content_list_entries_output, + "web3_content_list_entry": web3_content_list_entry_output, + "web3_content_list_entry_collection_response": web3_content_list_entry_collection_response_output, + "web3_content_list_entry_collection_response_result": web3_content_list_entry_collection_response_result_output, + "web3_content_list_entry_content": web3_content_list_entry_content_output, + "web3_content_list_entry_description": web3_content_list_entry_description_output, + "web3_content_list_entry_type": web3_content_list_entry_type_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + "web3_result_info": web3_result_info_output, + "web3_timestamp": web3_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}/ipfs_universal_path/content_list/entries`, }), @@ -269,6 +461,44 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/web3_content_list_entry" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_entry_single_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_entry_single_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_content_list_entry": web3_content_list_entry_output, + "web3_content_list_entry_content": web3_content_list_entry_content_output, + "web3_content_list_entry_description": web3_content_list_entry_description_output, + "web3_content_list_entry_single_response": web3_content_list_entry_single_response_output, + "web3_content_list_entry_type": web3_content_list_entry_type_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + "web3_timestamp": web3_timestamp_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}/ipfs_universal_path/content_list/entries/${pathParam(args, "content_list_entry_identifier")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts new file mode 100644 index 00000000..ab9e0102 --- /dev/null +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts @@ -0,0 +1,131 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `web3_content_list_action` in responses. + */ +export const web3_content_list_action_output: JsonSchema = { + "enum": [ + "block" + ], + "type": "string" +}; + +/** + * The schema of `web3_content_list_details` in responses. + */ +export const web3_content_list_details_output: JsonSchema = { + "properties": { + "action": { + "$ref": "#/$defs/web3_content_list_action" + } + }, + "type": "object" +}; + +/** + * The schema of `web3_content_list_details_response` in responses. + */ +export const web3_content_list_details_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/web3_messages" + }, + "messages": { + "$ref": "#/$defs/web3_messages" + }, + "result": { + "$ref": "#/$defs/web3_content_list_details" + }, + "result_info": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `web3_content_list_entries` in responses. + */ +export const web3_content_list_entries_output: JsonSchema = { + "items": { + "$ref": "#/$defs/web3_content_list_entry" + }, + "type": "array" +}; + +/** + * The schema of `web3_content_list_entry` in responses. + */ +export const web3_content_list_entry_output: JsonSchema = { + "properties": { + "content": { + "$ref": "#/$defs/web3_content_list_entry_content" + }, + "created_on": { + "$ref": "#/$defs/web3_timestamp" + }, + "description": { + "$ref": "#/$defs/web3_content_list_entry_description" + }, + "id": { + "$ref": "#/$defs/web3_identifier" + }, + "modified_on": { + "$ref": "#/$defs/web3_timestamp" + }, + "type": { + "$ref": "#/$defs/web3_content_list_entry_type" + } + }, + "type": "object" +}; + +/** + * The schema of `web3_content_list_entry_content` in responses. + */ +export const web3_content_list_entry_content_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `web3_content_list_entry_description` in responses. + */ +export const web3_content_list_entry_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `web3_content_list_entry_type` in responses. + */ +export const web3_content_list_entry_type_output: JsonSchema = { + "enum": [ + "cid", + "content_path" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts index 14f9b9d8..dc62e6bb 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + web3_api_response_common_failure_output, + web3_messages_output, +} from "../../outputs.js"; +import { + web3_content_list_action_output, + web3_content_list_details_output, + web3_content_list_details_response_output, +} from "./outputs.js"; import { web3_content_list_action, web3_content_list_entries, @@ -58,6 +67,40 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/web3_content_list_details" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_details_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_details_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_content_list_action": web3_content_list_action_output, + "web3_content_list_details": web3_content_list_details_output, + "web3_content_list_details_response": web3_content_list_details_response_output, + "web3_messages": web3_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}/ipfs_universal_path/content_list`, }), @@ -116,6 +159,40 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/web3_content_list_details" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_details_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_content_list_details_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_content_list_action": web3_content_list_action_output, + "web3_content_list_details": web3_content_list_details_output, + "web3_content_list_details_response": web3_content_list_details_response_output, + "web3_messages": web3_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}/ipfs_universal_path/content_list`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/web3/hostnames/outputs.ts b/src/generated/forge-mcp/web3/hostnames/outputs.ts new file mode 100644 index 00000000..89479de4 --- /dev/null +++ b/src/generated/forge-mcp/web3/hostnames/outputs.ts @@ -0,0 +1,302 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `web3_api-response-common-failure` in responses. + */ +export const web3_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/web3_messages" + }, + "messages": { + "$ref": "#/$defs/web3_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `web3_api-response-single-id` in responses. + */ +export const web3_api_response_single_id_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/web3_messages" + }, + "messages": { + "$ref": "#/$defs/web3_messages" + }, + "result": { + "$ref": "#/$defs/web3_api-response-single-id_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `web3_api-response-single-id_result` in responses. + */ +export const web3_api_response_single_id_result_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/web3_identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `web3_collection_response` in responses. + */ +export const web3_collection_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/web3_messages" + }, + "messages": { + "$ref": "#/$defs/web3_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/web3_web3-hostname" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/web3_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `web3_description` in responses. + */ +export const web3_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `web3_dnslink` in responses. + */ +export const web3_dnslink_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `web3_identifier` in responses. + */ +export const web3_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `web3_messages` in responses. + */ +export const web3_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `web3_name` in responses. + */ +export const web3_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `web3_result_info` in responses. + */ +export const web3_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `web3_single_response` in responses. + */ +export const web3_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/web3_messages" + }, + "messages": { + "$ref": "#/$defs/web3_messages" + }, + "result": { + "$ref": "#/$defs/web3_web3-hostname" + }, + "result_info": { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `web3_status` in responses. + */ +export const web3_status_output: JsonSchema = { + "enum": [ + "active", + "pending", + "deleting", + "error" + ], + "type": "string" +}; + +/** + * The schema of `web3_target` in responses. + */ +export const web3_target_output: JsonSchema = { + "enum": [ + "ethereum", + "ipfs", + "ipfs_universal_path" + ], + "type": "string" +}; + +/** + * The schema of `web3_timestamp` in responses. + */ +export const web3_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `web3_web3-hostname` in responses. + */ +export const web3_web3_hostname_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/web3_timestamp" + }, + "description": { + "$ref": "#/$defs/web3_description" + }, + "dnslink": { + "$ref": "#/$defs/web3_dnslink" + }, + "id": { + "$ref": "#/$defs/web3_identifier" + }, + "modified_on": { + "$ref": "#/$defs/web3_timestamp" + }, + "name": { + "$ref": "#/$defs/web3_name" + }, + "status": { + "$ref": "#/$defs/web3_status" + }, + "target": { + "$ref": "#/$defs/web3_target" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/web3/hostnames/tools.ts b/src/generated/forge-mcp/web3/hostnames/tools.ts index 738b2f2b..526cba78 100644 --- a/src/generated/forge-mcp/web3/hostnames/tools.ts +++ b/src/generated/forge-mcp/web3/hostnames/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + web3_api_response_common_failure_output, + web3_api_response_single_id_output, + web3_api_response_single_id_result_output, + web3_collection_response_output, + web3_description_output, + web3_dnslink_output, + web3_identifier_output, + web3_messages_output, + web3_name_output, + web3_result_info_output, + web3_single_response_output, + web3_status_output, + web3_target_output, + web3_timestamp_output, + web3_web3_hostname_output, +} from "./outputs.js"; import { web3_create_request, web3_description, @@ -62,6 +79,48 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/web3_web3-hostname" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_collection_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_single_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_collection_response": web3_collection_response_output, + "web3_description": web3_description_output, + "web3_dnslink": web3_dnslink_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + "web3_name": web3_name_output, + "web3_result_info": web3_result_info_output, + "web3_single_response": web3_single_response_output, + "web3_status": web3_status_output, + "web3_target": web3_target_output, + "web3_timestamp": web3_timestamp_output, + "web3_web3-hostname": web3_web3_hostname_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames`, body: { value: args["body"], mediaType: "application/json" }, @@ -108,6 +167,64 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/web3_identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_collection_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_api-response-single-id" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_api-response-single-id": web3_api_response_single_id_output, + "web3_api-response-single-id_result": web3_api_response_single_id_result_output, + "web3_collection_response": web3_collection_response_output, + "web3_description": web3_description_output, + "web3_dnslink": web3_dnslink_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + "web3_name": web3_name_output, + "web3_result_info": web3_result_info_output, + "web3_status": web3_status_output, + "web3_target": web3_target_output, + "web3_timestamp": web3_timestamp_output, + "web3_web3-hostname": web3_web3_hostname_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}`, }), @@ -162,6 +279,48 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/web3_web3-hostname" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_collection_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_single_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_collection_response": web3_collection_response_output, + "web3_description": web3_description_output, + "web3_dnslink": web3_dnslink_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + "web3_name": web3_name_output, + "web3_result_info": web3_result_info_output, + "web3_single_response": web3_single_response_output, + "web3_status": web3_status_output, + "web3_target": web3_target_output, + "web3_timestamp": web3_timestamp_output, + "web3_web3-hostname": web3_web3_hostname_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -209,6 +368,48 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/web3_web3-hostname" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_collection_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_single_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_collection_response": web3_collection_response_output, + "web3_description": web3_description_output, + "web3_dnslink": web3_dnslink_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + "web3_name": web3_name_output, + "web3_result_info": web3_result_info_output, + "web3_single_response": web3_single_response_output, + "web3_status": web3_status_output, + "web3_target": web3_target_output, + "web3_timestamp": web3_timestamp_output, + "web3_web3-hostname": web3_web3_hostname_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames/${pathParam(args, "identifier")}`, }), @@ -250,6 +451,61 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/web3_web3-hostname" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/web3_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_collection_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + }, + "5XX": { + "allOf": [ + { + "$ref": "#/$defs/web3_collection_response" + }, + { + "$ref": "#/$defs/web3_api-response-common-failure" + } + ] + } + }, + $defs: { + "web3_api-response-common-failure": web3_api_response_common_failure_output, + "web3_collection_response": web3_collection_response_output, + "web3_description": web3_description_output, + "web3_dnslink": web3_dnslink_output, + "web3_identifier": web3_identifier_output, + "web3_messages": web3_messages_output, + "web3_name": web3_name_output, + "web3_result_info": web3_result_info_output, + "web3_status": web3_status_output, + "web3_target": web3_target_output, + "web3_timestamp": web3_timestamp_output, + "web3_web3-hostname": web3_web3_hostname_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/web3/hostnames`, }), diff --git a/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts b/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts new file mode 100644 index 00000000..94cb24c9 --- /dev/null +++ b/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts @@ -0,0 +1,137 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `api-shield_api_discovery_origin` in responses. + */ +export const api_shield_api_discovery_origin_output: JsonSchema = { + "enum": [ + "ML", + "SessionIdentifier", + "LabelDiscovery" + ], + "type": "string" +}; + +/** + * The schema of `api-shield_api_discovery_patch_multiple_request` in responses. + */ +export const api_shield_api_discovery_patch_multiple_request_output: JsonSchema = { + "additionalProperties": { + "$ref": "#/$defs/api-shield_api_discovery_patch_multiple_request_entry" + }, + "type": "object" +}; + +/** + * The schema of `api-shield_api_discovery_patch_multiple_request_entry` in + * responses. + */ +export const api_shield_api_discovery_patch_multiple_request_entry_output: JsonSchema = { + "properties": { + "state": { + "$ref": "#/$defs/api-shield_api_discovery_state_patch" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_api_discovery_state` in responses. + */ +export const api_shield_api_discovery_state_output: JsonSchema = { + "enum": [ + "review", + "saved", + "ignored" + ], + "type": "string" +}; + +/** + * The schema of `api-shield_api_discovery_state_patch` in responses. + */ +export const api_shield_api_discovery_state_patch_output: JsonSchema = { + "enum": [ + "review", + "ignored" + ], + "type": "string" +}; + +/** + * The schema of `api-shield_discovery_operation` in responses. + */ +export const api_shield_discovery_operation_output: JsonSchema = { + "allOf": [ + { + "properties": { + "features": { + "$ref": "#/$defs/api-shield_traffic_stats" + }, + "id": { + "$ref": "#/$defs/api-shield_uuid-2" + }, + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "origin": { + "items": { + "$ref": "#/$defs/api-shield_api_discovery_origin" + }, + "type": "array" + }, + "state": { + "$ref": "#/$defs/api-shield_api_discovery_state" + } + }, + "required": [ + "id", + "last_updated", + "origin", + "state" + ], + "type": "object" + }, + { + "$ref": "#/$defs/api-shield_basic_operation" + } + ] +}; + +/** + * The schema of `api-shield_traffic_stats` in responses. + */ +export const api_shield_traffic_stats_output: JsonSchema = { + "properties": { + "traffic_stats": { + "$ref": "#/$defs/api-shield_traffic_stats_traffic_stats" + } + }, + "type": "object" +}; + +/** + * The schema of `api-shield_traffic_stats_traffic_stats` in responses. + */ +export const api_shield_traffic_stats_traffic_stats_output: JsonSchema = { + "properties": { + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "period_seconds": { + "type": "integer" + }, + "requests": { + "type": "number" + } + }, + "required": [ + "last_updated", + "period_seconds", + "requests" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts b/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts index bcad0f09..5fd649b1 100644 --- a/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts @@ -2,12 +2,34 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_basic_operation_output, + api_shield_endpoint_output, + api_shield_host_output, + api_shield_messages_output, + api_shield_method_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, + api_shield_uuid_2_output, + api_shield_uuid_output, +} from "../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, api_shield_uuid, api_shield_uuid_2, } from "../../../schemas.js"; +import { + api_shield_api_discovery_origin_output, + api_shield_api_discovery_patch_multiple_request_entry_output, + api_shield_api_discovery_patch_multiple_request_output, + api_shield_api_discovery_state_output, + api_shield_api_discovery_state_patch_output, + api_shield_discovery_operation_output, + api_shield_traffic_stats_output, + api_shield_traffic_stats_traffic_stats_output, +} from "./outputs.js"; import { api_shield_api_discovery_origin, api_shield_api_discovery_patch_multiple_request, @@ -61,6 +83,23 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_api_discovery_patch_multiple_request" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_api_discovery_patch_multiple_request": api_shield_api_discovery_patch_multiple_request_output, + "api-shield_api_discovery_patch_multiple_request_entry": api_shield_api_discovery_patch_multiple_request_entry_output, + "api-shield_api_discovery_state_patch": api_shield_api_discovery_state_patch_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/discovery/operations`, body: { value: args["body"], mediaType: "application/json" }, @@ -118,6 +157,26 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "properties": { + "state": { + "$ref": "#/$defs/api-shield_api_discovery_state" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_api_discovery_state": api_shield_api_discovery_state_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/discovery/operations/${pathParam(args, "discovery_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -166,6 +225,64 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_discovery_operation" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_api_discovery_origin": api_shield_api_discovery_origin_output, + "api-shield_api_discovery_state": api_shield_api_discovery_state_output, + "api-shield_basic_operation": api_shield_basic_operation_output, + "api-shield_discovery_operation": api_shield_discovery_operation_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_traffic_stats": api_shield_traffic_stats_output, + "api-shield_traffic_stats_traffic_stats": api_shield_traffic_stats_traffic_stats_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/discovery/operations/${pathParam(args, "discovery_id")}`, }), @@ -267,6 +384,64 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_discovery_operation" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_api_discovery_origin": api_shield_api_discovery_origin_output, + "api-shield_api_discovery_state": api_shield_api_discovery_state_output, + "api-shield_basic_operation": api_shield_basic_operation_output, + "api-shield_discovery_operation": api_shield_discovery_operation_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_traffic_stats": api_shield_traffic_stats_output, + "api-shield_traffic_stats_traffic_stats": api_shield_traffic_stats_traffic_stats_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/discovery/operations`, query: [ diff --git a/src/generated/forge-mcp/webAssets/discovery/outputs.ts b/src/generated/forge-mcp/webAssets/discovery/outputs.ts new file mode 100644 index 00000000..0f0e24f1 --- /dev/null +++ b/src/generated/forge-mcp/webAssets/discovery/outputs.ts @@ -0,0 +1,63 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `api-shield_openapi` in responses. + */ +export const api_shield_openapi_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `api-shield_schema_response_discovery` in responses. + */ +export const api_shield_schema_response_discovery_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/api-shield_messages" + }, + "messages": { + "$ref": "#/$defs/api-shield_messages" + }, + "result": { + "$ref": "#/$defs/api-shield_schema_response_discovery_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success", + "result" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_schema_response_discovery_result` in responses. + */ +export const api_shield_schema_response_discovery_result_output: JsonSchema = { + "properties": { + "schemas": { + "items": { + "$ref": "#/$defs/api-shield_openapi" + }, + "type": "array" + }, + "timestamp": { + "$ref": "#/$defs/api-shield_timestamp-2" + } + }, + "required": [ + "schemas", + "timestamp" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/webAssets/discovery/tools.ts b/src/generated/forge-mcp/webAssets/discovery/tools.ts index 7fb0c32a..be6d8c1a 100644 --- a/src/generated/forge-mcp/webAssets/discovery/tools.ts +++ b/src/generated/forge-mcp/webAssets/discovery/tools.ts @@ -2,10 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, +} from "../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, } from "../../schemas.js"; +import { + api_shield_openapi_output, + api_shield_schema_response_discovery_output, + api_shield_schema_response_discovery_result_output, +} from "./outputs.js"; /** * The tools of `web_assets.discovery`. @@ -47,6 +58,47 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "schemas": { + "items": { + "$ref": "#/$defs/api-shield_openapi" + }, + "type": "array" + }, + "timestamp": { + "$ref": "#/$defs/api-shield_timestamp-2" + } + }, + "required": [ + "schemas", + "timestamp" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_schema_response_discovery" + }, + { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + ] + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_openapi": api_shield_openapi_output, + "api-shield_schema_response_discovery": api_shield_schema_response_discovery_output, + "api-shield_schema_response_discovery_result": api_shield_schema_response_discovery_result_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/discovery`, }), diff --git a/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts b/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts index b796abf8..761c79e7 100644 --- a/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts @@ -2,18 +2,31 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, +} from "../../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, api_shield_uuid, api_shield_uuid_2, } from "../../../../schemas.js"; +import { + api_shield_label_description_output, + api_shield_label_metadata_output, + api_shield_label_name_output, +} from "../../../outputs.js"; import { api_shield_label_name, api_shield_operation_id_selector, api_shield_operation_id_selector_include, } from "../../../schemas.js"; +import { api_shield_label_mapped_resources_output } from "../../outputs.js"; import { api_shield_replace_operations_attached_to_label_request } from "../../schemas.js"; +import { api_shield_full_managed_label_output } from "../outputs.js"; /** * The tools of `web_assets.labels.managed.operations`. @@ -68,6 +81,27 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_full_managed_label" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_full_managed_label": api_shield_full_managed_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/managed/${pathParam(args, "name")}/resources/operation`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/webAssets/labels/managed/outputs.ts b/src/generated/forge-mcp/webAssets/labels/managed/outputs.ts new file mode 100644 index 00000000..77676ac1 --- /dev/null +++ b/src/generated/forge-mcp/webAssets/labels/managed/outputs.ts @@ -0,0 +1,42 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `api-shield_full_managed_label` in responses. + */ +export const api_shield_full_managed_label_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "description": { + "$ref": "#/$defs/api-shield_label_description" + }, + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "mapped_resources": { + "$ref": "#/$defs/api-shield_label_mapped_resources" + }, + "metadata": { + "$ref": "#/$defs/api-shield_label_metadata" + }, + "name": { + "$ref": "#/$defs/api-shield_label_name" + }, + "source": { + "type": "string" + } + }, + "required": [ + "created_at", + "description", + "last_updated", + "metadata", + "name", + "source" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/webAssets/labels/managed/tools.ts b/src/generated/forge-mcp/webAssets/labels/managed/tools.ts index b1770f51..e8848fd9 100644 --- a/src/generated/forge-mcp/webAssets/labels/managed/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/managed/tools.ts @@ -2,11 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, +} from "../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, } from "../../../schemas.js"; +import { + api_shield_label_description_output, + api_shield_label_metadata_output, + api_shield_label_name_output, +} from "../../outputs.js"; import { api_shield_label_name } from "../../schemas.js"; +import { api_shield_label_mapped_resources_output } from "../outputs.js"; +import { api_shield_full_managed_label_output } from "./outputs.js"; /** * The tools of `web_assets.labels.managed`. @@ -59,6 +72,27 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_full_managed_label" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_full_managed_label": api_shield_full_managed_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/managed/${pathParam(args, "name")}`, query: [ diff --git a/src/generated/forge-mcp/webAssets/labels/outputs.ts b/src/generated/forge-mcp/webAssets/labels/outputs.ts new file mode 100644 index 00000000..d870f7ac --- /dev/null +++ b/src/generated/forge-mcp/webAssets/labels/outputs.ts @@ -0,0 +1,49 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `api-shield_full_label` in responses. + */ +export const api_shield_full_label_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "description": { + "$ref": "#/$defs/api-shield_label_description" + }, + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "mapped_resources": { + "$ref": "#/$defs/api-shield_label_mapped_resources" + }, + "metadata": { + "$ref": "#/$defs/api-shield_label_metadata" + }, + "name": { + "$ref": "#/$defs/api-shield_label_name" + }, + "source": { + "$ref": "#/$defs/api-shield_label_source" + } + }, + "required": [ + "created_at", + "description", + "last_updated", + "metadata", + "name", + "source" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_label_mapped_resources` in responses. + */ +export const api_shield_label_mapped_resources_output: JsonSchema = { + "type": "object" +}; diff --git a/src/generated/forge-mcp/webAssets/labels/tools.ts b/src/generated/forge-mcp/webAssets/labels/tools.ts index 5c5c0b48..cae747a1 100644 --- a/src/generated/forge-mcp/webAssets/labels/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/tools.ts @@ -2,11 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, +} from "../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, } from "../../schemas.js"; +import { + api_shield_label_description_output, + api_shield_label_metadata_output, + api_shield_label_name_output, + api_shield_label_source_output, +} from "../outputs.js"; import { api_shield_label_source } from "../schemas.js"; +import { + api_shield_full_label_output, + api_shield_label_mapped_resources_output, +} from "./outputs.js"; /** * The tools of `web_assets.labels`. @@ -91,6 +107,59 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_full_label" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_full_label": api_shield_full_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels`, query: [ diff --git a/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts b/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts index d0053981..97cdcd45 100644 --- a/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts @@ -2,17 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, +} from "../../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, api_shield_uuid, api_shield_uuid_2, } from "../../../../schemas.js"; +import { + api_shield_label_description_output, + api_shield_label_metadata_output, + api_shield_label_name_output, + api_shield_label_source_output, +} from "../../../outputs.js"; import { api_shield_label_name, api_shield_operation_id_selector, api_shield_operation_id_selector_include, } from "../../../schemas.js"; +import { + api_shield_full_label_output, + api_shield_label_mapped_resources_output, +} from "../../outputs.js"; import { api_shield_replace_operations_attached_to_label_request } from "../../schemas.js"; /** @@ -68,6 +84,28 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_full_label" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_full_label": api_shield_full_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/user/${pathParam(args, "name")}/resources/operation`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/webAssets/labels/user/tools.ts b/src/generated/forge-mcp/webAssets/labels/user/tools.ts index 653140fb..a7d8861d 100644 --- a/src/generated/forge-mcp/webAssets/labels/user/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/user/tools.ts @@ -2,15 +2,32 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_messages_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, +} from "../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, } from "../../../schemas.js"; +import { + api_shield_label_description_output, + api_shield_label_metadata_output, + api_shield_label_name_output, + api_shield_label_output, + api_shield_label_source_output, +} from "../../outputs.js"; import { api_shield_label_description, api_shield_label_metadata, api_shield_label_name, } from "../../schemas.js"; +import { + api_shield_full_label_output, + api_shield_label_mapped_resources_output, +} from "../outputs.js"; import { api_shield_label_request, api_shield_patch_label_request, @@ -66,6 +83,58 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_label" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/user`, body: { value: args["body"], mediaType: "application/json" }, @@ -113,6 +182,58 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_label" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/user`, body: { value: args["body"], mediaType: "application/json" }, @@ -158,6 +279,27 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_label" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/user/${pathParam(args, "name")}`, }), @@ -209,6 +351,27 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_label" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/user/${pathParam(args, "name")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -261,6 +424,28 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_full_label" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_full_label": api_shield_full_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/user/${pathParam(args, "name")}`, query: [ @@ -315,6 +500,27 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_label" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/user/${pathParam(args, "name")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/webAssets/operations/labels/outputs.ts b/src/generated/forge-mcp/webAssets/operations/labels/outputs.ts new file mode 100644 index 00000000..bab3b62e --- /dev/null +++ b/src/generated/forge-mcp/webAssets/operations/labels/outputs.ts @@ -0,0 +1,41 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `api-shield_operation_with_labels_only` in responses. + */ +export const api_shield_operation_with_labels_only_output: JsonSchema = { + "properties": { + "endpoint": { + "$ref": "#/$defs/api-shield_endpoint" + }, + "host": { + "$ref": "#/$defs/api-shield_host" + }, + "labels": { + "items": { + "$ref": "#/$defs/api-shield_label" + }, + "type": "array" + }, + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "method": { + "$ref": "#/$defs/api-shield_method" + }, + "operation_id": { + "$ref": "#/$defs/api-shield_uuid-2" + } + }, + "required": [ + "endpoint", + "host", + "method", + "last_updated", + "operation_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/webAssets/operations/labels/tools.ts b/src/generated/forge-mcp/webAssets/operations/labels/tools.ts index 68d1bbff..1ae0d930 100644 --- a/src/generated/forge-mcp/webAssets/operations/labels/tools.ts +++ b/src/generated/forge-mcp/webAssets/operations/labels/tools.ts @@ -2,17 +2,36 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_endpoint_output, + api_shield_host_output, + api_shield_messages_output, + api_shield_method_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, + api_shield_uuid_2_output, + api_shield_uuid_output, +} from "../../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, api_shield_uuid, api_shield_uuid_2, } from "../../../schemas.js"; +import { + api_shield_label_description_output, + api_shield_label_metadata_output, + api_shield_label_name_output, + api_shield_label_output, + api_shield_label_source_output, +} from "../../outputs.js"; import { api_shield_label_name, api_shield_operation_id_selector, api_shield_operation_id_selector_include, } from "../../schemas.js"; +import { api_shield_operation_with_labels_only_output } from "./outputs.js"; import { api_shield_bulk_delete_labels_on_operation_request, api_shield_bulk_delete_labels_on_operation_request_managed, @@ -78,6 +97,47 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_operation_with_labels_only" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/labels`, body: { value: args["body"], mediaType: "application/json" }, @@ -129,6 +189,47 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_operation_with_labels_only" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/labels`, body: { value: args["body"], mediaType: "application/json" }, @@ -180,6 +281,47 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_operation_with_labels_only" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/labels`, body: { value: args["body"], mediaType: "application/json" }, @@ -231,6 +373,33 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_operation_with_labels_only" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/${pathParam(args, "operation_id")}/labels`, body: { value: args["body"], mediaType: "application/json" }, @@ -282,6 +451,33 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_operation_with_labels_only" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/${pathParam(args, "operation_id")}/labels`, body: { value: args["body"], mediaType: "application/json" }, @@ -333,6 +529,33 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_operation_with_labels_only" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_label": api_shield_label_output, + "api-shield_label_description": api_shield_label_description_output, + "api-shield_label_metadata": api_shield_label_metadata_output, + "api-shield_label_name": api_shield_label_name_output, + "api-shield_label_source": api_shield_label_source_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/${pathParam(args, "operation_id")}/labels`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/webAssets/operations/outputs.ts b/src/generated/forge-mcp/webAssets/operations/outputs.ts new file mode 100644 index 00000000..4760b5ea --- /dev/null +++ b/src/generated/forge-mcp/webAssets/operations/outputs.ts @@ -0,0 +1,44 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `api-shield_operation_schema_fragment` in responses. + */ +export const api_shield_operation_schema_fragment_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "parameters": { + "items": { + "type": "object" + }, + "type": "array" + }, + "requestBody": { + "type": "object" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `api-shield_operation_schemas` in responses. + */ +export const api_shield_operation_schemas_output: JsonSchema = { + "properties": { + "learned": { + "$ref": "#/$defs/api-shield_operation_schema_fragment" + }, + "uploaded": { + "$ref": "#/$defs/api-shield_operation_schema_fragment" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/webAssets/operations/tools.ts b/src/generated/forge-mcp/webAssets/operations/tools.ts index 2a4b81a4..0518d09b 100644 --- a/src/generated/forge-mcp/webAssets/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/operations/tools.ts @@ -2,6 +2,43 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_api_response_common_output, + api_shield_auth_id_tokens_output, + api_shield_confidence_intervals_bounds_output, + api_shield_data_points_output, + api_shield_endpoint_output, + api_shield_host_output, + api_shield_messages_output, + api_shield_method_output, + api_shield_operation_feature_api_routing_api_routing_output, + api_shield_operation_feature_api_routing_output, + api_shield_operation_feature_confidence_intervals_confidence_intervals_output, + api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals_output, + api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_output, + api_shield_operation_feature_confidence_intervals_output, + api_shield_operation_feature_parameter_schemas_output, + api_shield_operation_feature_parameter_schemas_parameter_schemas_output, + api_shield_operation_feature_schema_info_output, + api_shield_operation_feature_schema_info_schema_info_active_schema_output, + api_shield_operation_feature_schema_info_schema_info_output, + api_shield_operation_feature_thresholds_output, + api_shield_operation_feature_thresholds_thresholds_output, + api_shield_operation_features_output, + api_shield_operation_output, + api_shield_p50_output, + api_shield_p90_output, + api_shield_p99_output, + api_shield_parameter_schemas_definition_output, + api_shield_period_seconds_output, + api_shield_requests_output, + api_shield_suggested_threshold_output, + api_shield_timestamp_2_output, + api_shield_timestamp_output, + api_shield_uuid_2_output, + api_shield_uuid_output, +} from "../../outputs.js"; import { api_shield_basic_operation, api_shield_endpoint, @@ -12,6 +49,10 @@ import { api_shield_uuid, api_shield_uuid_2, } from "../../schemas.js"; +import { + api_shield_operation_schema_fragment_output, + api_shield_operation_schemas_output, +} from "./outputs.js"; import { api_shield_object_with_operation_id } from "./schemas.js"; /** @@ -63,6 +104,66 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_operation" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, + "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, + "api-shield_data_points": api_shield_data_points_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation": api_shield_operation_output, + "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, + "api-shield_operation_feature_api_routing_api_routing": api_shield_operation_feature_api_routing_api_routing_output, + "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals_output, + "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, + "api-shield_operation_feature_parameter_schemas_parameter_schemas": api_shield_operation_feature_parameter_schemas_parameter_schemas_output, + "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info": api_shield_operation_feature_schema_info_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info_active_schema": api_shield_operation_feature_schema_info_schema_info_active_schema_output, + "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, + "api-shield_operation_feature_thresholds_thresholds": api_shield_operation_feature_thresholds_thresholds_output, + "api-shield_operation_features": api_shield_operation_features_output, + "api-shield_p50": api_shield_p50_output, + "api-shield_p90": api_shield_p90_output, + "api-shield_p99": api_shield_p99_output, + "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, + "api-shield_period_seconds": api_shield_period_seconds_output, + "api-shield_requests": api_shield_requests_output, + "api-shield_suggested_threshold": api_shield_suggested_threshold_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations`, body: { value: args["body"], mediaType: "application/json" }, @@ -112,6 +213,21 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations`, body: { value: args["body"], mediaType: "application/json" }, @@ -159,6 +275,66 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_operation" + }, + { + "properties": { + "schemas": { + "$ref": "#/$defs/api-shield_operation_schemas" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, + "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, + "api-shield_data_points": api_shield_data_points_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation": api_shield_operation_output, + "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, + "api-shield_operation_feature_api_routing_api_routing": api_shield_operation_feature_api_routing_api_routing_output, + "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals_output, + "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, + "api-shield_operation_feature_parameter_schemas_parameter_schemas": api_shield_operation_feature_parameter_schemas_parameter_schemas_output, + "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info": api_shield_operation_feature_schema_info_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info_active_schema": api_shield_operation_feature_schema_info_schema_info_active_schema_output, + "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, + "api-shield_operation_feature_thresholds_thresholds": api_shield_operation_feature_thresholds_thresholds_output, + "api-shield_operation_features": api_shield_operation_features_output, + "api-shield_operation_schema_fragment": api_shield_operation_schema_fragment_output, + "api-shield_operation_schemas": api_shield_operation_schemas_output, + "api-shield_p50": api_shield_p50_output, + "api-shield_p90": api_shield_p90_output, + "api-shield_p99": api_shield_p99_output, + "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, + "api-shield_period_seconds": api_shield_period_seconds_output, + "api-shield_requests": api_shield_requests_output, + "api-shield_suggested_threshold": api_shield_suggested_threshold_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/item`, body: { value: args["body"], mediaType: "application/json" }, @@ -204,6 +380,21 @@ export const tools: readonly Tool[] = [ "Domain API Gateway" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/api-shield_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common": api_shield_api_response_common_output, + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/${pathParam(args, "operation_id")}`, }), @@ -268,6 +459,66 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_operation" + }, + { + "properties": { + "schemas": { + "$ref": "#/$defs/api-shield_operation_schemas" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, + "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, + "api-shield_data_points": api_shield_data_points_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation": api_shield_operation_output, + "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, + "api-shield_operation_feature_api_routing_api_routing": api_shield_operation_feature_api_routing_api_routing_output, + "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals_output, + "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, + "api-shield_operation_feature_parameter_schemas_parameter_schemas": api_shield_operation_feature_parameter_schemas_parameter_schemas_output, + "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info": api_shield_operation_feature_schema_info_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info_active_schema": api_shield_operation_feature_schema_info_schema_info_active_schema_output, + "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, + "api-shield_operation_feature_thresholds_thresholds": api_shield_operation_feature_thresholds_thresholds_output, + "api-shield_operation_features": api_shield_operation_features_output, + "api-shield_operation_schema_fragment": api_shield_operation_schema_fragment_output, + "api-shield_operation_schemas": api_shield_operation_schemas_output, + "api-shield_p50": api_shield_p50_output, + "api-shield_p90": api_shield_p90_output, + "api-shield_p99": api_shield_p99_output, + "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, + "api-shield_period_seconds": api_shield_period_seconds_output, + "api-shield_requests": api_shield_requests_output, + "api-shield_suggested_threshold": api_shield_suggested_threshold_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/${pathParam(args, "operation_id")}`, query: [ @@ -371,6 +622,83 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/api-shield_operation" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, + "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, + "api-shield_data_points": api_shield_data_points_output, + "api-shield_endpoint": api_shield_endpoint_output, + "api-shield_host": api_shield_host_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_method": api_shield_method_output, + "api-shield_operation": api_shield_operation_output, + "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, + "api-shield_operation_feature_api_routing_api_routing": api_shield_operation_feature_api_routing_api_routing_output, + "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_output, + "api-shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals": api_shield_operation_feature_confidence_intervals_confidence_intervals_suggested_threshold_confidence_intervals_output, + "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, + "api-shield_operation_feature_parameter_schemas_parameter_schemas": api_shield_operation_feature_parameter_schemas_parameter_schemas_output, + "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info": api_shield_operation_feature_schema_info_schema_info_output, + "api-shield_operation_feature_schema_info_schema_info_active_schema": api_shield_operation_feature_schema_info_schema_info_active_schema_output, + "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, + "api-shield_operation_feature_thresholds_thresholds": api_shield_operation_feature_thresholds_thresholds_output, + "api-shield_operation_features": api_shield_operation_features_output, + "api-shield_p50": api_shield_p50_output, + "api-shield_p90": api_shield_p90_output, + "api-shield_p99": api_shield_p99_output, + "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, + "api-shield_period_seconds": api_shield_period_seconds_output, + "api-shield_requests": api_shield_requests_output, + "api-shield_suggested_threshold": api_shield_suggested_threshold_output, + "api-shield_timestamp": api_shield_timestamp_output, + "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_uuid": api_shield_uuid_output, + "api-shield_uuid-2": api_shield_uuid_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations`, query: [ diff --git a/src/generated/forge-mcp/webAssets/outputs.ts b/src/generated/forge-mcp/webAssets/outputs.ts new file mode 100644 index 00000000..6cc3642c --- /dev/null +++ b/src/generated/forge-mcp/webAssets/outputs.ts @@ -0,0 +1,71 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `api-shield_label` in responses. + */ +export const api_shield_label_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "description": { + "$ref": "#/$defs/api-shield_label_description" + }, + "last_updated": { + "$ref": "#/$defs/api-shield_timestamp-2" + }, + "metadata": { + "$ref": "#/$defs/api-shield_label_metadata" + }, + "name": { + "$ref": "#/$defs/api-shield_label_name" + }, + "source": { + "$ref": "#/$defs/api-shield_label_source" + } + }, + "required": [ + "created_at", + "description", + "last_updated", + "metadata", + "name", + "source" + ], + "type": "object" +}; + +/** + * The schema of `api-shield_label_description` in responses. + */ +export const api_shield_label_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_label_metadata` in responses. + */ +export const api_shield_label_metadata_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `api-shield_label_name` in responses. + */ +export const api_shield_label_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `api-shield_label_source` in responses. + */ +export const api_shield_label_source_output: JsonSchema = { + "enum": [ + "user", + "managed" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/webAssets/schemas/outputs.ts b/src/generated/forge-mcp/webAssets/schemas/outputs.ts new file mode 100644 index 00000000..31f80391 --- /dev/null +++ b/src/generated/forge-mcp/webAssets/schemas/outputs.ts @@ -0,0 +1,11 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `api-shield_openapi-with-thresholds` in responses. + */ +export const api_shield_openapi_with_thresholds_output: JsonSchema = { + "type": "object" +}; diff --git a/src/generated/forge-mcp/webAssets/schemas/tools.ts b/src/generated/forge-mcp/webAssets/schemas/tools.ts index 41c78e07..15048b35 100644 --- a/src/generated/forge-mcp/webAssets/schemas/tools.ts +++ b/src/generated/forge-mcp/webAssets/schemas/tools.ts @@ -2,10 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + api_shield_api_response_common_failure_output, + api_shield_messages_output, +} from "../../outputs.js"; import { api_shield_identifier, api_shield_identifier_2, } from "../../schemas.js"; +import { api_shield_openapi_with_thresholds_output } from "./outputs.js"; /** * The tools of `web_assets.schemas`. @@ -77,6 +82,32 @@ export const tools: readonly Tool[] = [ "Domain API Gateway Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "schemas": { + "items": { + "$ref": "#/$defs/api-shield_openapi-with-thresholds" + }, + "type": "array" + }, + "timestamp": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/api-shield_api-response-common-failure" + } + }, + $defs: { + "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, + "api-shield_messages": api_shield_messages_output, + "api-shield_openapi-with-thresholds": api_shield_openapi_with_thresholds_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/schemas`, query: [ diff --git a/src/generated/forge-mcp/workers/accountSettings/outputs.ts b/src/generated/forge-mcp/workers/accountSettings/outputs.ts new file mode 100644 index 00000000..830567fd --- /dev/null +++ b/src/generated/forge-mcp/workers/accountSettings/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_account-settings` in responses. + */ +export const workers_account_settings_output: JsonSchema = { + "properties": { + "default_usage_model": { + "type": "string" + }, + "green_compute": { + "type": "boolean" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/accountSettings/tools.ts b/src/generated/forge-mcp/workers/accountSettings/tools.ts index 93b3bb92..e3f30ba2 100644 --- a/src/generated/forge-mcp/workers/accountSettings/tools.ts +++ b/src/generated/forge-mcp/workers/accountSettings/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../outputs.js"; +import { workers_account_settings_output } from "./outputs.js"; import { workers_account_settings } from "./schemas.js"; /** @@ -69,6 +74,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_account-settings" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_account-settings": workers_account_settings_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/account-settings`, }), @@ -113,6 +133,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_account-settings" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_account-settings": workers_account_settings_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/account-settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workers/assets/upload/outputs.ts b/src/generated/forge-mcp/workers/assets/upload/outputs.ts new file mode 100644 index 00000000..a44f3475 --- /dev/null +++ b/src/generated/forge-mcp/workers/assets/upload/outputs.ts @@ -0,0 +1,55 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `workers_create-assets-upload-session-response` in responses. + */ +export const workers_create_assets_upload_session_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers_messages" + }, + "messages": { + "$ref": "#/$defs/workers_messages" + }, + "result": { + "$ref": "#/$defs/workers_create-assets-upload-session-response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `workers_create-assets-upload-session-response_result` in + * responses. + */ +export const workers_create_assets_upload_session_response_result_output: JsonSchema = { + "properties": { + "buckets": { + "items": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "jwt": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/assets/upload/tools.ts b/src/generated/forge-mcp/workers/assets/upload/tools.ts index a09fdc21..3dfca1c0 100644 --- a/src/generated/forge-mcp/workers/assets/upload/tools.ts +++ b/src/generated/forge-mcp/workers/assets/upload/tools.ts @@ -2,10 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../../outputs.js"; import { workers_create_assets_upload_session_object, workers_manifest_value, } from "../../../schemas.js"; +import { + workers_create_assets_upload_session_response_output, + workers_create_assets_upload_session_response_result_output, +} from "./outputs.js"; /** * The tools of `workers.assets.upload`. @@ -57,6 +65,43 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "buckets": { + "items": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "jwt": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/workers_create-assets-upload-session-response" + }, + { + "$ref": "#/$defs/workers_api-response-common-failure" + } + ] + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_create-assets-upload-session-response": workers_create_assets_upload_session_response_output, + "workers_create-assets-upload-session-response_result": workers_create_assets_upload_session_response_result_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/assets-upload-session`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workers/deployments/outputs.ts b/src/generated/forge-mcp/workers/deployments/outputs.ts new file mode 100644 index 00000000..c03c1851 --- /dev/null +++ b/src/generated/forge-mcp/workers/deployments/outputs.ts @@ -0,0 +1,84 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_deployment` in responses. + */ +export const workers_deployment_output: JsonSchema = { + "properties": { + "annotations": { + "$ref": "#/$defs/workers_deployment_annotations" + }, + "author_email": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "source": { + "type": "string" + }, + "strategy": { + "enum": [ + "percentage" + ], + "type": "string" + }, + "versions": { + "items": { + "$ref": "#/$defs/workers_deployment_versionsItem" + }, + "type": "array" + } + }, + "required": [ + "created_on", + "id", + "source", + "strategy", + "versions" + ], + "type": "object" +}; + +/** + * The schema of `workers_deployment_annotations` in responses. + */ +export const workers_deployment_annotations_output: JsonSchema = { + "properties": { + "workers/message": { + "type": "string" + }, + "workers/triggered_by": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_deployment_versionsItem` in responses. + */ +export const workers_deployment_versionsItem_output: JsonSchema = { + "properties": { + "percentage": { + "type": "number" + }, + "version_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "percentage", + "version_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/deployments/tools.ts b/src/generated/forge-mcp/workers/deployments/tools.ts index a67b07ab..961d00a4 100644 --- a/src/generated/forge-mcp/workers/deployments/tools.ts +++ b/src/generated/forge-mcp/workers/deployments/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_api_response_common_output, + workers_messages_output, +} from "../../outputs.js"; +import { + workers_deployment_annotations_output, + workers_deployment_output, + workers_deployment_versionsItem_output, +} from "./outputs.js"; import { workers_deployment, workers_deployment_annotations, @@ -64,6 +74,23 @@ export const tools: readonly Tool[] = [ "Individual Workers Editor" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_deployment" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_deployment": workers_deployment_output, + "workers_deployment_annotations": workers_deployment_annotations_output, + "workers_deployment_versionsItem": workers_deployment_versionsItem_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/deployments`, query: [ @@ -115,6 +142,21 @@ export const tools: readonly Tool[] = [ "Individual Workers Editor" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common": workers_api_response_common_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/deployments/${pathParam(args, "deployment_id")}`, }), @@ -169,6 +211,23 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_deployment" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_deployment": workers_deployment_output, + "workers_deployment_annotations": workers_deployment_annotations_output, + "workers_deployment_versionsItem": workers_deployment_versionsItem_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/deployments/${pathParam(args, "deployment_id")}`, }), @@ -238,6 +297,34 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "properties": { + "deployments": { + "items": { + "$ref": "#/$defs/workers_deployment" + }, + "type": "array" + } + }, + "required": [ + "deployments" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_deployment": workers_deployment_output, + "workers_deployment_annotations": workers_deployment_annotations_output, + "workers_deployment_versionsItem": workers_deployment_versionsItem_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/deployments`, query: [ diff --git a/src/generated/forge-mcp/workers/domains/outputs.ts b/src/generated/forge-mcp/workers/domains/outputs.ts new file mode 100644 index 00000000..1e32bedd --- /dev/null +++ b/src/generated/forge-mcp/workers/domains/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_Domain` in responses. + */ +export const workers_Domain_output: JsonSchema = { + "properties": { + "cert_id": { + "format": "uuid", + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "environment": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "previews_enabled": { + "type": "boolean" + }, + "service": { + "type": "string" + }, + "zone_id": { + "type": "string" + }, + "zone_name": { + "type": "string" + } + }, + "required": [ + "cert_id", + "enabled", + "environment", + "hostname", + "id", + "previews_enabled", + "service", + "zone_id", + "zone_name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/domains/tools.ts b/src/generated/forge-mcp/workers/domains/tools.ts index c0778da4..65668ed4 100644 --- a/src/generated/forge-mcp/workers/domains/tools.ts +++ b/src/generated/forge-mcp/workers/domains/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_api_response_common_output, + workers_messages_output, +} from "../../outputs.js"; +import { workers_Domain_output } from "./outputs.js"; /** * The tools of `workers.domains`. @@ -45,6 +51,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common": workers_api_response_common_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/domains/${pathParam(args, "domain_id")}`, }), @@ -88,6 +109,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Domain" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Domain": workers_Domain_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/domains/${pathParam(args, "domain_id")}`, }), @@ -155,6 +191,52 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_Domain" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Domain": workers_Domain_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/domains`, query: [ @@ -241,6 +323,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Domain" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Domain": workers_Domain_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/domains`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts index fa62dfd8..a2ada120 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../../../outputs.js"; /** * The tools of `workers.legacy.scripts.content`. @@ -53,6 +57,18 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/content/v2`, }), diff --git a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts new file mode 100644 index 00000000..af9f0c79 --- /dev/null +++ b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts @@ -0,0 +1,139 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `workers_script-and-version-settings-item` in responses. + */ +export const workers_script_and_version_settings_item_output: JsonSchema = { + "properties": { + "annotations": { + "$ref": "#/$defs/workers_script-and-version-settings-item_annotations" + }, + "bindings": { + "allOf": [ + { + "$ref": "#/$defs/workers_bindings" + }, + { + "items": { + "$ref": "#/$defs/workers_binding_item" + }, + "type": "array" + } + ] + }, + "cache_options": { + "$ref": "#/$defs/workers_cache_options" + }, + "compatibility_date": { + "allOf": [ + { + "$ref": "#/$defs/workers_compatibility_date" + }, + { + "type": "string" + } + ] + }, + "compatibility_flags": { + "allOf": [ + { + "$ref": "#/$defs/workers_compatibility_flags" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "exports": { + "$ref": "#/$defs/workers_exports_config_map" + }, + "exports_reconciliation": { + "$ref": "#/$defs/workers_exports_reconciliation_result" + }, + "limits": { + "$ref": "#/$defs/workers_limits" + }, + "logpush": { + "$ref": "#/$defs/workers_logpush" + }, + "migrations": { + "$ref": "#/$defs/workers_script-and-version-settings-item_migrations" + }, + "observability": { + "$ref": "#/$defs/workers_observability-2" + }, + "placement": { + "$ref": "#/$defs/workers_placement_info_no_status" + }, + "tags": { + "allOf": [ + { + "$ref": "#/$defs/workers_tags" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "tail_consumers": { + "allOf": [ + { + "$ref": "#/$defs/workers_tail_consumers" + }, + { + "items": { + "$ref": "#/$defs/workers_tail_consumers_script" + }, + "type": "array" + } + ] + }, + "usage_model": { + "$ref": "#/$defs/workers_usage_model" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_script-and-version-settings-item_annotations` in + * responses. + */ +export const workers_script_and_version_settings_item_annotations_output: JsonSchema = { + "properties": { + "workers/message": { + "type": "string" + }, + "workers/tag": { + "type": "string" + }, + "workers/triggered_by": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_script-and-version-settings-item_migrations` in + * responses. + */ +export const workers_script_and_version_settings_item_migrations_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/workers_single_step_migrations" + }, + { + "$ref": "#/$defs/workers_multiple_step_migrations" + } + ] +}; diff --git a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts index 114077d5..ecb8c53b 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts @@ -2,6 +2,102 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_binding_item_output, + workers_binding_kind_ai_output, + workers_binding_kind_ai_search_namespace_output, + workers_binding_kind_ai_search_output, + workers_binding_kind_analytics_engine_output, + workers_binding_kind_artifacts_output, + workers_binding_kind_assets_output, + workers_binding_kind_browser_output, + workers_binding_kind_d1_output, + workers_binding_kind_data_blob_output, + workers_binding_kind_dispatch_namespace_outbound_output, + workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + workers_binding_kind_dispatch_namespace_outbound_worker_output, + workers_binding_kind_dispatch_namespace_output, + workers_binding_kind_durable_object_namespace_output, + workers_binding_kind_flagship_output, + workers_binding_kind_hyperdrive_output, + workers_binding_kind_images_output, + workers_binding_kind_inherit_output, + workers_binding_kind_json_output, + workers_binding_kind_k2_output, + workers_binding_kind_kv_namespace_output, + workers_binding_kind_media_output, + workers_binding_kind_messaging_output, + workers_binding_kind_mtls_certificate_output, + workers_binding_kind_pipelines_output, + workers_binding_kind_plain_text_output, + workers_binding_kind_queue_output, + workers_binding_kind_r2_bucket_output, + workers_binding_kind_ratelimit_output, + workers_binding_kind_ratelimit_simple_output, + workers_binding_kind_secret_key_output, + workers_binding_kind_secret_text_output, + workers_binding_kind_secrets_store_secret_output, + workers_binding_kind_send_email_output, + workers_binding_kind_service_output, + workers_binding_kind_text_blob_output, + workers_binding_kind_vectorize_output, + workers_binding_kind_version_metadata_output, + workers_binding_kind_vpc_network_output, + workers_binding_kind_vpc_service_output, + workers_binding_kind_wasm_module_output, + workers_binding_kind_workflow_output, + workers_binding_name_output, + workers_bindings_output, + workers_cache_options_output, + workers_compatibility_date_output, + workers_compatibility_flag_output, + workers_compatibility_flags_output, + workers_durable_object_deleted_export_output, + workers_durable_object_expecting_transfer_export_output, + workers_durable_object_export_output, + workers_durable_object_export_variants_output, + workers_durable_object_renamed_export_output, + workers_durable_object_transferred_export_output, + workers_entrypoint_cache_options_output, + workers_export_config_output, + workers_export_storage_output, + workers_exports_config_map_output, + workers_exports_reconciliation_info_output, + workers_exports_reconciliation_rename_output, + workers_exports_reconciliation_result_output, + workers_exports_reconciliation_scenario_output, + workers_exports_reconciliation_transfer_output, + workers_exports_reconciliation_transfer_pending_output, + workers_exports_reconciliation_warning_output, + workers_limits_output, + workers_logpush_output, + workers_messages_output, + workers_migration_step_output, + workers_migration_step_renamed_classesItem_output, + workers_migration_step_transferred_classesItem_output, + workers_migration_tag_conditions_output, + workers_multiple_step_migrations_output, + workers_namespace_identifier_output, + workers_observability_2_issues_output, + workers_observability_2_logs_output, + workers_observability_2_output, + workers_observability_2_traces_output, + workers_placement_info_no_status_output, + workers_placement_target_output, + workers_single_step_migrations_output, + workers_tag_output, + workers_tags_output, + workers_tail_consumers_output, + workers_tail_consumers_script_output, + workers_usage_model_output, + workers_worker_export_output, +} from "../../../../outputs.js"; +import { + workers_script_and_version_settings_item_annotations_output, + workers_script_and_version_settings_item_migrations_output, + workers_script_and_version_settings_item_output, +} from "./outputs.js"; /** * The tools of `workers.legacy.scripts.script_and_version_settings`. @@ -55,6 +151,110 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_script-and-version-settings-item" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_limits": workers_limits_output, + "workers_logpush": workers_logpush_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_observability-2": workers_observability_2_output, + "workers_observability-2_issues": workers_observability_2_issues_output, + "workers_observability-2_logs": workers_observability_2_logs_output, + "workers_observability-2_traces": workers_observability_2_traces_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_script-and-version-settings-item": workers_script_and_version_settings_item_output, + "workers_script-and-version-settings-item_annotations": workers_script_and_version_settings_item_annotations_output, + "workers_script-and-version-settings-item_migrations": workers_script_and_version_settings_item_migrations_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_tag": workers_tag_output, + "workers_tags": workers_tags_output, + "workers_tail_consumers": workers_tail_consumers_output, + "workers_tail_consumers_script": workers_tail_consumers_script_output, + "workers_usage_model": workers_usage_model_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/settings`, }), diff --git a/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts new file mode 100644 index 00000000..faca52f6 --- /dev/null +++ b/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `workers_script-settings-item` in responses. + */ +export const workers_script_settings_item_output: JsonSchema = { + "properties": { + "logpush": { + "$ref": "#/$defs/workers_logpush" + }, + "observability": { + "$ref": "#/$defs/workers_observability-2" + }, + "tags": { + "allOf": [ + { + "$ref": "#/$defs/workers_tags" + }, + { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/workers_tag" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + ] + }, + "tail_consumers": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/workers_tail_consumers_script" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts index ca019d3a..b03c8641 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_exports_reconciliation_error_output, + workers_exports_reconciliation_error_response_errorsItem_meta_output, + workers_exports_reconciliation_error_response_errorsItem_output, + workers_exports_reconciliation_error_response_output, + workers_exports_reconciliation_scenario_output, + workers_logpush_output, + workers_messages_output, + workers_observability_2_issues_output, + workers_observability_2_logs_output, + workers_observability_2_output, + workers_observability_2_traces_output, + workers_tag_output, + workers_tags_output, + workers_tail_consumers_script_output, +} from "../../../../outputs.js"; import { workers_logpush, workers_observability_2, @@ -12,6 +29,7 @@ import { workers_tags, workers_tail_consumers_script, } from "../../../../schemas.js"; +import { workers_script_settings_item_output } from "./outputs.js"; import { workers_script_settings_item } from "./schemas.js"; /** @@ -75,6 +93,41 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_script-settings-item" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "$ref": "#/$defs/workers_exports_reconciliation_error_response" + } + ] + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, + "workers_exports_reconciliation_error_response_errorsItem": workers_exports_reconciliation_error_response_errorsItem_output, + "workers_exports_reconciliation_error_response_errorsItem_meta": workers_exports_reconciliation_error_response_errorsItem_meta_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_logpush": workers_logpush_output, + "workers_messages": workers_messages_output, + "workers_observability-2": workers_observability_2_output, + "workers_observability-2_issues": workers_observability_2_issues_output, + "workers_observability-2_logs": workers_observability_2_logs_output, + "workers_observability-2_traces": workers_observability_2_traces_output, + "workers_script-settings-item": workers_script_settings_item_output, + "workers_tag": workers_tag_output, + "workers_tags": workers_tags_output, + "workers_tail_consumers_script": workers_tail_consumers_script_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/script-settings`, body: { value: args["body"], mediaType: "application/json" }, @@ -128,6 +181,29 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_script-settings-item" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_logpush": workers_logpush_output, + "workers_messages": workers_messages_output, + "workers_observability-2": workers_observability_2_output, + "workers_observability-2_issues": workers_observability_2_issues_output, + "workers_observability-2_logs": workers_observability_2_logs_output, + "workers_observability-2_traces": workers_observability_2_traces_output, + "workers_script-settings-item": workers_script_settings_item_output, + "workers_tag": workers_tag_output, + "workers_tags": workers_tags_output, + "workers_tail_consumers_script": workers_tail_consumers_script_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/script-settings`, }), diff --git a/src/generated/forge-mcp/workers/legacy/scripts/subdomain/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/outputs.ts new file mode 100644 index 00000000..baa0253d --- /dev/null +++ b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/outputs.ts @@ -0,0 +1,23 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `workers_subdomain` in responses. + */ +export const workers_subdomain_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "previews_enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled", + "previews_enabled" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts index c7d06a6f..e40922ba 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../../../outputs.js"; +import { workers_subdomain_output } from "./outputs.js"; /** * The tools of `workers.legacy.scripts.subdomain`. @@ -66,6 +71,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_subdomain" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_subdomain": workers_subdomain_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/subdomain`, body: { value: args["body"], mediaType: "application/json" }, @@ -113,6 +133,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_subdomain" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_subdomain": workers_subdomain_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/subdomain`, }), @@ -165,6 +200,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_subdomain" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_subdomain": workers_subdomain_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/subdomain`, }), diff --git a/src/generated/forge-mcp/workers/legacy/scripts/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/tools.ts index 6226aec4..3b45efea 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/tools.ts @@ -2,6 +2,48 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_cache_options_output, + workers_compatibility_date_output, + workers_compatibility_flag_output, + workers_compatibility_flags_output, + workers_created_on_output, + workers_durable_object_deleted_export_output, + workers_durable_object_expecting_transfer_export_output, + workers_durable_object_export_output, + workers_durable_object_export_variants_output, + workers_durable_object_renamed_export_output, + workers_durable_object_transferred_export_output, + workers_entrypoint_cache_options_output, + workers_etag_output, + workers_export_config_output, + workers_export_storage_output, + workers_exports_config_map_output, + workers_has_assets_output, + workers_has_modules_output, + workers_identifier_output, + workers_logpush_output, + workers_messages_output, + workers_modified_on_output, + workers_observability_2_issues_output, + workers_observability_2_logs_output, + workers_observability_2_output, + workers_observability_2_traces_output, + workers_placement_info_output, + workers_placement_mode_output, + workers_placement_status_output, + workers_placement_target_output, + workers_script_response_named_handlersItem_output, + workers_script_response_output, + workers_tag_output, + workers_tags_output, + workers_tail_consumers_output, + workers_tail_consumers_script_output, + workers_usage_model_output, + workers_worker_export_output, +} from "../../../outputs.js"; +import { workers_route_output } from "../../outputs.js"; /** * The tools of `workers.legacy.scripts`. @@ -51,6 +93,20 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}`, query: [ @@ -104,6 +160,18 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}`, }), @@ -155,6 +223,94 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/workers_script-response" + }, + { + "properties": { + "routes": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/workers_route" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + } + ] + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_created_on": workers_created_on_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_etag": workers_etag_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_has_assets": workers_has_assets_output, + "workers_has_modules": workers_has_modules_output, + "workers_identifier": workers_identifier_output, + "workers_logpush": workers_logpush_output, + "workers_messages": workers_messages_output, + "workers_modified_on": workers_modified_on_output, + "workers_observability-2": workers_observability_2_output, + "workers_observability-2_issues": workers_observability_2_issues_output, + "workers_observability-2_logs": workers_observability_2_logs_output, + "workers_observability-2_traces": workers_observability_2_traces_output, + "workers_placement_info": workers_placement_info_output, + "workers_placement_mode": workers_placement_mode_output, + "workers_placement_status": workers_placement_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_route": workers_route_output, + "workers_script-response": workers_script_response_output, + "workers_script-response_named_handlersItem": workers_script_response_named_handlersItem_output, + "workers_tag": workers_tag_output, + "workers_tags": workers_tags_output, + "workers_tail_consumers": workers_tail_consumers_output, + "workers_tail_consumers_script": workers_tail_consumers_script_output, + "workers_usage_model": workers_usage_model_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts`, query: [ diff --git a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts new file mode 100644 index 00000000..771b4468 --- /dev/null +++ b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts @@ -0,0 +1,30 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `workers_user_limits` in responses. + */ +export const workers_user_limits_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "cpu_ms": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts index 56028227..a35ecc80 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts @@ -2,7 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, + workers_usage_model_output, +} from "../../../../outputs.js"; import { workers_usage_model } from "../../../../schemas.js"; +import { workers_user_limits_output } from "./outputs.js"; import { workers_user_limits } from "./schemas.js"; /** @@ -57,6 +63,30 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "usage_model": { + "$ref": "#/$defs/workers_usage_model" + }, + "user_limits": { + "$ref": "#/$defs/workers_user_limits" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_usage_model": workers_usage_model_output, + "workers_user_limits": workers_user_limits_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/usage-model`, }), @@ -122,6 +152,30 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "usage_model": { + "$ref": "#/$defs/workers_usage_model" + }, + "user_limits": { + "$ref": "#/$defs/workers_user_limits" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_usage_model": workers_usage_model_output, + "workers_user_limits": workers_user_limits_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/usage-model`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/versions/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/versions/outputs.ts new file mode 100644 index 00000000..95051c9a --- /dev/null +++ b/src/generated/forge-mcp/workers/legacy/scripts/versions/outputs.ts @@ -0,0 +1,284 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `workers_version-item-full` in responses. + */ +export const workers_version_item_full_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "metadata": { + "$ref": "#/$defs/workers_version-item-short_metadata" + }, + "number": { + "type": "number" + }, + "resources": { + "$ref": "#/$defs/workers_version-item-full_resources" + } + }, + "required": [ + "resources" + ], + "type": "object" +}; + +/** + * The schema of `workers_version-item-full_resources` in responses. + */ +export const workers_version_item_full_resources_output: JsonSchema = { + "properties": { + "bindings": { + "allOf": [ + { + "$ref": "#/$defs/workers_bindings" + }, + { + "items": { + "$ref": "#/$defs/workers_binding_item" + }, + "type": "array" + } + ] + }, + "script": { + "$ref": "#/$defs/workers_version-item-full_resources_script" + }, + "script_runtime": { + "$ref": "#/$defs/workers_version-item-full_resources_script_runtime" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_version-item-full_resources_script` in responses. + */ +export const workers_version_item_full_resources_script_output: JsonSchema = { + "properties": { + "etag": { + "type": "string" + }, + "handlers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "last_deployed_from": { + "type": "string" + }, + "named_handlers": { + "items": { + "$ref": "#/$defs/workers_version-item-full_resources_script_named_handlersItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_version-item-full_resources_script_named_handlersItem` + * in responses. + */ +export const workers_version_item_full_resources_script_named_handlersItem_output: JsonSchema = { + "properties": { + "handlers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_version-item-full_resources_script_runtime` in + * responses. + */ +export const workers_version_item_full_resources_script_runtime_output: JsonSchema = { + "properties": { + "compatibility_date": { + "type": "string" + }, + "compatibility_flags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "exports": { + "$ref": "#/$defs/workers_exports_config_map" + }, + "limits": { + "$ref": "#/$defs/workers_version-item-full_resources_script_runtime_limits" + }, + "migration_tag": { + "type": "string" + }, + "usage_model": { + "enum": [ + "bundled", + "unbound", + "standard" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_version-item-full_resources_script_runtime_limits` in + * responses. + */ +export const workers_version_item_full_resources_script_runtime_limits_output: JsonSchema = { + "properties": { + "cpu_ms": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_version-item-short` in responses. + */ +export const workers_version_item_short_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "metadata": { + "$ref": "#/$defs/workers_version-item-short_metadata" + }, + "number": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_version-item-short_metadata` in responses. + */ +export const workers_version_item_short_metadata_output: JsonSchema = { + "properties": { + "author_email": { + "type": "string" + }, + "author_id": { + "type": "string" + }, + "created_on": { + "type": "string" + }, + "hasPreview": { + "type": "boolean" + }, + "modified_on": { + "type": "string" + }, + "source": { + "enum": [ + "unknown", + "api", + "wrangler", + "terraform", + "dash", + "cf_cli", + "dash_template", + "integration", + "quick_editor", + "playground", + "workersci" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_versions-list-response` in responses. + */ +export const workers_versions_list_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers_messages" + }, + "messages": { + "$ref": "#/$defs/workers_messages" + }, + "result": { + "$ref": "#/$defs/workers_versions-list-response_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success", + "result" + ], + "type": "object" +}; + +/** + * The schema of `workers_versions-list-response_result` in responses. + */ +export const workers_versions_list_response_result_output: JsonSchema = { + "properties": { + "items": { + "items": { + "$ref": "#/$defs/workers_version-item-short" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_versions-single-response` in responses. + */ +export const workers_versions_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers_messages" + }, + "messages": { + "$ref": "#/$defs/workers_messages" + }, + "result": { + "$ref": "#/$defs/workers_version-item-full" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success", + "result" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts index efb99f08..71f44594 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts @@ -2,6 +2,80 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_binding_item_output, + workers_binding_kind_ai_output, + workers_binding_kind_ai_search_namespace_output, + workers_binding_kind_ai_search_output, + workers_binding_kind_analytics_engine_output, + workers_binding_kind_artifacts_output, + workers_binding_kind_assets_output, + workers_binding_kind_browser_output, + workers_binding_kind_d1_output, + workers_binding_kind_data_blob_output, + workers_binding_kind_dispatch_namespace_outbound_output, + workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + workers_binding_kind_dispatch_namespace_outbound_worker_output, + workers_binding_kind_dispatch_namespace_output, + workers_binding_kind_durable_object_namespace_output, + workers_binding_kind_flagship_output, + workers_binding_kind_hyperdrive_output, + workers_binding_kind_images_output, + workers_binding_kind_inherit_output, + workers_binding_kind_json_output, + workers_binding_kind_k2_output, + workers_binding_kind_kv_namespace_output, + workers_binding_kind_media_output, + workers_binding_kind_messaging_output, + workers_binding_kind_mtls_certificate_output, + workers_binding_kind_pipelines_output, + workers_binding_kind_plain_text_output, + workers_binding_kind_queue_output, + workers_binding_kind_r2_bucket_output, + workers_binding_kind_ratelimit_output, + workers_binding_kind_ratelimit_simple_output, + workers_binding_kind_secret_key_output, + workers_binding_kind_secret_text_output, + workers_binding_kind_secrets_store_secret_output, + workers_binding_kind_send_email_output, + workers_binding_kind_service_output, + workers_binding_kind_text_blob_output, + workers_binding_kind_vectorize_output, + workers_binding_kind_version_metadata_output, + workers_binding_kind_vpc_network_output, + workers_binding_kind_vpc_service_output, + workers_binding_kind_wasm_module_output, + workers_binding_kind_workflow_output, + workers_binding_name_output, + workers_bindings_output, + workers_durable_object_deleted_export_output, + workers_durable_object_expecting_transfer_export_output, + workers_durable_object_export_output, + workers_durable_object_export_variants_output, + workers_durable_object_renamed_export_output, + workers_durable_object_transferred_export_output, + workers_entrypoint_cache_options_output, + workers_export_config_output, + workers_export_storage_output, + workers_exports_config_map_output, + workers_messages_output, + workers_namespace_identifier_output, + workers_worker_export_output, +} from "../../../../outputs.js"; +import { + workers_version_item_full_output, + workers_version_item_full_resources_output, + workers_version_item_full_resources_script_named_handlersItem_output, + workers_version_item_full_resources_script_output, + workers_version_item_full_resources_script_runtime_limits_output, + workers_version_item_full_resources_script_runtime_output, + workers_version_item_short_metadata_output, + workers_version_item_short_output, + workers_versions_list_response_output, + workers_versions_list_response_result_output, + workers_versions_single_response_output, +} from "./outputs.js"; /** * The tools of `workers.legacy.scripts.versions`. @@ -57,6 +131,92 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_version-item-full" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/workers_versions-single-response" + }, + { + "$ref": "#/$defs/workers_api-response-common-failure" + } + ] + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_messages": workers_messages_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_version-item-full": workers_version_item_full_output, + "workers_version-item-full_resources": workers_version_item_full_resources_output, + "workers_version-item-full_resources_script": workers_version_item_full_resources_script_output, + "workers_version-item-full_resources_script_named_handlersItem": workers_version_item_full_resources_script_named_handlersItem_output, + "workers_version-item-full_resources_script_runtime": workers_version_item_full_resources_script_runtime_output, + "workers_version-item-full_resources_script_runtime_limits": workers_version_item_full_resources_script_runtime_limits_output, + "workers_version-item-short_metadata": workers_version_item_short_metadata_output, + "workers_versions-single-response": workers_versions_single_response_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/versions/${pathParam(args, "version_id")}`, }), @@ -123,6 +283,39 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "items": { + "items": { + "$ref": "#/$defs/workers_version-item-short" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/workers_versions-list-response" + }, + { + "$ref": "#/$defs/workers_api-response-common-failure" + } + ] + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_version-item-short": workers_version_item_short_output, + "workers_version-item-short_metadata": workers_version_item_short_metadata_output, + "workers_versions-list-response": workers_versions_list_response_output, + "workers_versions-list-response_result": workers_versions_list_response_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/versions`, query: [ diff --git a/src/generated/forge-mcp/workers/outputs.ts b/src/generated/forge-mcp/workers/outputs.ts new file mode 100644 index 00000000..2bab3d01 --- /dev/null +++ b/src/generated/forge-mcp/workers/outputs.ts @@ -0,0 +1,696 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `workers_ErrorAuth` in responses. + */ +export const workers_ErrorAuth_output: JsonSchema = { + "properties": { + "code": { + "enum": [ + 10023 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `workers_ErrorInternalServer` in responses. + */ +export const workers_ErrorInternalServer_output: JsonSchema = { + "properties": { + "code": { + "enum": [ + 10002 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `workers_ErrorWorkerNotFound` in responses. + */ +export const workers_ErrorWorkerNotFound_output: JsonSchema = { + "properties": { + "code": { + "enum": [ + 10007 + ], + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `workers_PreviewsBaseConfig` in responses. + */ +export const workers_PreviewsBaseConfig_output: JsonSchema = { + "properties": { + "cache_options": { + "$ref": "#/$defs/workers_cache_options" + }, + "env": { + "$ref": "#/$defs/workers_env" + }, + "limits": { + "$ref": "#/$defs/workers_limits" + }, + "logpush": { + "type": "boolean" + }, + "observability": { + "$ref": "#/$defs/workers_observability" + }, + "placement": { + "$ref": "#/$defs/workers_placement_info_no_status" + }, + "tail_consumers": { + "items": { + "$ref": "#/$defs/workers_PreviewsBaseConfig_tail_consumersItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_PreviewsBaseConfig_tail_consumersItem` in responses. + */ +export const workers_PreviewsBaseConfig_tail_consumersItem_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" +}; + +/** + * The schema of `workers_Worker` in responses. + */ +export const workers_Worker_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "deployed_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "logpush": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "observability": { + "$ref": "#/$defs/workers_Worker_observability" + }, + "previews_base_config": { + "$ref": "#/$defs/workers_PreviewsBaseConfig" + }, + "references": { + "$ref": "#/$defs/workers_Worker_references" + }, + "subdomain": { + "$ref": "#/$defs/workers_Worker_subdomain" + }, + "tags": { + "items": { + "type": "string" + }, + "maxItems": 8, + "type": "array" + }, + "tail_consumers": { + "items": { + "$ref": "#/$defs/workers_Worker_tail_consumersItem" + }, + "type": "array" + }, + "updated_on": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_on", + "id", + "logpush", + "name", + "observability", + "references", + "subdomain", + "tags", + "tail_consumers", + "updated_on" + ], + "type": "object" +}; + +/** + * The schema of `workers_Worker_observability` in responses. + */ +export const workers_Worker_observability_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "type": "number" + }, + "issues": { + "$ref": "#/$defs/workers_Worker_observability_issues" + }, + "logs": { + "$ref": "#/$defs/workers_Worker_observability_logs" + }, + "redact_query_string": { + "type": "boolean" + }, + "traces": { + "$ref": "#/$defs/workers_Worker_observability_traces" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Worker_observability_issues` in responses. + */ +export const workers_Worker_observability_issues_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `workers_Worker_observability_logs` in responses. + */ +export const workers_Worker_observability_logs_output: JsonSchema = { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "type": "number" + }, + "invocation_logs": { + "type": "boolean" + }, + "persist": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Worker_observability_traces` in responses. + */ +export const workers_Worker_observability_traces_output: JsonSchema = { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "type": "number" + }, + "persist": { + "type": "boolean" + }, + "propagation_policy": { + "oneOf": [ + { + "enum": [ + "authenticated", + "accept" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Worker_references` in responses. + */ +export const workers_Worker_references_output: JsonSchema = { + "properties": { + "dispatch_namespace_outbounds": { + "items": { + "$ref": "#/$defs/workers_Worker_references_dispatch_namespace_outboundsItem" + }, + "type": "array" + }, + "domains": { + "items": { + "$ref": "#/$defs/workers_Worker_references_domainsItem" + }, + "type": "array" + }, + "durable_objects": { + "items": { + "$ref": "#/$defs/workers_Worker_references_durable_objectsItem" + }, + "type": "array" + }, + "queues": { + "items": { + "$ref": "#/$defs/workers_Worker_references_queuesItem" + }, + "type": "array" + }, + "workers": { + "items": { + "$ref": "#/$defs/workers_Worker_references_workersItem" + }, + "type": "array" + } + }, + "required": [ + "dispatch_namespace_outbounds", + "domains", + "durable_objects", + "queues", + "workers" + ], + "type": "object" +}; + +/** + * The schema of `workers_Worker_references_dispatch_namespace_outboundsItem` in + * responses. + */ +export const workers_Worker_references_dispatch_namespace_outboundsItem_output: JsonSchema = { + "properties": { + "namespace_id": { + "type": "string" + }, + "namespace_name": { + "type": "string" + }, + "worker_id": { + "type": "string" + }, + "worker_name": { + "type": "string" + } + }, + "required": [ + "namespace_id", + "namespace_name", + "worker_id", + "worker_name" + ], + "type": "object" +}; + +/** + * The schema of `workers_Worker_references_domainsItem` in responses. + */ +export const workers_Worker_references_domainsItem_output: JsonSchema = { + "properties": { + "certificate_id": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "id": { + "type": "string" + }, + "zone_id": { + "type": "string" + }, + "zone_name": { + "type": "string" + } + }, + "required": [ + "certificate_id", + "hostname", + "id", + "zone_id", + "zone_name" + ], + "type": "object" +}; + +/** + * The schema of `workers_Worker_references_durable_objectsItem` in responses. + */ +export const workers_Worker_references_durable_objectsItem_output: JsonSchema = { + "properties": { + "namespace_id": { + "type": "string" + }, + "namespace_name": { + "type": "string" + }, + "worker_id": { + "type": "string" + }, + "worker_name": { + "type": "string" + } + }, + "required": [ + "namespace_id", + "namespace_name", + "worker_id", + "worker_name" + ], + "type": "object" +}; + +/** + * The schema of `workers_Worker_references_queuesItem` in responses. + */ +export const workers_Worker_references_queuesItem_output: JsonSchema = { + "properties": { + "queue_consumer_id": { + "type": "string" + }, + "queue_id": { + "type": "string" + }, + "queue_name": { + "type": "string" + } + }, + "required": [ + "queue_consumer_id", + "queue_id", + "queue_name" + ], + "type": "object" +}; + +/** + * The schema of `workers_Worker_references_workersItem` in responses. + */ +export const workers_Worker_references_workersItem_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `workers_Worker_subdomain` in responses. + */ +export const workers_Worker_subdomain_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "preview_url_suffix": { + "type": "string" + }, + "previews_enabled": { + "type": "boolean" + }, + "url": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Worker_tail_consumersItem` in responses. + */ +export const workers_Worker_tail_consumersItem_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" +}; + +/** + * The schema of `workers_container_item` in responses. + */ +export const workers_container_item_output: JsonSchema = { + "properties": { + "class_name": { + "type": "string" + } + }, + "required": [ + "class_name" + ], + "type": "object" +}; + +/** + * The schema of `workers_containers` in responses. + */ +export const workers_containers_output: JsonSchema = { + "items": { + "$ref": "#/$defs/workers_container_item" + }, + "type": "array" +}; + +/** + * The schema of `workers_env` in responses. + */ +export const workers_env_output: JsonSchema = { + "additionalProperties": { + "$ref": "#/$defs/workers_env_binding_item" + }, + "type": "object" +}; + +/** + * The schema of `workers_env_binding_item` in responses. + */ +export const workers_env_binding_item_output: JsonSchema = { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `workers_observability` in responses. + */ +export const workers_observability_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "type": "number" + }, + "issues": { + "$ref": "#/$defs/workers_observability_issues" + }, + "logs": { + "$ref": "#/$defs/workers_observability_logs" + }, + "redact_query_string": { + "type": "boolean" + }, + "traces": { + "$ref": "#/$defs/workers_observability_traces" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_observability_issues` in responses. + */ +export const workers_observability_issues_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `workers_observability_logs` in responses. + */ +export const workers_observability_logs_output: JsonSchema = { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "type": "number" + }, + "invocation_logs": { + "type": "boolean" + }, + "persist": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_observability_traces` in responses. + */ +export const workers_observability_traces_output: JsonSchema = { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "type": "number" + }, + "persist": { + "type": "boolean" + }, + "propagation_policy": { + "oneOf": [ + { + "enum": [ + "authenticated", + "accept" + ], + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `workers_route` in responses. + */ +export const workers_route_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/workers_identifier" + }, + "pattern": { + "type": "string" + }, + "script": { + "type": "string" + } + }, + "required": [ + "id", + "pattern" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/placement/regions/outputs.ts b/src/generated/forge-mcp/workers/placement/regions/outputs.ts new file mode 100644 index 00000000..25327e8c --- /dev/null +++ b/src/generated/forge-mcp/workers/placement/regions/outputs.ts @@ -0,0 +1,59 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `workers_placement-provider` in responses. + */ +export const workers_placement_provider_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "regions": { + "items": { + "$ref": "#/$defs/workers_placement-region" + }, + "type": "array" + } + }, + "required": [ + "id", + "regions" + ], + "type": "object" +}; + +/** + * The schema of `workers_placement-region` in responses. + */ +export const workers_placement_region_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `workers_placement-regions-response` in responses. + */ +export const workers_placement_regions_response_output: JsonSchema = { + "properties": { + "providers": { + "items": { + "$ref": "#/$defs/workers_placement-provider" + }, + "type": "array" + } + }, + "required": [ + "providers" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/placement/regions/tools.ts b/src/generated/forge-mcp/workers/placement/regions/tools.ts index 53234b3b..0873f670 100644 --- a/src/generated/forge-mcp/workers/placement/regions/tools.ts +++ b/src/generated/forge-mcp/workers/placement/regions/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../../outputs.js"; +import { + workers_placement_provider_output, + workers_placement_region_output, + workers_placement_regions_response_output, +} from "./outputs.js"; /** * The tools of `workers.placement.regions`. @@ -42,6 +51,23 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_placement-regions-response" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_placement-provider": workers_placement_provider_output, + "workers_placement-region": workers_placement_region_output, + "workers_placement-regions-response": workers_placement_regions_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/placement/regions`, }), diff --git a/src/generated/forge-mcp/workers/previews/deployments/outputs.ts b/src/generated/forge-mcp/workers/previews/deployments/outputs.ts new file mode 100644 index 00000000..801df13f --- /dev/null +++ b/src/generated/forge-mcp/workers/previews/deployments/outputs.ts @@ -0,0 +1,266 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `workers_PreviewDeployment` in responses. + */ +export const workers_PreviewDeployment_output: JsonSchema = { + "properties": { + "annotations": { + "$ref": "#/$defs/workers_PreviewDeploymentConfig_annotations" + }, + "assets": { + "$ref": "#/$defs/workers_assets" + }, + "author_email": { + "type": "string" + }, + "author_id": { + "type": "string" + }, + "bindings": { + "$ref": "#/$defs/workers_bindings" + }, + "cache_options": { + "$ref": "#/$defs/workers_cache_options" + }, + "compatibility_date": { + "$ref": "#/$defs/workers_compatibility_date" + }, + "compatibility_flags": { + "$ref": "#/$defs/workers_compatibility_flags" + }, + "containers": { + "$ref": "#/$defs/workers_containers" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "env": { + "$ref": "#/$defs/workers_env" + }, + "exports": { + "$ref": "#/$defs/workers_exports_config_map" + }, + "exports_reconciliation": { + "$ref": "#/$defs/workers_exports_reconciliation_result" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "limits": { + "$ref": "#/$defs/workers_PreviewDeploymentConfig_limits" + }, + "main_module": { + "type": "string" + }, + "migration_tag": { + "type": "string" + }, + "migrations": { + "$ref": "#/$defs/workers_PreviewDeploymentConfig_migrations" + }, + "modules": { + "items": { + "$ref": "#/$defs/workers_PreviewDeploymentRequest_modulesItem" + }, + "type": "array" + }, + "number": { + "type": "integer" + }, + "placement": { + "$ref": "#/$defs/workers_placement_info_no_status" + }, + "source": { + "type": "string" + }, + "startup_time_ms": { + "type": "integer" + }, + "urls": { + "items": { + "type": "string" + }, + "type": "array" + }, + "usage_model": { + "enum": [ + "standard", + "bundled", + "unbound" + ], + "type": "string" + } + }, + "required": [ + "author_email", + "author_id", + "created_on", + "id", + "number", + "urls" + ], + "type": "object" +}; + +/** + * The schema of `workers_PreviewDeploymentConfig_annotations` in responses. + */ +export const workers_PreviewDeploymentConfig_annotations_output: JsonSchema = { + "properties": { + "workers/commit_sha": { + "type": "string" + }, + "workers/message": { + "type": "string" + }, + "workers/pull_request_number": { + "type": "string" + }, + "workers/pull_request_title": { + "type": "string" + }, + "workers/pull_request_url": { + "type": "string" + }, + "workers/repository_url": { + "type": "string" + }, + "workers/tag": { + "type": "string" + }, + "workers/triggered_by": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_PreviewDeploymentConfig_limits` in responses. + */ +export const workers_PreviewDeploymentConfig_limits_output: JsonSchema = { + "properties": { + "cpu_ms": { + "type": "integer" + }, + "subrequests": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_PreviewDeploymentConfig_migrations` in responses. + */ +export const workers_PreviewDeploymentConfig_migrations_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/workers_single_step_migrations" + }, + { + "$ref": "#/$defs/workers_multiple_step_migrations" + } + ] +}; + +/** + * The schema of `workers_PreviewDeploymentRequest_modulesItem` in responses. + */ +export const workers_PreviewDeploymentRequest_modulesItem_output: JsonSchema = { + "properties": { + "content_base64": { + "contentEncoding": "base64", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "content_base64", + "content_type", + "name" + ], + "type": "object" +}; + +/** + * The schema of `workers_assets` in responses. + */ +export const workers_assets_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/workers_assets_config" + }, + "jwt": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_assets_config` in responses. + */ +export const workers_assets_config_output: JsonSchema = { + "properties": { + "base_path": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "html_handling": { + "enum": [ + "auto-trailing-slash", + "force-trailing-slash", + "drop-trailing-slash", + "none" + ], + "type": "string" + }, + "not_found_handling": { + "enum": [ + "none", + "404-page", + "single-page-application" + ], + "type": "string" + }, + "run_worker_first": { + "$ref": "#/$defs/workers_assets_config_run_worker_first" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_assets_config_run_worker_first` in responses. + */ +export const workers_assets_config_run_worker_first_output: JsonSchema = { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "boolean" + } + ] +}; diff --git a/src/generated/forge-mcp/workers/previews/deployments/tools.ts b/src/generated/forge-mcp/workers/previews/deployments/tools.ts index 507d2308..6821fa70 100644 --- a/src/generated/forge-mcp/workers/previews/deployments/tools.ts +++ b/src/generated/forge-mcp/workers/previews/deployments/tools.ts @@ -2,6 +2,91 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_api_response_common_output, + workers_binding_item_output, + workers_binding_kind_ai_output, + workers_binding_kind_ai_search_namespace_output, + workers_binding_kind_ai_search_output, + workers_binding_kind_analytics_engine_output, + workers_binding_kind_artifacts_output, + workers_binding_kind_assets_output, + workers_binding_kind_browser_output, + workers_binding_kind_d1_output, + workers_binding_kind_data_blob_output, + workers_binding_kind_dispatch_namespace_outbound_output, + workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + workers_binding_kind_dispatch_namespace_outbound_worker_output, + workers_binding_kind_dispatch_namespace_output, + workers_binding_kind_durable_object_namespace_output, + workers_binding_kind_flagship_output, + workers_binding_kind_hyperdrive_output, + workers_binding_kind_images_output, + workers_binding_kind_inherit_output, + workers_binding_kind_json_output, + workers_binding_kind_k2_output, + workers_binding_kind_kv_namespace_output, + workers_binding_kind_media_output, + workers_binding_kind_messaging_output, + workers_binding_kind_mtls_certificate_output, + workers_binding_kind_pipelines_output, + workers_binding_kind_plain_text_output, + workers_binding_kind_queue_output, + workers_binding_kind_r2_bucket_output, + workers_binding_kind_ratelimit_output, + workers_binding_kind_ratelimit_simple_output, + workers_binding_kind_secret_key_output, + workers_binding_kind_secret_text_output, + workers_binding_kind_secrets_store_secret_output, + workers_binding_kind_send_email_output, + workers_binding_kind_service_output, + workers_binding_kind_text_blob_output, + workers_binding_kind_vectorize_output, + workers_binding_kind_version_metadata_output, + workers_binding_kind_vpc_network_output, + workers_binding_kind_vpc_service_output, + workers_binding_kind_wasm_module_output, + workers_binding_kind_workflow_output, + workers_binding_name_output, + workers_bindings_output, + workers_cache_options_output, + workers_compatibility_date_output, + workers_compatibility_flag_output, + workers_compatibility_flags_output, + workers_durable_object_deleted_export_output, + workers_durable_object_expecting_transfer_export_output, + workers_durable_object_export_output, + workers_durable_object_export_variants_output, + workers_durable_object_renamed_export_output, + workers_durable_object_transferred_export_output, + workers_entrypoint_cache_options_output, + workers_export_config_output, + workers_export_storage_output, + workers_exports_config_map_output, + workers_exports_reconciliation_error_output, + workers_exports_reconciliation_error_response_errorsItem_meta_output, + workers_exports_reconciliation_error_response_errorsItem_output, + workers_exports_reconciliation_error_response_output, + workers_exports_reconciliation_info_output, + workers_exports_reconciliation_rename_output, + workers_exports_reconciliation_result_output, + workers_exports_reconciliation_scenario_output, + workers_exports_reconciliation_transfer_output, + workers_exports_reconciliation_transfer_pending_output, + workers_exports_reconciliation_warning_output, + workers_messages_output, + workers_migration_step_output, + workers_migration_step_renamed_classesItem_output, + workers_migration_step_transferred_classesItem_output, + workers_migration_tag_conditions_output, + workers_multiple_step_migrations_output, + workers_namespace_identifier_output, + workers_placement_info_no_status_output, + workers_placement_target_output, + workers_single_step_migrations_output, + workers_worker_export_output, +} from "../../../outputs.js"; import { workers_binding_item, workers_binding_kind_ai, @@ -73,12 +158,28 @@ import { workers_single_step_migrations, workers_worker_export, } from "../../../schemas.js"; +import { + workers_container_item_output, + workers_containers_output, + workers_env_binding_item_output, + workers_env_output, +} from "../../outputs.js"; import { workers_container_item, workers_containers, workers_env, workers_env_binding_item, } from "../../schemas.js"; +import { + workers_PreviewDeploymentConfig_annotations_output, + workers_PreviewDeploymentConfig_limits_output, + workers_PreviewDeploymentConfig_migrations_output, + workers_PreviewDeploymentRequest_modulesItem_output, + workers_PreviewDeployment_output, + workers_assets_config_output, + workers_assets_config_run_worker_first_output, + workers_assets_output, +} from "./outputs.js"; import { workers_PreviewDeploymentConfig_annotations, workers_PreviewDeploymentConfig_limits, @@ -226,6 +327,119 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_PreviewDeployment" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "$ref": "#/$defs/workers_exports_reconciliation_error_response" + } + ] + } + }, + $defs: { + "workers_PreviewDeployment": workers_PreviewDeployment_output, + "workers_PreviewDeploymentConfig_annotations": workers_PreviewDeploymentConfig_annotations_output, + "workers_PreviewDeploymentConfig_limits": workers_PreviewDeploymentConfig_limits_output, + "workers_PreviewDeploymentConfig_migrations": workers_PreviewDeploymentConfig_migrations_output, + "workers_PreviewDeploymentRequest_modulesItem": workers_PreviewDeploymentRequest_modulesItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_assets": workers_assets_output, + "workers_assets_config": workers_assets_config_output, + "workers_assets_config_run_worker_first": workers_assets_config_run_worker_first_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_container_item": workers_container_item_output, + "workers_containers": workers_containers_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_env": workers_env_output, + "workers_env_binding_item": workers_env_binding_item_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, + "workers_exports_reconciliation_error_response_errorsItem": workers_exports_reconciliation_error_response_errorsItem_output, + "workers_exports_reconciliation_error_response_errorsItem_meta": workers_exports_reconciliation_error_response_errorsItem_meta_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments`, query: [ @@ -282,6 +496,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common": workers_api_response_common_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments/${pathParam(args, "deployment_id")}`, }), @@ -417,6 +646,119 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_PreviewDeployment" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "$ref": "#/$defs/workers_exports_reconciliation_error_response" + } + ] + } + }, + $defs: { + "workers_PreviewDeployment": workers_PreviewDeployment_output, + "workers_PreviewDeploymentConfig_annotations": workers_PreviewDeploymentConfig_annotations_output, + "workers_PreviewDeploymentConfig_limits": workers_PreviewDeploymentConfig_limits_output, + "workers_PreviewDeploymentConfig_migrations": workers_PreviewDeploymentConfig_migrations_output, + "workers_PreviewDeploymentRequest_modulesItem": workers_PreviewDeploymentRequest_modulesItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_assets": workers_assets_output, + "workers_assets_config": workers_assets_config_output, + "workers_assets_config_run_worker_first": workers_assets_config_run_worker_first_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_container_item": workers_container_item_output, + "workers_containers": workers_containers_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_env": workers_env_output, + "workers_env_binding_item": workers_env_binding_item_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, + "workers_exports_reconciliation_error_response_errorsItem": workers_exports_reconciliation_error_response_errorsItem_output, + "workers_exports_reconciliation_error_response_errorsItem_meta": workers_exports_reconciliation_error_response_errorsItem_meta_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments/latest`, query: [ @@ -482,6 +824,108 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_PreviewDeployment" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_PreviewDeployment": workers_PreviewDeployment_output, + "workers_PreviewDeploymentConfig_annotations": workers_PreviewDeploymentConfig_annotations_output, + "workers_PreviewDeploymentConfig_limits": workers_PreviewDeploymentConfig_limits_output, + "workers_PreviewDeploymentConfig_migrations": workers_PreviewDeploymentConfig_migrations_output, + "workers_PreviewDeploymentRequest_modulesItem": workers_PreviewDeploymentRequest_modulesItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_assets": workers_assets_output, + "workers_assets_config": workers_assets_config_output, + "workers_assets_config_run_worker_first": workers_assets_config_run_worker_first_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_container_item": workers_container_item_output, + "workers_containers": workers_containers_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_env": workers_env_output, + "workers_env_binding_item": workers_env_binding_item_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments/${pathParam(args, "deployment_id")}`, query: [ @@ -544,6 +988,139 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_PreviewDeployment" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_PreviewDeployment": workers_PreviewDeployment_output, + "workers_PreviewDeploymentConfig_annotations": workers_PreviewDeploymentConfig_annotations_output, + "workers_PreviewDeploymentConfig_limits": workers_PreviewDeploymentConfig_limits_output, + "workers_PreviewDeploymentConfig_migrations": workers_PreviewDeploymentConfig_migrations_output, + "workers_PreviewDeploymentRequest_modulesItem": workers_PreviewDeploymentRequest_modulesItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_assets": workers_assets_output, + "workers_assets_config": workers_assets_config_output, + "workers_assets_config_run_worker_first": workers_assets_config_run_worker_first_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_container_item": workers_container_item_output, + "workers_containers": workers_containers_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_env": workers_env_output, + "workers_env_binding_item": workers_env_binding_item_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments`, query: [ diff --git a/src/generated/forge-mcp/workers/previews/outputs.ts b/src/generated/forge-mcp/workers/previews/outputs.ts new file mode 100644 index 00000000..f640bdcb --- /dev/null +++ b/src/generated/forge-mcp/workers/previews/outputs.ts @@ -0,0 +1,190 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_Preview` in responses. + */ +export const workers_Preview_output: JsonSchema = { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "deployed_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "logpush": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "observability": { + "$ref": "#/$defs/workers_Preview_observability" + }, + "slug": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "maxItems": 8, + "type": "array" + }, + "tail_consumers": { + "items": { + "$ref": "#/$defs/workers_Preview_tail_consumersItem" + }, + "type": "array" + }, + "updated_on": { + "format": "date-time", + "type": "string" + }, + "urls": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "created_on", + "id", + "logpush", + "name", + "observability", + "slug", + "tags", + "tail_consumers", + "updated_on", + "urls" + ], + "type": "object" +}; + +/** + * The schema of `workers_Preview_observability` in responses. + */ +export const workers_Preview_observability_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "type": "number" + }, + "issues": { + "$ref": "#/$defs/workers_Preview_observability_issues" + }, + "logs": { + "$ref": "#/$defs/workers_Preview_observability_logs" + }, + "redact_query_string": { + "type": "boolean" + }, + "traces": { + "$ref": "#/$defs/workers_Preview_observability_traces" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Preview_observability_issues` in responses. + */ +export const workers_Preview_observability_issues_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `workers_Preview_observability_logs` in responses. + */ +export const workers_Preview_observability_logs_output: JsonSchema = { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "type": "number" + }, + "invocation_logs": { + "type": "boolean" + }, + "persist": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Preview_observability_traces` in responses. + */ +export const workers_Preview_observability_traces_output: JsonSchema = { + "properties": { + "destinations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "head_sampling_rate": { + "type": "number" + }, + "persist": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Preview_tail_consumersItem` in responses. + */ +export const workers_Preview_tail_consumersItem_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/previews/tools.ts b/src/generated/forge-mcp/workers/previews/tools.ts index d6b2abba..d060ca20 100644 --- a/src/generated/forge-mcp/workers/previews/tools.ts +++ b/src/generated/forge-mcp/workers/previews/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../outputs.js"; +import { + workers_Preview_observability_issues_output, + workers_Preview_observability_logs_output, + workers_Preview_observability_output, + workers_Preview_observability_traces_output, + workers_Preview_output, + workers_Preview_tail_consumersItem_output, +} from "./outputs.js"; import { workers_Preview, workers_Preview_observability, @@ -109,6 +121,26 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Preview" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Preview": workers_Preview_output, + "workers_Preview_observability": workers_Preview_observability_output, + "workers_Preview_observability_issues": workers_Preview_observability_issues_output, + "workers_Preview_observability_logs": workers_Preview_observability_logs_output, + "workers_Preview_observability_traces": workers_Preview_observability_traces_output, + "workers_Preview_tail_consumersItem": workers_Preview_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews`, query: [ @@ -171,6 +203,26 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Preview" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Preview": workers_Preview_output, + "workers_Preview_observability": workers_Preview_observability_output, + "workers_Preview_observability_issues": workers_Preview_observability_issues_output, + "workers_Preview_observability_logs": workers_Preview_observability_logs_output, + "workers_Preview_observability_traces": workers_Preview_observability_traces_output, + "workers_Preview_tail_consumersItem": workers_Preview_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -221,6 +273,26 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Preview" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Preview": workers_Preview_output, + "workers_Preview_observability": workers_Preview_observability_output, + "workers_Preview_observability_issues": workers_Preview_observability_issues_output, + "workers_Preview_observability_logs": workers_Preview_observability_logs_output, + "workers_Preview_observability_traces": workers_Preview_observability_traces_output, + "workers_Preview_tail_consumersItem": workers_Preview_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}`, }), @@ -304,6 +376,57 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_Preview" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Preview": workers_Preview_output, + "workers_Preview_observability": workers_Preview_observability_output, + "workers_Preview_observability_issues": workers_Preview_observability_issues_output, + "workers_Preview_observability_logs": workers_Preview_observability_logs_output, + "workers_Preview_observability_traces": workers_Preview_observability_traces_output, + "workers_Preview_tail_consumersItem": workers_Preview_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews`, query: [ @@ -418,6 +541,26 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Preview" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Preview": workers_Preview_output, + "workers_Preview_observability": workers_Preview_observability_output, + "workers_Preview_observability_issues": workers_Preview_observability_issues_output, + "workers_Preview_observability_logs": workers_Preview_observability_logs_output, + "workers_Preview_observability_traces": workers_Preview_observability_traces_output, + "workers_Preview_tail_consumersItem": workers_Preview_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}`, query: [ diff --git a/src/generated/forge-mcp/workers/routes/tools.ts b/src/generated/forge-mcp/workers/routes/tools.ts index a0529a79..3b14caf6 100644 --- a/src/generated/forge-mcp/workers/routes/tools.ts +++ b/src/generated/forge-mcp/workers/routes/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_identifier_output, + workers_messages_output, +} from "../../outputs.js"; +import { workers_route_output } from "../outputs.js"; import { workers_route } from "../schemas.js"; /** @@ -48,6 +54,22 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_route" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_route": workers_route_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/workers/routes`, body: { value: args["body"], mediaType: "application/json" }, @@ -91,6 +113,26 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/workers_identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/workers/routes/${pathParam(args, "route_id")}`, }), @@ -134,6 +176,22 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_route" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_route": workers_route_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/workers/routes/${pathParam(args, "route_id")}`, }), @@ -172,6 +230,36 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_route" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_route": workers_route_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/workers/routes`, }), @@ -221,6 +309,22 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_route" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_route": workers_route_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/workers/routes/${pathParam(args, "route_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workers/scripts/outputs.ts b/src/generated/forge-mcp/workers/scripts/outputs.ts new file mode 100644 index 00000000..d45546dc --- /dev/null +++ b/src/generated/forge-mcp/workers/scripts/outputs.ts @@ -0,0 +1,11 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_script_name` in responses. + */ +export const workers_script_name_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/workers/scripts/schedules/outputs.ts b/src/generated/forge-mcp/workers/scripts/schedules/outputs.ts new file mode 100644 index 00000000..2946d8b3 --- /dev/null +++ b/src/generated/forge-mcp/workers/scripts/schedules/outputs.ts @@ -0,0 +1,25 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `workers_schedule` in responses. + */ +export const workers_schedule_output: JsonSchema = { + "properties": { + "created_on": { + "type": "string" + }, + "cron": { + "type": "string" + }, + "modified_on": { + "type": "string" + } + }, + "required": [ + "cron" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/scripts/schedules/tools.ts b/src/generated/forge-mcp/workers/scripts/schedules/tools.ts index 939df404..4a3782e2 100644 --- a/src/generated/forge-mcp/workers/scripts/schedules/tools.ts +++ b/src/generated/forge-mcp/workers/scripts/schedules/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../../outputs.js"; +import { workers_schedule_output } from "./outputs.js"; import { workers_schedule } from "./schemas.js"; /** @@ -55,6 +60,32 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "schedules": { + "items": { + "$ref": "#/$defs/workers_schedule" + }, + "type": "array" + } + }, + "required": [ + "schedules" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_schedule": workers_schedule_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/schedules`, }), @@ -111,6 +142,32 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "schedules": { + "items": { + "$ref": "#/$defs/workers_schedule" + }, + "type": "array" + } + }, + "required": [ + "schedules" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_schedule": workers_schedule_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/schedules`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workers/scripts/tools.ts b/src/generated/forge-mcp/workers/scripts/tools.ts index 1b713853..07c67ae9 100644 --- a/src/generated/forge-mcp/workers/scripts/tools.ts +++ b/src/generated/forge-mcp/workers/scripts/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_created_on_output, + workers_identifier_output, + workers_messages_output, + workers_modified_on_output, +} from "../../outputs.js"; +import { workers_script_name_output } from "./outputs.js"; /** * The tools of `workers.scripts`. @@ -75,6 +83,84 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_on": { + "$ref": "#/$defs/workers_created_on" + }, + "environment_is_default": { + "type": "boolean" + }, + "environment_name": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/workers_identifier" + }, + "modified_on": { + "$ref": "#/$defs/workers_modified_on" + }, + "script_name": { + "$ref": "#/$defs/workers_script_name" + }, + "service_name": { + "type": "string" + } + }, + "required": [ + "created_on", + "id", + "modified_on", + "script_name" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_created_on": workers_created_on_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_modified_on": workers_modified_on_output, + "workers_script_name": workers_script_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts-search`, query: [ diff --git a/src/generated/forge-mcp/workers/secrets/tools.ts b/src/generated/forge-mcp/workers/secrets/tools.ts index 00121bf3..9578a102 100644 --- a/src/generated/forge-mcp/workers/secrets/tools.ts +++ b/src/generated/forge-mcp/workers/secrets/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_binding_kind_secret_key_output, + workers_binding_kind_secret_text_output, + workers_binding_name_output, + workers_messages_output, + workers_secret_output, + workers_secret_patch_response_output, +} from "../../outputs.js"; import { workers_binding_kind_secret_key, workers_binding_kind_secret_text, @@ -65,6 +74,28 @@ export const tools: readonly Tool[] = [ "Individual Workers Editor" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_secret-patch-response" + }, + "429": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_name": workers_binding_name_output, + "workers_messages": workers_messages_output, + "workers_secret": workers_secret_output, + "workers_secret-patch-response": workers_secret_patch_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/secrets-bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -121,6 +152,20 @@ export const tools: readonly Tool[] = [ "Individual Workers Editor" ] }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/secrets/${pathParam(args, "secret_name")}`, query: [ @@ -185,6 +230,24 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_secret" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_name": workers_binding_name_output, + "workers_messages": workers_messages_output, + "workers_secret": workers_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/secrets/${pathParam(args, "secret_name")}`, query: [ @@ -237,6 +300,38 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_secret" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_name": workers_binding_name_output, + "workers_messages": workers_messages_output, + "workers_secret": workers_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/secrets`, }), @@ -290,6 +385,27 @@ export const tools: readonly Tool[] = [ "Individual Workers Editor" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_secret" + }, + "429": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_name": workers_binding_name_output, + "workers_messages": workers_messages_output, + "workers_secret": workers_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/secrets`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workers/subdomains/outputs.ts b/src/generated/forge-mcp/workers/subdomains/outputs.ts new file mode 100644 index 00000000..7eff8a64 --- /dev/null +++ b/src/generated/forge-mcp/workers/subdomains/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_subdomain-2` in responses. + */ +export const workers_subdomain_2_output: JsonSchema = { + "properties": { + "subdomain": { + "type": "string" + } + }, + "required": [ + "subdomain" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/subdomains/tools.ts b/src/generated/forge-mcp/workers/subdomains/tools.ts index 62a513c4..079eb66e 100644 --- a/src/generated/forge-mcp/workers/subdomains/tools.ts +++ b/src/generated/forge-mcp/workers/subdomains/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../outputs.js"; +import { workers_subdomain_2_output } from "./outputs.js"; import { workers_subdomain_2 } from "./schemas.js"; /** @@ -41,6 +46,18 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/subdomain`, }), @@ -79,6 +96,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_subdomain-2" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_subdomain-2": workers_subdomain_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/subdomain`, }), @@ -123,6 +155,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_subdomain-2" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_subdomain-2": workers_subdomain_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/subdomain`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workers/tail/outputs.ts b/src/generated/forge-mcp/workers/tail/outputs.ts new file mode 100644 index 00000000..213d90d4 --- /dev/null +++ b/src/generated/forge-mcp/workers/tail/outputs.ts @@ -0,0 +1,27 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_tail` in responses. + */ +export const workers_tail_output: JsonSchema = { + "properties": { + "expires_at": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/workers_identifier" + }, + "url": { + "type": "string" + } + }, + "required": [ + "expires_at", + "id", + "url" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/tail/tools.ts b/src/generated/forge-mcp/workers/tail/tools.ts index 0c78b29a..69535339 100644 --- a/src/generated/forge-mcp/workers/tail/tools.ts +++ b/src/generated/forge-mcp/workers/tail/tools.ts @@ -2,6 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_api_response_common_output, + workers_identifier_output, + workers_messages_output, +} from "../../outputs.js"; +import { workers_tail_output } from "./outputs.js"; /** * The tools of `workers.tail`. @@ -55,6 +62,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common": workers_api_response_common_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/tails/${pathParam(args, "id")}`, }), @@ -106,6 +128,22 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_tail" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_tail": workers_tail_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/tails`, }), @@ -153,6 +191,22 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_tail" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_tail": workers_tail_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/tails`, }), diff --git a/src/generated/forge-mcp/workers/tools.ts b/src/generated/forge-mcp/workers/tools.ts index 1d6d22cb..43b881df 100644 --- a/src/generated/forge-mcp/workers/tools.ts +++ b/src/generated/forge-mcp/workers/tools.ts @@ -2,12 +2,47 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_api_response_common_output, + workers_cache_options_output, + workers_limits_output, + workers_messages_output, + workers_placement_info_no_status_output, + workers_placement_target_output, +} from "../outputs.js"; import { workers_cache_options, workers_limits, workers_placement_info_no_status, workers_placement_target, } from "../schemas.js"; +import { + workers_ErrorAuth_output, + workers_ErrorInternalServer_output, + workers_ErrorWorkerNotFound_output, + workers_PreviewsBaseConfig_output, + workers_PreviewsBaseConfig_tail_consumersItem_output, + workers_Worker_observability_issues_output, + workers_Worker_observability_logs_output, + workers_Worker_observability_output, + workers_Worker_observability_traces_output, + workers_Worker_output, + workers_Worker_references_dispatch_namespace_outboundsItem_output, + workers_Worker_references_domainsItem_output, + workers_Worker_references_durable_objectsItem_output, + workers_Worker_references_output, + workers_Worker_references_queuesItem_output, + workers_Worker_references_workersItem_output, + workers_Worker_subdomain_output, + workers_Worker_tail_consumersItem_output, + workers_env_binding_item_output, + workers_env_output, + workers_observability_issues_output, + workers_observability_logs_output, + workers_observability_output, + workers_observability_traces_output, +} from "./outputs.js"; import { workers_PreviewsBaseConfig, workers_PreviewsBaseConfig_tail_consumersItem, @@ -136,6 +171,95 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Worker" + }, + "400": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "401": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorAuth" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "403": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "409": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "500": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorInternalServer" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + } + }, + $defs: { + "workers_ErrorAuth": workers_ErrorAuth_output, + "workers_ErrorInternalServer": workers_ErrorInternalServer_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, + "workers_PreviewsBaseConfig_tail_consumersItem": workers_PreviewsBaseConfig_tail_consumersItem_output, + "workers_Worker": workers_Worker_output, + "workers_Worker_observability": workers_Worker_observability_output, + "workers_Worker_observability_issues": workers_Worker_observability_issues_output, + "workers_Worker_observability_logs": workers_Worker_observability_logs_output, + "workers_Worker_observability_traces": workers_Worker_observability_traces_output, + "workers_Worker_references": workers_Worker_references_output, + "workers_Worker_references_dispatch_namespace_outboundsItem": workers_Worker_references_dispatch_namespace_outboundsItem_output, + "workers_Worker_references_domainsItem": workers_Worker_references_domainsItem_output, + "workers_Worker_references_durable_objectsItem": workers_Worker_references_durable_objectsItem_output, + "workers_Worker_references_queuesItem": workers_Worker_references_queuesItem_output, + "workers_Worker_references_workersItem": workers_Worker_references_workersItem_output, + "workers_Worker_subdomain": workers_Worker_subdomain_output, + "workers_Worker_tail_consumersItem": workers_Worker_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_cache_options": workers_cache_options_output, + "workers_env": workers_env_output, + "workers_env_binding_item": workers_env_binding_item_output, + "workers_limits": workers_limits_output, + "workers_messages": workers_messages_output, + "workers_observability": workers_observability_output, + "workers_observability_issues": workers_observability_issues_output, + "workers_observability_logs": workers_observability_logs_output, + "workers_observability_traces": workers_observability_traces_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers`, body: { value: args["body"], mediaType: "application/json" }, @@ -182,6 +306,87 @@ export const tools: readonly Tool[] = [ "Individual Workers Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_api-response-common" + }, + "400": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "401": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorAuth" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "404": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorWorkerNotFound" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "500": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorInternalServer" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + } + }, + $defs: { + "workers_ErrorAuth": workers_ErrorAuth_output, + "workers_ErrorInternalServer": workers_ErrorInternalServer_output, + "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound_output, + "workers_api-response-common": workers_api_response_common_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}`, query: [ @@ -257,6 +462,117 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Worker" + }, + "400": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "401": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorAuth" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "403": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "404": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorWorkerNotFound" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "409": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "500": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorInternalServer" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + } + }, + $defs: { + "workers_ErrorAuth": workers_ErrorAuth_output, + "workers_ErrorInternalServer": workers_ErrorInternalServer_output, + "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, + "workers_PreviewsBaseConfig_tail_consumersItem": workers_PreviewsBaseConfig_tail_consumersItem_output, + "workers_Worker": workers_Worker_output, + "workers_Worker_observability": workers_Worker_observability_output, + "workers_Worker_observability_issues": workers_Worker_observability_issues_output, + "workers_Worker_observability_logs": workers_Worker_observability_logs_output, + "workers_Worker_observability_traces": workers_Worker_observability_traces_output, + "workers_Worker_references": workers_Worker_references_output, + "workers_Worker_references_dispatch_namespace_outboundsItem": workers_Worker_references_dispatch_namespace_outboundsItem_output, + "workers_Worker_references_domainsItem": workers_Worker_references_domainsItem_output, + "workers_Worker_references_durable_objectsItem": workers_Worker_references_durable_objectsItem_output, + "workers_Worker_references_queuesItem": workers_Worker_references_queuesItem_output, + "workers_Worker_references_workersItem": workers_Worker_references_workersItem_output, + "workers_Worker_subdomain": workers_Worker_subdomain_output, + "workers_Worker_tail_consumersItem": workers_Worker_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_cache_options": workers_cache_options_output, + "workers_env": workers_env_output, + "workers_env_binding_item": workers_env_binding_item_output, + "workers_limits": workers_limits_output, + "workers_messages": workers_messages_output, + "workers_observability": workers_observability_output, + "workers_observability_issues": workers_observability_issues_output, + "workers_observability_logs": workers_observability_logs_output, + "workers_observability_traces": workers_observability_traces_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -307,6 +623,89 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Worker" + }, + "400": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "404": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorWorkerNotFound" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "500": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorInternalServer" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + } + }, + $defs: { + "workers_ErrorInternalServer": workers_ErrorInternalServer_output, + "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, + "workers_PreviewsBaseConfig_tail_consumersItem": workers_PreviewsBaseConfig_tail_consumersItem_output, + "workers_Worker": workers_Worker_output, + "workers_Worker_observability": workers_Worker_observability_output, + "workers_Worker_observability_issues": workers_Worker_observability_issues_output, + "workers_Worker_observability_logs": workers_Worker_observability_logs_output, + "workers_Worker_observability_traces": workers_Worker_observability_traces_output, + "workers_Worker_references": workers_Worker_references_output, + "workers_Worker_references_dispatch_namespace_outboundsItem": workers_Worker_references_dispatch_namespace_outboundsItem_output, + "workers_Worker_references_domainsItem": workers_Worker_references_domainsItem_output, + "workers_Worker_references_durable_objectsItem": workers_Worker_references_durable_objectsItem_output, + "workers_Worker_references_queuesItem": workers_Worker_references_queuesItem_output, + "workers_Worker_references_workersItem": workers_Worker_references_workersItem_output, + "workers_Worker_subdomain": workers_Worker_subdomain_output, + "workers_Worker_tail_consumersItem": workers_Worker_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_cache_options": workers_cache_options_output, + "workers_env": workers_env_output, + "workers_env_binding_item": workers_env_binding_item_output, + "workers_limits": workers_limits_output, + "workers_messages": workers_messages_output, + "workers_observability": workers_observability_output, + "workers_observability_issues": workers_observability_issues_output, + "workers_observability_logs": workers_observability_logs_output, + "workers_observability_traces": workers_observability_traces_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}`, }), @@ -381,6 +780,117 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_Worker" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorAuth" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "500": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorInternalServer" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + } + }, + $defs: { + "workers_ErrorAuth": workers_ErrorAuth_output, + "workers_ErrorInternalServer": workers_ErrorInternalServer_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, + "workers_PreviewsBaseConfig_tail_consumersItem": workers_PreviewsBaseConfig_tail_consumersItem_output, + "workers_Worker": workers_Worker_output, + "workers_Worker_observability": workers_Worker_observability_output, + "workers_Worker_observability_issues": workers_Worker_observability_issues_output, + "workers_Worker_observability_logs": workers_Worker_observability_logs_output, + "workers_Worker_observability_traces": workers_Worker_observability_traces_output, + "workers_Worker_references": workers_Worker_references_output, + "workers_Worker_references_dispatch_namespace_outboundsItem": workers_Worker_references_dispatch_namespace_outboundsItem_output, + "workers_Worker_references_domainsItem": workers_Worker_references_domainsItem_output, + "workers_Worker_references_durable_objectsItem": workers_Worker_references_durable_objectsItem_output, + "workers_Worker_references_queuesItem": workers_Worker_references_queuesItem_output, + "workers_Worker_references_workersItem": workers_Worker_references_workersItem_output, + "workers_Worker_subdomain": workers_Worker_subdomain_output, + "workers_Worker_tail_consumersItem": workers_Worker_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_cache_options": workers_cache_options_output, + "workers_env": workers_env_output, + "workers_env_binding_item": workers_env_binding_item_output, + "workers_limits": workers_limits_output, + "workers_messages": workers_messages_output, + "workers_observability": workers_observability_output, + "workers_observability_issues": workers_observability_issues_output, + "workers_observability_logs": workers_observability_logs_output, + "workers_observability_traces": workers_observability_traces_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers`, query: [ @@ -506,6 +1016,117 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Worker" + }, + "400": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "401": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorAuth" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "403": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "404": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorWorkerNotFound" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "409": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "500": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorInternalServer" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + } + }, + $defs: { + "workers_ErrorAuth": workers_ErrorAuth_output, + "workers_ErrorInternalServer": workers_ErrorInternalServer_output, + "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, + "workers_PreviewsBaseConfig_tail_consumersItem": workers_PreviewsBaseConfig_tail_consumersItem_output, + "workers_Worker": workers_Worker_output, + "workers_Worker_observability": workers_Worker_observability_output, + "workers_Worker_observability_issues": workers_Worker_observability_issues_output, + "workers_Worker_observability_logs": workers_Worker_observability_logs_output, + "workers_Worker_observability_traces": workers_Worker_observability_traces_output, + "workers_Worker_references": workers_Worker_references_output, + "workers_Worker_references_dispatch_namespace_outboundsItem": workers_Worker_references_dispatch_namespace_outboundsItem_output, + "workers_Worker_references_domainsItem": workers_Worker_references_domainsItem_output, + "workers_Worker_references_durable_objectsItem": workers_Worker_references_durable_objectsItem_output, + "workers_Worker_references_queuesItem": workers_Worker_references_queuesItem_output, + "workers_Worker_references_workersItem": workers_Worker_references_workersItem_output, + "workers_Worker_subdomain": workers_Worker_subdomain_output, + "workers_Worker_tail_consumersItem": workers_Worker_tail_consumersItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_cache_options": workers_cache_options_output, + "workers_env": workers_env_output, + "workers_env_binding_item": workers_env_binding_item_output, + "workers_limits": workers_limits_output, + "workers_messages": workers_messages_output, + "workers_observability": workers_observability_output, + "workers_observability_issues": workers_observability_issues_output, + "workers_observability_logs": workers_observability_logs_output, + "workers_observability_traces": workers_observability_traces_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workers/versions/latest/tools.ts b/src/generated/forge-mcp/workers/versions/latest/tools.ts index e60da6f8..d46ce68a 100644 --- a/src/generated/forge-mcp/workers/versions/latest/tools.ts +++ b/src/generated/forge-mcp/workers/versions/latest/tools.ts @@ -2,6 +2,90 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_binding_item_output, + workers_binding_kind_ai_output, + workers_binding_kind_ai_search_namespace_output, + workers_binding_kind_ai_search_output, + workers_binding_kind_analytics_engine_output, + workers_binding_kind_artifacts_output, + workers_binding_kind_assets_output, + workers_binding_kind_browser_output, + workers_binding_kind_d1_output, + workers_binding_kind_data_blob_output, + workers_binding_kind_dispatch_namespace_outbound_output, + workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + workers_binding_kind_dispatch_namespace_outbound_worker_output, + workers_binding_kind_dispatch_namespace_output, + workers_binding_kind_durable_object_namespace_output, + workers_binding_kind_flagship_output, + workers_binding_kind_hyperdrive_output, + workers_binding_kind_images_output, + workers_binding_kind_inherit_output, + workers_binding_kind_json_output, + workers_binding_kind_k2_output, + workers_binding_kind_kv_namespace_output, + workers_binding_kind_media_output, + workers_binding_kind_messaging_output, + workers_binding_kind_mtls_certificate_output, + workers_binding_kind_pipelines_output, + workers_binding_kind_plain_text_output, + workers_binding_kind_queue_output, + workers_binding_kind_r2_bucket_output, + workers_binding_kind_ratelimit_output, + workers_binding_kind_ratelimit_simple_output, + workers_binding_kind_secret_key_output, + workers_binding_kind_secret_text_output, + workers_binding_kind_secrets_store_secret_output, + workers_binding_kind_send_email_output, + workers_binding_kind_service_output, + workers_binding_kind_text_blob_output, + workers_binding_kind_vectorize_output, + workers_binding_kind_version_metadata_output, + workers_binding_kind_vpc_network_output, + workers_binding_kind_vpc_service_output, + workers_binding_kind_wasm_module_output, + workers_binding_kind_workflow_output, + workers_binding_name_output, + workers_bindings_output, + workers_cache_options_output, + workers_compatibility_date_output, + workers_compatibility_flag_output, + workers_compatibility_flags_output, + workers_durable_object_deleted_export_output, + workers_durable_object_expecting_transfer_export_output, + workers_durable_object_export_output, + workers_durable_object_export_variants_output, + workers_durable_object_renamed_export_output, + workers_durable_object_transferred_export_output, + workers_entrypoint_cache_options_output, + workers_export_config_output, + workers_export_storage_output, + workers_exports_config_map_output, + workers_exports_reconciliation_error_output, + workers_exports_reconciliation_error_response_errorsItem_meta_output, + workers_exports_reconciliation_error_response_errorsItem_output, + workers_exports_reconciliation_error_response_output, + workers_exports_reconciliation_info_output, + workers_exports_reconciliation_rename_output, + workers_exports_reconciliation_result_output, + workers_exports_reconciliation_scenario_output, + workers_exports_reconciliation_transfer_output, + workers_exports_reconciliation_transfer_pending_output, + workers_exports_reconciliation_warning_output, + workers_messages_output, + workers_migration_step_output, + workers_migration_step_renamed_classesItem_output, + workers_migration_step_transferred_classesItem_output, + workers_migration_tag_conditions_output, + workers_multiple_step_migrations_output, + workers_namespace_identifier_output, + workers_placement_info_no_status_output, + workers_placement_target_output, + workers_single_step_migrations_output, + workers_worker_export_output, +} from "../../../outputs.js"; import { workers_binding_item, workers_binding_kind_ai, @@ -80,7 +164,22 @@ import { workers_single_step_migrations, workers_worker_export, } from "../../../schemas.js"; +import { + workers_container_item_output, + workers_containers_output, +} from "../../outputs.js"; import { workers_container_item, workers_containers } from "../../schemas.js"; +import { + workers_Version_annotations_output, + workers_Version_assets_config_output, + workers_Version_assets_config_run_worker_first_output, + workers_Version_assets_output, + workers_Version_limits_output, + workers_Version_migrations_output, + workers_Version_modulesItem_output, + workers_Version_output, + workers_Version_package_dependenciesItem_output, +} from "../outputs.js"; import { workers_Version, workers_Version_annotations, @@ -236,6 +335,118 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Version" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "$ref": "#/$defs/workers_exports_reconciliation_error_response" + } + ] + } + }, + $defs: { + "workers_Version": workers_Version_output, + "workers_Version_annotations": workers_Version_annotations_output, + "workers_Version_assets": workers_Version_assets_output, + "workers_Version_assets_config": workers_Version_assets_config_output, + "workers_Version_assets_config_run_worker_first": workers_Version_assets_config_run_worker_first_output, + "workers_Version_limits": workers_Version_limits_output, + "workers_Version_migrations": workers_Version_migrations_output, + "workers_Version_modulesItem": workers_Version_modulesItem_output, + "workers_Version_package_dependenciesItem": workers_Version_package_dependenciesItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_container_item": workers_container_item_output, + "workers_containers": workers_containers_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, + "workers_exports_reconciliation_error_response_errorsItem": workers_exports_reconciliation_error_response_errorsItem_output, + "workers_exports_reconciliation_error_response_errorsItem_meta": workers_exports_reconciliation_error_response_errorsItem_meta_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions/latest`, query: [ diff --git a/src/generated/forge-mcp/workers/versions/outputs.ts b/src/generated/forge-mcp/workers/versions/outputs.ts new file mode 100644 index 00000000..2b445272 --- /dev/null +++ b/src/generated/forge-mcp/workers/versions/outputs.ts @@ -0,0 +1,275 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_Version` in responses. + */ +export const workers_Version_output: JsonSchema = { + "properties": { + "annotations": { + "$ref": "#/$defs/workers_Version_annotations" + }, + "assets": { + "$ref": "#/$defs/workers_Version_assets" + }, + "author_email": { + "type": "string" + }, + "author_id": { + "type": "string" + }, + "bindings": { + "$ref": "#/$defs/workers_bindings" + }, + "cache_options": { + "$ref": "#/$defs/workers_cache_options" + }, + "compatibility_date": { + "$ref": "#/$defs/workers_compatibility_date" + }, + "compatibility_flags": { + "$ref": "#/$defs/workers_compatibility_flags" + }, + "containers": { + "$ref": "#/$defs/workers_containers" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "exports": { + "$ref": "#/$defs/workers_exports_config_map" + }, + "exports_reconciliation": { + "$ref": "#/$defs/workers_exports_reconciliation_result" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "limits": { + "$ref": "#/$defs/workers_Version_limits" + }, + "main_module": { + "type": "string" + }, + "migration_tag": { + "type": "string" + }, + "migrations": { + "$ref": "#/$defs/workers_Version_migrations" + }, + "modules": { + "items": { + "$ref": "#/$defs/workers_Version_modulesItem" + }, + "type": "array" + }, + "number": { + "type": "integer" + }, + "package_dependencies": { + "items": { + "$ref": "#/$defs/workers_Version_package_dependenciesItem" + }, + "type": "array" + }, + "placement": { + "$ref": "#/$defs/workers_placement_info_no_status" + }, + "source": { + "type": "string" + }, + "startup_time_ms": { + "type": "integer" + }, + "urls": { + "items": { + "type": "string" + }, + "type": "array" + }, + "usage_model": { + "enum": [ + "standard", + "bundled", + "unbound" + ], + "type": "string" + } + }, + "required": [ + "created_on", + "id", + "number", + "urls" + ], + "type": "object" +}; + +/** + * The schema of `workers_Version_annotations` in responses. + */ +export const workers_Version_annotations_output: JsonSchema = { + "properties": { + "workers/message": { + "type": "string" + }, + "workers/tag": { + "type": "string" + }, + "workers/triggered_by": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Version_assets` in responses. + */ +export const workers_Version_assets_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/workers_Version_assets_config" + }, + "jwt": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Version_assets_config` in responses. + */ +export const workers_Version_assets_config_output: JsonSchema = { + "properties": { + "base_path": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "html_handling": { + "enum": [ + "auto-trailing-slash", + "force-trailing-slash", + "drop-trailing-slash", + "none" + ], + "type": "string" + }, + "not_found_handling": { + "enum": [ + "none", + "404-page", + "single-page-application" + ], + "type": "string" + }, + "run_worker_first": { + "$ref": "#/$defs/workers_Version_assets_config_run_worker_first" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Version_assets_config_run_worker_first` in responses. + */ +export const workers_Version_assets_config_run_worker_first_output: JsonSchema = { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "boolean" + } + ] +}; + +/** + * The schema of `workers_Version_limits` in responses. + */ +export const workers_Version_limits_output: JsonSchema = { + "properties": { + "cpu_ms": { + "type": "integer" + }, + "subrequests": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_Version_migrations` in responses. + */ +export const workers_Version_migrations_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/workers_single_step_migrations" + }, + { + "$ref": "#/$defs/workers_multiple_step_migrations" + } + ] +}; + +/** + * The schema of `workers_Version_modulesItem` in responses. + */ +export const workers_Version_modulesItem_output: JsonSchema = { + "properties": { + "content_base64": { + "contentEncoding": "base64", + "type": "string" + }, + "content_type": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "content_base64", + "content_type", + "name" + ], + "type": "object" +}; + +/** + * The schema of `workers_Version_package_dependenciesItem` in responses. + */ +export const workers_Version_package_dependenciesItem_output: JsonSchema = { + "properties": { + "installedVersion": { + "type": "string" + }, + "name": { + "type": "string" + }, + "packageJsonVersion": { + "type": "string" + } + }, + "required": [ + "installedVersion", + "name", + "packageJsonVersion" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workers/versions/tools.ts b/src/generated/forge-mcp/workers/versions/tools.ts index 823c3527..4500ac71 100644 --- a/src/generated/forge-mcp/workers/versions/tools.ts +++ b/src/generated/forge-mcp/workers/versions/tools.ts @@ -2,6 +2,91 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_api_response_common_output, + workers_binding_item_output, + workers_binding_kind_ai_output, + workers_binding_kind_ai_search_namespace_output, + workers_binding_kind_ai_search_output, + workers_binding_kind_analytics_engine_output, + workers_binding_kind_artifacts_output, + workers_binding_kind_assets_output, + workers_binding_kind_browser_output, + workers_binding_kind_d1_output, + workers_binding_kind_data_blob_output, + workers_binding_kind_dispatch_namespace_outbound_output, + workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + workers_binding_kind_dispatch_namespace_outbound_worker_output, + workers_binding_kind_dispatch_namespace_output, + workers_binding_kind_durable_object_namespace_output, + workers_binding_kind_flagship_output, + workers_binding_kind_hyperdrive_output, + workers_binding_kind_images_output, + workers_binding_kind_inherit_output, + workers_binding_kind_json_output, + workers_binding_kind_k2_output, + workers_binding_kind_kv_namespace_output, + workers_binding_kind_media_output, + workers_binding_kind_messaging_output, + workers_binding_kind_mtls_certificate_output, + workers_binding_kind_pipelines_output, + workers_binding_kind_plain_text_output, + workers_binding_kind_queue_output, + workers_binding_kind_r2_bucket_output, + workers_binding_kind_ratelimit_output, + workers_binding_kind_ratelimit_simple_output, + workers_binding_kind_secret_key_output, + workers_binding_kind_secret_text_output, + workers_binding_kind_secrets_store_secret_output, + workers_binding_kind_send_email_output, + workers_binding_kind_service_output, + workers_binding_kind_text_blob_output, + workers_binding_kind_vectorize_output, + workers_binding_kind_version_metadata_output, + workers_binding_kind_vpc_network_output, + workers_binding_kind_vpc_service_output, + workers_binding_kind_wasm_module_output, + workers_binding_kind_workflow_output, + workers_binding_name_output, + workers_bindings_output, + workers_cache_options_output, + workers_compatibility_date_output, + workers_compatibility_flag_output, + workers_compatibility_flags_output, + workers_durable_object_deleted_export_output, + workers_durable_object_expecting_transfer_export_output, + workers_durable_object_export_output, + workers_durable_object_export_variants_output, + workers_durable_object_renamed_export_output, + workers_durable_object_transferred_export_output, + workers_entrypoint_cache_options_output, + workers_export_config_output, + workers_export_storage_output, + workers_exports_config_map_output, + workers_exports_reconciliation_error_output, + workers_exports_reconciliation_error_response_errorsItem_meta_output, + workers_exports_reconciliation_error_response_errorsItem_output, + workers_exports_reconciliation_error_response_output, + workers_exports_reconciliation_info_output, + workers_exports_reconciliation_rename_output, + workers_exports_reconciliation_result_output, + workers_exports_reconciliation_scenario_output, + workers_exports_reconciliation_transfer_output, + workers_exports_reconciliation_transfer_pending_output, + workers_exports_reconciliation_warning_output, + workers_messages_output, + workers_migration_step_output, + workers_migration_step_renamed_classesItem_output, + workers_migration_step_transferred_classesItem_output, + workers_migration_tag_conditions_output, + workers_multiple_step_migrations_output, + workers_namespace_identifier_output, + workers_placement_info_no_status_output, + workers_placement_target_output, + workers_single_step_migrations_output, + workers_worker_export_output, +} from "../../outputs.js"; import { workers_binding_item, workers_binding_kind_ai, @@ -80,7 +165,24 @@ import { workers_single_step_migrations, workers_worker_export, } from "../../schemas.js"; +import { + workers_ErrorAuth_output, + workers_ErrorInternalServer_output, + workers_container_item_output, + workers_containers_output, +} from "../outputs.js"; import { workers_container_item, workers_containers } from "../schemas.js"; +import { + workers_Version_annotations_output, + workers_Version_assets_config_output, + workers_Version_assets_config_run_worker_first_output, + workers_Version_assets_output, + workers_Version_limits_output, + workers_Version_migrations_output, + workers_Version_modulesItem_output, + workers_Version_output, + workers_Version_package_dependenciesItem_output, +} from "./outputs.js"; import { workers_Version, workers_Version_annotations, @@ -237,6 +339,118 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Version" + }, + "4XX": { + "anyOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "$ref": "#/$defs/workers_exports_reconciliation_error_response" + } + ] + } + }, + $defs: { + "workers_Version": workers_Version_output, + "workers_Version_annotations": workers_Version_annotations_output, + "workers_Version_assets": workers_Version_assets_output, + "workers_Version_assets_config": workers_Version_assets_config_output, + "workers_Version_assets_config_run_worker_first": workers_Version_assets_config_run_worker_first_output, + "workers_Version_limits": workers_Version_limits_output, + "workers_Version_migrations": workers_Version_migrations_output, + "workers_Version_modulesItem": workers_Version_modulesItem_output, + "workers_Version_package_dependenciesItem": workers_Version_package_dependenciesItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_container_item": workers_container_item_output, + "workers_containers": workers_containers_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, + "workers_exports_reconciliation_error_response_errorsItem": workers_exports_reconciliation_error_response_errorsItem_output, + "workers_exports_reconciliation_error_response_errorsItem_meta": workers_exports_reconciliation_error_response_errorsItem_meta_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions`, query: [ @@ -288,6 +502,21 @@ export const tools: readonly Tool[] = [ "Individual Workers Editor" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_api-response-common" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common": workers_api_response_common_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions/${pathParam(args, "version_id")}`, }), @@ -347,6 +576,107 @@ export const tools: readonly Tool[] = [ "Individual Workers Content Read-Only" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_Version" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Version": workers_Version_output, + "workers_Version_annotations": workers_Version_annotations_output, + "workers_Version_assets": workers_Version_assets_output, + "workers_Version_assets_config": workers_Version_assets_config_output, + "workers_Version_assets_config_run_worker_first": workers_Version_assets_config_run_worker_first_output, + "workers_Version_limits": workers_Version_limits_output, + "workers_Version_migrations": workers_Version_migrations_output, + "workers_Version_modulesItem": workers_Version_modulesItem_output, + "workers_Version_package_dependenciesItem": workers_Version_package_dependenciesItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_container_item": workers_container_item_output, + "workers_containers": workers_containers_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions/${pathParam(args, "version_id")}`, query: [ @@ -409,6 +739,138 @@ export const tools: readonly Tool[] = [ "Individual Workers Metadata Read-Only" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_Version" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_Version": workers_Version_output, + "workers_Version_annotations": workers_Version_annotations_output, + "workers_Version_assets": workers_Version_assets_output, + "workers_Version_assets_config": workers_Version_assets_config_output, + "workers_Version_assets_config_run_worker_first": workers_Version_assets_config_run_worker_first_output, + "workers_Version_limits": workers_Version_limits_output, + "workers_Version_migrations": workers_Version_migrations_output, + "workers_Version_modulesItem": workers_Version_modulesItem_output, + "workers_Version_package_dependenciesItem": workers_Version_package_dependenciesItem_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_container_item": workers_container_item_output, + "workers_containers": workers_containers_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions`, query: [ @@ -481,6 +943,92 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}/profile", + responses: { + schemas: { + "200": null, + "400": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "401": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorAuth" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "403": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorAuth" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "404": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "429": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "500": { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/workers_ErrorInternalServer" + }, + "type": "array" + } + }, + "required": [ + "errors" + ], + "type": "object" + } + ] + }, + "503": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_ErrorAuth": workers_ErrorAuth_output, + "workers_ErrorInternalServer": workers_ErrorInternalServer_output, + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions/${pathParam(args, "version_id")}/profile`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts b/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts new file mode 100644 index 00000000..0820f9e8 --- /dev/null +++ b/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts @@ -0,0 +1,63 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `builds_PreviewResponse` in responses. + */ +export const builds_PreviewResponse_output: JsonSchema = { + "properties": { + "auto_build": { + "$ref": "#/$defs/builds_preview_auto_build" + }, + "auto_delete": { + "$ref": "#/$defs/builds_preview_auto_delete" + }, + "branch": { + "$ref": "#/$defs/builds_branch" + }, + "preview_id": { + "$ref": "#/$defs/builds_external_script_id" + }, + "settings": { + "$ref": "#/$defs/builds_WorkerBuildSettings" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_PreviewSummary` in responses. + */ +export const builds_PreviewSummary_output: JsonSchema = { + "properties": { + "auto_build": { + "$ref": "#/$defs/builds_preview_auto_build" + }, + "auto_delete": { + "$ref": "#/$defs/builds_preview_auto_delete" + }, + "branch": { + "$ref": "#/$defs/builds_branch" + }, + "preview_id": { + "$ref": "#/$defs/builds_external_script_id" + } + }, + "type": "object" +}; + +/** + * The schema of `builds_preview_auto_build` in responses. + */ +export const builds_preview_auto_build_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `builds_preview_auto_delete` in responses. + */ +export const builds_preview_auto_delete_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts b/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts index cc4f4a69..fe54a6e5 100644 --- a/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts +++ b/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts @@ -2,6 +2,50 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + builds_ApiError_output, + builds_BuildOutcome_output, + builds_BuildResponse_deploy_hook_output, + builds_BuildResponse_output, + builds_BuildResponse_pull_request_output, + builds_BuildResponse_trigger_output, + builds_BuildStatus_output, + builds_BuildTriggerMetadataResponse_output, + builds_BuildTriggerSource_output, + builds_EnvironmentVariablesResponse_output, + builds_ErrorResponse_output, + builds_PaginationInfo_output, + builds_SCMProviderType_output, + builds_UpsertRepoConnectionResponse_output, + builds_WorkerBuildSettings_output, + builds_branch_excludes_output, + builds_branch_includes_output, + builds_branch_output, + builds_build_caching_enabled_output, + builds_build_command_output, + builds_build_token_name_output, + builds_build_token_uuid_output, + builds_build_uuid_output, + builds_commit_hash_output, + builds_created_on_output, + builds_deleted_on_output, + builds_deploy_command_output, + builds_deploy_hook_name_output, + builds_external_script_id_output, + builds_is_secret_output, + builds_modified_on_output, + builds_path_excludes_output, + builds_path_includes_output, + builds_provider_account_id_output, + builds_provider_account_name_output, + builds_repo_connection_uuid_output, + builds_repo_id_output, + builds_repo_name_output, + builds_root_directory_output, + builds_stopped_on_output, + builds_trigger_name_output, + builds_trigger_uuid_output, +} from "../../../outputs.js"; import { builds_BuildSeedRepoInput, builds_BuildSeedRepoInputFile, @@ -20,6 +64,12 @@ import { builds_path_includes, builds_root_directory, } from "../../../schemas.js"; +import { + builds_PreviewResponse_output, + builds_PreviewSummary_output, + builds_preview_auto_build_output, + builds_preview_auto_delete_output, +} from "./outputs.js"; import { builds_UpdatePreviewRequest, builds_preview_auto_build, @@ -83,6 +133,62 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_BuildResponse" + }, + "400": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_BuildOutcome": builds_BuildOutcome_output, + "builds_BuildResponse": builds_BuildResponse_output, + "builds_BuildResponse_deploy_hook": builds_BuildResponse_deploy_hook_output, + "builds_BuildResponse_pull_request": builds_BuildResponse_pull_request_output, + "builds_BuildResponse_trigger": builds_BuildResponse_trigger_output, + "builds_BuildStatus": builds_BuildStatus_output, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, + "builds_BuildTriggerSource": builds_BuildTriggerSource_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_branch": builds_branch_output, + "builds_branch_excludes": builds_branch_excludes_output, + "builds_branch_includes": builds_branch_includes_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_build_uuid": builds_build_uuid_output, + "builds_commit_hash": builds_commit_hash_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + "builds_stopped_on": builds_stopped_on_output, + "builds_trigger_name": builds_trigger_name_output, + "builds_trigger_uuid": builds_trigger_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}/previews/${pathParam(args, "preview_id")}/builds`, body: { value: args["body"], mediaType: "application/json" }, @@ -148,6 +254,45 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_PreviewResponse" + }, + "400": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "409": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PreviewResponse": builds_PreviewResponse_output, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, + "builds_branch": builds_branch_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_is_secret": builds_is_secret_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_preview_auto_build": builds_preview_auto_build_output, + "builds_preview_auto_delete": builds_preview_auto_delete_output, + "builds_root_directory": builds_root_directory_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}/previews/${pathParam(args, "preview_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -198,6 +343,39 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_PreviewResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PreviewResponse": builds_PreviewResponse_output, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, + "builds_branch": builds_branch_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_is_secret": builds_is_secret_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_preview_auto_build": builds_preview_auto_build_output, + "builds_preview_auto_delete": builds_preview_auto_delete_output, + "builds_root_directory": builds_root_directory_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}/previews/${pathParam(args, "preview_id")}`, }), @@ -252,6 +430,40 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/builds_PreviewSummary" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/builds_PaginationInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_PreviewSummary": builds_PreviewSummary_output, + "builds_branch": builds_branch_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_preview_auto_build": builds_preview_auto_build_output, + "builds_preview_auto_delete": builds_preview_auto_delete_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}/previews`, query: [ @@ -315,6 +527,74 @@ export const tools: readonly Tool[] = [ "Workers CI Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/builds_BuildResponse" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/builds_PaginationInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_BuildOutcome": builds_BuildOutcome_output, + "builds_BuildResponse": builds_BuildResponse_output, + "builds_BuildResponse_deploy_hook": builds_BuildResponse_deploy_hook_output, + "builds_BuildResponse_pull_request": builds_BuildResponse_pull_request_output, + "builds_BuildResponse_trigger": builds_BuildResponse_trigger_output, + "builds_BuildStatus": builds_BuildStatus_output, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, + "builds_BuildTriggerSource": builds_BuildTriggerSource_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, + "builds_branch": builds_branch_output, + "builds_branch_excludes": builds_branch_excludes_output, + "builds_branch_includes": builds_branch_includes_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_name": builds_build_token_name_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_build_uuid": builds_build_uuid_output, + "builds_commit_hash": builds_commit_hash_output, + "builds_created_on": builds_created_on_output, + "builds_deleted_on": builds_deleted_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_deploy_hook_name": builds_deploy_hook_name_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_modified_on": builds_modified_on_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_connection_uuid": builds_repo_connection_uuid_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + "builds_stopped_on": builds_stopped_on_output, + "builds_trigger_name": builds_trigger_name_output, + "builds_trigger_uuid": builds_trigger_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}/previews/${pathParam(args, "preview_id")}/builds`, query: [ diff --git a/src/generated/forge-mcp/workersBuilds/workers/tools.ts b/src/generated/forge-mcp/workersBuilds/workers/tools.ts index ef9513a8..89b1c7ec 100644 --- a/src/generated/forge-mcp/workersBuilds/workers/tools.ts +++ b/src/generated/forge-mcp/workersBuilds/workers/tools.ts @@ -2,6 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + builds_ApiError_output, + builds_EnvironmentVariablesResponse_output, + builds_ErrorResponse_output, + builds_SCMProviderType_output, + builds_WorkerBuildSettings_output, + builds_WorkerGitRepository_output, + builds_WorkerResponse_output, + builds_build_caching_enabled_output, + builds_build_command_output, + builds_build_token_uuid_output, + builds_created_on_output, + builds_deploy_command_output, + builds_external_script_id_output, + builds_is_secret_output, + builds_path_excludes_output, + builds_path_includes_output, + builds_provider_account_id_output, + builds_provider_account_name_output, + builds_repo_id_output, + builds_repo_name_output, + builds_root_directory_output, +} from "../../outputs.js"; import { builds_account_id, builds_external_script_id } from "../../schemas.js"; import { builds_MigrateToPreviewsRequest } from "./schemas.js"; @@ -53,6 +76,45 @@ export const tools: readonly Tool[] = [ "Workers CI Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/builds_WorkerResponse" + }, + "400": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "401": { + "$ref": "#/$defs/builds_ErrorResponse" + }, + "404": { + "$ref": "#/$defs/builds_ErrorResponse" + } + }, + $defs: { + "builds_ApiError": builds_ApiError_output, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, + "builds_ErrorResponse": builds_ErrorResponse_output, + "builds_SCMProviderType": builds_SCMProviderType_output, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, + "builds_WorkerGitRepository": builds_WorkerGitRepository_output, + "builds_WorkerResponse": builds_WorkerResponse_output, + "builds_build_caching_enabled": builds_build_caching_enabled_output, + "builds_build_command": builds_build_command_output, + "builds_build_token_uuid": builds_build_token_uuid_output, + "builds_created_on": builds_created_on_output, + "builds_deploy_command": builds_deploy_command_output, + "builds_external_script_id": builds_external_script_id_output, + "builds_is_secret": builds_is_secret_output, + "builds_path_excludes": builds_path_excludes_output, + "builds_path_includes": builds_path_includes_output, + "builds_provider_account_id": builds_provider_account_id_output, + "builds_provider_account_name": builds_provider_account_name_output, + "builds_repo_id": builds_repo_id_output, + "builds_repo_name": builds_repo_name_output, + "builds_root_directory": builds_root_directory_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}/migrate_to_previews`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts new file mode 100644 index 00000000..71fa6dbd --- /dev/null +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts @@ -0,0 +1,65 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `workers_dispatch_namespace_name` in responses. + */ +export const workers_dispatch_namespace_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `workers_namespace-response` in responses. + */ +export const workers_namespace_response_output: JsonSchema = { + "properties": { + "created_by": { + "$ref": "#/$defs/workers_identifier" + }, + "created_on": { + "$ref": "#/$defs/workers_created_on" + }, + "modified_by": { + "$ref": "#/$defs/workers_identifier" + }, + "modified_on": { + "$ref": "#/$defs/workers_modified_on" + }, + "namespace_id": { + "$ref": "#/$defs/workers_uuid" + }, + "namespace_name": { + "$ref": "#/$defs/workers_dispatch_namespace_name" + }, + "script_count": { + "$ref": "#/$defs/workers_script_count" + }, + "trusted_workers": { + "$ref": "#/$defs/workers_trusted_workers" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_script_count` in responses. + */ +export const workers_script_count_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `workers_trusted_workers` in responses. + */ +export const workers_trusted_workers_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `workers_uuid` in responses. + */ +export const workers_uuid_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts index 3aba15e8..c66a6fc6 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../../../../outputs.js"; import { workers_create_assets_upload_session_object, workers_manifest_value, @@ -60,6 +64,34 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "properties": { + "buckets": { + "items": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "array" + }, + "jwt": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/assets-upload-session`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts index 3120cc29..cf123520 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts @@ -2,6 +2,56 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_binding_item_output, + workers_binding_kind_ai_output, + workers_binding_kind_ai_search_namespace_output, + workers_binding_kind_ai_search_output, + workers_binding_kind_analytics_engine_output, + workers_binding_kind_artifacts_output, + workers_binding_kind_assets_output, + workers_binding_kind_browser_output, + workers_binding_kind_d1_output, + workers_binding_kind_data_blob_output, + workers_binding_kind_dispatch_namespace_outbound_output, + workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + workers_binding_kind_dispatch_namespace_outbound_worker_output, + workers_binding_kind_dispatch_namespace_output, + workers_binding_kind_durable_object_namespace_output, + workers_binding_kind_flagship_output, + workers_binding_kind_hyperdrive_output, + workers_binding_kind_images_output, + workers_binding_kind_inherit_output, + workers_binding_kind_json_output, + workers_binding_kind_k2_output, + workers_binding_kind_kv_namespace_output, + workers_binding_kind_media_output, + workers_binding_kind_messaging_output, + workers_binding_kind_mtls_certificate_output, + workers_binding_kind_pipelines_output, + workers_binding_kind_plain_text_output, + workers_binding_kind_queue_output, + workers_binding_kind_r2_bucket_output, + workers_binding_kind_ratelimit_output, + workers_binding_kind_ratelimit_simple_output, + workers_binding_kind_secret_key_output, + workers_binding_kind_secret_text_output, + workers_binding_kind_secrets_store_secret_output, + workers_binding_kind_send_email_output, + workers_binding_kind_service_output, + workers_binding_kind_text_blob_output, + workers_binding_kind_vectorize_output, + workers_binding_kind_version_metadata_output, + workers_binding_kind_vpc_network_output, + workers_binding_kind_vpc_service_output, + workers_binding_kind_wasm_module_output, + workers_binding_kind_workflow_output, + workers_binding_name_output, + workers_bindings_output, + workers_messages_output, + workers_namespace_identifier_output, +} from "../../../../outputs.js"; /** * The tools of `workers_for_platforms.dispatch_namespaces.scripts.bindings`. @@ -49,6 +99,77 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/workers_bindings" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_messages": workers_messages_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/bindings`, }), diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts index ff5f9ad5..67af4311 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, +} from "../../../../outputs.js"; /** * The tools of `workers_for_platforms.dispatch_namespaces.scripts.content`. @@ -52,6 +56,18 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/content`, }), diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts new file mode 100644 index 00000000..32afb75f --- /dev/null +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts @@ -0,0 +1,59 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `workers_namespace-script-delete-bulk-response` in responses. + */ +export const workers_namespace_script_delete_bulk_response_output: JsonSchema = { + "properties": { + "deleted": { + "items": { + "$ref": "#/$defs/workers_namespace-script-delete-bulk-response_deletedItem" + }, + "type": "array" + }, + "deleted_count": { + "type": "integer" + }, + "has_more": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_namespace-script-delete-bulk-response_deletedItem` in + * responses. + */ +export const workers_namespace_script_delete_bulk_response_deletedItem_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/workers_uuid" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_namespace-script-response` in responses. + */ +export const workers_namespace_script_response_output: JsonSchema = { + "properties": { + "created_on": { + "$ref": "#/$defs/workers_created_on" + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name" + }, + "modified_on": { + "$ref": "#/$defs/workers_modified_on" + }, + "script": { + "$ref": "#/$defs/workers_script-response" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts index 070f6a5c..cacf98e9 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_binding_kind_secret_key_output, + workers_binding_kind_secret_text_output, + workers_binding_name_output, + workers_messages_output, + workers_secret_output, + workers_secret_patch_response_output, +} from "../../../../outputs.js"; import { workers_binding_kind_secret_key, workers_binding_kind_secret_text, @@ -61,6 +70,28 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/secrets-bulk", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_secret-patch-response" + }, + "429": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_name": workers_binding_name_output, + "workers_messages": workers_messages_output, + "workers_secret": workers_secret_output, + "workers_secret-patch-response": workers_secret_patch_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/secrets-bulk`, body: { value: args["body"], mediaType: "application/json" }, @@ -118,6 +149,20 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/secrets/${pathParam(args, "secret_name")}`, query: [ @@ -179,6 +224,24 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_secret" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_name": workers_binding_name_output, + "workers_messages": workers_messages_output, + "workers_secret": workers_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/secrets/${pathParam(args, "secret_name")}`, query: [ @@ -228,6 +291,38 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_secret" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_name": workers_binding_name_output, + "workers_messages": workers_messages_output, + "workers_secret": workers_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/secrets`, }), @@ -282,6 +377,27 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_secret" + }, + "429": { + "$ref": "#/$defs/workers_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_name": workers_binding_name_output, + "workers_messages": workers_messages_output, + "workers_secret": workers_secret_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/secrets`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts new file mode 100644 index 00000000..49789d58 --- /dev/null +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts @@ -0,0 +1,118 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `workers_namespace-script-and-version-settings-item` in + * responses. + */ +export const workers_namespace_script_and_version_settings_item_output: JsonSchema = { + "properties": { + "bindings": { + "allOf": [ + { + "$ref": "#/$defs/workers_bindings" + }, + { + "items": { + "$ref": "#/$defs/workers_binding_item" + }, + "type": "array" + } + ] + }, + "cache_options": { + "$ref": "#/$defs/workers_cache_options" + }, + "compatibility_date": { + "allOf": [ + { + "$ref": "#/$defs/workers_compatibility_date" + }, + { + "type": "string" + } + ] + }, + "compatibility_flags": { + "allOf": [ + { + "$ref": "#/$defs/workers_compatibility_flags" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "exports": { + "$ref": "#/$defs/workers_exports_config_map" + }, + "exports_reconciliation": { + "$ref": "#/$defs/workers_exports_reconciliation_result" + }, + "limits": { + "$ref": "#/$defs/workers_limits" + }, + "logpush": { + "$ref": "#/$defs/workers_logpush" + }, + "migrations": { + "$ref": "#/$defs/workers_namespace-script-and-version-settings-item_migrations" + }, + "observability": { + "$ref": "#/$defs/workers_observability-2" + }, + "placement": { + "$ref": "#/$defs/workers_placement_info_no_status" + }, + "tags": { + "allOf": [ + { + "$ref": "#/$defs/workers_tags" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "tail_consumers": { + "allOf": [ + { + "$ref": "#/$defs/workers_tail_consumers" + }, + { + "items": { + "$ref": "#/$defs/workers_tail_consumers_script" + }, + "type": "array" + } + ] + }, + "usage_model": { + "$ref": "#/$defs/workers_usage_model" + } + }, + "type": "object" +}; + +/** + * The schema of `workers_namespace-script-and-version-settings-item_migrations` + * in responses. + */ +export const workers_namespace_script_and_version_settings_item_migrations_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/workers_single_step_migrations" + }, + { + "$ref": "#/$defs/workers_multiple_step_migrations" + } + ] +}; diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts index 0a2c3c4c..7b901aa0 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts @@ -2,6 +2,101 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_binding_item_output, + workers_binding_kind_ai_output, + workers_binding_kind_ai_search_namespace_output, + workers_binding_kind_ai_search_output, + workers_binding_kind_analytics_engine_output, + workers_binding_kind_artifacts_output, + workers_binding_kind_assets_output, + workers_binding_kind_browser_output, + workers_binding_kind_d1_output, + workers_binding_kind_data_blob_output, + workers_binding_kind_dispatch_namespace_outbound_output, + workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + workers_binding_kind_dispatch_namespace_outbound_worker_output, + workers_binding_kind_dispatch_namespace_output, + workers_binding_kind_durable_object_namespace_output, + workers_binding_kind_flagship_output, + workers_binding_kind_hyperdrive_output, + workers_binding_kind_images_output, + workers_binding_kind_inherit_output, + workers_binding_kind_json_output, + workers_binding_kind_k2_output, + workers_binding_kind_kv_namespace_output, + workers_binding_kind_media_output, + workers_binding_kind_messaging_output, + workers_binding_kind_mtls_certificate_output, + workers_binding_kind_pipelines_output, + workers_binding_kind_plain_text_output, + workers_binding_kind_queue_output, + workers_binding_kind_r2_bucket_output, + workers_binding_kind_ratelimit_output, + workers_binding_kind_ratelimit_simple_output, + workers_binding_kind_secret_key_output, + workers_binding_kind_secret_text_output, + workers_binding_kind_secrets_store_secret_output, + workers_binding_kind_send_email_output, + workers_binding_kind_service_output, + workers_binding_kind_text_blob_output, + workers_binding_kind_vectorize_output, + workers_binding_kind_version_metadata_output, + workers_binding_kind_vpc_network_output, + workers_binding_kind_vpc_service_output, + workers_binding_kind_wasm_module_output, + workers_binding_kind_workflow_output, + workers_binding_name_output, + workers_bindings_output, + workers_cache_options_output, + workers_compatibility_date_output, + workers_compatibility_flag_output, + workers_compatibility_flags_output, + workers_durable_object_deleted_export_output, + workers_durable_object_expecting_transfer_export_output, + workers_durable_object_export_output, + workers_durable_object_export_variants_output, + workers_durable_object_renamed_export_output, + workers_durable_object_transferred_export_output, + workers_entrypoint_cache_options_output, + workers_export_config_output, + workers_export_storage_output, + workers_exports_config_map_output, + workers_exports_reconciliation_info_output, + workers_exports_reconciliation_rename_output, + workers_exports_reconciliation_result_output, + workers_exports_reconciliation_scenario_output, + workers_exports_reconciliation_transfer_output, + workers_exports_reconciliation_transfer_pending_output, + workers_exports_reconciliation_warning_output, + workers_limits_output, + workers_logpush_output, + workers_messages_output, + workers_migration_step_output, + workers_migration_step_renamed_classesItem_output, + workers_migration_step_transferred_classesItem_output, + workers_migration_tag_conditions_output, + workers_multiple_step_migrations_output, + workers_namespace_identifier_output, + workers_observability_2_issues_output, + workers_observability_2_logs_output, + workers_observability_2_output, + workers_observability_2_traces_output, + workers_placement_info_no_status_output, + workers_placement_target_output, + workers_single_step_migrations_output, + workers_tag_output, + workers_tags_output, + workers_tail_consumers_output, + workers_tail_consumers_script_output, + workers_usage_model_output, + workers_worker_export_output, +} from "../../../../outputs.js"; +import { + workers_namespace_script_and_version_settings_item_migrations_output, + workers_namespace_script_and_version_settings_item_output, +} from "./outputs.js"; /** * The tools of `workers_for_platforms.dispatch_namespaces.scripts.settings`. @@ -49,6 +144,109 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_namespace-script-and-version-settings-item" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_binding_item": workers_binding_item_output, + "workers_binding_kind_ai": workers_binding_kind_ai_output, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, + "workers_binding_kind_assets": workers_binding_kind_assets_output, + "workers_binding_kind_browser": workers_binding_kind_browser_output, + "workers_binding_kind_d1": workers_binding_kind_d1_output, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, + "workers_binding_kind_dispatch_namespace_outbound": workers_binding_kind_dispatch_namespace_outbound_output, + "workers_binding_kind_dispatch_namespace_outbound_paramsItem": workers_binding_kind_dispatch_namespace_outbound_paramsItem_output, + "workers_binding_kind_dispatch_namespace_outbound_worker": workers_binding_kind_dispatch_namespace_outbound_worker_output, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, + "workers_binding_kind_flagship": workers_binding_kind_flagship_output, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, + "workers_binding_kind_images": workers_binding_kind_images_output, + "workers_binding_kind_inherit": workers_binding_kind_inherit_output, + "workers_binding_kind_json": workers_binding_kind_json_output, + "workers_binding_kind_k2": workers_binding_kind_k2_output, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, + "workers_binding_kind_media": workers_binding_kind_media_output, + "workers_binding_kind_messaging": workers_binding_kind_messaging_output, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, + "workers_binding_kind_queue": workers_binding_kind_queue_output, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, + "workers_binding_kind_ratelimit_simple": workers_binding_kind_ratelimit_simple_output, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, + "workers_binding_kind_send_email": workers_binding_kind_send_email_output, + "workers_binding_kind_service": workers_binding_kind_service_output, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, + "workers_binding_kind_workflow": workers_binding_kind_workflow_output, + "workers_binding_name": workers_binding_name_output, + "workers_bindings": workers_bindings_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, + "workers_limits": workers_limits_output, + "workers_logpush": workers_logpush_output, + "workers_messages": workers_messages_output, + "workers_migration_step": workers_migration_step_output, + "workers_migration_step_renamed_classesItem": workers_migration_step_renamed_classesItem_output, + "workers_migration_step_transferred_classesItem": workers_migration_step_transferred_classesItem_output, + "workers_migration_tag_conditions": workers_migration_tag_conditions_output, + "workers_multiple_step_migrations": workers_multiple_step_migrations_output, + "workers_namespace-script-and-version-settings-item": workers_namespace_script_and_version_settings_item_output, + "workers_namespace-script-and-version-settings-item_migrations": workers_namespace_script_and_version_settings_item_migrations_output, + "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_observability-2": workers_observability_2_output, + "workers_observability-2_issues": workers_observability_2_issues_output, + "workers_observability-2_logs": workers_observability_2_logs_output, + "workers_observability-2_traces": workers_observability_2_traces_output, + "workers_placement_info_no_status": workers_placement_info_no_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_single_step_migrations": workers_single_step_migrations_output, + "workers_tag": workers_tag_output, + "workers_tags": workers_tags_output, + "workers_tail_consumers": workers_tail_consumers_output, + "workers_tail_consumers_script": workers_tail_consumers_script_output, + "workers_usage_model": workers_usage_model_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/settings`, }), diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/outputs.ts new file mode 100644 index 00000000..aac8d926 --- /dev/null +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/outputs.ts @@ -0,0 +1,73 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `workers_api-response-null-result` in responses. + */ +export const workers_api_response_null_result_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers_messages" + }, + "messages": { + "$ref": "#/$defs/workers_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `workers_tags-kv-response` in responses. + */ +export const workers_tags_kv_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/workers_messages" + }, + "messages": { + "$ref": "#/$defs/workers_messages" + }, + "result": { + "$ref": "#/$defs/workers_tags_kv" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success", + "result" + ], + "type": "object" +}; + +/** + * The schema of `workers_tags_kv` in responses. + */ +export const workers_tags_kv_output: JsonSchema = { + "additionalProperties": { + "type": "string" + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts index 57c4ac5e..3f9224a9 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts @@ -2,7 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_messages_output, + workers_tag_output, +} from "../../../../outputs.js"; import { workers_tag, workers_tags } from "../../../../schemas.js"; +import { + workers_api_response_null_result_output, + workers_tags_kv_output, + workers_tags_kv_response_output, +} from "./outputs.js"; import { workers_tag_patch } from "./schemas.js"; /** @@ -56,6 +66,20 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/tags/${pathParam(args, "tag")}`, }), @@ -108,6 +132,30 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "$ref": "#/$defs/workers_tags-kv-response" + }, + { + "$ref": "#/$defs/workers_api-response-null-result" + } + ] + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_api-response-null-result": workers_api_response_null_result_output, + "workers_messages": workers_messages_output, + "workers_tags-kv-response": workers_tags_kv_response_output, + "workers_tags_kv": workers_tags_kv_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/tags/${pathParam(args, "tag")}`, headers: [ @@ -171,6 +219,21 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_tags_kv" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_tags_kv": workers_tags_kv_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/tags/${pathParam(args, "tag")}`, headers: [ @@ -221,6 +284,35 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_tag" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_tag": workers_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/tags`, }), @@ -273,6 +365,35 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_tag" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_tag": workers_tag_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/tags`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts index abae78a4..460e39e2 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts @@ -2,6 +2,55 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_cache_options_output, + workers_compatibility_date_output, + workers_compatibility_flag_output, + workers_compatibility_flags_output, + workers_created_on_output, + workers_durable_object_deleted_export_output, + workers_durable_object_expecting_transfer_export_output, + workers_durable_object_export_output, + workers_durable_object_export_variants_output, + workers_durable_object_renamed_export_output, + workers_durable_object_transferred_export_output, + workers_entrypoint_cache_options_output, + workers_etag_output, + workers_export_config_output, + workers_export_storage_output, + workers_exports_config_map_output, + workers_has_assets_output, + workers_has_modules_output, + workers_logpush_output, + workers_messages_output, + workers_modified_on_output, + workers_observability_2_issues_output, + workers_observability_2_logs_output, + workers_observability_2_output, + workers_observability_2_traces_output, + workers_placement_info_output, + workers_placement_mode_output, + workers_placement_status_output, + workers_placement_target_output, + workers_script_response_named_handlersItem_output, + workers_script_response_output, + workers_tag_output, + workers_tags_output, + workers_tail_consumers_output, + workers_tail_consumers_script_output, + workers_usage_model_output, + workers_worker_export_output, +} from "../../../outputs.js"; +import { + workers_dispatch_namespace_name_output, + workers_uuid_output, +} from "../outputs.js"; +import { + workers_namespace_script_delete_bulk_response_deletedItem_output, + workers_namespace_script_delete_bulk_response_output, + workers_namespace_script_response_output, +} from "./outputs.js"; /** * The tools of `workers_for_platforms.dispatch_namespaces.scripts`. @@ -54,6 +103,23 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_namespace-script-delete-bulk-response" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + "workers_namespace-script-delete-bulk-response": workers_namespace_script_delete_bulk_response_output, + "workers_namespace-script-delete-bulk-response_deletedItem": workers_namespace_script_delete_bulk_response_deletedItem_output, + "workers_uuid": workers_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts`, query: [ @@ -106,6 +172,20 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}`, query: [ @@ -155,6 +235,58 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_namespace-script-response" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_created_on": workers_created_on_output, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_etag": workers_etag_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_has_assets": workers_has_assets_output, + "workers_has_modules": workers_has_modules_output, + "workers_logpush": workers_logpush_output, + "workers_messages": workers_messages_output, + "workers_modified_on": workers_modified_on_output, + "workers_namespace-script-response": workers_namespace_script_response_output, + "workers_observability-2": workers_observability_2_output, + "workers_observability-2_issues": workers_observability_2_issues_output, + "workers_observability-2_logs": workers_observability_2_logs_output, + "workers_observability-2_traces": workers_observability_2_traces_output, + "workers_placement_info": workers_placement_info_output, + "workers_placement_mode": workers_placement_mode_output, + "workers_placement_status": workers_placement_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_script-response": workers_script_response_output, + "workers_script-response_named_handlersItem": workers_script_response_named_handlersItem_output, + "workers_tag": workers_tag_output, + "workers_tags": workers_tags_output, + "workers_tail_consumers": workers_tail_consumers_output, + "workers_tail_consumers_script": workers_tail_consumers_script_output, + "workers_usage_model": workers_usage_model_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}`, }), @@ -200,6 +332,72 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_namespace-script-response" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_cache_options": workers_cache_options_output, + "workers_compatibility_date": workers_compatibility_date_output, + "workers_compatibility_flag": workers_compatibility_flag_output, + "workers_compatibility_flags": workers_compatibility_flags_output, + "workers_created_on": workers_created_on_output, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, + "workers_durable_object_export": workers_durable_object_export_output, + "workers_durable_object_export_variants": workers_durable_object_export_variants_output, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, + "workers_etag": workers_etag_output, + "workers_export_config": workers_export_config_output, + "workers_export_storage": workers_export_storage_output, + "workers_exports_config_map": workers_exports_config_map_output, + "workers_has_assets": workers_has_assets_output, + "workers_has_modules": workers_has_modules_output, + "workers_logpush": workers_logpush_output, + "workers_messages": workers_messages_output, + "workers_modified_on": workers_modified_on_output, + "workers_namespace-script-response": workers_namespace_script_response_output, + "workers_observability-2": workers_observability_2_output, + "workers_observability-2_issues": workers_observability_2_issues_output, + "workers_observability-2_logs": workers_observability_2_logs_output, + "workers_observability-2_traces": workers_observability_2_traces_output, + "workers_placement_info": workers_placement_info_output, + "workers_placement_mode": workers_placement_mode_output, + "workers_placement_status": workers_placement_status_output, + "workers_placement_target": workers_placement_target_output, + "workers_script-response": workers_script_response_output, + "workers_script-response_named_handlersItem": workers_script_response_named_handlersItem_output, + "workers_tag": workers_tag_output, + "workers_tags": workers_tags_output, + "workers_tail_consumers": workers_tail_consumers_output, + "workers_tail_consumers_script": workers_tail_consumers_script_output, + "workers_usage_model": workers_usage_model_output, + "workers_worker_export": workers_worker_export_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts`, query: [ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts index 880eb6b5..96003464 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + workers_api_response_common_failure_output, + workers_created_on_output, + workers_identifier_output, + workers_messages_output, + workers_modified_on_output, +} from "../../outputs.js"; +import { + workers_dispatch_namespace_name_output, + workers_namespace_response_output, + workers_script_count_output, + workers_trusted_workers_output, + workers_uuid_output, +} from "./outputs.js"; import { workers_trusted_workers } from "./schemas.js"; /** @@ -48,6 +62,28 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_namespace-response" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_created_on": workers_created_on_output, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_modified_on": workers_modified_on_output, + "workers_namespace-response": workers_namespace_response_output, + "workers_script_count": workers_script_count_output, + "workers_trusted_workers": workers_trusted_workers_output, + "workers_uuid": workers_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces`, body: { value: args["body"], mediaType: "application/json" }, @@ -88,6 +124,20 @@ export const tools: readonly Tool[] = [ "Workers Scripts Write" ] }, + responses: { + schemas: { + "200": { + "type": "null" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_messages": workers_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}`, }), @@ -148,6 +198,28 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_namespace-response" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_created_on": workers_created_on_output, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_modified_on": workers_modified_on_output, + "workers_namespace-response": workers_namespace_response_output, + "workers_script_count": workers_script_count_output, + "workers_trusted_workers": workers_trusted_workers_output, + "workers_uuid": workers_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -190,6 +262,28 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_namespace-response" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_created_on": workers_created_on_output, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_modified_on": workers_modified_on_output, + "workers_namespace-response": workers_namespace_response_output, + "workers_script_count": workers_script_count_output, + "workers_trusted_workers": workers_trusted_workers_output, + "workers_uuid": workers_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}`, }), @@ -226,6 +320,42 @@ export const tools: readonly Tool[] = [ "Workers Scripts Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/workers_namespace-response" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_created_on": workers_created_on_output, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_modified_on": workers_modified_on_output, + "workers_namespace-response": workers_namespace_response_output, + "workers_script_count": workers_script_count_output, + "workers_trusted_workers": workers_trusted_workers_output, + "workers_uuid": workers_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces`, }), @@ -286,6 +416,28 @@ export const tools: readonly Tool[] = [ "sdk" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/workers_namespace-response" + }, + "4XX": { + "$ref": "#/$defs/workers_api-response-common-failure" + } + }, + $defs: { + "workers_api-response-common-failure": workers_api_response_common_failure_output, + "workers_created_on": workers_created_on_output, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, + "workers_identifier": workers_identifier_output, + "workers_messages": workers_messages_output, + "workers_modified_on": workers_modified_on_output, + "workers_namespace-response": workers_namespace_response_output, + "workers_script_count": workers_script_count_output, + "workers_trusted_workers": workers_trusted_workers_output, + "workers_uuid": workers_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workersVpc/services/outputs.ts b/src/generated/forge-mcp/workersVpc/services/outputs.ts new file mode 100644 index 00000000..41788327 --- /dev/null +++ b/src/generated/forge-mcp/workersVpc/services/outputs.ts @@ -0,0 +1,333 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `infra_ApiTlsSettings` in responses. + */ +export const infra_ApiTlsSettings_output: JsonSchema = { + "properties": { + "cert_verification_mode": { + "type": "string" + } + }, + "required": [ + "cert_verification_mode" + ], + "type": "object" +}; + +/** + * The schema of `infra_ConnectivityServiceArray` in responses. + */ +export const infra_ConnectivityServiceArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/infra_ServiceConfig" + }, + "type": "array" +}; + +/** + * The schema of `infra_DualStackHost` in responses. + */ +export const infra_DualStackHost_output: JsonSchema = { + "properties": { + "ipv4": { + "type": "string" + }, + "ipv6": { + "type": "string" + }, + "network": { + "$ref": "#/$defs/infra_Network" + } + }, + "required": [ + "ipv4", + "ipv6", + "network" + ], + "type": "object" +}; + +/** + * The schema of `infra_HostnameHost` in responses. + */ +export const infra_HostnameHost_output: JsonSchema = { + "properties": { + "hostname": { + "type": "string" + }, + "resolver_network": { + "$ref": "#/$defs/infra_ResolverNetwork" + } + }, + "required": [ + "hostname", + "resolver_network" + ], + "type": "object" +}; + +/** + * The schema of `infra_HttpServiceConfig` in responses. + */ +export const infra_HttpServiceConfig_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "host": { + "$ref": "#/$defs/infra_ServiceHost" + }, + "http_port": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "https_port": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "service_id": { + "format": "uuid", + "type": "string" + }, + "tls_settings": { + "oneOf": [ + { + "$ref": "#/$defs/infra_ApiTlsSettings" + }, + { + "type": "null" + } + ] + }, + "type": { + "$ref": "#/$defs/infra_ServiceType" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "host", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `infra_IPv4Host` in responses. + */ +export const infra_IPv4Host_output: JsonSchema = { + "properties": { + "ipv4": { + "type": "string" + }, + "network": { + "$ref": "#/$defs/infra_Network" + } + }, + "required": [ + "ipv4", + "network" + ], + "type": "object" +}; + +/** + * The schema of `infra_IPv6Host` in responses. + */ +export const infra_IPv6Host_output: JsonSchema = { + "properties": { + "ipv6": { + "type": "string" + }, + "network": { + "$ref": "#/$defs/infra_Network" + } + }, + "required": [ + "ipv6", + "network" + ], + "type": "object" +}; + +/** + * The schema of `infra_Network` in responses. + */ +export const infra_Network_output: JsonSchema = { + "properties": { + "tunnel_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "tunnel_id" + ], + "type": "object" +}; + +/** + * The schema of `infra_ResolverNetwork` in responses. + */ +export const infra_ResolverNetwork_output: JsonSchema = { + "properties": { + "resolver_ips": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "tunnel_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "tunnel_id" + ], + "type": "object" +}; + +/** + * The schema of `infra_ServiceConfig` in responses. + */ +export const infra_ServiceConfig_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/infra_HttpServiceConfig" + }, + { + "$ref": "#/$defs/infra_TcpServiceConfig" + } + ] +}; + +/** + * The schema of `infra_ServiceHost` in responses. + */ +export const infra_ServiceHost_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/infra_IPv4Host" + }, + { + "$ref": "#/$defs/infra_IPv6Host" + }, + { + "$ref": "#/$defs/infra_DualStackHost" + }, + { + "$ref": "#/$defs/infra_HostnameHost" + } + ] +}; + +/** + * The schema of `infra_ServiceType` in responses. + */ +export const infra_ServiceType_output: JsonSchema = { + "enum": [ + "tcp", + "http" + ], + "type": "string" +}; + +/** + * The schema of `infra_TcpServiceConfig` in responses. + */ +export const infra_TcpServiceConfig_output: JsonSchema = { + "properties": { + "app_protocol": { + "oneOf": [ + { + "enum": [ + "postgresql", + "mysql" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "host": { + "$ref": "#/$defs/infra_ServiceHost" + }, + "name": { + "type": "string" + }, + "service_id": { + "format": "uuid", + "type": "string" + }, + "tcp_port": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tls_settings": { + "oneOf": [ + { + "$ref": "#/$defs/infra_ApiTlsSettings" + }, + { + "type": "null" + } + ] + }, + "type": { + "$ref": "#/$defs/infra_ServiceType" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "host", + "name", + "type" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/workersVpc/services/tools.ts b/src/generated/forge-mcp/workersVpc/services/tools.ts index cb371c6c..1633caf0 100644 --- a/src/generated/forge-mcp/workersVpc/services/tools.ts +++ b/src/generated/forge-mcp/workersVpc/services/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + infra_api_response_common_failure_output, + infra_messages_output, +} from "../../outputs.js"; +import { + infra_ApiTlsSettings_output, + infra_ConnectivityServiceArray_output, + infra_DualStackHost_output, + infra_HostnameHost_output, + infra_HttpServiceConfig_output, + infra_IPv4Host_output, + infra_IPv6Host_output, + infra_Network_output, + infra_ResolverNetwork_output, + infra_ServiceConfig_output, + infra_ServiceHost_output, + infra_ServiceType_output, + infra_TcpServiceConfig_output, +} from "./outputs.js"; import { infra_ApiTlsSettings, infra_DualStackHost, @@ -64,6 +83,32 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/connectivity/directory/services", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/infra_ServiceConfig" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_ApiTlsSettings": infra_ApiTlsSettings_output, + "infra_DualStackHost": infra_DualStackHost_output, + "infra_HostnameHost": infra_HostnameHost_output, + "infra_HttpServiceConfig": infra_HttpServiceConfig_output, + "infra_IPv4Host": infra_IPv4Host_output, + "infra_IPv6Host": infra_IPv6Host_output, + "infra_Network": infra_Network_output, + "infra_ResolverNetwork": infra_ResolverNetwork_output, + "infra_ServiceConfig": infra_ServiceConfig_output, + "infra_ServiceHost": infra_ServiceHost_output, + "infra_ServiceType": infra_ServiceType_output, + "infra_TcpServiceConfig": infra_TcpServiceConfig_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/connectivity/directory/services`, body: { value: args["body"], mediaType: "application/json" }, @@ -98,6 +143,18 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/connectivity/directory/services/{service_id}", + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/connectivity/directory/services/${pathParam(args, "service_id")}`, }), @@ -131,6 +188,32 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/connectivity/directory/services/{service_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/infra_ServiceConfig" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_ApiTlsSettings": infra_ApiTlsSettings_output, + "infra_DualStackHost": infra_DualStackHost_output, + "infra_HostnameHost": infra_HostnameHost_output, + "infra_HttpServiceConfig": infra_HttpServiceConfig_output, + "infra_IPv4Host": infra_IPv4Host_output, + "infra_IPv6Host": infra_IPv6Host_output, + "infra_Network": infra_Network_output, + "infra_ResolverNetwork": infra_ResolverNetwork_output, + "infra_ServiceConfig": infra_ServiceConfig_output, + "infra_ServiceHost": infra_ServiceHost_output, + "infra_ServiceType": infra_ServiceType_output, + "infra_TcpServiceConfig": infra_TcpServiceConfig_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/connectivity/directory/services/${pathParam(args, "service_id")}`, }), @@ -183,6 +266,61 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/connectivity/directory/services", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/infra_ConnectivityServiceArray" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_ApiTlsSettings": infra_ApiTlsSettings_output, + "infra_ConnectivityServiceArray": infra_ConnectivityServiceArray_output, + "infra_DualStackHost": infra_DualStackHost_output, + "infra_HostnameHost": infra_HostnameHost_output, + "infra_HttpServiceConfig": infra_HttpServiceConfig_output, + "infra_IPv4Host": infra_IPv4Host_output, + "infra_IPv6Host": infra_IPv6Host_output, + "infra_Network": infra_Network_output, + "infra_ResolverNetwork": infra_ResolverNetwork_output, + "infra_ServiceConfig": infra_ServiceConfig_output, + "infra_ServiceHost": infra_ServiceHost_output, + "infra_ServiceType": infra_ServiceType_output, + "infra_TcpServiceConfig": infra_TcpServiceConfig_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/connectivity/directory/services`, query: [ @@ -239,6 +377,32 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/connectivity/directory/services/{service_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/infra_ServiceConfig" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_ApiTlsSettings": infra_ApiTlsSettings_output, + "infra_DualStackHost": infra_DualStackHost_output, + "infra_HostnameHost": infra_HostnameHost_output, + "infra_HttpServiceConfig": infra_HttpServiceConfig_output, + "infra_IPv4Host": infra_IPv4Host_output, + "infra_IPv6Host": infra_IPv6Host_output, + "infra_Network": infra_Network_output, + "infra_ResolverNetwork": infra_ResolverNetwork_output, + "infra_ServiceConfig": infra_ServiceConfig_output, + "infra_ServiceHost": infra_ServiceHost_output, + "infra_ServiceType": infra_ServiceType_output, + "infra_TcpServiceConfig": infra_TcpServiceConfig_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/connectivity/directory/services/${pathParam(args, "service_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workflows/concurrency/tools.ts b/src/generated/forge-mcp/workflows/concurrency/tools.ts index 8cc1d4c8..f2544e2c 100644 --- a/src/generated/forge-mcp/workflows/concurrency/tools.ts +++ b/src/generated/forge-mcp/workflows/concurrency/tools.ts @@ -74,6 +74,167 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "limit": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_on", + "id", + "limit", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/concurrency`, body: { value: args["body"], mediaType: "application/json" }, @@ -134,6 +295,211 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "status": { + "enum": [ + "ok" + ], + "type": "string" + }, + "success": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "status", + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/concurrency/${pathParam(args, "key_id")}`, }), @@ -206,6 +572,167 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "limit": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_on", + "id", + "limit", + "name" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/concurrency/${pathParam(args, "key_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -268,6 +795,187 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "limit": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "referencing_workflows": { + "items": { + "properties": { + "version_id": { + "format": "uuid", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "version_id", + "workflow_name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "created_on", + "id", + "limit", + "name", + "referencing_workflows" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/concurrency/${pathParam(args, "key_id")}`, }), @@ -331,6 +1039,162 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "limit": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "created_on", + "id", + "limit", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "count", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "403": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/concurrency`, query: [ diff --git a/src/generated/forge-mcp/workflows/instances/batch/tools.ts b/src/generated/forge-mcp/workflows/instances/batch/tools.ts index 1f7abc3e..50ffdb22 100644 --- a/src/generated/forge-mcp/workflows/instances/batch/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/batch/tools.ts @@ -122,6 +122,183 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + }, + "trigger_source": { + "enum": [ + "unknown", + "api", + "binding", + "event", + "cron" + ], + "type": "string" + }, + "version_id": { + "format": "uuid", + "type": "string" + }, + "workflow_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "id", + "status", + "version_id", + "workflow_id" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "count", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/batch`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workflows/instances/events/tools.ts b/src/generated/forge-mcp/workflows/instances/events/tools.ts index 0e0c5e16..cb81be7a 100644 --- a/src/generated/forge-mcp/workflows/instances/events/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/events/tools.ts @@ -69,6 +69,114 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "instanceId": { + "type": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "instanceId", + "timestamp" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}/events/${pathParam(args, "event_type")}`, }), diff --git a/src/generated/forge-mcp/workflows/instances/step/tools.ts b/src/generated/forge-mcp/workflows/instances/step/tools.ts index 0cbecdd8..8251e8e9 100644 --- a/src/generated/forge-mcp/workflows/instances/step/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/step/tools.ts @@ -85,6 +85,237 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "error": { + "oneOf": [ + { + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "message", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "event_type": { + "type": "string" + }, + "output": { + "type": "object" + }, + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + } + }, + "required": [ + "error", + "status" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "429": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "500": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}/step`, query: [ diff --git a/src/generated/forge-mcp/workflows/instances/tools.ts b/src/generated/forge-mcp/workflows/instances/tools.ts index 354d206a..db4fc0a2 100644 --- a/src/generated/forge-mcp/workflows/instances/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/tools.ts @@ -124,6 +124,144 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "type": "string" + }, + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + }, + "trigger_source": { + "enum": [ + "unknown", + "api", + "binding", + "event", + "cron" + ], + "type": "string" + }, + "version_id": { + "format": "uuid", + "type": "string" + }, + "workflow_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "id", + "status", + "version_id", + "workflow_id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances`, body: { value: args["body"], mediaType: "application/json" }, @@ -187,6 +325,70 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "instanceId": { + "type": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "instanceId", + "timestamp" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}`, }), @@ -268,6 +470,613 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "end": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "oneOf": [ + { + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "message", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "output": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "params": { + "type": "object" + }, + "queued": { + "format": "date-time", + "type": "string" + }, + "rollback": { + "oneOf": [ + { + "properties": { + "error": { + "oneOf": [ + { + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "message", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "outcome": { + "enum": [ + "complete", + "failed" + ], + "type": "string" + } + }, + "required": [ + "error", + "outcome" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "schedule": { + "properties": { + "cron": { + "type": "string" + }, + "scheduledTime": { + "type": "number" + } + }, + "required": [ + "cron", + "scheduledTime" + ], + "type": "object" + }, + "start": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + }, + "step_count": { + "type": "integer" + }, + "steps": { + "items": { + "anyOf": [ + { + "properties": { + "attempts": { + "items": { + "properties": { + "end": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "error": { + "oneOf": [ + { + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "message", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "start": { + "format": "date-time", + "type": "string" + }, + "success": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "end", + "error", + "start", + "success" + ], + "type": "object" + }, + "type": "array" + }, + "config": { + "properties": { + "retries": { + "properties": { + "backoff": { + "enum": [ + "constant", + "linear", + "exponential" + ], + "type": "string" + }, + "delay": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "limit": { + "type": "number" + } + }, + "required": [ + "delay", + "limit" + ], + "type": "object" + }, + "sensitive": { + "enum": [ + "output" + ], + "type": "string" + }, + "timeout": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "retries", + "timeout" + ], + "type": "object" + }, + "end": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "output": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "start": { + "format": "date-time", + "type": "string" + }, + "success": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "type": { + "enum": [ + "step", + "rollback" + ], + "type": "string" + } + }, + "required": [ + "attempts", + "config", + "end", + "name", + "output", + "start", + "success", + "type" + ], + "type": "object" + }, + { + "properties": { + "end": { + "format": "date-time", + "type": "string" + }, + "error": { + "oneOf": [ + { + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "message", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "finished": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "start": { + "format": "date-time", + "type": "string" + }, + "type": { + "enum": [ + "sleep" + ], + "type": "string" + } + }, + "required": [ + "end", + "error", + "finished", + "name", + "start", + "type" + ], + "type": "object" + }, + { + "properties": { + "trigger": { + "properties": { + "source": { + "type": "string" + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "type": { + "enum": [ + "termination" + ], + "type": "string" + } + }, + "required": [ + "trigger", + "type" + ], + "type": "object" + }, + { + "properties": { + "end": { + "format": "date-time", + "type": "string" + }, + "error": { + "oneOf": [ + { + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "message", + "name" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "event_type": { + "type": "string" + }, + "finished": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "output": { + "type": "string" + }, + "start": { + "format": "date-time", + "type": "string" + }, + "type": { + "enum": [ + "waitForEvent" + ], + "type": "string" + } + }, + "required": [ + "end", + "error", + "finished", + "name", + "start", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "success": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "trigger": { + "properties": { + "source": { + "enum": [ + "unknown", + "api", + "binding", + "event", + "cron" + ], + "type": "string" + } + }, + "required": [ + "source" + ], + "type": "object" + }, + "versionId": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "end", + "error", + "output", + "params", + "queued", + "rollback", + "start", + "status", + "step_count", + "steps", + "success", + "trigger", + "versionId" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}`, query: [ @@ -375,6 +1184,217 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_on": { + "format": "date-time", + "type": "string" + }, + "ended_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "started_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + }, + "trigger_source": { + "enum": [ + "unknown", + "api", + "binding", + "event", + "cron" + ], + "type": "string" + }, + "version_id": { + "format": "uuid", + "type": "string" + }, + "workflow_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "created_on", + "ended_on", + "id", + "modified_on", + "started_on", + "status", + "version_id", + "workflow_id" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "count", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances`, query: [ @@ -523,6 +1543,169 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "status", + "timestamp" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}/status`, body: { value: args["body"], mediaType: "application/json" }, @@ -660,6 +1843,169 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "status", + "timestamp" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}/status`, body: { value: args["body"], mediaType: "application/json" }, @@ -800,6 +2146,169 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "status", + "timestamp" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}/status`, body: { value: args["body"], mediaType: "application/json" }, @@ -937,6 +2446,169 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "status", + "timestamp" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}/status`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/workflows/settings/tools.ts b/src/generated/forge-mcp/workflows/settings/tools.ts index 5a96f558..169fc3d1 100644 --- a/src/generated/forge-mcp/workflows/settings/tools.ts +++ b/src/generated/forge-mcp/workflows/settings/tools.ts @@ -90,6 +90,70 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "default_retention": { + "properties": { + "error_retention": { + "type": "integer" + }, + "success_retention": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/settings`, body: { value: args["body"], mediaType: "application/json" }, @@ -146,6 +210,70 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "default_retention": { + "properties": { + "error_retention": { + "type": "integer" + }, + "success_retention": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/settings`, }), diff --git a/src/generated/forge-mcp/workflows/tools.ts b/src/generated/forge-mcp/workflows/tools.ts index 45f7fa2f..53274c4b 100644 --- a/src/generated/forge-mcp/workflows/tools.ts +++ b/src/generated/forge-mcp/workflows/tools.ts @@ -60,6 +60,123 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "status": { + "enum": [ + "ok" + ], + "type": "string" + }, + "success": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "status", + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}`, }), @@ -119,6 +236,172 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "class_name": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "instances": { + "additionalProperties": { + "type": "number" + }, + "type": "object" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "schedules": { + "items": { + "properties": { + "cron": { + "type": "string" + }, + "next_instance": { + "type": "string" + } + }, + "required": [ + "cron", + "next_instance" + ], + "type": "object" + }, + "type": "array" + }, + "script_deleted": { + "type": "boolean" + }, + "script_name": { + "type": "string" + }, + "triggered_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "class_name", + "created_on", + "id", + "instances", + "modified_on", + "name", + "script_name", + "triggered_on" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}`, }), @@ -186,6 +469,167 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "class_name": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "instances": { + "additionalProperties": { + "type": "number" + }, + "type": "object" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "schedules": { + "items": { + "properties": { + "cron": { + "type": "string" + }, + "next_instance": { + "type": "string" + } + }, + "required": [ + "cron", + "next_instance" + ], + "type": "object" + }, + "type": "array" + }, + "script_deleted": { + "type": "boolean" + }, + "script_name": { + "type": "string" + }, + "triggered_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "class_name", + "created_on", + "id", + "instances", + "modified_on", + "name", + "script_name", + "triggered_on" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "count", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows`, query: [ diff --git a/src/generated/forge-mcp/workflows/versions/tools.ts b/src/generated/forge-mcp/workflows/versions/tools.ts index 51ec32fa..e29b6cf6 100644 --- a/src/generated/forge-mcp/workflows/versions/tools.ts +++ b/src/generated/forge-mcp/workflows/versions/tools.ts @@ -67,6 +67,168 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "class_name": { + "type": "string" + }, + "concurrency": { + "properties": { + "limit": { + "type": "integer" + } + }, + "type": "object" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "default_retention": { + "properties": { + "error_retention": { + "type": "integer" + }, + "success_retention": { + "type": "integer" + } + }, + "type": "object" + }, + "has_dag": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "language": { + "enum": [ + "javascript", + "python" + ], + "type": "string" + }, + "limits": { + "properties": { + "steps": { + "type": "integer" + } + }, + "type": "object" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "workflow_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "class_name", + "created_on", + "has_dag", + "id", + "language", + "modified_on", + "workflow_id" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/versions/${pathParam(args, "version_id")}`, }), @@ -131,6 +293,858 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "class_name": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "graph": { + "oneOf": [ + { + "properties": { + "version": { + "type": "number" + }, + "workflow": { + "properties": { + "class_name": { + "type": "string" + }, + "functions": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "function_def" + ], + "type": "string" + } + }, + "required": [ + "name", + "nodes", + "type" + ], + "type": "object" + }, + "type": "object" + }, + "nodes": { + "items": { + "oneOf": [ + { + "properties": { + "duration": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "name": { + "type": "string" + }, + "resolves": { + "type": "number" + }, + "starts": { + "type": "number" + }, + "type": { + "enum": [ + "step_sleep" + ], + "type": "string" + } + }, + "required": [ + "duration", + "name", + "type" + ], + "type": "object" + }, + { + "properties": { + "config": { + "properties": { + "retries": { + "properties": { + "backoff": { + "enum": [ + "constant", + "linear", + "exponential" + ], + "type": "string" + }, + "delay": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "limit": { + "type": "number" + } + }, + "required": [ + "backoff", + "delay", + "limit" + ], + "type": "object" + }, + "timeout": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "retries", + "timeout" + ], + "type": "object" + }, + "name": { + "type": "string" + }, + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "resolves": { + "type": "number" + }, + "starts": { + "type": "number" + }, + "type": { + "enum": [ + "step_do" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "nodes", + "type" + ], + "type": "object" + }, + { + "properties": { + "name": { + "type": "string" + }, + "options": { + "oneOf": [ + { + "properties": { + "event_type": { + "type": "string" + }, + "timeout": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "event_type", + "timeout" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "payload": { + "anyOf": [ + { + "properties": { + "type": { + "enum": [ + "unknown" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "fields": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "object" + ], + "type": "string" + } + }, + "required": [ + "fields", + "type" + ], + "type": "object" + } + ] + }, + "resolves": { + "type": "number" + }, + "starts": { + "type": "number" + }, + "type": { + "enum": [ + "step_wait_for_event" + ], + "type": "string" + } + }, + "required": [ + "name", + "options", + "type" + ], + "type": "object" + }, + { + "properties": { + "name": { + "type": "string" + }, + "resolves": { + "type": "number" + }, + "starts": { + "type": "number" + }, + "timestamp": { + "type": "string" + }, + "type": { + "enum": [ + "step_sleep_until" + ], + "type": "string" + } + }, + "required": [ + "name", + "timestamp", + "type" + ], + "type": "object" + }, + { + "properties": { + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "loop" + ], + "type": "string" + } + }, + "required": [ + "nodes", + "type" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "enum": [ + "all", + "any", + "all_settled", + "race" + ], + "type": "string" + }, + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "parallel" + ], + "type": "string" + } + }, + "required": [ + "kind", + "nodes", + "type" + ], + "type": "object" + }, + { + "properties": { + "catch_block": { + "oneOf": [ + { + "properties": { + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "block" + ], + "type": "string" + } + }, + "required": [ + "nodes", + "type" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "finally_block": { + "oneOf": [ + { + "properties": { + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "block" + ], + "type": "string" + } + }, + "required": [ + "nodes", + "type" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "try_block": { + "oneOf": [ + { + "properties": { + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "block" + ], + "type": "string" + } + }, + "required": [ + "nodes", + "type" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "type": { + "enum": [ + "try" + ], + "type": "string" + } + }, + "required": [ + "catch_block", + "finally_block", + "try_block", + "type" + ], + "type": "object" + }, + { + "properties": { + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "block" + ], + "type": "string" + } + }, + "required": [ + "nodes", + "type" + ], + "type": "object" + }, + { + "properties": { + "branches": { + "items": { + "properties": { + "condition": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "condition", + "nodes" + ], + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "if" + ], + "type": "string" + } + }, + "required": [ + "branches", + "type" + ], + "type": "object" + }, + { + "properties": { + "branches": { + "items": { + "properties": { + "condition": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "condition", + "nodes" + ], + "type": "object" + }, + "type": "array" + }, + "discriminant": { + "type": "string" + }, + "type": { + "enum": [ + "switch" + ], + "type": "string" + } + }, + "required": [ + "branches", + "discriminant", + "type" + ], + "type": "object" + }, + { + "properties": { + "class_name": { + "type": "string" + }, + "functions": { + "additionalProperties": { + "properties": { + "name": { + "type": "string" + }, + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "function_def" + ], + "type": "string" + } + }, + "required": [ + "name", + "nodes", + "type" + ], + "type": "object" + }, + "type": "object" + }, + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "payload": { + "anyOf": [ + { + "properties": { + "type": { + "enum": [ + "unknown" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "fields": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "object" + ], + "type": "string" + } + }, + "required": [ + "fields", + "type" + ], + "type": "object" + } + ] + }, + "type": { + "enum": [ + "start" + ], + "type": "string" + } + }, + "required": [ + "class_name", + "functions", + "nodes", + "type" + ], + "type": "object" + }, + { + "properties": { + "name": { + "type": "string" + }, + "resolves": { + "type": "number" + }, + "starts": { + "type": "number" + }, + "type": { + "enum": [ + "function_call" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" + }, + { + "properties": { + "name": { + "type": "string" + }, + "nodes": { + "items": { + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "function_def" + ], + "type": "string" + } + }, + "required": [ + "name", + "nodes", + "type" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "enum": [ + "break", + "return" + ], + "type": "string" + }, + "type": { + "enum": [ + "break" + ], + "type": "string" + } + }, + "required": [ + "kind", + "type" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "payload": { + "anyOf": [ + { + "properties": { + "type": { + "enum": [ + "unknown" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "fields": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "type": { + "enum": [ + "object" + ], + "type": "string" + } + }, + "required": [ + "fields", + "type" + ], + "type": "object" + } + ] + } + }, + "required": [ + "class_name", + "functions", + "nodes" + ], + "type": "object" + } + }, + "required": [ + "version", + "workflow" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "workflow_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "class_name", + "created_on", + "graph", + "id", + "modified_on", + "workflow_id" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/versions/${pathParam(args, "version_id")}/graph`, }), @@ -198,6 +1212,163 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "class_name": { + "type": "string" + }, + "concurrency": { + "properties": { + "limit": { + "type": "integer" + } + }, + "type": "object" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "default_retention": { + "properties": { + "error_retention": { + "type": "integer" + }, + "success_retention": { + "type": "integer" + } + }, + "type": "object" + }, + "has_dag": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "language": { + "enum": [ + "javascript", + "python" + ], + "type": "string" + }, + "limits": { + "properties": { + "steps": { + "type": "integer" + } + }, + "type": "object" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "workflow_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "class_name", + "created_on", + "has_dag", + "id", + "language", + "modified_on", + "workflow_id" + ], + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "cursor": { + "type": "string" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "count", + "per_page", + "total_count" + ], + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "code": { + "type": "number" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "string" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" + } + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/versions`, query: [ diff --git a/src/generated/forge-mcp/zaraz/config/tools.ts b/src/generated/forge-mcp/zaraz/config/tools.ts index d6454232..429345c6 100644 --- a/src/generated/forge-mcp/zaraz/config/tools.ts +++ b/src/generated/forge-mcp/zaraz/config/tools.ts @@ -2,6 +2,38 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + zaraz_api_response_common_failure_output, + zaraz_click_listener_rule_output, + zaraz_click_listener_rule_settings_output, + zaraz_custom_managed_component_neoEventsItem_output, + zaraz_custom_managed_component_output, + zaraz_custom_managed_component_worker_output, + zaraz_element_visibility_rule_output, + zaraz_element_visibility_rule_settings_output, + zaraz_form_submission_rule_output, + zaraz_form_submission_rule_settings_output, + zaraz_load_rule_output, + zaraz_managed_component_neoEventsItem_output, + zaraz_managed_component_output, + zaraz_messages_output, + zaraz_scroll_depth_rule_output, + zaraz_scroll_depth_rule_settings_output, + zaraz_secret_variable_output, + zaraz_string_variable_output, + zaraz_timer_rule_output, + zaraz_timer_rule_settings_output, + zaraz_variable_match_rule_output, + zaraz_variable_match_rule_settings_output, + zaraz_worker_variable_output, + zaraz_worker_variable_value_output, + zaraz_zaraz_config_base_analytics_output, + zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + zaraz_zaraz_config_base_consent_output, + zaraz_zaraz_config_base_settings_contextEnricher_output, + zaraz_zaraz_config_base_settings_output, + zaraz_zaraz_config_return_output, +} from "../outputs.js"; import { zaraz_click_listener_rule, zaraz_click_listener_rule_settings, @@ -69,6 +101,48 @@ export const tools: readonly Tool[] = [ "Zaraz Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zaraz_zaraz-config-return" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_click-listener-rule": zaraz_click_listener_rule_output, + "zaraz_click-listener-rule_settings": zaraz_click_listener_rule_settings_output, + "zaraz_custom-managed-component": zaraz_custom_managed_component_output, + "zaraz_custom-managed-component_neoEventsItem": zaraz_custom_managed_component_neoEventsItem_output, + "zaraz_custom-managed-component_worker": zaraz_custom_managed_component_worker_output, + "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, + "zaraz_element-visibility-rule_settings": zaraz_element_visibility_rule_settings_output, + "zaraz_form-submission-rule": zaraz_form_submission_rule_output, + "zaraz_form-submission-rule_settings": zaraz_form_submission_rule_settings_output, + "zaraz_load-rule": zaraz_load_rule_output, + "zaraz_managed-component": zaraz_managed_component_output, + "zaraz_managed-component_neoEventsItem": zaraz_managed_component_neoEventsItem_output, + "zaraz_messages": zaraz_messages_output, + "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, + "zaraz_scroll-depth-rule_settings": zaraz_scroll_depth_rule_settings_output, + "zaraz_secret_variable": zaraz_secret_variable_output, + "zaraz_string_variable": zaraz_string_variable_output, + "zaraz_timer-rule": zaraz_timer_rule_output, + "zaraz_timer-rule_settings": zaraz_timer_rule_settings_output, + "zaraz_variable-match-rule": zaraz_variable_match_rule_output, + "zaraz_variable-match-rule_settings": zaraz_variable_match_rule_settings_output, + "zaraz_worker_variable": zaraz_worker_variable_output, + "zaraz_worker_variable_value": zaraz_worker_variable_value_output, + "zaraz_zaraz-config-base_analytics": zaraz_zaraz_config_base_analytics_output, + "zaraz_zaraz-config-base_consent": zaraz_zaraz_config_base_consent_output, + "zaraz_zaraz-config-base_consent_buttonTextTranslations": zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + "zaraz_zaraz-config-base_settings": zaraz_zaraz_config_base_settings_output, + "zaraz_zaraz-config-base_settings_contextEnricher": zaraz_zaraz_config_base_settings_contextEnricher_output, + "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/config`, }), @@ -138,6 +212,48 @@ export const tools: readonly Tool[] = [ "Zaraz Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zaraz_zaraz-config-return" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_click-listener-rule": zaraz_click_listener_rule_output, + "zaraz_click-listener-rule_settings": zaraz_click_listener_rule_settings_output, + "zaraz_custom-managed-component": zaraz_custom_managed_component_output, + "zaraz_custom-managed-component_neoEventsItem": zaraz_custom_managed_component_neoEventsItem_output, + "zaraz_custom-managed-component_worker": zaraz_custom_managed_component_worker_output, + "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, + "zaraz_element-visibility-rule_settings": zaraz_element_visibility_rule_settings_output, + "zaraz_form-submission-rule": zaraz_form_submission_rule_output, + "zaraz_form-submission-rule_settings": zaraz_form_submission_rule_settings_output, + "zaraz_load-rule": zaraz_load_rule_output, + "zaraz_managed-component": zaraz_managed_component_output, + "zaraz_managed-component_neoEventsItem": zaraz_managed_component_neoEventsItem_output, + "zaraz_messages": zaraz_messages_output, + "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, + "zaraz_scroll-depth-rule_settings": zaraz_scroll_depth_rule_settings_output, + "zaraz_secret_variable": zaraz_secret_variable_output, + "zaraz_string_variable": zaraz_string_variable_output, + "zaraz_timer-rule": zaraz_timer_rule_output, + "zaraz_timer-rule_settings": zaraz_timer_rule_settings_output, + "zaraz_variable-match-rule": zaraz_variable_match_rule_output, + "zaraz_variable-match-rule_settings": zaraz_variable_match_rule_settings_output, + "zaraz_worker_variable": zaraz_worker_variable_output, + "zaraz_worker_variable_value": zaraz_worker_variable_value_output, + "zaraz_zaraz-config-base_analytics": zaraz_zaraz_config_base_analytics_output, + "zaraz_zaraz-config-base_consent": zaraz_zaraz_config_base_consent_output, + "zaraz_zaraz-config-base_consent_buttonTextTranslations": zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + "zaraz_zaraz-config-base_settings": zaraz_zaraz_config_base_settings_output, + "zaraz_zaraz-config-base_settings_contextEnricher": zaraz_zaraz_config_base_settings_contextEnricher_output, + "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/config`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zaraz/default/tools.ts b/src/generated/forge-mcp/zaraz/default/tools.ts index 2fda570b..89d27e41 100644 --- a/src/generated/forge-mcp/zaraz/default/tools.ts +++ b/src/generated/forge-mcp/zaraz/default/tools.ts @@ -2,6 +2,38 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + zaraz_api_response_common_failure_output, + zaraz_click_listener_rule_output, + zaraz_click_listener_rule_settings_output, + zaraz_custom_managed_component_neoEventsItem_output, + zaraz_custom_managed_component_output, + zaraz_custom_managed_component_worker_output, + zaraz_element_visibility_rule_output, + zaraz_element_visibility_rule_settings_output, + zaraz_form_submission_rule_output, + zaraz_form_submission_rule_settings_output, + zaraz_load_rule_output, + zaraz_managed_component_neoEventsItem_output, + zaraz_managed_component_output, + zaraz_messages_output, + zaraz_scroll_depth_rule_output, + zaraz_scroll_depth_rule_settings_output, + zaraz_secret_variable_output, + zaraz_string_variable_output, + zaraz_timer_rule_output, + zaraz_timer_rule_settings_output, + zaraz_variable_match_rule_output, + zaraz_variable_match_rule_settings_output, + zaraz_worker_variable_output, + zaraz_worker_variable_value_output, + zaraz_zaraz_config_base_analytics_output, + zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + zaraz_zaraz_config_base_consent_output, + zaraz_zaraz_config_base_settings_contextEnricher_output, + zaraz_zaraz_config_base_settings_output, + zaraz_zaraz_config_return_output, +} from "../outputs.js"; /** * The tools of `zaraz.default`. @@ -39,6 +71,48 @@ export const tools: readonly Tool[] = [ "Zaraz Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zaraz_zaraz-config-return" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_click-listener-rule": zaraz_click_listener_rule_output, + "zaraz_click-listener-rule_settings": zaraz_click_listener_rule_settings_output, + "zaraz_custom-managed-component": zaraz_custom_managed_component_output, + "zaraz_custom-managed-component_neoEventsItem": zaraz_custom_managed_component_neoEventsItem_output, + "zaraz_custom-managed-component_worker": zaraz_custom_managed_component_worker_output, + "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, + "zaraz_element-visibility-rule_settings": zaraz_element_visibility_rule_settings_output, + "zaraz_form-submission-rule": zaraz_form_submission_rule_output, + "zaraz_form-submission-rule_settings": zaraz_form_submission_rule_settings_output, + "zaraz_load-rule": zaraz_load_rule_output, + "zaraz_managed-component": zaraz_managed_component_output, + "zaraz_managed-component_neoEventsItem": zaraz_managed_component_neoEventsItem_output, + "zaraz_messages": zaraz_messages_output, + "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, + "zaraz_scroll-depth-rule_settings": zaraz_scroll_depth_rule_settings_output, + "zaraz_secret_variable": zaraz_secret_variable_output, + "zaraz_string_variable": zaraz_string_variable_output, + "zaraz_timer-rule": zaraz_timer_rule_output, + "zaraz_timer-rule_settings": zaraz_timer_rule_settings_output, + "zaraz_variable-match-rule": zaraz_variable_match_rule_output, + "zaraz_variable-match-rule_settings": zaraz_variable_match_rule_settings_output, + "zaraz_worker_variable": zaraz_worker_variable_output, + "zaraz_worker_variable_value": zaraz_worker_variable_value_output, + "zaraz_zaraz-config-base_analytics": zaraz_zaraz_config_base_analytics_output, + "zaraz_zaraz-config-base_consent": zaraz_zaraz_config_base_consent_output, + "zaraz_zaraz-config-base_consent_buttonTextTranslations": zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + "zaraz_zaraz-config-base_settings": zaraz_zaraz_config_base_settings_output, + "zaraz_zaraz-config-base_settings_contextEnricher": zaraz_zaraz_config_base_settings_contextEnricher_output, + "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/default`, }), diff --git a/src/generated/forge-mcp/zaraz/export/tools.ts b/src/generated/forge-mcp/zaraz/export/tools.ts index 1d5b81a5..c6b4a60e 100644 --- a/src/generated/forge-mcp/zaraz/export/tools.ts +++ b/src/generated/forge-mcp/zaraz/export/tools.ts @@ -2,6 +2,38 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + zaraz_api_response_common_failure_output, + zaraz_click_listener_rule_output, + zaraz_click_listener_rule_settings_output, + zaraz_custom_managed_component_neoEventsItem_output, + zaraz_custom_managed_component_output, + zaraz_custom_managed_component_worker_output, + zaraz_element_visibility_rule_output, + zaraz_element_visibility_rule_settings_output, + zaraz_form_submission_rule_output, + zaraz_form_submission_rule_settings_output, + zaraz_load_rule_output, + zaraz_managed_component_neoEventsItem_output, + zaraz_managed_component_output, + zaraz_messages_output, + zaraz_scroll_depth_rule_output, + zaraz_scroll_depth_rule_settings_output, + zaraz_secret_variable_output, + zaraz_string_variable_output, + zaraz_timer_rule_output, + zaraz_timer_rule_settings_output, + zaraz_variable_match_rule_output, + zaraz_variable_match_rule_settings_output, + zaraz_worker_variable_output, + zaraz_worker_variable_value_output, + zaraz_zaraz_config_base_analytics_output, + zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + zaraz_zaraz_config_base_consent_output, + zaraz_zaraz_config_base_settings_contextEnricher_output, + zaraz_zaraz_config_base_settings_output, + zaraz_zaraz_config_return_output, +} from "../outputs.js"; /** * The tools of `zaraz.export`. @@ -39,6 +71,48 @@ export const tools: readonly Tool[] = [ "Zaraz Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zaraz_zaraz-config-return" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_click-listener-rule": zaraz_click_listener_rule_output, + "zaraz_click-listener-rule_settings": zaraz_click_listener_rule_settings_output, + "zaraz_custom-managed-component": zaraz_custom_managed_component_output, + "zaraz_custom-managed-component_neoEventsItem": zaraz_custom_managed_component_neoEventsItem_output, + "zaraz_custom-managed-component_worker": zaraz_custom_managed_component_worker_output, + "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, + "zaraz_element-visibility-rule_settings": zaraz_element_visibility_rule_settings_output, + "zaraz_form-submission-rule": zaraz_form_submission_rule_output, + "zaraz_form-submission-rule_settings": zaraz_form_submission_rule_settings_output, + "zaraz_load-rule": zaraz_load_rule_output, + "zaraz_managed-component": zaraz_managed_component_output, + "zaraz_managed-component_neoEventsItem": zaraz_managed_component_neoEventsItem_output, + "zaraz_messages": zaraz_messages_output, + "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, + "zaraz_scroll-depth-rule_settings": zaraz_scroll_depth_rule_settings_output, + "zaraz_secret_variable": zaraz_secret_variable_output, + "zaraz_string_variable": zaraz_string_variable_output, + "zaraz_timer-rule": zaraz_timer_rule_output, + "zaraz_timer-rule_settings": zaraz_timer_rule_settings_output, + "zaraz_variable-match-rule": zaraz_variable_match_rule_output, + "zaraz_variable-match-rule_settings": zaraz_variable_match_rule_settings_output, + "zaraz_worker_variable": zaraz_worker_variable_output, + "zaraz_worker_variable_value": zaraz_worker_variable_value_output, + "zaraz_zaraz-config-base_analytics": zaraz_zaraz_config_base_analytics_output, + "zaraz_zaraz-config-base_consent": zaraz_zaraz_config_base_consent_output, + "zaraz_zaraz-config-base_consent_buttonTextTranslations": zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + "zaraz_zaraz-config-base_settings": zaraz_zaraz_config_base_settings_output, + "zaraz_zaraz-config-base_settings_contextEnricher": zaraz_zaraz_config_base_settings_contextEnricher_output, + "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/export`, }), diff --git a/src/generated/forge-mcp/zaraz/history/configs/outputs.ts b/src/generated/forge-mcp/zaraz/history/configs/outputs.ts new file mode 100644 index 00000000..3e6b891f --- /dev/null +++ b/src/generated/forge-mcp/zaraz/history/configs/outputs.ts @@ -0,0 +1,37 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zaraz_history_configs_response_value` in responses. + */ +export const zaraz_history_configs_response_value_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/zaraz_zaraz-config-return" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "integer" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "userId": { + "type": "string" + } + }, + "required": [ + "createdAt", + "id", + "updatedAt", + "userId", + "config" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zaraz/history/configs/tools.ts b/src/generated/forge-mcp/zaraz/history/configs/tools.ts index 110c2284..21af306b 100644 --- a/src/generated/forge-mcp/zaraz/history/configs/tools.ts +++ b/src/generated/forge-mcp/zaraz/history/configs/tools.ts @@ -2,6 +2,39 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zaraz_api_response_common_failure_output, + zaraz_click_listener_rule_output, + zaraz_click_listener_rule_settings_output, + zaraz_custom_managed_component_neoEventsItem_output, + zaraz_custom_managed_component_output, + zaraz_custom_managed_component_worker_output, + zaraz_element_visibility_rule_output, + zaraz_element_visibility_rule_settings_output, + zaraz_form_submission_rule_output, + zaraz_form_submission_rule_settings_output, + zaraz_load_rule_output, + zaraz_managed_component_neoEventsItem_output, + zaraz_managed_component_output, + zaraz_messages_output, + zaraz_scroll_depth_rule_output, + zaraz_scroll_depth_rule_settings_output, + zaraz_secret_variable_output, + zaraz_string_variable_output, + zaraz_timer_rule_output, + zaraz_timer_rule_settings_output, + zaraz_variable_match_rule_output, + zaraz_variable_match_rule_settings_output, + zaraz_worker_variable_output, + zaraz_worker_variable_value_output, + zaraz_zaraz_config_base_analytics_output, + zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + zaraz_zaraz_config_base_consent_output, + zaraz_zaraz_config_base_settings_contextEnricher_output, + zaraz_zaraz_config_base_settings_output, + zaraz_zaraz_config_return_output, +} from "../../outputs.js"; +import { zaraz_history_configs_response_value_output } from "./outputs.js"; /** * The tools of `zaraz.history.configs`. @@ -47,6 +80,52 @@ export const tools: readonly Tool[] = [ "Zaraz Admin" ] }, + responses: { + schemas: { + "200": { + "additionalProperties": { + "$ref": "#/$defs/zaraz_history_configs_response_value" + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_click-listener-rule": zaraz_click_listener_rule_output, + "zaraz_click-listener-rule_settings": zaraz_click_listener_rule_settings_output, + "zaraz_custom-managed-component": zaraz_custom_managed_component_output, + "zaraz_custom-managed-component_neoEventsItem": zaraz_custom_managed_component_neoEventsItem_output, + "zaraz_custom-managed-component_worker": zaraz_custom_managed_component_worker_output, + "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, + "zaraz_element-visibility-rule_settings": zaraz_element_visibility_rule_settings_output, + "zaraz_form-submission-rule": zaraz_form_submission_rule_output, + "zaraz_form-submission-rule_settings": zaraz_form_submission_rule_settings_output, + "zaraz_history_configs_response_value": zaraz_history_configs_response_value_output, + "zaraz_load-rule": zaraz_load_rule_output, + "zaraz_managed-component": zaraz_managed_component_output, + "zaraz_managed-component_neoEventsItem": zaraz_managed_component_neoEventsItem_output, + "zaraz_messages": zaraz_messages_output, + "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, + "zaraz_scroll-depth-rule_settings": zaraz_scroll_depth_rule_settings_output, + "zaraz_secret_variable": zaraz_secret_variable_output, + "zaraz_string_variable": zaraz_string_variable_output, + "zaraz_timer-rule": zaraz_timer_rule_output, + "zaraz_timer-rule_settings": zaraz_timer_rule_settings_output, + "zaraz_variable-match-rule": zaraz_variable_match_rule_output, + "zaraz_variable-match-rule_settings": zaraz_variable_match_rule_settings_output, + "zaraz_worker_variable": zaraz_worker_variable_output, + "zaraz_worker_variable_value": zaraz_worker_variable_value_output, + "zaraz_zaraz-config-base_analytics": zaraz_zaraz_config_base_analytics_output, + "zaraz_zaraz-config-base_consent": zaraz_zaraz_config_base_consent_output, + "zaraz_zaraz-config-base_consent_buttonTextTranslations": zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + "zaraz_zaraz-config-base_settings": zaraz_zaraz_config_base_settings_output, + "zaraz_zaraz-config-base_settings_contextEnricher": zaraz_zaraz_config_base_settings_contextEnricher_output, + "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/history/configs`, query: [ diff --git a/src/generated/forge-mcp/zaraz/history/outputs.ts b/src/generated/forge-mcp/zaraz/history/outputs.ts new file mode 100644 index 00000000..bd63ea09 --- /dev/null +++ b/src/generated/forge-mcp/zaraz/history/outputs.ts @@ -0,0 +1,33 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `zaraz_zaraz-config-row-base` in responses. + */ +export const zaraz_zaraz_config_row_base_output: JsonSchema = { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "integer" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "userId": { + "type": "string" + } + }, + "required": [ + "createdAt", + "id", + "updatedAt", + "userId" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zaraz/history/tools.ts b/src/generated/forge-mcp/zaraz/history/tools.ts index 511a8317..d006ce57 100644 --- a/src/generated/forge-mcp/zaraz/history/tools.ts +++ b/src/generated/forge-mcp/zaraz/history/tools.ts @@ -2,6 +2,39 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + zaraz_api_response_common_failure_output, + zaraz_click_listener_rule_output, + zaraz_click_listener_rule_settings_output, + zaraz_custom_managed_component_neoEventsItem_output, + zaraz_custom_managed_component_output, + zaraz_custom_managed_component_worker_output, + zaraz_element_visibility_rule_output, + zaraz_element_visibility_rule_settings_output, + zaraz_form_submission_rule_output, + zaraz_form_submission_rule_settings_output, + zaraz_load_rule_output, + zaraz_managed_component_neoEventsItem_output, + zaraz_managed_component_output, + zaraz_messages_output, + zaraz_scroll_depth_rule_output, + zaraz_scroll_depth_rule_settings_output, + zaraz_secret_variable_output, + zaraz_string_variable_output, + zaraz_timer_rule_output, + zaraz_timer_rule_settings_output, + zaraz_variable_match_rule_output, + zaraz_variable_match_rule_settings_output, + zaraz_worker_variable_output, + zaraz_worker_variable_value_output, + zaraz_zaraz_config_base_analytics_output, + zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + zaraz_zaraz_config_base_consent_output, + zaraz_zaraz_config_base_settings_contextEnricher_output, + zaraz_zaraz_config_base_settings_output, + zaraz_zaraz_config_return_output, +} from "../outputs.js"; +import { zaraz_zaraz_config_row_base_output } from "./outputs.js"; /** * The tools of `zaraz.history`. @@ -66,6 +99,50 @@ export const tools: readonly Tool[] = [ "Zaraz Admin" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "allOf": [ + { + "$ref": "#/$defs/zaraz_zaraz-config-row-base" + }, + { + "properties": { + "description": { + "type": "string" + } + }, + "required": [ + "description" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_messages": zaraz_messages_output, + "zaraz_zaraz-config-row-base": zaraz_zaraz_config_row_base_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/history`, query: [ @@ -111,6 +188,48 @@ export const tools: readonly Tool[] = [ "Zaraz Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zaraz_zaraz-config-return" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_click-listener-rule": zaraz_click_listener_rule_output, + "zaraz_click-listener-rule_settings": zaraz_click_listener_rule_settings_output, + "zaraz_custom-managed-component": zaraz_custom_managed_component_output, + "zaraz_custom-managed-component_neoEventsItem": zaraz_custom_managed_component_neoEventsItem_output, + "zaraz_custom-managed-component_worker": zaraz_custom_managed_component_worker_output, + "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, + "zaraz_element-visibility-rule_settings": zaraz_element_visibility_rule_settings_output, + "zaraz_form-submission-rule": zaraz_form_submission_rule_output, + "zaraz_form-submission-rule_settings": zaraz_form_submission_rule_settings_output, + "zaraz_load-rule": zaraz_load_rule_output, + "zaraz_managed-component": zaraz_managed_component_output, + "zaraz_managed-component_neoEventsItem": zaraz_managed_component_neoEventsItem_output, + "zaraz_messages": zaraz_messages_output, + "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, + "zaraz_scroll-depth-rule_settings": zaraz_scroll_depth_rule_settings_output, + "zaraz_secret_variable": zaraz_secret_variable_output, + "zaraz_string_variable": zaraz_string_variable_output, + "zaraz_timer-rule": zaraz_timer_rule_output, + "zaraz_timer-rule_settings": zaraz_timer_rule_settings_output, + "zaraz_variable-match-rule": zaraz_variable_match_rule_output, + "zaraz_variable-match-rule_settings": zaraz_variable_match_rule_settings_output, + "zaraz_worker_variable": zaraz_worker_variable_output, + "zaraz_worker_variable_value": zaraz_worker_variable_value_output, + "zaraz_zaraz-config-base_analytics": zaraz_zaraz_config_base_analytics_output, + "zaraz_zaraz-config-base_consent": zaraz_zaraz_config_base_consent_output, + "zaraz_zaraz-config-base_consent_buttonTextTranslations": zaraz_zaraz_config_base_consent_buttonTextTranslations_output, + "zaraz_zaraz-config-base_settings": zaraz_zaraz_config_base_settings_output, + "zaraz_zaraz-config-base_settings_contextEnricher": zaraz_zaraz_config_base_settings_contextEnricher_output, + "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/history`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zaraz/outputs.ts b/src/generated/forge-mcp/zaraz/outputs.ts new file mode 100644 index 00000000..3720850f --- /dev/null +++ b/src/generated/forge-mcp/zaraz/outputs.ts @@ -0,0 +1,1178 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `zaraz_api-response-common-failure` in responses. + */ +export const zaraz_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zaraz_messages" + }, + "messages": { + "$ref": "#/$defs/zaraz_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_click-listener-rule` in responses. + */ +export const zaraz_click_listener_rule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "clickListener" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "settings": { + "$ref": "#/$defs/zaraz_click-listener-rule_settings" + } + }, + "required": [ + "action", + "id", + "settings" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_click-listener-rule_settings` in responses. + */ +export const zaraz_click_listener_rule_settings_output: JsonSchema = { + "properties": { + "selector": { + "type": "string" + }, + "type": { + "enum": [ + "xpath", + "css" + ], + "type": "string" + }, + "waitForTags": { + "type": "integer" + } + }, + "required": [ + "selector", + "type", + "waitForTags" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_custom-managed-component` in responses. + */ +export const zaraz_custom_managed_component_output: JsonSchema = { + "properties": { + "actions": { + "additionalProperties": { + "properties": { + "actionType": { + "type": "string" + }, + "blockingTriggers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "data": { + "type": "object" + }, + "firingTriggers": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "actionType", + "blockingTriggers", + "data", + "firingTriggers" + ], + "type": "object" + }, + "type": "object" + }, + "blockingTriggers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "component": { + "type": "string" + }, + "defaultFields": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + "defaultPurpose": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "neoEvents": { + "items": { + "$ref": "#/$defs/zaraz_custom-managed-component_neoEventsItem" + }, + "type": "array" + }, + "permissions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "settings": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + "type": { + "enum": [ + "custom-mc" + ], + "type": "string" + }, + "vendorName": { + "type": "string" + }, + "vendorPolicyUrl": { + "type": "string" + }, + "worker": { + "$ref": "#/$defs/zaraz_custom-managed-component_worker" + } + }, + "required": [ + "blockingTriggers", + "defaultFields", + "enabled", + "name", + "component", + "permissions", + "settings", + "type", + "worker" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_custom-managed-component_neoEventsItem` in responses. + */ +export const zaraz_custom_managed_component_neoEventsItem_output: JsonSchema = { + "properties": { + "actionType": { + "type": "string" + }, + "blockingTriggers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "data": { + "type": "object" + }, + "firingTriggers": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "actionType", + "blockingTriggers", + "data", + "firingTriggers" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_custom-managed-component_worker` in responses. + */ +export const zaraz_custom_managed_component_worker_output: JsonSchema = { + "properties": { + "escapedWorkerName": { + "type": "string" + }, + "workerTag": { + "type": "string" + } + }, + "required": [ + "escapedWorkerName", + "workerTag" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_element-visibility-rule` in responses. + */ +export const zaraz_element_visibility_rule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "elementVisibility" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "settings": { + "$ref": "#/$defs/zaraz_element-visibility-rule_settings" + } + }, + "required": [ + "action", + "id", + "settings" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_element-visibility-rule_settings` in responses. + */ +export const zaraz_element_visibility_rule_settings_output: JsonSchema = { + "properties": { + "selector": { + "type": "string" + } + }, + "required": [ + "selector" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_form-submission-rule` in responses. + */ +export const zaraz_form_submission_rule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "formSubmission" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "settings": { + "$ref": "#/$defs/zaraz_form-submission-rule_settings" + } + }, + "required": [ + "action", + "id", + "settings" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_form-submission-rule_settings` in responses. + */ +export const zaraz_form_submission_rule_settings_output: JsonSchema = { + "properties": { + "selector": { + "type": "string" + }, + "validate": { + "type": "boolean" + } + }, + "required": [ + "selector", + "validate" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_load-rule` in responses. + */ +export const zaraz_load_rule_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "match": { + "type": "string" + }, + "op": { + "enum": [ + "CONTAINS", + "EQUALS", + "STARTS_WITH", + "ENDS_WITH", + "MATCH_REGEX", + "NOT_MATCH_REGEX", + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL", + "LESS_THAN", + "LESS_THAN_OR_EQUAL" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "id", + "match", + "op", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_managed-component` in responses. + */ +export const zaraz_managed_component_output: JsonSchema = { + "properties": { + "actions": { + "additionalProperties": { + "properties": { + "actionType": { + "type": "string" + }, + "blockingTriggers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "data": { + "type": "object" + }, + "firingTriggers": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "actionType", + "blockingTriggers", + "data", + "firingTriggers" + ], + "type": "object" + }, + "type": "object" + }, + "blockingTriggers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "component": { + "type": "string" + }, + "defaultFields": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + "defaultPurpose": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "neoEvents": { + "items": { + "$ref": "#/$defs/zaraz_managed-component_neoEventsItem" + }, + "type": "array" + }, + "permissions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "settings": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + }, + "type": "object" + }, + "type": { + "enum": [ + "component" + ], + "type": "string" + }, + "vendorName": { + "type": "string" + }, + "vendorPolicyUrl": { + "type": "string" + } + }, + "required": [ + "blockingTriggers", + "defaultFields", + "enabled", + "name", + "component", + "permissions", + "settings", + "type" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_managed-component_neoEventsItem` in responses. + */ +export const zaraz_managed_component_neoEventsItem_output: JsonSchema = { + "properties": { + "actionType": { + "type": "string" + }, + "blockingTriggers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "data": { + "type": "object" + }, + "firingTriggers": { + "items": { + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "actionType", + "blockingTriggers", + "data", + "firingTriggers" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_messages` in responses. + */ +export const zaraz_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `zaraz_scroll-depth-rule` in responses. + */ +export const zaraz_scroll_depth_rule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "scrollDepth" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "settings": { + "$ref": "#/$defs/zaraz_scroll-depth-rule_settings" + } + }, + "required": [ + "action", + "id", + "settings" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_scroll-depth-rule_settings` in responses. + */ +export const zaraz_scroll_depth_rule_settings_output: JsonSchema = { + "properties": { + "positions": { + "type": "string" + } + }, + "required": [ + "positions" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_secret_variable` in responses. + */ +export const zaraz_secret_variable_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "secret" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_string_variable` in responses. + */ +export const zaraz_string_variable_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "string" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_timer-rule` in responses. + */ +export const zaraz_timer_rule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "timer" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "settings": { + "$ref": "#/$defs/zaraz_timer-rule_settings" + } + }, + "required": [ + "action", + "id", + "settings" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_timer-rule_settings` in responses. + */ +export const zaraz_timer_rule_settings_output: JsonSchema = { + "properties": { + "interval": { + "type": "integer" + }, + "limit": { + "type": "integer" + } + }, + "required": [ + "interval", + "limit" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_variable-match-rule` in responses. + */ +export const zaraz_variable_match_rule_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "variableMatch" + ], + "type": "string" + }, + "id": { + "type": "string" + }, + "settings": { + "$ref": "#/$defs/zaraz_variable-match-rule_settings" + } + }, + "required": [ + "action", + "id", + "settings" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_variable-match-rule_settings` in responses. + */ +export const zaraz_variable_match_rule_settings_output: JsonSchema = { + "properties": { + "match": { + "type": "string" + }, + "variable": { + "type": "string" + } + }, + "required": [ + "match", + "variable" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_worker_variable` in responses. + */ +export const zaraz_worker_variable_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "type": { + "enum": [ + "worker" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/zaraz_worker_variable_value" + } + }, + "required": [ + "name", + "type", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_worker_variable_value` in responses. + */ +export const zaraz_worker_variable_value_output: JsonSchema = { + "properties": { + "escapedWorkerName": { + "type": "string" + }, + "workerTag": { + "type": "string" + } + }, + "required": [ + "escapedWorkerName", + "workerTag" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_zaraz-config-base_analytics` in responses. + */ +export const zaraz_zaraz_config_base_analytics_output: JsonSchema = { + "properties": { + "defaultPurpose": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "sessionExpTime": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `zaraz_zaraz-config-base_consent` in responses. + */ +export const zaraz_zaraz_config_base_consent_output: JsonSchema = { + "properties": { + "buttonTextTranslations": { + "$ref": "#/$defs/zaraz_zaraz-config-base_consent_buttonTextTranslations" + }, + "companyEmail": { + "type": "string" + }, + "companyName": { + "type": "string" + }, + "companyStreetAddress": { + "type": "string" + }, + "consentModalIntroHTML": { + "type": "string" + }, + "consentModalIntroHTMLWithTranslations": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "cookieName": { + "type": "string" + }, + "customCSS": { + "type": "string" + }, + "customIntroDisclaimerDismissed": { + "type": "boolean" + }, + "defaultLanguage": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "hideModal": { + "type": "boolean" + }, + "purposes": { + "additionalProperties": { + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "description", + "name" + ], + "type": "object" + }, + "type": "object" + }, + "purposesWithTranslations": { + "additionalProperties": { + "properties": { + "description": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "name": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "order": { + "type": "integer" + } + }, + "required": [ + "description", + "name", + "order" + ], + "type": "object" + }, + "type": "object" + }, + "tcfCompliant": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_zaraz-config-base_consent_buttonTextTranslations` in + * responses. + */ +export const zaraz_zaraz_config_base_consent_buttonTextTranslations_output: JsonSchema = { + "properties": { + "accept_all": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "confirm_my_choices": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "reject_all": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "accept_all", + "confirm_my_choices", + "reject_all" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_zaraz-config-base_settings` in responses. + */ +export const zaraz_zaraz_config_base_settings_output: JsonSchema = { + "properties": { + "autoInjectScript": { + "type": "boolean" + }, + "contextEnricher": { + "$ref": "#/$defs/zaraz_zaraz-config-base_settings_contextEnricher" + }, + "cookieDomain": { + "type": "string" + }, + "ecommerce": { + "type": "boolean" + }, + "eventsApiPath": { + "type": "string" + }, + "hideExternalReferer": { + "type": "boolean" + }, + "hideIPAddress": { + "type": "boolean" + }, + "hideQueryParams": { + "type": "boolean" + }, + "hideUserAgent": { + "type": "boolean" + }, + "initPath": { + "type": "string" + }, + "injectIframes": { + "type": "boolean" + }, + "mcRootPath": { + "type": "string" + }, + "scriptPath": { + "type": "string" + }, + "trackPath": { + "type": "string" + } + }, + "required": [ + "autoInjectScript" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_zaraz-config-base_settings_contextEnricher` in + * responses. + */ +export const zaraz_zaraz_config_base_settings_contextEnricher_output: JsonSchema = { + "properties": { + "escapedWorkerName": { + "type": "string" + }, + "workerTag": { + "type": "string" + } + }, + "required": [ + "escapedWorkerName", + "workerTag" + ], + "type": "object" +}; + +/** + * The schema of `zaraz_zaraz-config-return` in responses. + */ +export const zaraz_zaraz_config_return_output: JsonSchema = { + "properties": { + "analytics": { + "$ref": "#/$defs/zaraz_zaraz-config-base_analytics" + }, + "consent": { + "$ref": "#/$defs/zaraz_zaraz-config-base_consent" + }, + "dataLayer": { + "type": "boolean" + }, + "debugKey": { + "type": "string" + }, + "historyChange": { + "type": "boolean" + }, + "settings": { + "$ref": "#/$defs/zaraz_zaraz-config-base_settings" + }, + "tools": { + "additionalProperties": { + "anyOf": [ + { + "$ref": "#/$defs/zaraz_managed-component" + }, + { + "$ref": "#/$defs/zaraz_custom-managed-component" + } + ] + }, + "type": "object" + }, + "triggers": { + "additionalProperties": { + "properties": { + "description": { + "type": "string" + }, + "excludeRules": { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/zaraz_load-rule" + }, + { + "$ref": "#/$defs/zaraz_click-listener-rule" + }, + { + "$ref": "#/$defs/zaraz_timer-rule" + }, + { + "$ref": "#/$defs/zaraz_form-submission-rule" + }, + { + "$ref": "#/$defs/zaraz_variable-match-rule" + }, + { + "$ref": "#/$defs/zaraz_scroll-depth-rule" + }, + { + "$ref": "#/$defs/zaraz_element-visibility-rule" + } + ] + }, + "type": "array" + }, + "loadRules": { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/zaraz_load-rule" + }, + { + "$ref": "#/$defs/zaraz_click-listener-rule" + }, + { + "$ref": "#/$defs/zaraz_timer-rule" + }, + { + "$ref": "#/$defs/zaraz_form-submission-rule" + }, + { + "$ref": "#/$defs/zaraz_variable-match-rule" + }, + { + "$ref": "#/$defs/zaraz_scroll-depth-rule" + }, + { + "$ref": "#/$defs/zaraz_element-visibility-rule" + } + ] + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "system": { + "enum": [ + "pageload" + ], + "type": "string" + } + }, + "required": [ + "excludeRules", + "loadRules", + "name" + ], + "type": "object" + }, + "type": "object" + }, + "variables": { + "additionalProperties": { + "anyOf": [ + { + "$ref": "#/$defs/zaraz_string_variable" + }, + { + "$ref": "#/$defs/zaraz_secret_variable" + }, + { + "$ref": "#/$defs/zaraz_worker_variable" + } + ] + }, + "type": "object" + }, + "zarazVersion": { + "type": "integer" + } + }, + "required": [ + "dataLayer", + "debugKey", + "settings", + "triggers", + "variables", + "zarazVersion", + "tools" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zaraz/publish/tools.ts b/src/generated/forge-mcp/zaraz/publish/tools.ts index 3e963c95..a0004085 100644 --- a/src/generated/forge-mcp/zaraz/publish/tools.ts +++ b/src/generated/forge-mcp/zaraz/publish/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + zaraz_api_response_common_failure_output, + zaraz_messages_output, +} from "../outputs.js"; /** * The tools of `zaraz.publish`. @@ -50,6 +54,20 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "type": "string" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_messages": zaraz_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/publish`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zaraz/workflow/outputs.ts b/src/generated/forge-mcp/zaraz/workflow/outputs.ts new file mode 100644 index 00000000..f9e370f4 --- /dev/null +++ b/src/generated/forge-mcp/zaraz/workflow/outputs.ts @@ -0,0 +1,15 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `zaraz_zaraz-workflow` in responses. + */ +export const zaraz_zaraz_workflow_output: JsonSchema = { + "enum": [ + "realtime", + "preview" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zaraz/workflow/tools.ts b/src/generated/forge-mcp/zaraz/workflow/tools.ts index e9139c5a..6d96b117 100644 --- a/src/generated/forge-mcp/zaraz/workflow/tools.ts +++ b/src/generated/forge-mcp/zaraz/workflow/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + zaraz_api_response_common_failure_output, + zaraz_messages_output, +} from "../outputs.js"; +import { zaraz_zaraz_workflow_output } from "./outputs.js"; import { zaraz_zaraz_workflow } from "./schemas.js"; /** @@ -40,6 +45,21 @@ export const tools: readonly Tool[] = [ "Zaraz Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zaraz_zaraz-workflow" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_messages": zaraz_messages_output, + "zaraz_zaraz-workflow": zaraz_zaraz_workflow_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/workflow`, }), @@ -82,6 +102,21 @@ export const tools: readonly Tool[] = [ "Zaraz Admin" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zaraz_zaraz-workflow" + }, + "4XX": { + "$ref": "#/$defs/zaraz_api-response-common-failure" + } + }, + $defs: { + "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, + "zaraz_messages": zaraz_messages_output, + "zaraz_zaraz-workflow": zaraz_zaraz_workflow_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/workflow`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts new file mode 100644 index 00000000..9570c45e --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts @@ -0,0 +1,2792 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_allow_all_headers` in responses. + */ +export const access_allow_all_headers_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_allow_all_methods` in responses. + */ +export const access_allow_all_methods_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_allow_all_origins` in responses. + */ +export const access_allow_all_origins_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_allow_authenticate_via_warp-2` in responses. + */ +export const access_allow_authenticate_via_warp_2_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_allow_credentials` in responses. + */ +export const access_allow_credentials_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_allow_email_alias` in responses. + */ +export const access_allow_email_alias_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_allow_iframe` in responses. + */ +export const access_allow_iframe_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_allowed_headers` in responses. + */ +export const access_allowed_headers_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `access_allowed_idps` in responses. + */ +export const access_allowed_idps_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `access_allowed_methods` in responses. + */ +export const access_allowed_methods_output: JsonSchema = { + "items": { + "enum": [ + "GET", + "POST", + "HEAD", + "PUT", + "DELETE", + "CONNECT", + "OPTIONS", + "TRACE", + "PATCH" + ], + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `access_allowed_origins` in responses. + */ +export const access_allowed_origins_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `access_app_launcher_logo_url` in responses. + */ +export const access_app_launcher_logo_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_app_launcher_visible` in responses. + */ +export const access_app_launcher_visible_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_app_policy_response` in responses. + */ +export const access_app_policy_response_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier" + }, + "approval_groups": { + "$ref": "#/$defs/access_approval_groups" + }, + "approval_required": { + "$ref": "#/$defs/access_approval_required" + }, + "connection_rules": { + "$ref": "#/$defs/access_connection_rules" + }, + "isolation_required": { + "$ref": "#/$defs/access_isolation_required" + }, + "mfa_config": { + "$ref": "#/$defs/access_mfa_config" + }, + "precedence": { + "$ref": "#/$defs/access_precedence" + }, + "purpose_justification_prompt": { + "$ref": "#/$defs/access_purpose_justification_prompt" + }, + "purpose_justification_required": { + "$ref": "#/$defs/access_purpose_justification_required" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-3" + } + }, + "type": "object" +}; + +/** + * The schema of `access_app_response` in responses. + */ +export const access_app_response_output: JsonSchema = { + "anyOf": [ + { + "properties": { + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "destinations": { + "$ref": "#/$defs/access_end_user_destinations" + }, + "domain": { + "$ref": "#/$defs/access_domain" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "oauth_configuration": { + "$ref": "#/$defs/access_end_user_oauth_configuration" + }, + "self_hosted_domains": { + "$ref": "#/$defs/access_self_hosted_domains" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "enum": [ + "end_user" + ], + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + }, + "user_populations": { + "items": { + "$ref": "#/$defs/access_uuid" + }, + "maxItems": 1, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "oauth_configuration", + "type", + "user_populations" + ], + "type": "object" + }, + { + "properties": { + "allow_authenticate_via_warp": { + "$ref": "#/$defs/access_allow_authenticate_via_warp-2" + }, + "allow_iframe": { + "$ref": "#/$defs/access_allow_iframe" + }, + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "app_launcher_visible": { + "$ref": "#/$defs/access_app_launcher_visible" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "cors_headers": { + "$ref": "#/$defs/access_cors_headers" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_message": { + "$ref": "#/$defs/access_custom_deny_message" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "destinations": { + "$ref": "#/$defs/access_destinations" + }, + "domain": { + "$ref": "#/$defs/access_domain" + }, + "eager_redirect_cookie_setting": { + "$ref": "#/$defs/access_eager_redirect_cookie_setting" + }, + "enable_binding_cookie": { + "$ref": "#/$defs/access_enable_binding_cookie" + }, + "http_only_cookie_attribute": { + "$ref": "#/$defs/access_http_only_cookie_attribute" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "logo_url": { + "$ref": "#/$defs/access_logo_url" + }, + "mfa_config": { + "$ref": "#/$defs/access_mfa_config" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "oauth_configuration": { + "$ref": "#/$defs/access_oauth_configuration" + }, + "options_preflight_bypass": { + "$ref": "#/$defs/access_options_preflight_bypass" + }, + "path_cookie_attribute": { + "$ref": "#/$defs/access_path_cookie_attribute" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "read_service_tokens_from_header": { + "$ref": "#/$defs/access_read_service_tokens_from_header" + }, + "same_site_cookie_attribute": { + "$ref": "#/$defs/access_same_site_cookie_attribute" + }, + "scim_config": { + "$ref": "#/$defs/access_scim_config" + }, + "self_hosted_domains": { + "$ref": "#/$defs/access_self_hosted_domains" + }, + "service_auth_401_redirect": { + "$ref": "#/$defs/access_service_auth_401_redirect" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "skip_interstitial": { + "$ref": "#/$defs/access_skip_interstitial" + }, + "tags": { + "$ref": "#/$defs/access_tags" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + }, + "use_clientless_isolation_app_launcher_url": { + "$ref": "#/$defs/access_use_clientless_isolation_app_launcher_url" + } + }, + "required": [ + "domain", + "type" + ], + "type": "object" + }, + { + "properties": { + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "app_launcher_visible": { + "$ref": "#/$defs/access_app_launcher_visible" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "logo_url": { + "$ref": "#/$defs/access_logo_url" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "saas_app": { + "oneOf": [ + { + "$ref": "#/$defs/access_saml_saas_app" + }, + { + "$ref": "#/$defs/access_oidc_saas_app" + } + ] + }, + "scim_config": { + "$ref": "#/$defs/access_scim_config" + }, + "tags": { + "$ref": "#/$defs/access_tags" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "type": "object" + }, + { + "properties": { + "allow_authenticate_via_warp": { + "$ref": "#/$defs/access_allow_authenticate_via_warp-2" + }, + "allow_iframe": { + "$ref": "#/$defs/access_allow_iframe" + }, + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "app_launcher_visible": { + "$ref": "#/$defs/access_app_launcher_visible" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "cors_headers": { + "$ref": "#/$defs/access_cors_headers" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_message": { + "$ref": "#/$defs/access_custom_deny_message" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "destinations": { + "$ref": "#/$defs/access_destinations" + }, + "domain": { + "$ref": "#/$defs/access_domain" + }, + "eager_redirect_cookie_setting": { + "$ref": "#/$defs/access_eager_redirect_cookie_setting" + }, + "enable_binding_cookie": { + "$ref": "#/$defs/access_enable_binding_cookie" + }, + "http_only_cookie_attribute": { + "$ref": "#/$defs/access_http_only_cookie_attribute" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "logo_url": { + "$ref": "#/$defs/access_logo_url" + }, + "mfa_config": { + "$ref": "#/$defs/access_mfa_config" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "oauth_configuration": { + "$ref": "#/$defs/access_oauth_configuration" + }, + "options_preflight_bypass": { + "$ref": "#/$defs/access_options_preflight_bypass" + }, + "path_cookie_attribute": { + "$ref": "#/$defs/access_path_cookie_attribute" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "read_service_tokens_from_header": { + "$ref": "#/$defs/access_read_service_tokens_from_header" + }, + "same_site_cookie_attribute": { + "$ref": "#/$defs/access_same_site_cookie_attribute" + }, + "scim_config": { + "$ref": "#/$defs/access_scim_config" + }, + "self_hosted_domains": { + "$ref": "#/$defs/access_self_hosted_domains" + }, + "service_auth_401_redirect": { + "$ref": "#/$defs/access_service_auth_401_redirect" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "skip_interstitial": { + "$ref": "#/$defs/access_skip_interstitial" + }, + "tags": { + "$ref": "#/$defs/access_tags" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + }, + "use_clientless_isolation_app_launcher_url": { + "$ref": "#/$defs/access_use_clientless_isolation_app_launcher_url" + } + }, + "required": [ + "domain", + "type" + ], + "type": "object" + }, + { + "properties": { + "allow_authenticate_via_warp": { + "$ref": "#/$defs/access_allow_authenticate_via_warp-2" + }, + "allow_iframe": { + "$ref": "#/$defs/access_allow_iframe" + }, + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "app_launcher_visible": { + "$ref": "#/$defs/access_app_launcher_visible" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "cors_headers": { + "$ref": "#/$defs/access_cors_headers" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_message": { + "$ref": "#/$defs/access_custom_deny_message" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "destinations": { + "$ref": "#/$defs/access_destinations" + }, + "domain": { + "$ref": "#/$defs/access_domain" + }, + "eager_redirect_cookie_setting": { + "$ref": "#/$defs/access_eager_redirect_cookie_setting" + }, + "enable_binding_cookie": { + "$ref": "#/$defs/access_enable_binding_cookie" + }, + "http_only_cookie_attribute": { + "$ref": "#/$defs/access_http_only_cookie_attribute" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "logo_url": { + "$ref": "#/$defs/access_logo_url" + }, + "mfa_config": { + "$ref": "#/$defs/access_mfa_config" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "oauth_configuration": { + "$ref": "#/$defs/access_oauth_configuration" + }, + "options_preflight_bypass": { + "$ref": "#/$defs/access_options_preflight_bypass" + }, + "path_cookie_attribute": { + "$ref": "#/$defs/access_path_cookie_attribute" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "read_service_tokens_from_header": { + "$ref": "#/$defs/access_read_service_tokens_from_header" + }, + "same_site_cookie_attribute": { + "$ref": "#/$defs/access_same_site_cookie_attribute" + }, + "scim_config": { + "$ref": "#/$defs/access_scim_config" + }, + "self_hosted_domains": { + "$ref": "#/$defs/access_self_hosted_domains" + }, + "service_auth_401_redirect": { + "$ref": "#/$defs/access_service_auth_401_redirect" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "skip_interstitial": { + "$ref": "#/$defs/access_skip_interstitial" + }, + "tags": { + "$ref": "#/$defs/access_tags" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + }, + "use_clientless_isolation_app_launcher_url": { + "$ref": "#/$defs/access_use_clientless_isolation_app_launcher_url" + } + }, + "required": [ + "domain", + "type" + ], + "type": "object" + }, + { + "properties": { + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "app_launcher_logo_url": { + "$ref": "#/$defs/access_app_launcher_logo_url" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "bg_color": { + "$ref": "#/$defs/access_bg_color" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "domain": { + "type": "string" + }, + "footer_links": { + "$ref": "#/$defs/access_footer_links" + }, + "header_bg_color": { + "$ref": "#/$defs/access_header_bg_color" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "landing_page_design": { + "$ref": "#/$defs/access_landing_page_design" + }, + "name": { + "type": "string" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "skip_app_launcher_login_page": { + "$ref": "#/$defs/access_skip_app_launcher_login_page" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "domain": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "type": "string" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "domain": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "type": "string" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "domain": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "type": "string" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "app_launcher_visible": { + "$ref": "#/$defs/access_app_launcher_visible" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "domain": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "logo_url": { + "$ref": "#/$defs/access_logo_url" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "tags": { + "$ref": "#/$defs/access_tags" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "type": "object" + }, + { + "properties": { + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "mfa_config": { + "$ref": "#/$defs/access_infra_mfa_config" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_infra_policy_resp" + }, + "type": "array" + }, + "session_duration": { + "type": "string" + }, + "target_criteria": { + "items": { + "$ref": "#/$defs/access_target_criteria_infra_app" + }, + "type": "array" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "type", + "target_criteria" + ], + "type": "object" + }, + { + "properties": { + "allow_authenticate_via_warp": { + "$ref": "#/$defs/access_allow_authenticate_via_warp-2" + }, + "allow_iframe": { + "$ref": "#/$defs/access_allow_iframe" + }, + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "app_launcher_visible": { + "$ref": "#/$defs/access_app_launcher_visible" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "cors_headers": { + "$ref": "#/$defs/access_cors_headers" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_message": { + "$ref": "#/$defs/access_custom_deny_message" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "destinations": { + "$ref": "#/$defs/access_destinations" + }, + "domain": { + "$ref": "#/$defs/access_domain" + }, + "eager_redirect_cookie_setting": { + "$ref": "#/$defs/access_eager_redirect_cookie_setting" + }, + "enable_binding_cookie": { + "$ref": "#/$defs/access_enable_binding_cookie" + }, + "http_only_cookie_attribute": { + "$ref": "#/$defs/access_http_only_cookie_attribute" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "logo_url": { + "$ref": "#/$defs/access_logo_url" + }, + "mfa_config": { + "$ref": "#/$defs/access_mfa_config" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "oauth_configuration": { + "$ref": "#/$defs/access_oauth_configuration" + }, + "options_preflight_bypass": { + "$ref": "#/$defs/access_options_preflight_bypass" + }, + "path_cookie_attribute": { + "$ref": "#/$defs/access_path_cookie_attribute" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "read_service_tokens_from_header": { + "$ref": "#/$defs/access_read_service_tokens_from_header" + }, + "same_site_cookie_attribute": { + "$ref": "#/$defs/access_same_site_cookie_attribute" + }, + "scim_config": { + "$ref": "#/$defs/access_scim_config" + }, + "self_hosted_domains": { + "$ref": "#/$defs/access_self_hosted_domains" + }, + "service_auth_401_redirect": { + "$ref": "#/$defs/access_service_auth_401_redirect" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "skip_interstitial": { + "$ref": "#/$defs/access_skip_interstitial" + }, + "tags": { + "$ref": "#/$defs/access_tags" + }, + "target_criteria": { + "items": { + "$ref": "#/$defs/access_target_criteria_self_hosted_app" + }, + "type": "array" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + }, + "use_clientless_isolation_app_launcher_url": { + "$ref": "#/$defs/access_use_clientless_isolation_app_launcher_url" + } + }, + "required": [ + "target_criteria", + "domain", + "type" + ], + "type": "object" + }, + { + "properties": { + "allow_authenticate_via_warp": { + "$ref": "#/$defs/access_allow_authenticate_via_warp-2" + }, + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_message": { + "$ref": "#/$defs/access_custom_deny_message" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "destinations": { + "$ref": "#/$defs/access_destinations" + }, + "http_only_cookie_attribute": { + "$ref": "#/$defs/access_http_only_cookie_attribute" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "logo_url": { + "$ref": "#/$defs/access_logo_url" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "oauth_configuration": { + "$ref": "#/$defs/access_oauth_configuration" + }, + "options_preflight_bypass": { + "$ref": "#/$defs/access_options_preflight_bypass" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "same_site_cookie_attribute": { + "$ref": "#/$defs/access_same_site_cookie_attribute" + }, + "scim_config": { + "$ref": "#/$defs/access_scim_config" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "tags": { + "$ref": "#/$defs/access_tags" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "allow_authenticate_via_warp": { + "$ref": "#/$defs/access_allow_authenticate_via_warp-2" + }, + "allowed_idps": { + "$ref": "#/$defs/access_allowed_idps" + }, + "aud": { + "$ref": "#/$defs/access_aud-2" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity-2" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_deny_message": { + "$ref": "#/$defs/access_custom_deny_message" + }, + "custom_deny_url": { + "$ref": "#/$defs/access_custom_deny_url" + }, + "custom_non_identity_deny_url": { + "$ref": "#/$defs/access_custom_non_identity_deny_url" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages-2" + }, + "destinations": { + "$ref": "#/$defs/access_destinations" + }, + "domain": { + "$ref": "#/$defs/access_domain" + }, + "http_only_cookie_attribute": { + "$ref": "#/$defs/access_http_only_cookie_attribute" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "logo_url": { + "$ref": "#/$defs/access_logo_url" + }, + "name": { + "$ref": "#/$defs/access_name-8" + }, + "oauth_configuration": { + "$ref": "#/$defs/access_oauth_configuration" + }, + "options_preflight_bypass": { + "$ref": "#/$defs/access_options_preflight_bypass" + }, + "policies": { + "items": { + "$ref": "#/$defs/access_app_policy_response" + }, + "type": "array" + }, + "same_site_cookie_attribute": { + "$ref": "#/$defs/access_same_site_cookie_attribute" + }, + "scim_config": { + "$ref": "#/$defs/access_scim_config" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-2" + }, + "tags": { + "$ref": "#/$defs/access_tags" + }, + "type": { + "allOf": [ + { + "$ref": "#/$defs/access_type" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `access_aud-2` in responses. + */ +export const access_aud_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_auto_redirect_to_identity-2` in responses. + */ +export const access_auto_redirect_to_identity_2_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_base_policy_resp` in responses. + */ +export const access_base_policy_resp_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/access_timestamp" + }, + "decision": { + "$ref": "#/$defs/access_decision" + }, + "exclude": { + "$ref": "#/$defs/access_exclude-2" + }, + "id": { + "$ref": "#/$defs/access_uuid-2" + }, + "include": { + "$ref": "#/$defs/access_include-2" + }, + "name": { + "$ref": "#/$defs/access_name-9" + }, + "require": { + "$ref": "#/$defs/access_require-2" + }, + "updated_at": { + "$ref": "#/$defs/access_timestamp" + } + }, + "type": "object" +}; + +/** + * The schema of `access_bg_color` in responses. + */ +export const access_bg_color_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_button_color` in responses. + */ +export const access_button_color_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_button_text_color` in responses. + */ +export const access_button_text_color_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_connection_rules_infra` in responses. + */ +export const access_connection_rules_infra_output: JsonSchema = { + "properties": { + "ssh": { + "$ref": "#/$defs/access_connection_rules_ssh" + } + }, + "type": "object" +}; + +/** + * The schema of `access_connection_rules_ssh` in responses. + */ +export const access_connection_rules_ssh_output: JsonSchema = { + "properties": { + "allow_email_alias": { + "$ref": "#/$defs/access_allow_email_alias" + }, + "usernames": { + "$ref": "#/$defs/access_usernames" + } + }, + "required": [ + "usernames" + ], + "type": "object" +}; + +/** + * The schema of `access_cors_headers` in responses. + */ +export const access_cors_headers_output: JsonSchema = { + "properties": { + "allow_all_headers": { + "$ref": "#/$defs/access_allow_all_headers" + }, + "allow_all_methods": { + "$ref": "#/$defs/access_allow_all_methods" + }, + "allow_all_origins": { + "$ref": "#/$defs/access_allow_all_origins" + }, + "allow_credentials": { + "$ref": "#/$defs/access_allow_credentials" + }, + "allowed_headers": { + "$ref": "#/$defs/access_allowed_headers" + }, + "allowed_methods": { + "$ref": "#/$defs/access_allowed_methods" + }, + "allowed_origins": { + "$ref": "#/$defs/access_allowed_origins" + }, + "max_age": { + "$ref": "#/$defs/access_max_age" + } + }, + "type": "object" +}; + +/** + * The schema of `access_custom_deny_message` in responses. + */ +export const access_custom_deny_message_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_custom_deny_url` in responses. + */ +export const access_custom_deny_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_custom_non_identity_deny_url` in responses. + */ +export const access_custom_non_identity_deny_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_custom_pages-2` in responses. + */ +export const access_custom_pages_2_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `access_destination_overrides` in responses. + */ +export const access_destination_overrides_output: JsonSchema = { + "items": { + "properties": { + "behavior": { + "enum": [ + "public" + ], + "type": "string" + }, + "path_pattern": { + "type": "string" + } + }, + "required": [ + "behavior", + "path_pattern" + ], + "type": "object" + }, + "maxItems": 25, + "type": "array" +}; + +/** + * The schema of `access_destinations` in responses. + */ +export const access_destinations_output: JsonSchema = { + "items": { + "oneOf": [ + { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "public" + ], + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "cidr": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "l4_protocol": { + "enum": [ + "tcp", + "udp" + ], + "type": "string" + }, + "port_range": { + "type": "string" + }, + "type": { + "enum": [ + "private" + ], + "type": "string" + }, + "vnet_id": { + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "mcp_server_id": { + "type": "string" + }, + "type": { + "enum": [ + "via_mcp_server_portal" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "worker" + ], + "type": "string" + }, + "worker_id": { + "type": "string" + } + }, + "required": [ + "type", + "worker_id" + ], + "type": "object" + }, + { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "preview_worker" + ], + "type": "string" + }, + "worker_id": { + "type": "string" + } + }, + "required": [ + "type", + "worker_id" + ], + "type": "object" + }, + { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "all_workers" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "all_preview_workers" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + "type": "array" +}; + +/** + * The schema of `access_domain` in responses. + */ +export const access_domain_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_eager_redirect_cookie_setting` in responses. + */ +export const access_eager_redirect_cookie_setting_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_enable_binding_cookie` in responses. + */ +export const access_enable_binding_cookie_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_end_user_all_preview_workers_destination` in responses. + */ +export const access_end_user_all_preview_workers_destination_output: JsonSchema = { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "all_preview_workers" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_end_user_all_workers_destination` in responses. + */ +export const access_end_user_all_workers_destination_output: JsonSchema = { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "all_workers" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_end_user_destinations` in responses. + */ +export const access_end_user_destinations_output: JsonSchema = { + "items": { + "oneOf": [ + { + "$ref": "#/$defs/access_end_user_public_destination" + }, + { + "$ref": "#/$defs/access_end_user_worker_destination" + }, + { + "$ref": "#/$defs/access_end_user_preview_worker_destination" + }, + { + "$ref": "#/$defs/access_end_user_all_workers_destination" + }, + { + "$ref": "#/$defs/access_end_user_all_preview_workers_destination" + } + ] + }, + "type": "array" +}; + +/** + * The schema of `access_end_user_oauth_configuration` in responses. + */ +export const access_end_user_oauth_configuration_output: JsonSchema = { + "properties": { + "dynamic_client_registration": { + "$ref": "#/$defs/access_oauth_configuration_dynamic_client_registration" + }, + "enabled": { + "enum": [ + true + ], + "type": "boolean" + }, + "grant": { + "$ref": "#/$defs/access_oauth_configuration_grant" + } + }, + "type": "object" +}; + +/** + * The schema of `access_end_user_preview_worker_destination` in responses. + */ +export const access_end_user_preview_worker_destination_output: JsonSchema = { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "preview_worker" + ], + "type": "string" + }, + "worker_id": { + "type": "string" + } + }, + "required": [ + "type", + "worker_id" + ], + "type": "object" +}; + +/** + * The schema of `access_end_user_public_destination` in responses. + */ +export const access_end_user_public_destination_output: JsonSchema = { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "public" + ], + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "uri" + ], + "type": "object" +}; + +/** + * The schema of `access_end_user_worker_destination` in responses. + */ +export const access_end_user_worker_destination_output: JsonSchema = { + "properties": { + "overrides": { + "$ref": "#/$defs/access_destination_overrides" + }, + "type": { + "enum": [ + "worker" + ], + "type": "string" + }, + "worker_id": { + "type": "string" + } + }, + "required": [ + "type", + "worker_id" + ], + "type": "object" +}; + +/** + * The schema of `access_footer_links` in responses. + */ +export const access_footer_links_output: JsonSchema = { + "items": { + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "url" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `access_header_bg_color` in responses. + */ +export const access_header_bg_color_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_http_only_cookie_attribute` in responses. + */ +export const access_http_only_cookie_attribute_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_image_url` in responses. + */ +export const access_image_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_infra_mfa_config` in responses. + */ +export const access_infra_mfa_config_output: JsonSchema = { + "properties": { + "allowed_authenticators": { + "items": { + "enum": [ + "piv_key", + "ssh_fido2_key" + ], + "type": "string" + }, + "type": "array" + }, + "mfa_disabled": { + "type": "boolean" + }, + "session_duration": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_infra_policy_resp` in responses. + */ +export const access_infra_policy_resp_output: JsonSchema = { + "allOf": [ + { + "properties": { + "connection_rules": { + "$ref": "#/$defs/access_connection_rules_infra" + }, + "mfa_config": { + "$ref": "#/$defs/access_infra_mfa_config" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/access_base_policy_resp" + } + ] +}; + +/** + * The schema of `access_landing_page_design` in responses. + */ +export const access_landing_page_design_output: JsonSchema = { + "properties": { + "button_color": { + "$ref": "#/$defs/access_button_color" + }, + "button_text_color": { + "$ref": "#/$defs/access_button_text_color" + }, + "image_url": { + "$ref": "#/$defs/access_image_url" + }, + "message": { + "$ref": "#/$defs/access_message" + }, + "title": { + "$ref": "#/$defs/access_title" + } + }, + "type": "object" +}; + +/** + * The schema of `access_logo_url` in responses. + */ +export const access_logo_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_max_age` in responses. + */ +export const access_max_age_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `access_message` in responses. + */ +export const access_message_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_name-8` in responses. + */ +export const access_name_8_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_oauth_configuration` in responses. + */ +export const access_oauth_configuration_output: JsonSchema = { + "properties": { + "dynamic_client_registration": { + "$ref": "#/$defs/access_oauth_configuration_dynamic_client_registration" + }, + "enabled": { + "type": "boolean" + }, + "grant": { + "$ref": "#/$defs/access_oauth_configuration_grant" + } + }, + "type": "object" +}; + +/** + * The schema of `access_oauth_configuration_dynamic_client_registration` in + * responses. + */ +export const access_oauth_configuration_dynamic_client_registration_output: JsonSchema = { + "properties": { + "allow_any_on_localhost": { + "type": "boolean" + }, + "allow_any_on_loopback": { + "type": "boolean" + }, + "allowed_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `access_oauth_configuration_grant` in responses. + */ +export const access_oauth_configuration_grant_output: JsonSchema = { + "properties": { + "access_token_lifetime": { + "type": "string" + }, + "session_duration": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_oidc_saas_app` in responses. + */ +export const access_oidc_saas_app_output: JsonSchema = { + "properties": { + "access_token_lifetime": { + "type": "string" + }, + "allow_pkce_without_client_secret": { + "type": "boolean" + }, + "app_launcher_url": { + "type": "string" + }, + "auth_type": { + "enum": [ + "saml", + "oidc" + ], + "type": "string" + }, + "client_id": { + "type": "string" + }, + "client_secret": { + "type": "string" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_claims": { + "items": { + "$ref": "#/$defs/access_oidc_saas_app_custom_claimsItem" + }, + "type": "array" + }, + "grant_types": { + "items": { + "enum": [ + "authorization_code", + "authorization_code_with_pkce", + "refresh_tokens", + "hybrid", + "implicit" + ], + "type": "string" + }, + "type": "array" + }, + "group_filter_regex": { + "type": "string" + }, + "hybrid_and_implicit_options": { + "$ref": "#/$defs/access_oidc_saas_app_hybrid_and_implicit_options" + }, + "public_key": { + "type": "string" + }, + "redirect_uris": { + "items": { + "type": "string" + }, + "type": "array" + }, + "refresh_token_options": { + "$ref": "#/$defs/access_oidc_saas_app_refresh_token_options" + }, + "scopes": { + "items": { + "enum": [ + "openid", + "groups", + "email", + "profile" + ], + "type": "string" + }, + "type": "array" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "type": "object" +}; + +/** + * The schema of `access_oidc_saas_app_custom_claimsItem` in responses. + */ +export const access_oidc_saas_app_custom_claimsItem_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "scope": { + "enum": [ + "groups", + "profile", + "email", + "openid" + ], + "type": "string" + }, + "source": { + "$ref": "#/$defs/access_oidc_saas_app_custom_claimsItem_source" + } + }, + "type": "object" +}; + +/** + * The schema of `access_oidc_saas_app_custom_claimsItem_source` in responses. + */ +export const access_oidc_saas_app_custom_claimsItem_source_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "name_by_idp": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" +}; + +/** + * The schema of `access_oidc_saas_app_hybrid_and_implicit_options` in + * responses. + */ +export const access_oidc_saas_app_hybrid_and_implicit_options_output: JsonSchema = { + "properties": { + "return_access_token_from_authorization_endpoint": { + "type": "boolean" + }, + "return_id_token_from_authorization_endpoint": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `access_oidc_saas_app_refresh_token_options` in responses. + */ +export const access_oidc_saas_app_refresh_token_options_output: JsonSchema = { + "properties": { + "lifetime": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_options_preflight_bypass` in responses. + */ +export const access_options_preflight_bypass_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_path_cookie_attribute` in responses. + */ +export const access_path_cookie_attribute_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_precedence` in responses. + */ +export const access_precedence_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_protocol_infra_app` in responses. + */ +export const access_protocol_infra_app_output: JsonSchema = { + "enum": [ + "SSH" + ], + "type": "string" +}; + +/** + * The schema of `access_protocol_self_hosted_app` in responses. + */ +export const access_protocol_self_hosted_app_output: JsonSchema = { + "enum": [ + "RDP" + ], + "type": "string" +}; + +/** + * The schema of `access_read_service_tokens_from_header` in responses. + */ +export const access_read_service_tokens_from_header_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_same_site_cookie_attribute` in responses. + */ +export const access_same_site_cookie_attribute_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_saml_saas_app` in responses. + */ +export const access_saml_saas_app_output: JsonSchema = { + "properties": { + "auth_type": { + "enum": [ + "saml", + "oidc" + ], + "type": "string" + }, + "consumer_service_url": { + "type": "string" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_attributes": { + "items": { + "$ref": "#/$defs/access_saml_saas_app_custom_attributesItem" + }, + "type": "array" + }, + "default_relay_state": { + "type": "string" + }, + "idp_entity_id": { + "type": "string" + }, + "name_id_format": { + "enum": [ + "id", + "email" + ], + "type": "string" + }, + "name_id_transform_jsonata": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "saml_attribute_transform_jsonata": { + "type": "string" + }, + "sp_entity_id": { + "type": "string" + }, + "sso_endpoint": { + "type": "string" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "type": "object" +}; + +/** + * The schema of `access_saml_saas_app_custom_attributesItem` in responses. + */ +export const access_saml_saas_app_custom_attributesItem_output: JsonSchema = { + "properties": { + "friendly_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "name_format": { + "enum": [ + "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified", + "urn:oasis:names:tc:SAML:2.0:attrname-format:basic", + "urn:oasis:names:tc:SAML:2.0:attrname-format:uri" + ], + "type": "string" + }, + "required": { + "type": "boolean" + }, + "source": { + "$ref": "#/$defs/access_saml_saas_app_custom_attributesItem_source" + } + }, + "type": "object" +}; + +/** + * The schema of `access_saml_saas_app_custom_attributesItem_source` in + * responses. + */ +export const access_saml_saas_app_custom_attributesItem_source_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "name_by_idp": { + "items": { + "$ref": "#/$defs/access_saml_saas_app_custom_attributesItem_source_name_by_idpItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of + * `access_saml_saas_app_custom_attributesItem_source_name_by_idpItem` in + * responses. + */ +export const access_saml_saas_app_custom_attributesItem_source_name_by_idpItem_output: JsonSchema = { + "properties": { + "idp_id": { + "type": "string" + }, + "source_name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_scim_config` in responses. + */ +export const access_scim_config_output: JsonSchema = { + "properties": { + "authentication": { + "$ref": "#/$defs/access_scim_config_authentication" + }, + "deactivate_on_delete": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "idp_uid": { + "type": "string" + }, + "mappings": { + "items": { + "$ref": "#/$defs/access_scim_config_mapping" + }, + "type": "array" + }, + "remote_uri": { + "type": "string" + } + }, + "required": [ + "idp_uid", + "remote_uri" + ], + "type": "object" +}; + +/** + * The schema of `access_scim_config_authentication` in responses. + */ +export const access_scim_config_authentication_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/access_scim_config_single_authentication" + }, + { + "$ref": "#/$defs/access_scim_config_multi_authentication" + } + ] +}; + +/** + * The schema of `access_scim_config_authentication_access_service_token` in + * responses. + */ +export const access_scim_config_authentication_access_service_token_output: JsonSchema = { + "properties": { + "client_id": { + "type": "string" + }, + "client_secret": { + "type": "string" + }, + "scheme": { + "enum": [ + "access_service_token" + ], + "type": "string" + } + }, + "required": [ + "client_id", + "client_secret", + "scheme" + ], + "type": "object" +}; + +/** + * The schema of `access_scim_config_authentication_http_basic` in responses. + */ +export const access_scim_config_authentication_http_basic_output: JsonSchema = { + "properties": { + "password": { + "type": "string" + }, + "scheme": { + "enum": [ + "httpbasic" + ], + "type": "string" + }, + "user": { + "type": "string" + } + }, + "required": [ + "password", + "scheme", + "user" + ], + "type": "object" +}; + +/** + * The schema of `access_scim_config_authentication_oauth2` in responses. + */ +export const access_scim_config_authentication_oauth2_output: JsonSchema = { + "properties": { + "authorization_url": { + "type": "string" + }, + "client_id": { + "type": "string" + }, + "client_secret": { + "type": "string" + }, + "scheme": { + "enum": [ + "oauth2" + ], + "type": "string" + }, + "scopes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "token_url": { + "type": "string" + } + }, + "required": [ + "authorization_url", + "client_id", + "client_secret", + "scheme", + "token_url" + ], + "type": "object" +}; + +/** + * The schema of `access_scim_config_authentication_oauth_bearer_token` in + * responses. + */ +export const access_scim_config_authentication_oauth_bearer_token_output: JsonSchema = { + "properties": { + "scheme": { + "enum": [ + "oauthbearertoken" + ], + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "scheme", + "token" + ], + "type": "object" +}; + +/** + * The schema of `access_scim_config_mapping` in responses. + */ +export const access_scim_config_mapping_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "filter": { + "type": "string" + }, + "operations": { + "$ref": "#/$defs/access_scim_config_mapping_operations" + }, + "schema": { + "type": "string" + }, + "strictness": { + "enum": [ + "strict", + "passthrough" + ], + "type": "string" + }, + "transform_jsonata": { + "type": "string" + } + }, + "required": [ + "schema" + ], + "type": "object" +}; + +/** + * The schema of `access_scim_config_mapping_operations` in responses. + */ +export const access_scim_config_mapping_operations_output: JsonSchema = { + "properties": { + "create": { + "type": "boolean" + }, + "delete": { + "type": "boolean" + }, + "update": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `access_scim_config_multi_authentication` in responses. + */ +export const access_scim_config_multi_authentication_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_scim_config_single_authentication" + }, + "type": "array" +}; + +/** + * The schema of `access_scim_config_single_authentication` in responses. + */ +export const access_scim_config_single_authentication_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/access_scim_config_authentication_http_basic" + }, + { + "$ref": "#/$defs/access_scim_config_authentication_oauth_bearer_token" + }, + { + "$ref": "#/$defs/access_scim_config_authentication_oauth2" + }, + { + "$ref": "#/$defs/access_scim_config_authentication_access_service_token" + } + ] +}; + +/** + * The schema of `access_self_hosted_domains` in responses. + */ +export const access_self_hosted_domains_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `access_service_auth_401_redirect` in responses. + */ +export const access_service_auth_401_redirect_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_session_duration-2` in responses. + */ +export const access_session_duration_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_skip_app_launcher_login_page` in responses. + */ +export const access_skip_app_launcher_login_page_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_skip_interstitial` in responses. + */ +export const access_skip_interstitial_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_tags` in responses. + */ +export const access_tags_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `access_target_criteria_infra_app` in responses. + */ +export const access_target_criteria_infra_app_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "protocol": { + "$ref": "#/$defs/access_protocol_infra_app" + } + }, + "type": "object" + }, + { + "properties": { + "protocol": { + "$ref": "#/$defs/access_protocol_infra_app" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `access_target_criteria_self_hosted_app` in responses. + */ +export const access_target_criteria_self_hosted_app_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "protocol": { + "$ref": "#/$defs/access_protocol_self_hosted_app" + } + }, + "type": "object" + }, + { + "properties": { + "protocol": { + "$ref": "#/$defs/access_protocol_self_hosted_app" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `access_title` in responses. + */ +export const access_title_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_type` in responses. + */ +export const access_type_output: JsonSchema = { + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" +}; + +/** + * The schema of `access_use_clientless_isolation_app_launcher_url` in + * responses. + */ +export const access_use_clientless_isolation_app_launcher_url_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_usernames` in responses. + */ +export const access_usernames_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policies/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policies/outputs.ts new file mode 100644 index 00000000..baae4b15 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policies/outputs.ts @@ -0,0 +1,18 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_app_policy_result` in responses. + */ +export const access_app_policy_result_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/access_app_policy_response" + }, + { + "$ref": "#/$defs/access_infra_policy_resp" + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts index 3af7da1a..ad7c3248 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts @@ -2,6 +2,95 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_identifier_output, + access_messages_output, + access_timestamp_output, +} from "../../../outputs.js"; +import { + access_access_group_rule_group_output, + access_access_group_rule_output, + access_allowed_clipboard_local_to_remote_formats_output, + access_allowed_clipboard_remote_to_local_formats_output, + access_any_valid_service_token_rule_output, + access_approval_group_output, + access_approval_groups_output, + access_approval_required_output, + access_auth_context_rule_auth_context_output, + access_auth_context_rule_output, + access_authentication_method_rule_auth_method_output, + access_authentication_method_rule_output, + access_azure_group_rule_azureAD_output, + access_azure_group_rule_output, + access_certificate_rule_output, + access_cloudflare_account_member_rule_cloudflare_account_member_output, + access_cloudflare_account_member_rule_output, + access_common_name_rule_common_name_output, + access_common_name_rule_output, + access_connection_rules_output, + access_connection_rules_rdp_output, + access_country_rule_geo_output, + access_country_rule_output, + access_decision_output, + access_device_posture_rule_device_posture_output, + access_device_posture_rule_output, + access_domain_rule_email_domain_output, + access_domain_rule_output, + access_email_list_rule_email_list_output, + access_email_list_rule_output, + access_email_rule_email_output, + access_email_rule_output, + access_everyone_rule_output, + access_exclude_2_output, + access_external_evaluation_rule_external_evaluation_output, + access_external_evaluation_rule_output, + access_github_organization_rule_github_organization_output, + access_github_organization_rule_output, + access_gsuite_group_rule_gsuite_output, + access_gsuite_group_rule_output, + access_include_2_output, + access_ip_list_rule_ip_list_output, + access_ip_list_rule_output, + access_ip_rule_ip_output, + access_ip_rule_output, + access_isolation_required_output, + access_linked_app_token_rule_linked_app_token_output, + access_linked_app_token_rule_output, + access_login_method_rule_login_method_output, + access_login_method_rule_output, + access_mfa_config_output, + access_name_9_output, + access_oidc_claim_rule_oidc_output, + access_oidc_claim_rule_output, + access_okta_group_rule_okta_output, + access_okta_group_rule_output, + access_purpose_justification_prompt_output, + access_purpose_justification_required_output, + access_rdp_clipboard_format_output, + access_require_2_output, + access_rule_output, + access_saml_group_rule_output, + access_saml_group_rule_saml_output, + access_service_token_rule_output, + access_service_token_rule_service_token_output, + access_session_duration_3_output, + access_user_risk_score_rule_output, + access_user_risk_score_rule_user_risk_score_output, + access_uuid_2_output, +} from "../../outputs.js"; +import { + access_allow_email_alias_output, + access_app_policy_response_output, + access_base_policy_resp_output, + access_connection_rules_infra_output, + access_connection_rules_ssh_output, + access_infra_mfa_config_output, + access_infra_policy_resp_output, + access_precedence_output, + access_usernames_output, +} from "../outputs.js"; +import { access_app_policy_result_output } from "./outputs.js"; /** * The tools of `zero_trust.access.applications.policies`. @@ -57,6 +146,101 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_app_policy_result" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_allow_email_alias": access_allow_email_alias_output, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_policy_response": access_app_policy_response_output, + "access_app_policy_result": access_app_policy_result_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_base_policy_resp": access_base_policy_resp_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_infra": access_connection_rules_infra_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_connection_rules_ssh": access_connection_rules_ssh_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_decision": access_decision_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude-2": access_exclude_2_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_identifier": access_identifier_output, + "access_include-2": access_include_2_output, + "access_infra_mfa_config": access_infra_mfa_config_output, + "access_infra_policy_resp": access_infra_policy_resp_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_isolation_required": access_isolation_required_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_name-9": access_name_9_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_precedence": access_precedence_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_require-2": access_require_2_output, + "access_rule": access_rule_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_session_duration-3": access_session_duration_3_output, + "access_timestamp": access_timestamp_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_usernames": access_usernames_output, + "access_uuid-2": access_uuid_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}/policies/${pathParam(args, "policy_id")}`, }), @@ -116,6 +300,132 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_app_policy_result" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_allow_email_alias": access_allow_email_alias_output, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_policy_response": access_app_policy_response_output, + "access_app_policy_result": access_app_policy_result_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_base_policy_resp": access_base_policy_resp_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_infra": access_connection_rules_infra_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_connection_rules_ssh": access_connection_rules_ssh_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_decision": access_decision_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude-2": access_exclude_2_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_identifier": access_identifier_output, + "access_include-2": access_include_2_output, + "access_infra_mfa_config": access_infra_mfa_config_output, + "access_infra_policy_resp": access_infra_policy_resp_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_isolation_required": access_isolation_required_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_name-9": access_name_9_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_precedence": access_precedence_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_require-2": access_require_2_output, + "access_rule": access_rule_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_session_duration-3": access_session_duration_3_output, + "access_timestamp": access_timestamp_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_usernames": access_usernames_output, + "access_uuid-2": access_uuid_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}/policies`, query: [ @@ -164,6 +474,132 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_app_policy_result" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_allow_email_alias": access_allow_email_alias_output, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_policy_response": access_app_policy_response_output, + "access_app_policy_result": access_app_policy_result_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_base_policy_resp": access_base_policy_resp_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_infra": access_connection_rules_infra_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_connection_rules_ssh": access_connection_rules_ssh_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_decision": access_decision_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude-2": access_exclude_2_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_identifier": access_identifier_output, + "access_include-2": access_include_2_output, + "access_infra_mfa_config": access_infra_mfa_config_output, + "access_infra_policy_resp": access_infra_policy_resp_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_isolation_required": access_isolation_required_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_name-9": access_name_9_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_precedence": access_precedence_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_require-2": access_require_2_output, + "access_rule": access_rule_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_session_duration-3": access_session_duration_3_output, + "access_timestamp": access_timestamp_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_usernames": access_usernames_output, + "access_uuid-2": access_uuid_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/apps/${pathParam(args, "app_id")}/policies/${pathParam(args, "policy_id")}/make_reusable`, }), diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts new file mode 100644 index 00000000..a57d3d10 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts @@ -0,0 +1,90 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_percent_approved` in responses. + */ +export const access_percent_approved_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_percent_blocked` in responses. + */ +export const access_percent_blocked_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_percent_errored` in responses. + */ +export const access_percent_errored_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_percent_users_processed` in responses. + */ +export const access_percent_users_processed_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_policy_test_id` in responses. + */ +export const access_policy_test_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_status` in responses. + */ +export const access_status_output: JsonSchema = { + "enum": [ + "success" + ], + "type": "string" +}; + +/** + * The schema of `access_total_users` in responses. + */ +export const access_total_users_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_update_status` in responses. + */ +export const access_update_status_output: JsonSchema = { + "enum": [ + "blocked", + "processing", + "exceeded time", + "complete" + ], + "type": "string" +}; + +/** + * The schema of `access_users_approved` in responses. + */ +export const access_users_approved_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_users_blocked` in responses. + */ +export const access_users_blocked_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_users_errored` in responses. + */ +export const access_users_errored_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts index 5f849126..8988056d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; import { access_identifier } from "../../../schemas.js"; import { access_access_group_rule, @@ -75,6 +79,19 @@ import { access_user_risk_score_rule, access_user_risk_score_rule_user_risk_score, } from "../../schemas.js"; +import { + access_percent_approved_output, + access_percent_blocked_output, + access_percent_errored_output, + access_percent_users_processed_output, + access_policy_test_id_output, + access_status_output, + access_total_users_output, + access_update_status_output, + access_users_approved_output, + access_users_blocked_output, + access_users_errored_output, +} from "./outputs.js"; import { access_policy_init_req } from "./schemas.js"; /** @@ -189,6 +206,30 @@ export const tools: readonly Tool[] = [ "Access: Policy Test Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/access_policy_test_id" + }, + "status": { + "$ref": "#/$defs/access_status" + } + }, + "type": "object" + }, + "400": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_policy_test_id": access_policy_test_id_output, + "access_status": access_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policy-tests`, body: { value: args["body"], mediaType: "application/json" }, @@ -230,6 +271,62 @@ export const tools: readonly Tool[] = [ "Access: Policy Test Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/access_policy_test_id" + }, + "percent_approved": { + "$ref": "#/$defs/access_percent_approved" + }, + "percent_blocked": { + "$ref": "#/$defs/access_percent_blocked" + }, + "percent_errored": { + "$ref": "#/$defs/access_percent_errored" + }, + "percent_users_processed": { + "$ref": "#/$defs/access_percent_users_processed" + }, + "status": { + "$ref": "#/$defs/access_update_status" + }, + "total_users": { + "$ref": "#/$defs/access_total_users" + }, + "users_approved": { + "$ref": "#/$defs/access_users_approved" + }, + "users_blocked": { + "$ref": "#/$defs/access_users_blocked" + }, + "users_errored": { + "$ref": "#/$defs/access_users_errored" + } + }, + "type": "object" + }, + "400": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_percent_approved": access_percent_approved_output, + "access_percent_blocked": access_percent_blocked_output, + "access_percent_errored": access_percent_errored_output, + "access_percent_users_processed": access_percent_users_processed_output, + "access_policy_test_id": access_policy_test_id_output, + "access_total_users": access_total_users_output, + "access_update_status": access_update_status_output, + "access_users_approved": access_users_approved_output, + "access_users_blocked": access_users_blocked_output, + "access_users_errored": access_users_errored_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policy-tests/${pathParam(args, "policy_test_id")}`, }), diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts new file mode 100644 index 00000000..a7bff6cd --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts @@ -0,0 +1,37 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of `access_policy_users` in responses. + */ +export const access_policy_users_output: JsonSchema = { + "properties": { + "email": { + "$ref": "#/$defs/access_email-2" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-10" + }, + "status": { + "$ref": "#/$defs/access_user_result" + } + }, + "type": "object" +}; + +/** + * The schema of `access_user_result` in responses. + */ +export const access_user_result_output: JsonSchema = { + "enum": [ + "approved", + "blocked", + "error" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts index a518671a..b04401be 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, + access_uuid_output, +} from "../../../../outputs.js"; +import { + access_email_2_output, + access_name_10_output, +} from "../../../outputs.js"; +import { + access_policy_users_output, + access_user_result_output, +} from "./outputs.js"; /** * The tools of `zero_trust.access.applications.policy_tests.users`. @@ -61,6 +74,39 @@ export const tools: readonly Tool[] = [ "Access: Policy Test Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_policy_users" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_email-2": access_email_2_output, + "access_messages": access_messages_output, + "access_name-10": access_name_10_output, + "access_policy_users": access_policy_users_output, + "access_user_result": access_user_result_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policy-tests/${pathParam(args, "policy_test_id")}/users`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts new file mode 100644 index 00000000..060419b3 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_app_settings_response` in responses. + */ +export const access_app_settings_response_output: JsonSchema = { + "properties": { + "allow_iframe": { + "$ref": "#/$defs/access_allow_iframe" + }, + "skip_interstitial": { + "$ref": "#/$defs/access_skip_interstitial" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts index b291f95f..b667cacd 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts @@ -2,7 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; +import { + access_allow_iframe_output, + access_skip_interstitial_output, +} from "../outputs.js"; import { access_allow_iframe, access_skip_interstitial } from "../schemas.js"; +import { access_app_settings_response_output } from "./outputs.js"; import { access_app_settings_request } from "./schemas.js"; /** @@ -61,6 +70,23 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Write" ] }, + responses: { + schemas: { + "202": { + "$ref": "#/$defs/access_app_settings_response" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_allow_iframe": access_allow_iframe_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_settings_response": access_app_settings_response_output, + "access_messages": access_messages_output, + "access_skip_interstitial": access_skip_interstitial_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts new file mode 100644 index 00000000..7aeb1df9 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts @@ -0,0 +1,43 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_aud` in responses. + */ +export const access_aud_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_ca` in responses. + */ +export const access_ca_output: JsonSchema = { + "properties": { + "aud": { + "$ref": "#/$defs/access_aud" + }, + "id": { + "$ref": "#/$defs/access_id-2" + }, + "public_key": { + "$ref": "#/$defs/access_public_key" + } + }, + "type": "object" +}; + +/** + * The schema of `access_id-2` in responses. + */ +export const access_id_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_public_key` in responses. + */ +export const access_public_key_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts index 2d5e27fd..8a62f0a7 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; +import { + access_aud_output, + access_ca_output, + access_id_2_output, + access_public_key_output, +} from "./outputs.js"; /** * The tools of `zero_trust.access.applications.short_lived_certificates`. @@ -51,6 +61,24 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_ca" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_aud": access_aud_output, + "access_ca": access_ca_output, + "access_id-2": access_id_2_output, + "access_messages": access_messages_output, + "access_public_key": access_public_key_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}/ca`, }), @@ -99,6 +127,26 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Write" ] }, + responses: { + schemas: { + "202": { + "properties": { + "id": { + "$ref": "#/$defs/access_id-2" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_id-2": access_id_2_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}/ca`, }), @@ -148,6 +196,24 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_ca" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_aud": access_aud_output, + "access_ca": access_ca_output, + "access_id-2": access_id_2_output, + "access_messages": access_messages_output, + "access_public_key": access_public_key_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}/ca`, }), @@ -202,6 +268,55 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_ca" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_aud": access_aud_output, + "access_ca": access_ca_output, + "access_id-2": access_id_2_output, + "access_messages": access_messages_output, + "access_public_key": access_public_key_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/ca`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts index 4f995627..d5722121 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_created_at_output, + access_identifier_output, + access_messages_output, + access_timestamp_output, + access_updated_at_output, + access_uuid_output, +} from "../../outputs.js"; import { access_created_at, access_identifier, @@ -9,6 +18,77 @@ import { access_updated_at, access_uuid, } from "../../schemas.js"; +import { + access_access_group_rule_group_output, + access_access_group_rule_output, + access_allowed_clipboard_local_to_remote_formats_output, + access_allowed_clipboard_remote_to_local_formats_output, + access_any_valid_service_token_rule_output, + access_approval_group_output, + access_approval_groups_output, + access_approval_required_output, + access_auth_context_rule_auth_context_output, + access_auth_context_rule_output, + access_authentication_method_rule_auth_method_output, + access_authentication_method_rule_output, + access_azure_group_rule_azureAD_output, + access_azure_group_rule_output, + access_certificate_rule_output, + access_cloudflare_account_member_rule_cloudflare_account_member_output, + access_cloudflare_account_member_rule_output, + access_common_name_rule_common_name_output, + access_common_name_rule_output, + access_connection_rules_output, + access_connection_rules_rdp_output, + access_country_rule_geo_output, + access_country_rule_output, + access_decision_output, + access_device_posture_rule_device_posture_output, + access_device_posture_rule_output, + access_domain_rule_email_domain_output, + access_domain_rule_output, + access_email_list_rule_email_list_output, + access_email_list_rule_output, + access_email_rule_email_output, + access_email_rule_output, + access_everyone_rule_output, + access_exclude_2_output, + access_external_evaluation_rule_external_evaluation_output, + access_external_evaluation_rule_output, + access_github_organization_rule_github_organization_output, + access_github_organization_rule_output, + access_gsuite_group_rule_gsuite_output, + access_gsuite_group_rule_output, + access_include_2_output, + access_ip_list_rule_ip_list_output, + access_ip_list_rule_output, + access_ip_rule_ip_output, + access_ip_rule_output, + access_isolation_required_output, + access_linked_app_token_rule_linked_app_token_output, + access_linked_app_token_rule_output, + access_login_method_rule_login_method_output, + access_login_method_rule_output, + access_mfa_config_output, + access_name_9_output, + access_oidc_claim_rule_oidc_output, + access_oidc_claim_rule_output, + access_okta_group_rule_okta_output, + access_okta_group_rule_output, + access_purpose_justification_prompt_output, + access_purpose_justification_required_output, + access_rdp_clipboard_format_output, + access_require_2_output, + access_rule_output, + access_saml_group_rule_output, + access_saml_group_rule_saml_output, + access_service_token_rule_output, + access_service_token_rule_service_token_output, + access_session_duration_3_output, + access_user_risk_score_rule_output, + access_user_risk_score_rule_user_risk_score_output, + access_uuid_2_output, +} from "../outputs.js"; import { access_access_group_rule, access_access_group_rule_group, @@ -82,6 +162,100 @@ import { access_user_risk_score_rule_user_risk_score, access_uuid_2, } from "../schemas.js"; +import { + access_allow_all_headers_output, + access_allow_all_methods_output, + access_allow_all_origins_output, + access_allow_authenticate_via_warp_2_output, + access_allow_credentials_output, + access_allow_email_alias_output, + access_allow_iframe_output, + access_allowed_headers_output, + access_allowed_idps_output, + access_allowed_methods_output, + access_allowed_origins_output, + access_app_launcher_logo_url_output, + access_app_launcher_visible_output, + access_app_policy_response_output, + access_app_response_output, + access_aud_2_output, + access_auto_redirect_to_identity_2_output, + access_base_policy_resp_output, + access_bg_color_output, + access_button_color_output, + access_button_text_color_output, + access_connection_rules_infra_output, + access_connection_rules_ssh_output, + access_cors_headers_output, + access_custom_deny_message_output, + access_custom_deny_url_output, + access_custom_non_identity_deny_url_output, + access_custom_pages_2_output, + access_destination_overrides_output, + access_destinations_output, + access_domain_output, + access_eager_redirect_cookie_setting_output, + access_enable_binding_cookie_output, + access_end_user_all_preview_workers_destination_output, + access_end_user_all_workers_destination_output, + access_end_user_destinations_output, + access_end_user_oauth_configuration_output, + access_end_user_preview_worker_destination_output, + access_end_user_public_destination_output, + access_end_user_worker_destination_output, + access_footer_links_output, + access_header_bg_color_output, + access_http_only_cookie_attribute_output, + access_image_url_output, + access_infra_mfa_config_output, + access_infra_policy_resp_output, + access_landing_page_design_output, + access_logo_url_output, + access_max_age_output, + access_message_output, + access_name_8_output, + access_oauth_configuration_dynamic_client_registration_output, + access_oauth_configuration_grant_output, + access_oauth_configuration_output, + access_oidc_saas_app_custom_claimsItem_output, + access_oidc_saas_app_custom_claimsItem_source_output, + access_oidc_saas_app_hybrid_and_implicit_options_output, + access_oidc_saas_app_output, + access_oidc_saas_app_refresh_token_options_output, + access_options_preflight_bypass_output, + access_path_cookie_attribute_output, + access_precedence_output, + access_protocol_infra_app_output, + access_protocol_self_hosted_app_output, + access_read_service_tokens_from_header_output, + access_same_site_cookie_attribute_output, + access_saml_saas_app_custom_attributesItem_output, + access_saml_saas_app_custom_attributesItem_source_name_by_idpItem_output, + access_saml_saas_app_custom_attributesItem_source_output, + access_saml_saas_app_output, + access_scim_config_authentication_access_service_token_output, + access_scim_config_authentication_http_basic_output, + access_scim_config_authentication_oauth2_output, + access_scim_config_authentication_oauth_bearer_token_output, + access_scim_config_authentication_output, + access_scim_config_mapping_operations_output, + access_scim_config_mapping_output, + access_scim_config_multi_authentication_output, + access_scim_config_output, + access_scim_config_single_authentication_output, + access_self_hosted_domains_output, + access_service_auth_401_redirect_output, + access_session_duration_2_output, + access_skip_app_launcher_login_page_output, + access_skip_interstitial_output, + access_tags_output, + access_target_criteria_infra_app_output, + access_target_criteria_self_hosted_app_output, + access_title_output, + access_type_output, + access_use_clientless_isolation_app_launcher_url_output, + access_usernames_output, +} from "./outputs.js"; import { access_allow_all_headers, access_allow_all_methods, @@ -395,6 +569,186 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_app_response" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_allow_all_headers": access_allow_all_headers_output, + "access_allow_all_methods": access_allow_all_methods_output, + "access_allow_all_origins": access_allow_all_origins_output, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, + "access_allow_credentials": access_allow_credentials_output, + "access_allow_email_alias": access_allow_email_alias_output, + "access_allow_iframe": access_allow_iframe_output, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_allowed_headers": access_allowed_headers_output, + "access_allowed_idps": access_allowed_idps_output, + "access_allowed_methods": access_allowed_methods_output, + "access_allowed_origins": access_allowed_origins_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_launcher_logo_url": access_app_launcher_logo_url_output, + "access_app_launcher_visible": access_app_launcher_visible_output, + "access_app_policy_response": access_app_policy_response_output, + "access_app_response": access_app_response_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_aud-2": access_aud_2_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_base_policy_resp": access_base_policy_resp_output, + "access_bg_color": access_bg_color_output, + "access_button_color": access_button_color_output, + "access_button_text_color": access_button_text_color_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_infra": access_connection_rules_infra_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_connection_rules_ssh": access_connection_rules_ssh_output, + "access_cors_headers": access_cors_headers_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_created_at": access_created_at_output, + "access_custom_deny_message": access_custom_deny_message_output, + "access_custom_deny_url": access_custom_deny_url_output, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, + "access_custom_pages-2": access_custom_pages_2_output, + "access_decision": access_decision_output, + "access_destination_overrides": access_destination_overrides_output, + "access_destinations": access_destinations_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain": access_domain_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_enable_binding_cookie": access_enable_binding_cookie_output, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, + "access_end_user_destinations": access_end_user_destinations_output, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, + "access_end_user_public_destination": access_end_user_public_destination_output, + "access_end_user_worker_destination": access_end_user_worker_destination_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude-2": access_exclude_2_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_footer_links": access_footer_links_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_header_bg_color": access_header_bg_color_output, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, + "access_identifier": access_identifier_output, + "access_image_url": access_image_url_output, + "access_include-2": access_include_2_output, + "access_infra_mfa_config": access_infra_mfa_config_output, + "access_infra_policy_resp": access_infra_policy_resp_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_isolation_required": access_isolation_required_output, + "access_landing_page_design": access_landing_page_design_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_logo_url": access_logo_url_output, + "access_max_age": access_max_age_output, + "access_message": access_message_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_name-8": access_name_8_output, + "access_name-9": access_name_9_output, + "access_oauth_configuration": access_oauth_configuration_output, + "access_oauth_configuration_dynamic_client_registration": access_oauth_configuration_dynamic_client_registration_output, + "access_oauth_configuration_grant": access_oauth_configuration_grant_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_oidc_saas_app": access_oidc_saas_app_output, + "access_oidc_saas_app_custom_claimsItem": access_oidc_saas_app_custom_claimsItem_output, + "access_oidc_saas_app_custom_claimsItem_source": access_oidc_saas_app_custom_claimsItem_source_output, + "access_oidc_saas_app_hybrid_and_implicit_options": access_oidc_saas_app_hybrid_and_implicit_options_output, + "access_oidc_saas_app_refresh_token_options": access_oidc_saas_app_refresh_token_options_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_options_preflight_bypass": access_options_preflight_bypass_output, + "access_path_cookie_attribute": access_path_cookie_attribute_output, + "access_precedence": access_precedence_output, + "access_protocol_infra_app": access_protocol_infra_app_output, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, + "access_require-2": access_require_2_output, + "access_rule": access_rule_output, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_saml_saas_app": access_saml_saas_app_output, + "access_saml_saas_app_custom_attributesItem": access_saml_saas_app_custom_attributesItem_output, + "access_saml_saas_app_custom_attributesItem_source": access_saml_saas_app_custom_attributesItem_source_output, + "access_saml_saas_app_custom_attributesItem_source_name_by_idpItem": access_saml_saas_app_custom_attributesItem_source_name_by_idpItem_output, + "access_scim_config": access_scim_config_output, + "access_scim_config_authentication": access_scim_config_authentication_output, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, + "access_scim_config_mapping": access_scim_config_mapping_output, + "access_scim_config_mapping_operations": access_scim_config_mapping_operations_output, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, + "access_scim_config_single_authentication": access_scim_config_single_authentication_output, + "access_self_hosted_domains": access_self_hosted_domains_output, + "access_service_auth_401_redirect": access_service_auth_401_redirect_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_session_duration-2": access_session_duration_2_output, + "access_session_duration-3": access_session_duration_3_output, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, + "access_skip_interstitial": access_skip_interstitial_output, + "access_tags": access_tags_output, + "access_target_criteria_infra_app": access_target_criteria_infra_app_output, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, + "access_timestamp": access_timestamp_output, + "access_title": access_title_output, + "access_type": access_type_output, + "access_updated_at": access_updated_at_output, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_usernames": access_usernames_output, + "access_uuid": access_uuid_output, + "access_uuid-2": access_uuid_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps`, body: { value: args["body"], mediaType: "application/json" }, @@ -443,6 +797,26 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Write" ] }, + responses: { + schemas: { + "202": { + "properties": { + "id": { + "$ref": "#/$defs/access_uuid" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}`, }), @@ -492,6 +866,186 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_app_response" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_allow_all_headers": access_allow_all_headers_output, + "access_allow_all_methods": access_allow_all_methods_output, + "access_allow_all_origins": access_allow_all_origins_output, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, + "access_allow_credentials": access_allow_credentials_output, + "access_allow_email_alias": access_allow_email_alias_output, + "access_allow_iframe": access_allow_iframe_output, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_allowed_headers": access_allowed_headers_output, + "access_allowed_idps": access_allowed_idps_output, + "access_allowed_methods": access_allowed_methods_output, + "access_allowed_origins": access_allowed_origins_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_launcher_logo_url": access_app_launcher_logo_url_output, + "access_app_launcher_visible": access_app_launcher_visible_output, + "access_app_policy_response": access_app_policy_response_output, + "access_app_response": access_app_response_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_aud-2": access_aud_2_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_base_policy_resp": access_base_policy_resp_output, + "access_bg_color": access_bg_color_output, + "access_button_color": access_button_color_output, + "access_button_text_color": access_button_text_color_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_infra": access_connection_rules_infra_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_connection_rules_ssh": access_connection_rules_ssh_output, + "access_cors_headers": access_cors_headers_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_created_at": access_created_at_output, + "access_custom_deny_message": access_custom_deny_message_output, + "access_custom_deny_url": access_custom_deny_url_output, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, + "access_custom_pages-2": access_custom_pages_2_output, + "access_decision": access_decision_output, + "access_destination_overrides": access_destination_overrides_output, + "access_destinations": access_destinations_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain": access_domain_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_enable_binding_cookie": access_enable_binding_cookie_output, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, + "access_end_user_destinations": access_end_user_destinations_output, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, + "access_end_user_public_destination": access_end_user_public_destination_output, + "access_end_user_worker_destination": access_end_user_worker_destination_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude-2": access_exclude_2_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_footer_links": access_footer_links_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_header_bg_color": access_header_bg_color_output, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, + "access_identifier": access_identifier_output, + "access_image_url": access_image_url_output, + "access_include-2": access_include_2_output, + "access_infra_mfa_config": access_infra_mfa_config_output, + "access_infra_policy_resp": access_infra_policy_resp_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_isolation_required": access_isolation_required_output, + "access_landing_page_design": access_landing_page_design_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_logo_url": access_logo_url_output, + "access_max_age": access_max_age_output, + "access_message": access_message_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_name-8": access_name_8_output, + "access_name-9": access_name_9_output, + "access_oauth_configuration": access_oauth_configuration_output, + "access_oauth_configuration_dynamic_client_registration": access_oauth_configuration_dynamic_client_registration_output, + "access_oauth_configuration_grant": access_oauth_configuration_grant_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_oidc_saas_app": access_oidc_saas_app_output, + "access_oidc_saas_app_custom_claimsItem": access_oidc_saas_app_custom_claimsItem_output, + "access_oidc_saas_app_custom_claimsItem_source": access_oidc_saas_app_custom_claimsItem_source_output, + "access_oidc_saas_app_hybrid_and_implicit_options": access_oidc_saas_app_hybrid_and_implicit_options_output, + "access_oidc_saas_app_refresh_token_options": access_oidc_saas_app_refresh_token_options_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_options_preflight_bypass": access_options_preflight_bypass_output, + "access_path_cookie_attribute": access_path_cookie_attribute_output, + "access_precedence": access_precedence_output, + "access_protocol_infra_app": access_protocol_infra_app_output, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, + "access_require-2": access_require_2_output, + "access_rule": access_rule_output, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_saml_saas_app": access_saml_saas_app_output, + "access_saml_saas_app_custom_attributesItem": access_saml_saas_app_custom_attributesItem_output, + "access_saml_saas_app_custom_attributesItem_source": access_saml_saas_app_custom_attributesItem_source_output, + "access_saml_saas_app_custom_attributesItem_source_name_by_idpItem": access_saml_saas_app_custom_attributesItem_source_name_by_idpItem_output, + "access_scim_config": access_scim_config_output, + "access_scim_config_authentication": access_scim_config_authentication_output, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, + "access_scim_config_mapping": access_scim_config_mapping_output, + "access_scim_config_mapping_operations": access_scim_config_mapping_operations_output, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, + "access_scim_config_single_authentication": access_scim_config_single_authentication_output, + "access_self_hosted_domains": access_self_hosted_domains_output, + "access_service_auth_401_redirect": access_service_auth_401_redirect_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_session_duration-2": access_session_duration_2_output, + "access_session_duration-3": access_session_duration_3_output, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, + "access_skip_interstitial": access_skip_interstitial_output, + "access_tags": access_tags_output, + "access_target_criteria_infra_app": access_target_criteria_infra_app_output, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, + "access_timestamp": access_timestamp_output, + "access_title": access_title_output, + "access_type": access_type_output, + "access_updated_at": access_updated_at_output, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_usernames": access_usernames_output, + "access_uuid": access_uuid_output, + "access_uuid-2": access_uuid_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}`, }), @@ -572,6 +1126,217 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_app_response" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_allow_all_headers": access_allow_all_headers_output, + "access_allow_all_methods": access_allow_all_methods_output, + "access_allow_all_origins": access_allow_all_origins_output, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, + "access_allow_credentials": access_allow_credentials_output, + "access_allow_email_alias": access_allow_email_alias_output, + "access_allow_iframe": access_allow_iframe_output, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_allowed_headers": access_allowed_headers_output, + "access_allowed_idps": access_allowed_idps_output, + "access_allowed_methods": access_allowed_methods_output, + "access_allowed_origins": access_allowed_origins_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_launcher_logo_url": access_app_launcher_logo_url_output, + "access_app_launcher_visible": access_app_launcher_visible_output, + "access_app_policy_response": access_app_policy_response_output, + "access_app_response": access_app_response_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_aud-2": access_aud_2_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_base_policy_resp": access_base_policy_resp_output, + "access_bg_color": access_bg_color_output, + "access_button_color": access_button_color_output, + "access_button_text_color": access_button_text_color_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_infra": access_connection_rules_infra_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_connection_rules_ssh": access_connection_rules_ssh_output, + "access_cors_headers": access_cors_headers_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_created_at": access_created_at_output, + "access_custom_deny_message": access_custom_deny_message_output, + "access_custom_deny_url": access_custom_deny_url_output, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, + "access_custom_pages-2": access_custom_pages_2_output, + "access_decision": access_decision_output, + "access_destination_overrides": access_destination_overrides_output, + "access_destinations": access_destinations_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain": access_domain_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_enable_binding_cookie": access_enable_binding_cookie_output, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, + "access_end_user_destinations": access_end_user_destinations_output, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, + "access_end_user_public_destination": access_end_user_public_destination_output, + "access_end_user_worker_destination": access_end_user_worker_destination_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude-2": access_exclude_2_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_footer_links": access_footer_links_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_header_bg_color": access_header_bg_color_output, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, + "access_identifier": access_identifier_output, + "access_image_url": access_image_url_output, + "access_include-2": access_include_2_output, + "access_infra_mfa_config": access_infra_mfa_config_output, + "access_infra_policy_resp": access_infra_policy_resp_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_isolation_required": access_isolation_required_output, + "access_landing_page_design": access_landing_page_design_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_logo_url": access_logo_url_output, + "access_max_age": access_max_age_output, + "access_message": access_message_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_name-8": access_name_8_output, + "access_name-9": access_name_9_output, + "access_oauth_configuration": access_oauth_configuration_output, + "access_oauth_configuration_dynamic_client_registration": access_oauth_configuration_dynamic_client_registration_output, + "access_oauth_configuration_grant": access_oauth_configuration_grant_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_oidc_saas_app": access_oidc_saas_app_output, + "access_oidc_saas_app_custom_claimsItem": access_oidc_saas_app_custom_claimsItem_output, + "access_oidc_saas_app_custom_claimsItem_source": access_oidc_saas_app_custom_claimsItem_source_output, + "access_oidc_saas_app_hybrid_and_implicit_options": access_oidc_saas_app_hybrid_and_implicit_options_output, + "access_oidc_saas_app_refresh_token_options": access_oidc_saas_app_refresh_token_options_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_options_preflight_bypass": access_options_preflight_bypass_output, + "access_path_cookie_attribute": access_path_cookie_attribute_output, + "access_precedence": access_precedence_output, + "access_protocol_infra_app": access_protocol_infra_app_output, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, + "access_require-2": access_require_2_output, + "access_rule": access_rule_output, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_saml_saas_app": access_saml_saas_app_output, + "access_saml_saas_app_custom_attributesItem": access_saml_saas_app_custom_attributesItem_output, + "access_saml_saas_app_custom_attributesItem_source": access_saml_saas_app_custom_attributesItem_source_output, + "access_saml_saas_app_custom_attributesItem_source_name_by_idpItem": access_saml_saas_app_custom_attributesItem_source_name_by_idpItem_output, + "access_scim_config": access_scim_config_output, + "access_scim_config_authentication": access_scim_config_authentication_output, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, + "access_scim_config_mapping": access_scim_config_mapping_output, + "access_scim_config_mapping_operations": access_scim_config_mapping_operations_output, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, + "access_scim_config_single_authentication": access_scim_config_single_authentication_output, + "access_self_hosted_domains": access_self_hosted_domains_output, + "access_service_auth_401_redirect": access_service_auth_401_redirect_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_session_duration-2": access_session_duration_2_output, + "access_session_duration-3": access_session_duration_3_output, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, + "access_skip_interstitial": access_skip_interstitial_output, + "access_tags": access_tags_output, + "access_target_criteria_infra_app": access_target_criteria_infra_app_output, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, + "access_timestamp": access_timestamp_output, + "access_title": access_title_output, + "access_type": access_type_output, + "access_updated_at": access_updated_at_output, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_usernames": access_usernames_output, + "access_uuid": access_uuid_output, + "access_uuid-2": access_uuid_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps`, query: [ @@ -630,6 +1395,27 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Write" ] }, + responses: { + schemas: { + "202": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}/revoke_tokens`, }), @@ -852,6 +1638,186 @@ export const tools: readonly Tool[] = [ ], "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_app_response" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_allow_all_headers": access_allow_all_headers_output, + "access_allow_all_methods": access_allow_all_methods_output, + "access_allow_all_origins": access_allow_all_origins_output, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, + "access_allow_credentials": access_allow_credentials_output, + "access_allow_email_alias": access_allow_email_alias_output, + "access_allow_iframe": access_allow_iframe_output, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_allowed_headers": access_allowed_headers_output, + "access_allowed_idps": access_allowed_idps_output, + "access_allowed_methods": access_allowed_methods_output, + "access_allowed_origins": access_allowed_origins_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_launcher_logo_url": access_app_launcher_logo_url_output, + "access_app_launcher_visible": access_app_launcher_visible_output, + "access_app_policy_response": access_app_policy_response_output, + "access_app_response": access_app_response_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_aud-2": access_aud_2_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_base_policy_resp": access_base_policy_resp_output, + "access_bg_color": access_bg_color_output, + "access_button_color": access_button_color_output, + "access_button_text_color": access_button_text_color_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_infra": access_connection_rules_infra_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_connection_rules_ssh": access_connection_rules_ssh_output, + "access_cors_headers": access_cors_headers_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_created_at": access_created_at_output, + "access_custom_deny_message": access_custom_deny_message_output, + "access_custom_deny_url": access_custom_deny_url_output, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, + "access_custom_pages-2": access_custom_pages_2_output, + "access_decision": access_decision_output, + "access_destination_overrides": access_destination_overrides_output, + "access_destinations": access_destinations_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain": access_domain_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_enable_binding_cookie": access_enable_binding_cookie_output, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, + "access_end_user_destinations": access_end_user_destinations_output, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, + "access_end_user_public_destination": access_end_user_public_destination_output, + "access_end_user_worker_destination": access_end_user_worker_destination_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude-2": access_exclude_2_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_footer_links": access_footer_links_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_header_bg_color": access_header_bg_color_output, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, + "access_identifier": access_identifier_output, + "access_image_url": access_image_url_output, + "access_include-2": access_include_2_output, + "access_infra_mfa_config": access_infra_mfa_config_output, + "access_infra_policy_resp": access_infra_policy_resp_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_isolation_required": access_isolation_required_output, + "access_landing_page_design": access_landing_page_design_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_logo_url": access_logo_url_output, + "access_max_age": access_max_age_output, + "access_message": access_message_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_name-8": access_name_8_output, + "access_name-9": access_name_9_output, + "access_oauth_configuration": access_oauth_configuration_output, + "access_oauth_configuration_dynamic_client_registration": access_oauth_configuration_dynamic_client_registration_output, + "access_oauth_configuration_grant": access_oauth_configuration_grant_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_oidc_saas_app": access_oidc_saas_app_output, + "access_oidc_saas_app_custom_claimsItem": access_oidc_saas_app_custom_claimsItem_output, + "access_oidc_saas_app_custom_claimsItem_source": access_oidc_saas_app_custom_claimsItem_source_output, + "access_oidc_saas_app_hybrid_and_implicit_options": access_oidc_saas_app_hybrid_and_implicit_options_output, + "access_oidc_saas_app_refresh_token_options": access_oidc_saas_app_refresh_token_options_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_options_preflight_bypass": access_options_preflight_bypass_output, + "access_path_cookie_attribute": access_path_cookie_attribute_output, + "access_precedence": access_precedence_output, + "access_protocol_infra_app": access_protocol_infra_app_output, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, + "access_require-2": access_require_2_output, + "access_rule": access_rule_output, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_saml_saas_app": access_saml_saas_app_output, + "access_saml_saas_app_custom_attributesItem": access_saml_saas_app_custom_attributesItem_output, + "access_saml_saas_app_custom_attributesItem_source": access_saml_saas_app_custom_attributesItem_source_output, + "access_saml_saas_app_custom_attributesItem_source_name_by_idpItem": access_saml_saas_app_custom_attributesItem_source_name_by_idpItem_output, + "access_scim_config": access_scim_config_output, + "access_scim_config_authentication": access_scim_config_authentication_output, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, + "access_scim_config_mapping": access_scim_config_mapping_output, + "access_scim_config_mapping_operations": access_scim_config_mapping_operations_output, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, + "access_scim_config_single_authentication": access_scim_config_single_authentication_output, + "access_self_hosted_domains": access_self_hosted_domains_output, + "access_service_auth_401_redirect": access_service_auth_401_redirect_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_session_duration-2": access_session_duration_2_output, + "access_session_duration-3": access_session_duration_3_output, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, + "access_skip_interstitial": access_skip_interstitial_output, + "access_tags": access_tags_output, + "access_target_criteria_infra_app": access_target_criteria_infra_app_output, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, + "access_timestamp": access_timestamp_output, + "access_title": access_title_output, + "access_type": access_type_output, + "access_updated_at": access_updated_at_output, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_usernames": access_usernames_output, + "access_uuid": access_uuid_output, + "access_uuid-2": access_uuid_2_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts index 5a2b6d48..6fa8aa51 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, + access_uuid_output, +} from "../../../outputs.js"; /** * The tools of `zero_trust.access.applications.user_policy_checks`. @@ -51,6 +56,92 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "app_state": { + "properties": { + "app_uid": { + "$ref": "#/$defs/access_uuid" + }, + "aud": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "name": { + "type": "string" + }, + "policies": { + "items": { + "type": "object" + }, + "type": "array" + }, + "status": { + "type": "string" + } + }, + "type": "object" + }, + "user_identity": { + "properties": { + "account_id": { + "type": "string" + }, + "device_sessions": { + "type": "object" + }, + "email": { + "type": "string" + }, + "geo": { + "properties": { + "country": { + "type": "string" + } + }, + "type": "object" + }, + "iat": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "is_gateway": { + "type": "boolean" + }, + "is_warp": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "user_uuid": { + "$ref": "#/$defs/access_uuid" + }, + "version": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}/user_policy_checks`, }), diff --git a/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts new file mode 100644 index 00000000..13ea8b20 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts @@ -0,0 +1,200 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_app_count-2` in responses. + */ +export const access_app_count_2_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_contract_version` in responses. + */ +export const access_contract_version_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_custom_page` in responses. + */ +export const access_custom_page_output: JsonSchema = { + "properties": { + "app_count": { + "$ref": "#/$defs/access_app_count-2" + }, + "contract_version": { + "$ref": "#/$defs/access_contract_version" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_html": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/access_name-11" + }, + "type": { + "$ref": "#/$defs/access_type-2" + }, + "uid": { + "$ref": "#/$defs/access_uuid" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "custom_html", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_custom_page_without_html` in responses. + */ +export const access_custom_page_without_html_output: JsonSchema = { + "properties": { + "app_count": { + "$ref": "#/$defs/access_app_count-2" + }, + "contract_version": { + "$ref": "#/$defs/access_contract_version" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "name": { + "$ref": "#/$defs/access_name-11" + }, + "type": { + "$ref": "#/$defs/access_type-2" + }, + "uid": { + "$ref": "#/$defs/access_uuid" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + }, + "warnings": { + "items": { + "$ref": "#/$defs/access_template_violation" + }, + "type": "array" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_name-11` in responses. + */ +export const access_name_11_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_template_violation` in responses. + */ +export const access_template_violation_output: JsonSchema = { + "properties": { + "message": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "tier": { + "type": "string" + } + }, + "required": [ + "message", + "tier" + ], + "type": "object" +}; + +/** + * The schema of `access_type-2` in responses. + */ +export const access_type_2_output: JsonSchema = { + "enum": [ + "identity_denied", + "forbidden", + "login", + "interstitial" + ], + "type": "string" +}; + +/** + * The schema of `access_validate_response` in responses. + */ +export const access_validate_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/access_messages" + }, + "messages": { + "$ref": "#/$defs/access_messages" + }, + "result": { + "$ref": "#/$defs/access_validation_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `access_validation_result` in responses. + */ +export const access_validation_result_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/access_template_violation" + }, + "type": "array" + }, + "page_type": { + "$ref": "#/$defs/access_type-2" + }, + "version": { + "type": "integer" + }, + "warnings": { + "items": { + "$ref": "#/$defs/access_template_violation" + }, + "type": "array" + } + }, + "required": [ + "errors", + "page_type", + "version", + "warnings" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts b/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts index 2c9ec139..c454296f 100644 --- a/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts @@ -2,12 +2,31 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_created_at_output, + access_messages_output, + access_timestamp_output, + access_updated_at_output, + access_uuid_output, +} from "../../outputs.js"; import { access_created_at, access_timestamp, access_updated_at, access_uuid, } from "../../schemas.js"; +import { + access_app_count_2_output, + access_contract_version_output, + access_custom_page_output, + access_custom_page_without_html_output, + access_name_11_output, + access_template_violation_output, + access_type_2_output, + access_validate_response_output, + access_validation_result_output, +} from "./outputs.js"; import { access_app_count_2, access_contract_version, @@ -65,6 +84,35 @@ export const tools: readonly Tool[] = [ "Access: Custom Pages Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_custom_page_without_html" + }, + "422": { + "$ref": "#/$defs/access_validate_response" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_count-2": access_app_count_2_output, + "access_contract_version": access_contract_version_output, + "access_created_at": access_created_at_output, + "access_custom_page_without_html": access_custom_page_without_html_output, + "access_messages": access_messages_output, + "access_name-11": access_name_11_output, + "access_template_violation": access_template_violation_output, + "access_timestamp": access_timestamp_output, + "access_type-2": access_type_2_output, + "access_updated_at": access_updated_at_output, + "access_uuid": access_uuid_output, + "access_validate_response": access_validate_response_output, + "access_validation_result": access_validation_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/custom_pages`, body: { value: args["body"], mediaType: "application/json" }, @@ -105,6 +153,26 @@ export const tools: readonly Tool[] = [ "Access: Custom Pages Write" ] }, + responses: { + schemas: { + "202": { + "properties": { + "id": { + "$ref": "#/$defs/access_uuid" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/custom_pages/${pathParam(args, "custom_page_id")}`, }), @@ -145,6 +213,29 @@ export const tools: readonly Tool[] = [ "Access: Custom Pages Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_custom_page" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_count-2": access_app_count_2_output, + "access_contract_version": access_contract_version_output, + "access_created_at": access_created_at_output, + "access_custom_page": access_custom_page_output, + "access_messages": access_messages_output, + "access_name-11": access_name_11_output, + "access_timestamp": access_timestamp_output, + "access_type-2": access_type_2_output, + "access_updated_at": access_updated_at_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/custom_pages/${pathParam(args, "custom_page_id")}`, }), @@ -190,6 +281,61 @@ export const tools: readonly Tool[] = [ "Access: Custom Pages Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_custom_page_without_html" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_count-2": access_app_count_2_output, + "access_contract_version": access_contract_version_output, + "access_created_at": access_created_at_output, + "access_custom_page_without_html": access_custom_page_without_html_output, + "access_messages": access_messages_output, + "access_name-11": access_name_11_output, + "access_template_violation": access_template_violation_output, + "access_timestamp": access_timestamp_output, + "access_type-2": access_type_2_output, + "access_updated_at": access_updated_at_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/custom_pages`, query: [ @@ -247,6 +393,35 @@ export const tools: readonly Tool[] = [ "Access: Custom Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_custom_page_without_html" + }, + "422": { + "$ref": "#/$defs/access_validate_response" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_count-2": access_app_count_2_output, + "access_contract_version": access_contract_version_output, + "access_created_at": access_created_at_output, + "access_custom_page_without_html": access_custom_page_without_html_output, + "access_messages": access_messages_output, + "access_name-11": access_name_11_output, + "access_template_violation": access_template_violation_output, + "access_timestamp": access_timestamp_output, + "access_type-2": access_type_2_output, + "access_updated_at": access_updated_at_output, + "access_uuid": access_uuid_output, + "access_validate_response": access_validate_response_output, + "access_validation_result": access_validation_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/custom_pages/${pathParam(args, "custom_page_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -289,6 +464,23 @@ export const tools: readonly Tool[] = [ "Access: Custom Pages Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_validation_result" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_template_violation": access_template_violation_output, + "access_type-2": access_type_2_output, + "access_validation_result": access_validation_result_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/custom_pages/validate`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts new file mode 100644 index 00000000..5cb3aeae --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts @@ -0,0 +1,68 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_public_key` in responses. + */ +export const zero_trust_gateway_public_key_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_settings` in responses. + */ +export const zero_trust_gateway_settings_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "public_key": { + "$ref": "#/$defs/zero-trust-gateway_public_key" + }, + "seed_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-5" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_single_response-6` in responses. + */ +export const zero_trust_gateway_single_response_6_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_settings" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_uuid-5` in responses. + */ +export const zero_trust_gateway_uuid_5_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts index 442f5ce5..cf673d94 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, + zero_trust_gateway_read_only_timestamp_output, +} from "../../../outputs.js"; +import { + zero_trust_gateway_public_key_output, + zero_trust_gateway_settings_output, + zero_trust_gateway_single_response_6_output, + zero_trust_gateway_uuid_5_output, +} from "./outputs.js"; import { zero_trust_gateway_public_key } from "./schemas.js"; /** @@ -33,6 +44,32 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/audit_ssh_settings", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-6" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_public_key": zero_trust_gateway_public_key_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_settings": zero_trust_gateway_settings_output, + "zero-trust-gateway_single_response-6": zero_trust_gateway_single_response_6_output, + "zero-trust-gateway_uuid-5": zero_trust_gateway_uuid_5_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/audit_ssh_settings`, }), @@ -62,6 +99,32 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/gateway/audit_ssh_settings/rotate_seed", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-6" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_public_key": zero_trust_gateway_public_key_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_settings": zero_trust_gateway_settings_output, + "zero-trust-gateway_single_response-6": zero_trust_gateway_single_response_6_output, + "zero-trust-gateway_uuid-5": zero_trust_gateway_uuid_5_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/audit_ssh_settings/rotate_seed`, }), @@ -107,6 +170,32 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/gateway/audit_ssh_settings", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-6" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_public_key": zero_trust_gateway_public_key_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_settings": zero_trust_gateway_settings_output, + "zero-trust-gateway_single_response-6": zero_trust_gateway_single_response_6_output, + "zero-trust-gateway_uuid-5": zero_trust_gateway_uuid_5_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/audit_ssh_settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/outputs.ts new file mode 100644 index 00000000..f6c72355 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_certificates-2` in responses. + */ +export const access_certificates_2_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "public_key": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts index 59dc3035..b0c74ea1 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, + access_uuid_output, +} from "../../../outputs.js"; +import { access_certificates_2_output } from "./outputs.js"; /** * The tools of `zero_trust.access.infrastructure.ssh_ca`. @@ -37,6 +43,21 @@ export const tools: readonly Tool[] = [ "Access: SSH Auditing Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_certificates-2" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_certificates-2": access_certificates_2_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/gateway_ca`, }), @@ -76,6 +97,26 @@ export const tools: readonly Tool[] = [ "Access: SSH Auditing Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/access_uuid" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/gateway_ca/${pathParam(args, "certificate_id")}`, }), @@ -111,6 +152,52 @@ export const tools: readonly Tool[] = [ "Access: SSH Auditing Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_certificates-2" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_certificates-2": access_certificates_2_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/gateway_ca`, }), diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts new file mode 100644 index 00000000..0475bcd7 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts @@ -0,0 +1,96 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_access-requests` in responses. + */ +export const access_access_requests_output: JsonSchema = { + "properties": { + "action": { + "$ref": "#/$defs/access_action" + }, + "allowed": { + "$ref": "#/$defs/access_allowed" + }, + "app_domain": { + "$ref": "#/$defs/access_app_domain" + }, + "app_uid": { + "$ref": "#/$defs/access_app_uid" + }, + "connection": { + "$ref": "#/$defs/access_connection" + }, + "created_at": { + "$ref": "#/$defs/access_timestamp" + }, + "ip_address": { + "$ref": "#/$defs/access_ip" + }, + "ray_id": { + "$ref": "#/$defs/access_ray_id" + }, + "user_email": { + "$ref": "#/$defs/access_email-3" + } + }, + "type": "object" +}; + +/** + * The schema of `access_action` in responses. + */ +export const access_action_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_allowed` in responses. + */ +export const access_allowed_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_app_domain` in responses. + */ +export const access_app_domain_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_app_uid` in responses. + */ +export const access_app_uid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_connection` in responses. + */ +export const access_connection_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_email-3` in responses. + */ +export const access_email_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_ip` in responses. + */ +export const access_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_ray_id` in responses. + */ +export const access_ray_id_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts index 0cee34c4..8e0edb91 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, + access_timestamp_output, +} from "../../../outputs.js"; +import { + access_access_requests_output, + access_action_output, + access_allowed_output, + access_app_domain_output, + access_app_uid_output, + access_connection_output, + access_email_3_output, + access_ip_output, + access_ray_id_output, +} from "./outputs.js"; import { access_email_3, access_user_id } from "./schemas.js"; /** @@ -177,6 +193,44 @@ export const tools: readonly Tool[] = [ "Access: Audit Logs Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_access-requests" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access-requests": access_access_requests_output, + "access_action": access_action_output, + "access_allowed": access_allowed_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_domain": access_app_domain_output, + "access_app_uid": access_app_uid_output, + "access_connection": access_connection_output, + "access_email-3": access_email_3_output, + "access_ip": access_ip_output, + "access_messages": access_messages_output, + "access_ray_id": access_ray_id_output, + "access_timestamp": access_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/logs/access_requests`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts new file mode 100644 index 00000000..154f0bd1 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts @@ -0,0 +1,160 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_jit_request_event` in responses. + */ +export const access_jit_request_event_output: JsonSchema = { + "properties": { + "actor_email": { + "type": "string" + }, + "actor_idp": { + "type": "string" + }, + "actor_uuid": { + "format": "uuid", + "type": "string" + }, + "decision_outcome": { + "type": "string" + }, + "ray_id": { + "type": "string" + }, + "session_duration_seconds": { + "type": "integer" + }, + "success": { + "type": "boolean" + }, + "timestamp": { + "$ref": "#/$defs/access_timestamp" + }, + "type": { + "$ref": "#/$defs/access_jit_request_event_type" + } + }, + "type": "object" +}; + +/** + * The schema of `access_jit_request_event_type` in responses. + */ +export const access_jit_request_event_type_output: JsonSchema = { + "enum": [ + "CREATED", + "APPROVER_DECISION", + "COMMITTED", + "CANCELED", + "LOGIN_SUCCESS", + "REDIRECT_TO_ACTIVE" + ], + "type": "string" +}; + +/** + * The schema of `access_jit_request_log` in responses. + */ +export const access_jit_request_log_output: JsonSchema = { + "properties": { + "app_aud": { + "type": "string" + }, + "app_hostname": { + "type": "string" + }, + "approvals_received": { + "type": "integer" + }, + "approver_emails": { + "items": { + "type": "string" + }, + "type": "array" + }, + "created_at": { + "$ref": "#/$defs/access_timestamp" + }, + "expires_at": { + "$ref": "#/$defs/access_timestamp" + }, + "knock_request_id": { + "type": "string" + }, + "purpose_justification": { + "type": "string" + }, + "requester_email": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/access_jit_request_status" + } + }, + "type": "object" +}; + +/** + * The schema of `access_jit_request_log_detail` in responses. + */ +export const access_jit_request_log_detail_output: JsonSchema = { + "properties": { + "app_aud": { + "type": "string" + }, + "app_hostname": { + "type": "string" + }, + "approvals_received": { + "type": "integer" + }, + "approver_emails": { + "items": { + "type": "string" + }, + "type": "array" + }, + "created_at": { + "$ref": "#/$defs/access_timestamp" + }, + "events": { + "items": { + "$ref": "#/$defs/access_jit_request_event" + }, + "type": "array" + }, + "expires_at": { + "$ref": "#/$defs/access_timestamp" + }, + "knock_request_id": { + "type": "string" + }, + "purpose_justification": { + "type": "string" + }, + "requester_email": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/access_jit_request_status" + } + }, + "type": "object" +}; + +/** + * The schema of `access_jit_request_status` in responses. + */ +export const access_jit_request_status_output: JsonSchema = { + "enum": [ + "PENDING", + "APPROVED", + "DENIED", + "CANCELED", + "SPENT" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts index 3fcf098f..02e51fc8 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, + access_timestamp_output, +} from "../../../outputs.js"; +import { + access_jit_request_event_output, + access_jit_request_event_type_output, + access_jit_request_log_detail_output, + access_jit_request_log_output, + access_jit_request_status_output, +} from "./outputs.js"; import { access_jit_request_status } from "./schemas.js"; /** @@ -38,6 +50,28 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/logs/jit_requests/{knock_request_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_jit_request_log_detail" + }, + "404": { + "$ref": "#/$defs/access_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_jit_request_event": access_jit_request_event_output, + "access_jit_request_event_type": access_jit_request_event_type_output, + "access_jit_request_log_detail": access_jit_request_log_detail_output, + "access_jit_request_status": access_jit_request_status_output, + "access_messages": access_messages_output, + "access_timestamp": access_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/logs/jit_requests/${pathParam(args, "knock_request_id")}`, }), @@ -98,6 +132,54 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/logs/jit_requests", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_jit_request_log" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_jit_request_log": access_jit_request_log_output, + "access_jit_request_status": access_jit_request_status_output, + "access_messages": access_messages_output, + "access_timestamp": access_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/logs/jit_requests`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts new file mode 100644 index 00000000..f50f3f92 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts @@ -0,0 +1,46 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of `access_responses` in responses. + */ +export const access_responses_output: JsonSchema = { + "properties": { + "cf_resource_id": { + "type": "string" + }, + "error_description": { + "type": "string" + }, + "idp_id": { + "type": "string" + }, + "idp_resource_id": { + "type": "string" + }, + "logged_at": { + "$ref": "#/$defs/access_timestamp" + }, + "request_body": { + "type": "string" + }, + "request_method": { + "type": "string" + }, + "resource_group_name": { + "type": "string" + }, + "resource_type": { + "type": "string" + }, + "resource_user_email": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts index f75901ea..62d4e71b 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, + access_timestamp_output, +} from "../../../../outputs.js"; +import { access_responses_output } from "./outputs.js"; import { access_cf_resource_id_3, access_direction, @@ -126,6 +132,53 @@ export const tools: readonly Tool[] = [ "Access: SCIM Logs Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_responses" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_responses": access_responses_output, + "access_timestamp": access_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/logs/scim/updates`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts new file mode 100644 index 00000000..acef94a2 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts @@ -0,0 +1,38 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_aaguid` in responses. + */ +export const access_aaguid_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `access_authenticator_device_aaguid` in responses. + */ +export const access_authenticator_device_aaguid_output: JsonSchema = { + "properties": { + "aaguid": { + "$ref": "#/$defs/access_aaguid" + }, + "name": { + "$ref": "#/$defs/access_name-14" + } + }, + "required": [ + "aaguid", + "name" + ], + "type": "object" +}; + +/** + * The schema of `access_name-14` in responses. + */ +export const access_name_14_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts index 27cb3057..0438c1b6 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; +import { + access_aaguid_output, + access_authenticator_device_aaguid_output, + access_name_14_output, +} from "./outputs.js"; /** * The tools of `zero_trust.access.mfa.authenticator_catalog`. @@ -32,6 +41,54 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/authenticator_device_aaguids", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_authenticator_device_aaguid" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_aaguid": access_aaguid_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_authenticator_device_aaguid": access_authenticator_device_aaguid_output, + "access_messages": access_messages_output, + "access_name-14": access_name_14_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/authenticator_device_aaguids`, }), diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts new file mode 100644 index 00000000..fd951abb --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts @@ -0,0 +1,58 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_associated_hostnames` in responses. + */ +export const access_associated_hostnames_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `access_certificates` in responses. + */ +export const access_certificates_output: JsonSchema = { + "properties": { + "associated_hostnames": { + "$ref": "#/$defs/access_associated_hostnames" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "expires_on": { + "$ref": "#/$defs/access_timestamp" + }, + "fingerprint": { + "$ref": "#/$defs/access_fingerprint" + }, + "id": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/access_name-7" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "type": "object" +}; + +/** + * The schema of `access_fingerprint` in responses. + */ +export const access_fingerprint_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_name-7` in responses. + */ +export const access_name_7_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/outputs.ts new file mode 100644 index 00000000..898acb06 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/outputs.ts @@ -0,0 +1,27 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_settings` in responses. + */ +export const access_settings_output: JsonSchema = { + "properties": { + "china_network": { + "type": "boolean" + }, + "client_certificate_forwarding": { + "type": "boolean" + }, + "hostname": { + "type": "string" + } + }, + "required": [ + "china_network", + "client_certificate_forwarding", + "hostname" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts index d2e32fc5..82016e47 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; +import { access_settings_output } from "./outputs.js"; import { access_settings } from "./schemas.js"; /** @@ -48,6 +53,52 @@ export const tools: readonly Tool[] = [ "Access: Mutual TLS Certificates Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_settings" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_settings": access_settings_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/certificates/settings`, }), @@ -109,6 +160,52 @@ export const tools: readonly Tool[] = [ "Access: Mutual TLS Certificates Write" ] }, + responses: { + schemas: { + "202": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_settings" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_settings": access_settings_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/certificates/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts index 3e6682e3..f4b49dc5 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_created_at_output, + access_messages_output, + access_timestamp_output, + access_updated_at_output, + access_uuid_output, +} from "../../outputs.js"; +import { + access_associated_hostnames_output, + access_certificates_output, + access_fingerprint_output, + access_name_7_output, +} from "./outputs.js"; import { access_associated_hostnames, access_name_7 } from "./schemas.js"; /** @@ -73,6 +87,27 @@ export const tools: readonly Tool[] = [ "Access: Mutual TLS Certificates Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_certificates" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_associated_hostnames": access_associated_hostnames_output, + "access_certificates": access_certificates_output, + "access_created_at": access_created_at_output, + "access_fingerprint": access_fingerprint_output, + "access_messages": access_messages_output, + "access_name-7": access_name_7_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/certificates`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +157,26 @@ export const tools: readonly Tool[] = [ "Access: Mutual TLS Certificates Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/access_uuid" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/certificates/${pathParam(args, "certificate_id")}`, }), @@ -171,6 +226,27 @@ export const tools: readonly Tool[] = [ "Access: Mutual TLS Certificates Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_certificates" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_associated_hostnames": access_associated_hostnames_output, + "access_certificates": access_certificates_output, + "access_created_at": access_created_at_output, + "access_fingerprint": access_fingerprint_output, + "access_messages": access_messages_output, + "access_name-7": access_name_7_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/certificates/${pathParam(args, "certificate_id")}`, }), @@ -225,6 +301,58 @@ export const tools: readonly Tool[] = [ "Access: Mutual TLS Certificates Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_certificates" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_associated_hostnames": access_associated_hostnames_output, + "access_certificates": access_certificates_output, + "access_created_at": access_created_at_output, + "access_fingerprint": access_fingerprint_output, + "access_messages": access_messages_output, + "access_name-7": access_name_7_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/certificates`, query: [ @@ -298,6 +426,27 @@ export const tools: readonly Tool[] = [ "Access: Mutual TLS Certificates Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_certificates" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_associated_hostnames": access_associated_hostnames_output, + "access_certificates": access_certificates_output, + "access_created_at": access_created_at_output, + "access_fingerprint": access_fingerprint_output, + "access_messages": access_messages_output, + "access_name-7": access_name_7_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/certificates/${pathParam(args, "certificate_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/outputs.ts new file mode 100644 index 00000000..40761986 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/outputs.ts @@ -0,0 +1,1119 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `access_access_group_rule` in responses. + */ +export const access_access_group_rule_output: JsonSchema = { + "properties": { + "group": { + "$ref": "#/$defs/access_access_group_rule_group" + } + }, + "required": [ + "group" + ], + "type": "object" +}; + +/** + * The schema of `access_access_group_rule_group` in responses. + */ +export const access_access_group_rule_group_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `access_allowed_clipboard_local_to_remote_formats` in + * responses. + */ +export const access_allowed_clipboard_local_to_remote_formats_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_rdp_clipboard_format" + }, + "type": "array" +}; + +/** + * The schema of `access_allowed_clipboard_remote_to_local_formats` in + * responses. + */ +export const access_allowed_clipboard_remote_to_local_formats_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_rdp_clipboard_format" + }, + "type": "array" +}; + +/** + * The schema of `access_any_valid_service_token_rule` in responses. + */ +export const access_any_valid_service_token_rule_output: JsonSchema = { + "properties": { + "any_valid_service_token": { + "type": "object" + } + }, + "required": [ + "any_valid_service_token" + ], + "type": "object" +}; + +/** + * The schema of `access_approval_group` in responses. + */ +export const access_approval_group_output: JsonSchema = { + "properties": { + "approvals_needed": { + "type": "number" + }, + "email_addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "email_list_uuid": { + "type": "string" + } + }, + "required": [ + "approvals_needed" + ], + "type": "object" +}; + +/** + * The schema of `access_approval_groups` in responses. + */ +export const access_approval_groups_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_approval_group" + }, + "type": "array" +}; + +/** + * The schema of `access_approval_required` in responses. + */ +export const access_approval_required_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_auth_context_rule` in responses. + */ +export const access_auth_context_rule_output: JsonSchema = { + "properties": { + "auth_context": { + "$ref": "#/$defs/access_auth_context_rule_auth_context" + } + }, + "required": [ + "auth_context" + ], + "type": "object" +}; + +/** + * The schema of `access_auth_context_rule_auth_context` in responses. + */ +export const access_auth_context_rule_auth_context_output: JsonSchema = { + "properties": { + "ac_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "identity_provider_id": { + "type": "string" + } + }, + "required": [ + "ac_id", + "id", + "identity_provider_id" + ], + "type": "object" +}; + +/** + * The schema of `access_authentication_method_rule` in responses. + */ +export const access_authentication_method_rule_output: JsonSchema = { + "properties": { + "auth_method": { + "$ref": "#/$defs/access_authentication_method_rule_auth_method" + } + }, + "required": [ + "auth_method" + ], + "type": "object" +}; + +/** + * The schema of `access_authentication_method_rule_auth_method` in responses. + */ +export const access_authentication_method_rule_auth_method_output: JsonSchema = { + "properties": { + "auth_method": { + "type": "string" + } + }, + "required": [ + "auth_method" + ], + "type": "object" +}; + +/** + * The schema of `access_azure_group_rule` in responses. + */ +export const access_azure_group_rule_output: JsonSchema = { + "properties": { + "azureAD": { + "$ref": "#/$defs/access_azure_group_rule_azureAD" + } + }, + "required": [ + "azureAD" + ], + "type": "object" +}; + +/** + * The schema of `access_azure_group_rule_azureAD` in responses. + */ +export const access_azure_group_rule_azureAD_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "identity_provider_id": { + "type": "string" + } + }, + "required": [ + "id", + "identity_provider_id" + ], + "type": "object" +}; + +/** + * The schema of `access_certificate_rule` in responses. + */ +export const access_certificate_rule_output: JsonSchema = { + "properties": { + "certificate": { + "type": "object" + } + }, + "required": [ + "certificate" + ], + "type": "object" +}; + +/** + * The schema of `access_cloudflare_account_member_rule` in responses. + */ +export const access_cloudflare_account_member_rule_output: JsonSchema = { + "properties": { + "cloudflare_account_member": { + "$ref": "#/$defs/access_cloudflare_account_member_rule_cloudflare_account_member" + } + }, + "required": [ + "cloudflare_account_member" + ], + "type": "object" +}; + +/** + * The schema of + * `access_cloudflare_account_member_rule_cloudflare_account_member` in + * responses. + */ +export const access_cloudflare_account_member_rule_cloudflare_account_member_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier" + } + }, + "type": "object" +}; + +/** + * The schema of `access_common_name_rule` in responses. + */ +export const access_common_name_rule_output: JsonSchema = { + "properties": { + "common_name": { + "$ref": "#/$defs/access_common_name_rule_common_name" + } + }, + "required": [ + "common_name" + ], + "type": "object" +}; + +/** + * The schema of `access_common_name_rule_common_name` in responses. + */ +export const access_common_name_rule_common_name_output: JsonSchema = { + "properties": { + "common_name": { + "type": "string" + } + }, + "required": [ + "common_name" + ], + "type": "object" +}; + +/** + * The schema of `access_connection_rules` in responses. + */ +export const access_connection_rules_output: JsonSchema = { + "properties": { + "rdp": { + "$ref": "#/$defs/access_connection_rules_rdp" + } + }, + "type": "object" +}; + +/** + * The schema of `access_connection_rules_rdp` in responses. + */ +export const access_connection_rules_rdp_output: JsonSchema = { + "properties": { + "allowed_clipboard_local_to_remote_formats": { + "$ref": "#/$defs/access_allowed_clipboard_local_to_remote_formats" + }, + "allowed_clipboard_remote_to_local_formats": { + "$ref": "#/$defs/access_allowed_clipboard_remote_to_local_formats" + } + }, + "type": "object" +}; + +/** + * The schema of `access_country_rule` in responses. + */ +export const access_country_rule_output: JsonSchema = { + "properties": { + "geo": { + "$ref": "#/$defs/access_country_rule_geo" + } + }, + "required": [ + "geo" + ], + "type": "object" +}; + +/** + * The schema of `access_country_rule_geo` in responses. + */ +export const access_country_rule_geo_output: JsonSchema = { + "properties": { + "country_code": { + "type": "string" + } + }, + "required": [ + "country_code" + ], + "type": "object" +}; + +/** + * The schema of `access_decision` in responses. + */ +export const access_decision_output: JsonSchema = { + "enum": [ + "allow", + "deny", + "non_identity", + "bypass" + ], + "type": "string" +}; + +/** + * The schema of `access_device_posture_rule` in responses. + */ +export const access_device_posture_rule_output: JsonSchema = { + "properties": { + "device_posture": { + "$ref": "#/$defs/access_device_posture_rule_device_posture" + } + }, + "required": [ + "device_posture" + ], + "type": "object" +}; + +/** + * The schema of `access_device_posture_rule_device_posture` in responses. + */ +export const access_device_posture_rule_device_posture_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier" + }, + "integration_uid": { + "type": "string" + } + }, + "required": [ + "integration_uid" + ], + "type": "object" +}; + +/** + * The schema of `access_domain_rule` in responses. + */ +export const access_domain_rule_output: JsonSchema = { + "properties": { + "email_domain": { + "$ref": "#/$defs/access_domain_rule_email_domain" + } + }, + "required": [ + "email_domain" + ], + "type": "object" +}; + +/** + * The schema of `access_domain_rule_email_domain` in responses. + */ +export const access_domain_rule_email_domain_output: JsonSchema = { + "properties": { + "domain": { + "type": "string" + } + }, + "required": [ + "domain" + ], + "type": "object" +}; + +/** + * The schema of `access_email-2` in responses. + */ +export const access_email_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_email_list_rule` in responses. + */ +export const access_email_list_rule_output: JsonSchema = { + "properties": { + "email_list": { + "$ref": "#/$defs/access_email_list_rule_email_list" + } + }, + "required": [ + "email_list" + ], + "type": "object" +}; + +/** + * The schema of `access_email_list_rule_email_list` in responses. + */ +export const access_email_list_rule_email_list_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `access_email_rule` in responses. + */ +export const access_email_rule_output: JsonSchema = { + "properties": { + "email": { + "$ref": "#/$defs/access_email_rule_email" + } + }, + "required": [ + "email" + ], + "type": "object" +}; + +/** + * The schema of `access_email_rule_email` in responses. + */ +export const access_email_rule_email_output: JsonSchema = { + "properties": { + "email": { + "type": "string" + } + }, + "required": [ + "email" + ], + "type": "object" +}; + +/** + * The schema of `access_everyone_rule` in responses. + */ +export const access_everyone_rule_output: JsonSchema = { + "properties": { + "everyone": { + "type": "object" + } + }, + "required": [ + "everyone" + ], + "type": "object" +}; + +/** + * The schema of `access_exclude-2` in responses. + */ +export const access_exclude_2_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_rule" + }, + "type": "array" +}; + +/** + * The schema of `access_external_evaluation_rule` in responses. + */ +export const access_external_evaluation_rule_output: JsonSchema = { + "properties": { + "external_evaluation": { + "$ref": "#/$defs/access_external_evaluation_rule_external_evaluation" + } + }, + "required": [ + "external_evaluation" + ], + "type": "object" +}; + +/** + * The schema of `access_external_evaluation_rule_external_evaluation` in + * responses. + */ +export const access_external_evaluation_rule_external_evaluation_output: JsonSchema = { + "properties": { + "evaluate_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + } + }, + "required": [ + "evaluate_url", + "keys_url" + ], + "type": "object" +}; + +/** + * The schema of `access_github_organization_rule` in responses. + */ +export const access_github_organization_rule_output: JsonSchema = { + "properties": { + "github-organization": { + "$ref": "#/$defs/access_github_organization_rule_github-organization" + } + }, + "required": [ + "github-organization" + ], + "type": "object" +}; + +/** + * The schema of `access_github_organization_rule_github-organization` in + * responses. + */ +export const access_github_organization_rule_github_organization_output: JsonSchema = { + "properties": { + "identity_provider_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "team": { + "type": "string" + } + }, + "required": [ + "identity_provider_id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `access_gsuite_group_rule` in responses. + */ +export const access_gsuite_group_rule_output: JsonSchema = { + "properties": { + "gsuite": { + "$ref": "#/$defs/access_gsuite_group_rule_gsuite" + } + }, + "required": [ + "gsuite" + ], + "type": "object" +}; + +/** + * The schema of `access_gsuite_group_rule_gsuite` in responses. + */ +export const access_gsuite_group_rule_gsuite_output: JsonSchema = { + "properties": { + "email": { + "type": "string" + }, + "identity_provider_id": { + "type": "string" + } + }, + "required": [ + "email", + "identity_provider_id" + ], + "type": "object" +}; + +/** + * The schema of `access_include-2` in responses. + */ +export const access_include_2_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_rule" + }, + "type": "array" +}; + +/** + * The schema of `access_ip_list_rule` in responses. + */ +export const access_ip_list_rule_output: JsonSchema = { + "properties": { + "ip_list": { + "$ref": "#/$defs/access_ip_list_rule_ip_list" + } + }, + "required": [ + "ip_list" + ], + "type": "object" +}; + +/** + * The schema of `access_ip_list_rule_ip_list` in responses. + */ +export const access_ip_list_rule_ip_list_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `access_ip_rule` in responses. + */ +export const access_ip_rule_output: JsonSchema = { + "properties": { + "ip": { + "$ref": "#/$defs/access_ip_rule_ip" + } + }, + "required": [ + "ip" + ], + "type": "object" +}; + +/** + * The schema of `access_ip_rule_ip` in responses. + */ +export const access_ip_rule_ip_output: JsonSchema = { + "properties": { + "ip": { + "type": "string" + } + }, + "required": [ + "ip" + ], + "type": "object" +}; + +/** + * The schema of `access_isolation_required` in responses. + */ +export const access_isolation_required_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_linked_app_token_rule` in responses. + */ +export const access_linked_app_token_rule_output: JsonSchema = { + "properties": { + "linked_app_token": { + "$ref": "#/$defs/access_linked_app_token_rule_linked_app_token" + } + }, + "required": [ + "linked_app_token" + ], + "type": "object" +}; + +/** + * The schema of `access_linked_app_token_rule_linked_app_token` in responses. + */ +export const access_linked_app_token_rule_linked_app_token_output: JsonSchema = { + "properties": { + "app_uid": { + "type": "string" + } + }, + "required": [ + "app_uid" + ], + "type": "object" +}; + +/** + * The schema of `access_login_method_rule` in responses. + */ +export const access_login_method_rule_output: JsonSchema = { + "properties": { + "login_method": { + "$ref": "#/$defs/access_login_method_rule_login_method" + } + }, + "required": [ + "login_method" + ], + "type": "object" +}; + +/** + * The schema of `access_login_method_rule_login_method` in responses. + */ +export const access_login_method_rule_login_method_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `access_mfa_config` in responses. + */ +export const access_mfa_config_output: JsonSchema = { + "properties": { + "allowed_authenticators": { + "items": { + "enum": [ + "totp", + "biometrics", + "security_key" + ], + "type": "string" + }, + "type": "array" + }, + "mfa_disabled": { + "type": "boolean" + }, + "session_duration": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_name-10` in responses. + */ +export const access_name_10_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_name-9` in responses. + */ +export const access_name_9_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_oidc_claim_rule` in responses. + */ +export const access_oidc_claim_rule_output: JsonSchema = { + "properties": { + "oidc": { + "$ref": "#/$defs/access_oidc_claim_rule_oidc" + } + }, + "required": [ + "oidc" + ], + "type": "object" +}; + +/** + * The schema of `access_oidc_claim_rule_oidc` in responses. + */ +export const access_oidc_claim_rule_oidc_output: JsonSchema = { + "properties": { + "claim_name": { + "type": "string" + }, + "claim_value": { + "type": "string" + }, + "identity_provider_id": { + "type": "string" + } + }, + "required": [ + "claim_name", + "claim_value", + "identity_provider_id" + ], + "type": "object" +}; + +/** + * The schema of `access_okta_group_rule` in responses. + */ +export const access_okta_group_rule_output: JsonSchema = { + "properties": { + "okta": { + "$ref": "#/$defs/access_okta_group_rule_okta" + } + }, + "required": [ + "okta" + ], + "type": "object" +}; + +/** + * The schema of `access_okta_group_rule_okta` in responses. + */ +export const access_okta_group_rule_okta_output: JsonSchema = { + "properties": { + "identity_provider_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "identity_provider_id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `access_purpose_justification_prompt` in responses. + */ +export const access_purpose_justification_prompt_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_purpose_justification_required` in responses. + */ +export const access_purpose_justification_required_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_rdp_clipboard_format` in responses. + */ +export const access_rdp_clipboard_format_output: JsonSchema = { + "enum": [ + "text", + "file" + ], + "type": "string" +}; + +/** + * The schema of `access_require-2` in responses. + */ +export const access_require_2_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_rule" + }, + "type": "array" +}; + +/** + * The schema of `access_rule` in responses. + */ +export const access_rule_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/access_access_group_rule" + }, + { + "$ref": "#/$defs/access_any_valid_service_token_rule" + }, + { + "$ref": "#/$defs/access_auth_context_rule" + }, + { + "$ref": "#/$defs/access_authentication_method_rule" + }, + { + "$ref": "#/$defs/access_azure_group_rule" + }, + { + "$ref": "#/$defs/access_certificate_rule" + }, + { + "$ref": "#/$defs/access_common_name_rule" + }, + { + "$ref": "#/$defs/access_country_rule" + }, + { + "$ref": "#/$defs/access_device_posture_rule" + }, + { + "$ref": "#/$defs/access_domain_rule" + }, + { + "$ref": "#/$defs/access_email_list_rule" + }, + { + "$ref": "#/$defs/access_email_rule" + }, + { + "$ref": "#/$defs/access_everyone_rule" + }, + { + "$ref": "#/$defs/access_external_evaluation_rule" + }, + { + "$ref": "#/$defs/access_github_organization_rule" + }, + { + "$ref": "#/$defs/access_gsuite_group_rule" + }, + { + "$ref": "#/$defs/access_login_method_rule" + }, + { + "$ref": "#/$defs/access_ip_list_rule" + }, + { + "$ref": "#/$defs/access_ip_rule" + }, + { + "$ref": "#/$defs/access_okta_group_rule" + }, + { + "$ref": "#/$defs/access_saml_group_rule" + }, + { + "$ref": "#/$defs/access_oidc_claim_rule" + }, + { + "$ref": "#/$defs/access_service_token_rule" + }, + { + "$ref": "#/$defs/access_linked_app_token_rule" + }, + { + "$ref": "#/$defs/access_user_risk_score_rule" + }, + { + "$ref": "#/$defs/access_cloudflare_account_member_rule" + } + ] +}; + +/** + * The schema of `access_saml_group_rule` in responses. + */ +export const access_saml_group_rule_output: JsonSchema = { + "properties": { + "saml": { + "$ref": "#/$defs/access_saml_group_rule_saml" + } + }, + "required": [ + "saml" + ], + "type": "object" +}; + +/** + * The schema of `access_saml_group_rule_saml` in responses. + */ +export const access_saml_group_rule_saml_output: JsonSchema = { + "properties": { + "attribute_name": { + "type": "string" + }, + "attribute_value": { + "type": "string" + }, + "identity_provider_id": { + "type": "string" + } + }, + "required": [ + "attribute_name", + "attribute_value", + "identity_provider_id" + ], + "type": "object" +}; + +/** + * The schema of `access_service_token_rule` in responses. + */ +export const access_service_token_rule_output: JsonSchema = { + "properties": { + "service_token": { + "$ref": "#/$defs/access_service_token_rule_service_token" + } + }, + "required": [ + "service_token" + ], + "type": "object" +}; + +/** + * The schema of `access_service_token_rule_service_token` in responses. + */ +export const access_service_token_rule_service_token_output: JsonSchema = { + "properties": { + "token_id": { + "type": "string" + } + }, + "required": [ + "token_id" + ], + "type": "object" +}; + +/** + * The schema of `access_session_duration-3` in responses. + */ +export const access_session_duration_3_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `access_user_risk_score_rule` in responses. + */ +export const access_user_risk_score_rule_output: JsonSchema = { + "properties": { + "user_risk_score": { + "$ref": "#/$defs/access_user_risk_score_rule_user_risk_score" + } + }, + "required": [ + "user_risk_score" + ], + "type": "object" +}; + +/** + * The schema of `access_user_risk_score_rule_user_risk_score` in responses. + */ +export const access_user_risk_score_rule_user_risk_score_output: JsonSchema = { + "properties": { + "user_risk_score": { + "items": { + "enum": [ + "low", + "medium", + "high", + "unscored" + ], + "type": "string" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "user_risk_score" + ], + "type": "object" +}; + +/** + * The schema of `access_uuid-2` in responses. + */ +export const access_uuid_2_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts new file mode 100644 index 00000000..cc9ad1f0 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts @@ -0,0 +1,56 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_app_count` in responses. + */ +export const access_app_count_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `access_reusable_policy_resp` in responses. + */ +export const access_reusable_policy_resp_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier" + }, + "app_count": { + "$ref": "#/$defs/access_app_count" + }, + "approval_groups": { + "$ref": "#/$defs/access_approval_groups" + }, + "approval_required": { + "$ref": "#/$defs/access_approval_required" + }, + "connection_rules": { + "$ref": "#/$defs/access_connection_rules" + }, + "isolation_required": { + "$ref": "#/$defs/access_isolation_required" + }, + "mfa_config": { + "$ref": "#/$defs/access_mfa_config" + }, + "purpose_justification_prompt": { + "$ref": "#/$defs/access_purpose_justification_prompt" + }, + "purpose_justification_required": { + "$ref": "#/$defs/access_purpose_justification_required" + }, + "reusable": { + "enum": [ + true + ], + "type": "boolean" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration-3" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts index f9cb7eb2..ad5a92e0 100644 --- a/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts @@ -2,7 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_identifier_output, + access_messages_output, +} from "../../outputs.js"; import { access_identifier } from "../../schemas.js"; +import { + access_allowed_clipboard_local_to_remote_formats_output, + access_allowed_clipboard_remote_to_local_formats_output, + access_approval_group_output, + access_approval_groups_output, + access_approval_required_output, + access_connection_rules_output, + access_connection_rules_rdp_output, + access_isolation_required_output, + access_mfa_config_output, + access_purpose_justification_prompt_output, + access_purpose_justification_required_output, + access_rdp_clipboard_format_output, + access_session_duration_3_output, + access_uuid_2_output, +} from "../outputs.js"; import { access_access_group_rule, access_access_group_rule_group, @@ -75,6 +96,10 @@ import { access_user_risk_score_rule, access_user_risk_score_rule_user_risk_score, } from "../schemas.js"; +import { + access_app_count_output, + access_reusable_policy_resp_output, +} from "./outputs.js"; /** * The tools of `zero_trust.access.policies`. @@ -187,6 +212,36 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_reusable_policy_resp" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_count": access_app_count_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_identifier": access_identifier_output, + "access_isolation_required": access_isolation_required_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_reusable_policy_resp": access_reusable_policy_resp_output, + "access_session_duration-3": access_session_duration_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policies`, body: { value: args["body"], mediaType: "application/json" }, @@ -227,6 +282,26 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Write" ] }, + responses: { + schemas: { + "202": { + "properties": { + "id": { + "$ref": "#/$defs/access_uuid-2" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_uuid-2": access_uuid_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policies/${pathParam(args, "policy_id")}`, }), @@ -267,6 +342,36 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_reusable_policy_resp" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_count": access_app_count_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_identifier": access_identifier_output, + "access_isolation_required": access_isolation_required_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_reusable_policy_resp": access_reusable_policy_resp_output, + "access_session_duration-3": access_session_duration_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policies/${pathParam(args, "policy_id")}`, }), @@ -312,6 +417,67 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_reusable_policy_resp" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_count": access_app_count_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_identifier": access_identifier_output, + "access_isolation_required": access_isolation_required_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_reusable_policy_resp": access_reusable_policy_resp_output, + "access_session_duration-3": access_session_duration_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policies`, query: [ @@ -432,6 +598,36 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_reusable_policy_resp" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_app_count": access_app_count_output, + "access_approval_group": access_approval_group_output, + "access_approval_groups": access_approval_groups_output, + "access_approval_required": access_approval_required_output, + "access_connection_rules": access_connection_rules_output, + "access_connection_rules_rdp": access_connection_rules_rdp_output, + "access_identifier": access_identifier_output, + "access_isolation_required": access_isolation_required_output, + "access_messages": access_messages_output, + "access_mfa_config": access_mfa_config_output, + "access_purpose_justification_prompt": access_purpose_justification_prompt_output, + "access_purpose_justification_required": access_purpose_justification_required_output, + "access_rdp_clipboard_format": access_rdp_clipboard_format_output, + "access_reusable_policy_resp": access_reusable_policy_resp_output, + "access_session_duration-3": access_session_duration_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policies/${pathParam(args, "policy_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts new file mode 100644 index 00000000..b9f4a69e --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts @@ -0,0 +1,74 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_exclude` in responses. + */ +export const access_exclude_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_rule" + }, + "type": "array" +}; + +/** + * The schema of `access_groups-2` in responses. + */ +export const access_groups_2_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "exclude": { + "$ref": "#/$defs/access_exclude" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "include": { + "$ref": "#/$defs/access_include" + }, + "is_default": { + "$ref": "#/$defs/access_require" + }, + "name": { + "$ref": "#/$defs/access_name-6" + }, + "require": { + "$ref": "#/$defs/access_require" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "type": "object" +}; + +/** + * The schema of `access_include` in responses. + */ +export const access_include_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_rule" + }, + "type": "array" +}; + +/** + * The schema of `access_name-6` in responses. + */ +export const access_name_6_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_require` in responses. + */ +export const access_require_output: JsonSchema = { + "items": { + "$ref": "#/$defs/access_rule" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts index a5a0d091..0d5deaa2 100644 --- a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts @@ -2,7 +2,68 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_created_at_output, + access_identifier_output, + access_messages_output, + access_timestamp_output, + access_updated_at_output, + access_uuid_output, +} from "../../outputs.js"; import { access_identifier } from "../../schemas.js"; +import { + access_access_group_rule_group_output, + access_access_group_rule_output, + access_any_valid_service_token_rule_output, + access_auth_context_rule_auth_context_output, + access_auth_context_rule_output, + access_authentication_method_rule_auth_method_output, + access_authentication_method_rule_output, + access_azure_group_rule_azureAD_output, + access_azure_group_rule_output, + access_certificate_rule_output, + access_cloudflare_account_member_rule_cloudflare_account_member_output, + access_cloudflare_account_member_rule_output, + access_common_name_rule_common_name_output, + access_common_name_rule_output, + access_country_rule_geo_output, + access_country_rule_output, + access_device_posture_rule_device_posture_output, + access_device_posture_rule_output, + access_domain_rule_email_domain_output, + access_domain_rule_output, + access_email_list_rule_email_list_output, + access_email_list_rule_output, + access_email_rule_email_output, + access_email_rule_output, + access_everyone_rule_output, + access_external_evaluation_rule_external_evaluation_output, + access_external_evaluation_rule_output, + access_github_organization_rule_github_organization_output, + access_github_organization_rule_output, + access_gsuite_group_rule_gsuite_output, + access_gsuite_group_rule_output, + access_ip_list_rule_ip_list_output, + access_ip_list_rule_output, + access_ip_rule_ip_output, + access_ip_rule_output, + access_linked_app_token_rule_linked_app_token_output, + access_linked_app_token_rule_output, + access_login_method_rule_login_method_output, + access_login_method_rule_output, + access_oidc_claim_rule_oidc_output, + access_oidc_claim_rule_output, + access_okta_group_rule_okta_output, + access_okta_group_rule_output, + access_rule_output, + access_saml_group_rule_output, + access_saml_group_rule_saml_output, + access_service_token_rule_output, + access_service_token_rule_service_token_output, + access_user_risk_score_rule_output, + access_user_risk_score_rule_user_risk_score_output, +} from "../outputs.js"; import { access_access_group_rule, access_access_group_rule_group, @@ -55,6 +116,13 @@ import { access_user_risk_score_rule, access_user_risk_score_rule_user_risk_score, } from "../schemas.js"; +import { + access_exclude_output, + access_groups_2_output, + access_include_output, + access_name_6_output, + access_require_output, +} from "./outputs.js"; import { access_exclude, access_include, @@ -194,6 +262,80 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_groups-2" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_created_at": access_created_at_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude": access_exclude_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_groups-2": access_groups_2_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_identifier": access_identifier_output, + "access_include": access_include_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_messages": access_messages_output, + "access_name-6": access_name_6_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_require": access_require_output, + "access_rule": access_rule_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/groups`, body: { value: args["body"], mediaType: "application/json" }, @@ -243,6 +385,26 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "202": { + "properties": { + "id": { + "$ref": "#/$defs/access_uuid" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/groups/${pathParam(args, "group_id")}`, }), @@ -292,6 +454,80 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_groups-2" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_created_at": access_created_at_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude": access_exclude_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_groups-2": access_groups_2_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_identifier": access_identifier_output, + "access_include": access_include_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_messages": access_messages_output, + "access_name-6": access_name_6_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_require": access_require_output, + "access_rule": access_rule_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/groups/${pathParam(args, "group_id")}`, }), @@ -354,6 +590,111 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_groups-2" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_created_at": access_created_at_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude": access_exclude_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_groups-2": access_groups_2_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_identifier": access_identifier_output, + "access_include": access_include_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_messages": access_messages_output, + "access_name-6": access_name_6_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_require": access_require_output, + "access_rule": access_rule_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/groups`, query: [ @@ -496,6 +837,80 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_groups-2" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_group_rule": access_access_group_rule_output, + "access_access_group_rule_group": access_access_group_rule_group_output, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_auth_context_rule": access_auth_context_rule_output, + "access_auth_context_rule_auth_context": access_auth_context_rule_auth_context_output, + "access_authentication_method_rule": access_authentication_method_rule_output, + "access_authentication_method_rule_auth_method": access_authentication_method_rule_auth_method_output, + "access_azure_group_rule": access_azure_group_rule_output, + "access_azure_group_rule_azureAD": access_azure_group_rule_azureAD_output, + "access_certificate_rule": access_certificate_rule_output, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, + "access_cloudflare_account_member_rule_cloudflare_account_member": access_cloudflare_account_member_rule_cloudflare_account_member_output, + "access_common_name_rule": access_common_name_rule_output, + "access_common_name_rule_common_name": access_common_name_rule_common_name_output, + "access_country_rule": access_country_rule_output, + "access_country_rule_geo": access_country_rule_geo_output, + "access_created_at": access_created_at_output, + "access_device_posture_rule": access_device_posture_rule_output, + "access_device_posture_rule_device_posture": access_device_posture_rule_device_posture_output, + "access_domain_rule": access_domain_rule_output, + "access_domain_rule_email_domain": access_domain_rule_email_domain_output, + "access_email_list_rule": access_email_list_rule_output, + "access_email_list_rule_email_list": access_email_list_rule_email_list_output, + "access_email_rule": access_email_rule_output, + "access_email_rule_email": access_email_rule_email_output, + "access_everyone_rule": access_everyone_rule_output, + "access_exclude": access_exclude_output, + "access_external_evaluation_rule": access_external_evaluation_rule_output, + "access_external_evaluation_rule_external_evaluation": access_external_evaluation_rule_external_evaluation_output, + "access_github_organization_rule": access_github_organization_rule_output, + "access_github_organization_rule_github-organization": access_github_organization_rule_github_organization_output, + "access_groups-2": access_groups_2_output, + "access_gsuite_group_rule": access_gsuite_group_rule_output, + "access_gsuite_group_rule_gsuite": access_gsuite_group_rule_gsuite_output, + "access_identifier": access_identifier_output, + "access_include": access_include_output, + "access_ip_list_rule": access_ip_list_rule_output, + "access_ip_list_rule_ip_list": access_ip_list_rule_ip_list_output, + "access_ip_rule": access_ip_rule_output, + "access_ip_rule_ip": access_ip_rule_ip_output, + "access_linked_app_token_rule": access_linked_app_token_rule_output, + "access_linked_app_token_rule_linked_app_token": access_linked_app_token_rule_linked_app_token_output, + "access_login_method_rule": access_login_method_rule_output, + "access_login_method_rule_login_method": access_login_method_rule_login_method_output, + "access_messages": access_messages_output, + "access_name-6": access_name_6_output, + "access_oidc_claim_rule": access_oidc_claim_rule_output, + "access_oidc_claim_rule_oidc": access_oidc_claim_rule_oidc_output, + "access_okta_group_rule": access_okta_group_rule_output, + "access_okta_group_rule_okta": access_okta_group_rule_okta_output, + "access_require": access_require_output, + "access_rule": access_rule_output, + "access_saml_group_rule": access_saml_group_rule_output, + "access_saml_group_rule_saml": access_saml_group_rule_saml_output, + "access_service_token_rule": access_service_token_rule_output, + "access_service_token_rule_service_token": access_service_token_rule_service_token_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_user_risk_score_rule": access_user_risk_score_rule_output, + "access_user_risk_score_rule_user_risk_score": access_user_risk_score_rule_user_risk_score_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/groups/${pathParam(args, "group_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/outputs.ts new file mode 100644 index 00000000..e9cf656e --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/outputs.ts @@ -0,0 +1,70 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_saml_certificate-2` in responses. + */ +export const access_saml_certificate_2_output: JsonSchema = { + "properties": { + "is_current": { + "type": "boolean" + }, + "not_after": { + "format": "date-time", + "type": "string" + }, + "public_certificate": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "is_current", + "not_after", + "public_certificate", + "uid" + ], + "type": "object" +}; + +/** + * The schema of `access_saml_certificate_set-2` in responses. + */ +export const access_saml_certificate_set_2_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "current_certificate": { + "$ref": "#/$defs/access_saml_certificate-2" + }, + "previous_certificate": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "uid": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "uid", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts index 13db4ccd..ef5a499e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../outputs.js"; +import { + access_saml_certificate_2_output, + access_saml_certificate_set_2_output, +} from "./outputs.js"; /** * The tools of `zero_trust.access.saml_encryption_certificates`. @@ -37,6 +45,25 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/saml_certificates/{saml_cert_set_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_saml_certificate_set-2" + }, + "404": { + "$ref": "#/$defs/access_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_saml_certificate-2": access_saml_certificate_2_output, + "access_saml_certificate_set-2": access_saml_certificate_set_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/saml_certificates/${pathParam(args, "saml_cert_set_id")}`, }), @@ -71,6 +98,21 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/saml_certificates/{saml_cert_set_id}/pem", + responses: { + schemas: { + "200": null, + "404": { + "$ref": "#/$defs/access_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/saml_certificates/${pathParam(args, "saml_cert_set_id")}/pem`, }), @@ -114,6 +156,53 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/saml_certificates", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_saml_certificate_set-2" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_saml_certificate-2": access_saml_certificate_2_output, + "access_saml_certificate_set-2": access_saml_certificate_set_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/saml_certificates`, query: [ @@ -153,6 +242,25 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/access/saml_certificates/{saml_cert_set_id}/rotate", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_saml_certificate_set-2" + }, + "404": { + "$ref": "#/$defs/access_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_saml_certificate-2": access_saml_certificate_2_output, + "access_saml_certificate_set-2": access_saml_certificate_set_2_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/saml_certificates/${pathParam(args, "saml_cert_set_id")}/rotate`, }), diff --git a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts new file mode 100644 index 00000000..d8812239 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts @@ -0,0 +1,120 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_client_id` in responses. + */ +export const access_client_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_client_secret` in responses. + */ +export const access_client_secret_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_duration` in responses. + */ +export const access_duration_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_enabled` in responses. + */ +export const access_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_leak_report_url` in responses. + */ +export const access_leak_report_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_leak_reported_at` in responses. + */ +export const access_leak_reported_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `access_leak_reporter` in responses. + */ +export const access_leak_reporter_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_name-2` in responses. + */ +export const access_name_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_service-tokens` in responses. + */ +export const access_service_tokens_output: JsonSchema = { + "properties": { + "client_id": { + "$ref": "#/$defs/access_client_id" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "duration": { + "$ref": "#/$defs/access_duration" + }, + "enabled": { + "$ref": "#/$defs/access_enabled" + }, + "expires_at": { + "$ref": "#/$defs/access_timestamp" + }, + "id": { + "allOf": [ + { + "type": "string" + }, + { + "$ref": "#/$defs/access_uuid" + } + ] + }, + "last_seen_at": { + "allOf": [ + { + "type": "string" + }, + { + "$ref": "#/$defs/access_timestamp" + } + ] + }, + "leak_report_url": { + "$ref": "#/$defs/access_leak_report_url" + }, + "leak_reported_at": { + "$ref": "#/$defs/access_leak_reported_at" + }, + "leak_reporter": { + "$ref": "#/$defs/access_leak_reporter" + }, + "name": { + "$ref": "#/$defs/access_name-2" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts index cbb33459..7611c0f3 100644 --- a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_created_at_output, + access_messages_output, + access_timestamp_output, + access_updated_at_output, + access_uuid_output, +} from "../../outputs.js"; +import { + access_client_id_output, + access_client_secret_output, + access_duration_output, + access_enabled_output, + access_leak_report_url_output, + access_leak_reported_at_output, + access_leak_reporter_output, + access_name_2_output, + access_service_tokens_output, +} from "./outputs.js"; import { access_client_secret_version, access_duration, @@ -91,6 +110,54 @@ export const tools: readonly Tool[] = [ "Access: Service Tokens Write" ] }, + responses: { + schemas: { + "201": { + "properties": { + "client_id": { + "$ref": "#/$defs/access_client_id" + }, + "client_secret": { + "$ref": "#/$defs/access_client_secret" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "duration": { + "$ref": "#/$defs/access_duration" + }, + "enabled": { + "$ref": "#/$defs/access_enabled" + }, + "id": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/access_name-2" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_client_id": access_client_id_output, + "access_client_secret": access_client_secret_output, + "access_created_at": access_created_at_output, + "access_duration": access_duration_output, + "access_enabled": access_enabled_output, + "access_messages": access_messages_output, + "access_name-2": access_name_2_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/service_tokens`, body: { value: args["body"], mediaType: "application/json" }, @@ -140,6 +207,32 @@ export const tools: readonly Tool[] = [ "Access: Service Tokens Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_service-tokens" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_client_id": access_client_id_output, + "access_created_at": access_created_at_output, + "access_duration": access_duration_output, + "access_enabled": access_enabled_output, + "access_leak_report_url": access_leak_report_url_output, + "access_leak_reported_at": access_leak_reported_at_output, + "access_leak_reporter": access_leak_reporter_output, + "access_messages": access_messages_output, + "access_name-2": access_name_2_output, + "access_service-tokens": access_service_tokens_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/service_tokens/${pathParam(args, "service_token_id")}`, }), @@ -189,6 +282,32 @@ export const tools: readonly Tool[] = [ "Access: Service Tokens Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_service-tokens" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_client_id": access_client_id_output, + "access_created_at": access_created_at_output, + "access_duration": access_duration_output, + "access_enabled": access_enabled_output, + "access_leak_report_url": access_leak_report_url_output, + "access_leak_reported_at": access_leak_reported_at_output, + "access_leak_reporter": access_leak_reporter_output, + "access_messages": access_messages_output, + "access_name-2": access_name_2_output, + "access_service-tokens": access_service_tokens_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/service_tokens/${pathParam(args, "service_token_id")}`, }), @@ -251,6 +370,63 @@ export const tools: readonly Tool[] = [ "Access: Service Tokens Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_service-tokens" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_client_id": access_client_id_output, + "access_created_at": access_created_at_output, + "access_duration": access_duration_output, + "access_enabled": access_enabled_output, + "access_leak_report_url": access_leak_report_url_output, + "access_leak_reported_at": access_leak_reported_at_output, + "access_leak_reporter": access_leak_reporter_output, + "access_messages": access_messages_output, + "access_name-2": access_name_2_output, + "access_service-tokens": access_service_tokens_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/service_tokens`, query: [ @@ -296,6 +472,32 @@ export const tools: readonly Tool[] = [ "Access: Service Tokens Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_service-tokens" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_client_id": access_client_id_output, + "access_created_at": access_created_at_output, + "access_duration": access_duration_output, + "access_enabled": access_enabled_output, + "access_leak_report_url": access_leak_report_url_output, + "access_leak_reported_at": access_leak_reported_at_output, + "access_leak_reporter": access_leak_reporter_output, + "access_messages": access_messages_output, + "access_name-2": access_name_2_output, + "access_service-tokens": access_service_tokens_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/service_tokens/${pathParam(args, "service_token_id")}/refresh`, }), @@ -340,6 +542,54 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/access/service_tokens/{service_token_id}/rotate", + responses: { + schemas: { + "200": { + "properties": { + "client_id": { + "$ref": "#/$defs/access_client_id" + }, + "client_secret": { + "$ref": "#/$defs/access_client_secret" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "duration": { + "$ref": "#/$defs/access_duration" + }, + "enabled": { + "$ref": "#/$defs/access_enabled" + }, + "id": { + "type": "string" + }, + "name": { + "$ref": "#/$defs/access_name-2" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_client_id": access_client_id_output, + "access_client_secret": access_client_secret_output, + "access_created_at": access_created_at_output, + "access_duration": access_duration_output, + "access_enabled": access_enabled_output, + "access_messages": access_messages_output, + "access_name-2": access_name_2_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/service_tokens/${pathParam(args, "service_token_id")}/rotate`, body: { value: args["body"], mediaType: "application/json" }, @@ -424,6 +674,32 @@ export const tools: readonly Tool[] = [ "Access: Service Tokens Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_service-tokens" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_client_id": access_client_id_output, + "access_created_at": access_created_at_output, + "access_duration": access_duration_output, + "access_enabled": access_enabled_output, + "access_leak_report_url": access_leak_report_url_output, + "access_leak_reported_at": access_leak_reported_at_output, + "access_leak_reporter": access_leak_reporter_output, + "access_messages": access_messages_output, + "access_name-2": access_name_2_output, + "access_service-tokens": access_service_tokens_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/service_tokens/${pathParam(args, "service_token_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts new file mode 100644 index 00000000..a3a1178e --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts @@ -0,0 +1,44 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_days_until_next_rotation` in responses. + */ +export const access_days_until_next_rotation_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `access_key_config` in responses. + */ +export const access_key_config_output: JsonSchema = { + "properties": { + "days_until_next_rotation": { + "$ref": "#/$defs/access_days_until_next_rotation" + }, + "key_rotation_interval_days": { + "$ref": "#/$defs/access_key_rotation_interval_days" + }, + "last_key_rotation_at": { + "$ref": "#/$defs/access_last_key_rotation_at" + } + }, + "type": "object" +}; + +/** + * The schema of `access_key_rotation_interval_days` in responses. + */ +export const access_key_rotation_interval_days_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `access_last_key_rotation_at` in responses. + */ +export const access_last_key_rotation_at_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts b/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts index 1aa0deb6..f47bcd6a 100644 --- a/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../outputs.js"; +import { + access_days_until_next_rotation_output, + access_key_config_output, + access_key_rotation_interval_days_output, + access_last_key_rotation_at_output, +} from "./outputs.js"; import { access_key_rotation_interval_days } from "./schemas.js"; /** @@ -39,6 +49,24 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_key_config" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_days_until_next_rotation": access_days_until_next_rotation_output, + "access_key_config": access_key_config_output, + "access_key_rotation_interval_days": access_key_rotation_interval_days_output, + "access_last_key_rotation_at": access_last_key_rotation_at_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/keys`, }), @@ -73,6 +101,24 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_key_config" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_days_until_next_rotation": access_days_until_next_rotation_output, + "access_key_config": access_key_config_output, + "access_key_rotation_interval_days": access_key_rotation_interval_days_output, + "access_last_key_rotation_at": access_last_key_rotation_at_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/keys/rotate`, }), @@ -123,6 +169,24 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_key_config" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_days_until_next_rotation": access_days_until_next_rotation_output, + "access_key_config": access_key_config_output, + "access_key_rotation_interval_days": access_key_rotation_interval_days_output, + "access_last_key_rotation_at": access_last_key_rotation_at_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/keys`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts new file mode 100644 index 00000000..23cc146f --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts @@ -0,0 +1,32 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_name-13` in responses. + */ +export const access_name_13_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_tag` in responses. + */ +export const access_tag_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "name": { + "$ref": "#/$defs/access_name-13" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts b/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts index 699005ba..1d3da864 100644 --- a/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts @@ -2,11 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_created_at_output, + access_messages_output, + access_timestamp_output, + access_updated_at_output, +} from "../../outputs.js"; import { access_created_at, access_timestamp, access_updated_at, } from "../../schemas.js"; +import { access_name_13_output, access_tag_output } from "./outputs.js"; import { access_name_13, access_tag_without_app_count } from "./schemas.js"; /** @@ -50,6 +58,25 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/access/tags", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_tag" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_messages": access_messages_output, + "access_name-13": access_name_13_output, + "access_tag": access_tag_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/tags`, body: { value: args["body"], mediaType: "application/json" }, @@ -85,6 +112,26 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/access/tags/{tag_name}", + responses: { + schemas: { + "202": { + "properties": { + "name": { + "$ref": "#/$defs/access_name-13" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_name-13": access_name_13_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/tags/${pathParam(args, "tag_name")}`, }), @@ -119,6 +166,25 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/tags/{tag_name}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_tag" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_messages": access_messages_output, + "access_name-13": access_name_13_output, + "access_tag": access_tag_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/tags/${pathParam(args, "tag_name")}`, }), @@ -158,6 +224,56 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/tags", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_tag" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_messages": access_messages_output, + "access_name-13": access_name_13_output, + "access_tag": access_tag_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/tags`, query: [ @@ -206,6 +322,25 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/access/tags/{tag_name}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_tag" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_messages": access_messages_output, + "access_name-13": access_name_13_output, + "access_tag": access_tag_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/tags/${pathParam(args, "tag_name")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts b/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts index 09fb6e32..9f3a3315 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + infra_api_response_common_failure_output, + infra_messages_output, +} from "../../../../outputs.js"; +import { + infra_IPInfo_ipv4_output, + infra_IPInfo_ipv6_output, + infra_IPInfo_output, + infra_TargetArray_output, + infra_TargetId_output, + infra_Target_output, +} from "../outputs.js"; import { infra_IPInfo, infra_IPInfo_ipv4, @@ -58,6 +70,18 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/infrastructure/targets/batch_delete", + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/infrastructure/targets/batch_delete`, body: { value: args["body"], mediaType: "application/json" }, @@ -112,6 +136,37 @@ export const tools: readonly Tool[] = [ "terraform" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/infra_TargetArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_IPInfo": infra_IPInfo_output, + "infra_IPInfo_ipv4": infra_IPInfo_ipv4_output, + "infra_IPInfo_ipv6": infra_IPInfo_ipv6_output, + "infra_Target": infra_Target_output, + "infra_TargetArray": infra_TargetArray_output, + "infra_TargetId": infra_TargetId_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/infrastructure/targets/batch_tags`, body: { value: args["body"], mediaType: "application/json" }, @@ -187,6 +242,37 @@ export const tools: readonly Tool[] = [ "terraform" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/infra_TargetArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_IPInfo": infra_IPInfo_output, + "infra_IPInfo_ipv4": infra_IPInfo_ipv4_output, + "infra_IPInfo_ipv6": infra_IPInfo_ipv6_output, + "infra_Target": infra_Target_output, + "infra_TargetArray": infra_TargetArray_output, + "infra_TargetId": infra_TargetId_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/infrastructure/targets/batch`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts new file mode 100644 index 00000000..e500d401 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts @@ -0,0 +1,115 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `infra_IPInfo` in responses. + */ +export const infra_IPInfo_output: JsonSchema = { + "properties": { + "ipv4": { + "$ref": "#/$defs/infra_IPInfo_ipv4" + }, + "ipv6": { + "$ref": "#/$defs/infra_IPInfo_ipv6" + } + }, + "type": "object" +}; + +/** + * The schema of `infra_IPInfo_ipv4` in responses. + */ +export const infra_IPInfo_ipv4_output: JsonSchema = { + "properties": { + "ip_addr": { + "type": "string" + }, + "virtual_network_id": { + "format": "uuid", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `infra_IPInfo_ipv6` in responses. + */ +export const infra_IPInfo_ipv6_output: JsonSchema = { + "properties": { + "ip_addr": { + "type": "string" + }, + "virtual_network_id": { + "format": "uuid", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `infra_Target` in responses. + */ +export const infra_Target_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "hostname": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/infra_TargetId" + }, + "ip": { + "$ref": "#/$defs/infra_IPInfo" + }, + "modified_at": { + "format": "date-time", + "type": "string" + }, + "tags": { + "oneOf": [ + { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "hostname", + "id", + "ip", + "modified_at" + ], + "type": "object" +}; + +/** + * The schema of `infra_TargetArray` in responses. + */ +export const infra_TargetArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/infra_Target" + }, + "type": "array" +}; + +/** + * The schema of `infra_TargetId` in responses. + */ +export const infra_TargetId_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts b/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts index 69b5ac05..abee5e6e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + infra_api_response_common_failure_output, + infra_messages_output, +} from "../../../outputs.js"; +import { + infra_IPInfo_ipv4_output, + infra_IPInfo_ipv6_output, + infra_IPInfo_output, + infra_TargetArray_output, + infra_TargetId_output, + infra_Target_output, +} from "./outputs.js"; import { infra_IPInfo, infra_IPInfo_ipv4, @@ -75,6 +87,25 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/infrastructure/targets", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/infra_Target" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_IPInfo": infra_IPInfo_output, + "infra_IPInfo_ipv4": infra_IPInfo_ipv4_output, + "infra_IPInfo_ipv6": infra_IPInfo_ipv6_output, + "infra_Target": infra_Target_output, + "infra_TargetId": infra_TargetId_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/infrastructure/targets`, body: { value: args["body"], mediaType: "application/json" }, @@ -110,6 +141,18 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/infrastructure/targets/{target_id}", + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/infrastructure/targets/${pathParam(args, "target_id")}`, }), @@ -144,6 +187,25 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/infrastructure/targets/{target_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/infra_Target" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_IPInfo": infra_IPInfo_output, + "infra_IPInfo_ipv4": infra_IPInfo_ipv4_output, + "infra_IPInfo_ipv6": infra_IPInfo_ipv6_output, + "infra_Target": infra_Target_output, + "infra_TargetId": infra_TargetId_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/infrastructure/targets/${pathParam(args, "target_id")}`, }), @@ -379,6 +441,54 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/infrastructure/targets", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/infra_TargetArray" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_IPInfo": infra_IPInfo_output, + "infra_IPInfo_ipv4": infra_IPInfo_ipv4_output, + "infra_IPInfo_ipv6": infra_IPInfo_ipv6_output, + "infra_Target": infra_Target_output, + "infra_TargetArray": infra_TargetArray_output, + "infra_TargetId": infra_TargetId_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/infrastructure/targets`, query: [ @@ -473,6 +583,25 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/infrastructure/targets/{target_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/infra_Target" + }, + "4XX": { + "$ref": "#/$defs/infra_api-response-common-failure" + } + }, + $defs: { + "infra_IPInfo": infra_IPInfo_output, + "infra_IPInfo_ipv4": infra_IPInfo_ipv4_output, + "infra_IPInfo_ipv6": infra_IPInfo_ipv6_output, + "infra_Target": infra_Target_output, + "infra_TargetId": infra_TargetId_output, + "infra_api-response-common-failure": infra_api_response_common_failure_output, + "infra_messages": infra_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/infrastructure/targets/${pathParam(args, "target_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts new file mode 100644 index 00000000..179fec09 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts @@ -0,0 +1,38 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_user_population` in responses. + */ +export const access_user_population_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_user_population_name" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + } + }, + "required": [ + "created_at", + "id", + "name", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `access_user_population_name` in responses. + */ +export const access_user_population_name_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts index 7b5194b8..008ed63e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts @@ -2,7 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_created_at_output, + access_messages_output, + access_timestamp_output, + access_updated_at_output, + access_uuid_output, +} from "../../outputs.js"; import { access_identifier, access_uuid } from "../../schemas.js"; +import { + access_user_population_name_output, + access_user_population_output, +} from "./outputs.js"; import { access_user_population_name, access_user_population_request, @@ -46,6 +58,26 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/access/user_populations", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_user_population" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_messages": access_messages_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_user_population": access_user_population_output, + "access_user_population_name": access_user_population_name_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations`, body: { value: args["body"], mediaType: "application/json" }, @@ -85,6 +117,26 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/access/user_populations/{user_population_id}", + responses: { + schemas: { + "202": { + "properties": { + "id": { + "$ref": "#/$defs/access_uuid" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}`, }), @@ -123,6 +175,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/user_populations/{user_population_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_user_population" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_messages": access_messages_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_user_population": access_user_population_output, + "access_user_population_name": access_user_population_name_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}`, }), @@ -165,6 +237,57 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/user_populations", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_user_population" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_messages": access_messages_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_user_population": access_user_population_output, + "access_user_population_name": access_user_population_name_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations`, query: [ @@ -213,6 +336,26 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/access/user_populations/{user_population_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_user_population" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_messages": access_messages_output, + "access_timestamp": access_timestamp_output, + "access_updated_at": access_updated_at_output, + "access_user_population": access_user_population_output, + "access_user_population_name": access_user_population_name_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/outputs.ts new file mode 100644 index 00000000..0812c4d3 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/outputs.ts @@ -0,0 +1,154 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_scim_email` in responses. + */ +export const access_scim_email_output: JsonSchema = { + "properties": { + "primary": { + "type": "boolean" + }, + "type": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_scim_meta` in responses. + */ +export const access_scim_meta_output: JsonSchema = { + "properties": { + "created": { + "format": "date-time", + "type": "string" + }, + "lastModified": { + "format": "date-time", + "type": "string" + }, + "location": { + "type": "string" + }, + "resourceType": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_scim_name` in responses. + */ +export const access_scim_name_output: JsonSchema = { + "properties": { + "familyName": { + "type": "string" + }, + "formatted": { + "type": "string" + }, + "givenName": { + "type": "string" + }, + "honorificPrefix": { + "type": "string" + }, + "honorificSuffix": { + "type": "string" + }, + "middleName": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_scim_user` in responses. + */ +export const access_scim_user_output: JsonSchema = { + "properties": { + "active": { + "type": "boolean" + }, + "displayName": { + "type": "string" + }, + "emails": { + "items": { + "$ref": "#/$defs/access_scim_email" + }, + "type": "array" + }, + "externalId": { + "type": "string" + }, + "id": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/access_scim_meta" + }, + "name": { + "$ref": "#/$defs/access_scim_name" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "userName": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_scim_user_list_response` in responses. + */ +export const access_scim_user_list_response_output: JsonSchema = { + "properties": { + "Resources": { + "items": { + "$ref": "#/$defs/access_scim_user" + }, + "type": "array" + }, + "itemsPerPage": { + "type": "integer" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "startIndex": { + "type": "integer" + }, + "totalResults": { + "type": "integer" + } + }, + "required": [ + "Resources", + "itemsPerPage", + "schemas", + "startIndex", + "totalResults" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts index 7ee42dbe..77e4dc09 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts @@ -2,7 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; +import { + access_scim_email_output, + access_scim_meta_output, + access_scim_name_output, + access_scim_user_list_response_output, + access_scim_user_output, +} from "./outputs.js"; import { access_scim_email, access_scim_meta, @@ -58,6 +69,24 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/access/user_populations/{user_population_id}/users", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_scim_user" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_scim_email": access_scim_email_output, + "access_scim_meta": access_scim_meta_output, + "access_scim_name": access_scim_name_output, + "access_scim_user": access_scim_user_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}/users`, body: { value: args["body"], mediaType: "application/json" }, @@ -102,6 +131,18 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}", + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}/users/${pathParam(args, "user_id")}`, }), @@ -153,6 +194,24 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_scim_user" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_scim_email": access_scim_email_output, + "access_scim_meta": access_scim_meta_output, + "access_scim_name": access_scim_name_output, + "access_scim_user": access_scim_user_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}/users/${pathParam(args, "user_id")}`, query: [ @@ -216,6 +275,25 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/access/user_populations/{user_population_id}/users", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_scim_user_list_response" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_scim_email": access_scim_email_output, + "access_scim_meta": access_scim_meta_output, + "access_scim_name": access_scim_name_output, + "access_scim_user": access_scim_user_output, + "access_scim_user_list_response": access_scim_user_list_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}/users`, query: [ @@ -274,6 +352,24 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_scim_user" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_scim_email": access_scim_email_output, + "access_scim_meta": access_scim_meta_output, + "access_scim_name": access_scim_name_output, + "access_scim_user": access_scim_user_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}/users/${pathParam(args, "user_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -324,6 +420,24 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_scim_user" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_scim_email": access_scim_email_output, + "access_scim_meta": access_scim_meta_output, + "access_scim_name": access_scim_name_output, + "access_scim_user": access_scim_user_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}/users/${pathParam(args, "user_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts index bb69a9ed..53d42d8a 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; +import { + access_device_posture_check_output, + access_device_posture_rule_2_output, + access_device_session_output, + access_geo_output, + access_identity_idp_output, + access_identity_mtls_auth_output, + access_identity_output, + access_string_key_map_device_session_output, +} from "../outputs.js"; /** * The tools of `zero_trust.access.users.active_sessions`. @@ -46,6 +60,40 @@ export const tools: readonly Tool[] = [ "Access: Audit Logs Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/access_identity" + }, + { + "properties": { + "isActive": { + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_device_posture_check": access_device_posture_check_output, + "access_device_posture_rule-2": access_device_posture_rule_2_output, + "access_device_session": access_device_session_output, + "access_geo": access_geo_output, + "access_identity": access_identity_output, + "access_identity_idp": access_identity_idp_output, + "access_identity_mtls_auth": access_identity_mtls_auth_output, + "access_messages": access_messages_output, + "access_string_key_map_device_session": access_string_key_map_device_session_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users/${pathParam(args, "user_id")}/active_sessions/${pathParam(args, "nonce")}`, }), @@ -85,6 +133,96 @@ export const tools: readonly Tool[] = [ "Access: Audit Logs Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "expiration": { + "type": "integer" + }, + "metadata": { + "properties": { + "apps": { + "additionalProperties": { + "properties": { + "hostname": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + }, + "expires": { + "type": "integer" + }, + "iat": { + "type": "integer" + }, + "nonce": { + "type": "string" + }, + "ttl": { + "type": "integer" + } + }, + "type": "object" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users/${pathParam(args, "user_id")}/active_sessions`, }), diff --git a/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts index b6a74c9d..e616882d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; /** * The tools of `zero_trust.access.users.failed_logins`. @@ -42,6 +46,59 @@ export const tools: readonly Tool[] = [ "Access: Audit Logs Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "expiration": { + "type": "integer" + }, + "metadata": { + "type": "object" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users/${pathParam(args, "user_id")}/failed_logins`, }), diff --git a/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts index ee1064c0..a2115dd2 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; +import { + access_device_posture_check_output, + access_device_posture_rule_2_output, + access_device_session_output, + access_geo_output, + access_identity_idp_output, + access_identity_mtls_auth_output, + access_identity_output, + access_string_key_map_device_session_output, +} from "../outputs.js"; /** * The tools of `zero_trust.access.users.last_seen_identity`. @@ -42,6 +56,59 @@ export const tools: readonly Tool[] = [ "Access: Audit Logs Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/access_identity" + }, + { + "properties": { + "passkeys": { + "items": { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "last_used_at": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_device_posture_check": access_device_posture_check_output, + "access_device_posture_rule-2": access_device_posture_rule_2_output, + "access_device_session": access_device_session_output, + "access_geo": access_geo_output, + "access_identity": access_identity_output, + "access_identity_idp": access_identity_idp_output, + "access_identity_mtls_auth": access_identity_mtls_auth_output, + "access_messages": access_messages_output, + "access_string_key_map_device_session": access_string_key_map_device_session_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users/${pathParam(args, "user_id")}/last_seen_identity`, }), diff --git a/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts new file mode 100644 index 00000000..ea551d68 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts @@ -0,0 +1,279 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_access_seat-2` in responses. + */ +export const access_access_seat_2_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_active_device_count` in responses. + */ +export const access_active_device_count_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `access_device_posture_check` in responses. + */ +export const access_device_posture_check_output: JsonSchema = { + "properties": { + "exists": { + "type": "boolean" + }, + "path": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_device_posture_rule-2` in responses. + */ +export const access_device_posture_rule_2_output: JsonSchema = { + "properties": { + "check": { + "$ref": "#/$defs/access_device_posture_check" + }, + "data": { + "type": "object" + }, + "description": { + "type": "string" + }, + "error": { + "type": "string" + }, + "id": { + "type": "string" + }, + "rule_name": { + "type": "string" + }, + "success": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_device_session` in responses. + */ +export const access_device_session_output: JsonSchema = { + "properties": { + "last_authenticated": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `access_gateway_seat-2` in responses. + */ +export const access_gateway_seat_2_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_geo` in responses. + */ +export const access_geo_output: JsonSchema = { + "properties": { + "country": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_identity` in responses. + */ +export const access_identity_output: JsonSchema = { + "properties": { + "account_id": { + "type": "string" + }, + "auth_status": { + "type": "string" + }, + "common_name": { + "type": "string" + }, + "devicePosture": { + "additionalProperties": { + "$ref": "#/$defs/access_device_posture_rule-2" + }, + "type": "object" + }, + "device_id": { + "type": "string" + }, + "device_sessions": { + "$ref": "#/$defs/access_string_key_map_device_session" + }, + "email": { + "type": "string" + }, + "geo": { + "$ref": "#/$defs/access_geo" + }, + "iat": { + "type": "number" + }, + "idp": { + "$ref": "#/$defs/access_identity_idp" + }, + "ip": { + "type": "string" + }, + "is_gateway": { + "type": "boolean" + }, + "is_warp": { + "type": "boolean" + }, + "mtls_auth": { + "$ref": "#/$defs/access_identity_mtls_auth" + }, + "service_token_id": { + "type": "string" + }, + "service_token_status": { + "type": "boolean" + }, + "user_uuid": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `access_identity_idp` in responses. + */ +export const access_identity_idp_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_identity_mtls_auth` in responses. + */ +export const access_identity_mtls_auth_output: JsonSchema = { + "properties": { + "auth_status": { + "type": "string" + }, + "cert_issuer_dn": { + "type": "string" + }, + "cert_issuer_ski": { + "type": "string" + }, + "cert_presented": { + "type": "boolean" + }, + "cert_serial": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_last_successful_login` in responses. + */ +export const access_last_successful_login_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `access_seat_uid-2` in responses. + */ +export const access_seat_uid_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_string_key_map_device_session` in responses. + */ +export const access_string_key_map_device_session_output: JsonSchema = { + "additionalProperties": { + "$ref": "#/$defs/access_device_session" + }, + "type": "object" +}; + +/** + * The schema of `access_uid` in responses. + */ +export const access_uid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_users-2` in responses. + */ +export const access_users_2_output: JsonSchema = { + "properties": { + "access_seat": { + "$ref": "#/$defs/access_access_seat-2" + }, + "active_device_count": { + "$ref": "#/$defs/access_active_device_count" + }, + "created_at": { + "$ref": "#/$defs/access_timestamp" + }, + "email": { + "$ref": "#/$defs/access_email-2" + }, + "gateway_seat": { + "$ref": "#/$defs/access_gateway_seat-2" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "last_successful_login": { + "$ref": "#/$defs/access_last_successful_login" + }, + "name": { + "$ref": "#/$defs/access_name-10" + }, + "seat_uid": { + "$ref": "#/$defs/access_seat_uid-2" + }, + "uid": { + "$ref": "#/$defs/access_uid" + }, + "updated_at": { + "$ref": "#/$defs/access_timestamp" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/access/users/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/tools.ts index 6ce95410..269e8ae0 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/tools.ts @@ -2,7 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, + access_timestamp_output, + access_uuid_output, +} from "../../outputs.js"; +import { access_email_2_output, access_name_10_output } from "../outputs.js"; import { access_email_2, access_name_10 } from "../schemas.js"; +import { + access_access_seat_2_output, + access_active_device_count_output, + access_gateway_seat_2_output, + access_last_successful_login_output, + access_seat_uid_2_output, + access_uid_output, + access_users_2_output, +} from "./outputs.js"; /** * The tools of `zero_trust.access.users`. @@ -57,6 +73,31 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": null }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_users-2" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_seat-2": access_access_seat_2_output, + "access_active_device_count": access_active_device_count_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_email-2": access_email_2_output, + "access_gateway_seat-2": access_gateway_seat_2_output, + "access_last_successful_login": access_last_successful_login_output, + "access_messages": access_messages_output, + "access_name-10": access_name_10_output, + "access_seat_uid-2": access_seat_uid_2_output, + "access_timestamp": access_timestamp_output, + "access_uid": access_uid_output, + "access_users-2": access_users_2_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +136,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": null }, + responses: { + schemas: { + "202": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users/${pathParam(args, "user_id")}`, }), @@ -134,6 +196,31 @@ export const tools: readonly Tool[] = [ "Access: Audit Logs Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_users-2" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_seat-2": access_access_seat_2_output, + "access_active_device_count": access_active_device_count_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_email-2": access_email_2_output, + "access_gateway_seat-2": access_gateway_seat_2_output, + "access_last_successful_login": access_last_successful_login_output, + "access_messages": access_messages_output, + "access_name-10": access_name_10_output, + "access_seat_uid-2": access_seat_uid_2_output, + "access_timestamp": access_timestamp_output, + "access_uid": access_uid_output, + "access_users-2": access_users_2_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users/${pathParam(args, "user_id")}`, }), @@ -190,6 +277,59 @@ export const tools: readonly Tool[] = [ "Access: Audit Logs Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_users-2" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_seat-2": access_access_seat_2_output, + "access_active_device_count": access_active_device_count_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_email-2": access_email_2_output, + "access_gateway_seat-2": access_gateway_seat_2_output, + "access_last_successful_login": access_last_successful_login_output, + "access_messages": access_messages_output, + "access_name-10": access_name_10_output, + "access_seat_uid-2": access_seat_uid_2_output, + "access_timestamp": access_timestamp_output, + "access_uid": access_uid_output, + "access_users-2": access_users_2_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users`, query: [ @@ -265,6 +405,24 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "200": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/organizations/revoke_user`, body: { value: args["body"], mediaType: "application/json" }, @@ -327,6 +485,31 @@ export const tools: readonly Tool[] = [ "Zero Trust: Seats Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_users-2" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_seat-2": access_access_seat_2_output, + "access_active_device_count": access_active_device_count_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_email-2": access_email_2_output, + "access_gateway_seat-2": access_gateway_seat_2_output, + "access_last_successful_login": access_last_successful_login_output, + "access_messages": access_messages_output, + "access_name-10": access_name_10_output, + "access_seat_uid-2": access_seat_uid_2_output, + "access_timestamp": access_timestamp_output, + "access_uid": access_uid_output, + "access_users-2": access_users_2_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users/${pathParam(args, "user_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/outputs.ts new file mode 100644 index 00000000..31798560 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/outputs.ts @@ -0,0 +1,120 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `one_AuthMethodDetail` in responses. + */ +export const one_AuthMethodDetail_output: JsonSchema = { + "properties": { + "display_name": { + "type": "string" + }, + "human_interaction_required": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "instructions": { + "$ref": "#/$defs/one_Instructions" + }, + "payload_example": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "payload_schema": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "redirect_url": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "display_name", + "human_interaction_required", + "id", + "instructions", + "payload_example", + "payload_schema", + "redirect_url" + ], + "type": "object" +}; + +/** + * The schema of `one_Instructions` in responses. + */ +export const one_Instructions_output: JsonSchema = { + "properties": { + "markdown": { + "type": "string" + } + }, + "required": [ + "markdown" + ], + "type": "object" +}; + +/** + * The schema of `one_PaginatedAuthMethodDetailList_result_info` in responses. + */ +export const one_PaginatedAuthMethodDetailList_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "next": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "previous": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts index 5a76b4b1..3cad9361 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + one_AuthMethodDetail_output, + one_Instructions_output, + one_PaginatedAuthMethodDetailList_result_info_output, +} from "./outputs.js"; /** * The tools of `zero_trust.casb.applications.auth_methods`. @@ -66,6 +71,33 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/one_AuthMethodDetail" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/one_PaginatedAuthMethodDetailList_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "404": null + }, + $defs: { + "one_AuthMethodDetail": one_AuthMethodDetail_output, + "one_Instructions": one_Instructions_output, + "one_PaginatedAuthMethodDetailList_result_info": one_PaginatedAuthMethodDetailList_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/applications/${pathParam(args, "application_id")}/auth-methods`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/outputs.ts new file mode 100644 index 00000000..97a6727f --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/outputs.ts @@ -0,0 +1,382 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `one_ApplicationDetail` in responses. + */ +export const one_ApplicationDetail_output: JsonSchema = { + "properties": { + "auth_methods": { + "items": { + "$ref": "#/$defs/one_AuthMethod" + }, + "type": "array" + }, + "category": { + "type": "string" + }, + "description": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "dlp_enabled": { + "type": "boolean" + }, + "id": { + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT_INTERNAL", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" + }, + "instructions": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "logo": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "use_cases": { + "items": { + "$ref": "#/$defs/one_UseCaseDetail" + }, + "type": "array" + } + }, + "required": [ + "auth_methods", + "category", + "description", + "display_name", + "dlp_enabled", + "id", + "instructions", + "logo", + "use_cases" + ], + "type": "object" +}; + +/** + * The schema of `one_ApplicationList` in responses. + */ +export const one_ApplicationList_output: JsonSchema = { + "properties": { + "auth_methods": { + "items": { + "$ref": "#/$defs/one_AuthMethodSummary" + }, + "type": "array" + }, + "category": { + "type": "string" + }, + "description": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "dlp_enabled": { + "type": "boolean" + }, + "id": { + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT_INTERNAL", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" + }, + "logo": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "permissions": { + "items": { + "$ref": "#/$defs/one_Permission" + }, + "type": "array" + }, + "supported_environments": { + "items": { + "type": "string" + }, + "type": "array" + }, + "use_cases": { + "items": { + "$ref": "#/$defs/one_UseCaseSummary" + }, + "type": "array" + } + }, + "required": [ + "auth_methods", + "category", + "description", + "display_name", + "dlp_enabled", + "id", + "logo", + "permissions", + "supported_environments", + "use_cases" + ], + "type": "object" +}; + +/** + * The schema of `one_AuthMethod` in responses. + */ +export const one_AuthMethod_output: JsonSchema = { + "properties": { + "display_name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_default": { + "type": "boolean" + }, + "supported_environments": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "display_name", + "id", + "is_default", + "supported_environments" + ], + "type": "object" +}; + +/** + * The schema of `one_AuthMethodSummary` in responses. + */ +export const one_AuthMethodSummary_output: JsonSchema = { + "properties": { + "display_name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "display_name", + "id" + ], + "type": "object" +}; + +/** + * The schema of `one_FeatureScope` in responses. + */ +export const one_FeatureScope_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "scopes": { + "items": { + "$ref": "#/$defs/one_Permission" + }, + "type": "array" + } + }, + "required": [ + "description", + "display_name", + "id", + "scopes" + ], + "type": "object" +}; + +/** + * The schema of `one_PaginatedApplicationListList_result_info` in responses. + */ +export const one_PaginatedApplicationListList_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "next": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "previous": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `one_Permission` in responses. + */ +export const one_Permission_output: JsonSchema = { + "properties": { + "display_name": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "severity": { + "enum": [ + "low", + "medium", + "high", + "critical" + ], + "type": "string" + } + }, + "required": [ + "display_name", + "scope", + "severity" + ], + "type": "object" +}; + +/** + * The schema of `one_UseCaseDetail` in responses. + */ +export const one_UseCaseDetail_output: JsonSchema = { + "properties": { + "base_scopes": { + "items": { + "$ref": "#/$defs/one_Permission" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "features": { + "items": { + "$ref": "#/$defs/one_FeatureScope" + }, + "type": "array" + }, + "id": { + "type": "string" + } + }, + "required": [ + "base_scopes", + "description", + "display_name", + "features", + "id" + ], + "type": "object" +}; + +/** + * The schema of `one_UseCaseSummary` in responses. + */ +export const one_UseCaseSummary_output: JsonSchema = { + "properties": { + "display_name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "display_name", + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts index ad050f33..9cddf4ba 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + one_ApplicationDetail_output, + one_ApplicationList_output, + one_AuthMethodSummary_output, + one_AuthMethod_output, + one_FeatureScope_output, + one_PaginatedApplicationListList_result_info_output, + one_Permission_output, + one_UseCaseDetail_output, + one_UseCaseSummary_output, +} from "./outputs.js"; /** * The tools of `zero_trust.casb.applications`. @@ -58,6 +69,21 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/one_ApplicationDetail" + }, + "404": null + }, + $defs: { + "one_ApplicationDetail": one_ApplicationDetail_output, + "one_AuthMethod": one_AuthMethod_output, + "one_FeatureScope": one_FeatureScope_output, + "one_Permission": one_Permission_output, + "one_UseCaseDetail": one_UseCaseDetail_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/applications/${pathParam(args, "application_id")}`, }), @@ -102,6 +128,35 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/one_ApplicationList" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/one_PaginatedApplicationListList_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": null + }, + $defs: { + "one_ApplicationList": one_ApplicationList_output, + "one_AuthMethodSummary": one_AuthMethodSummary_output, + "one_PaginatedApplicationListList_result_info": one_PaginatedApplicationListList_result_info_output, + "one_Permission": one_Permission_output, + "one_UseCaseSummary": one_UseCaseSummary_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/applications`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/outputs.ts new file mode 100644 index 00000000..ad9810c1 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/outputs.ts @@ -0,0 +1,60 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `posture-api_AssetSchemaDetail` in responses. + */ +export const posture_api_AssetSchemaDetail_output: JsonSchema = { + "properties": { + "asset_class": { + "type": "string" + }, + "schema": { + "type": "object" + } + }, + "required": [ + "asset_class", + "schema" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_AssetSchemaSummary` in responses. + */ +export const posture_api_AssetSchemaSummary_output: JsonSchema = { + "properties": { + "asset_class": { + "type": "string" + } + }, + "required": [ + "asset_class" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_AssetSchemaVendorGroup` in responses. + */ +export const posture_api_AssetSchemaVendorGroup_output: JsonSchema = { + "properties": { + "asset_classes": { + "items": { + "$ref": "#/$defs/posture-api_AssetSchemaSummary" + }, + "type": "array" + }, + "vendor": { + "type": "string" + } + }, + "required": [ + "asset_classes", + "vendor" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts index f2121453..f38eca1c 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + posture_api_error_response_output, + posture_api_messages_output, +} from "../outputs.js"; +import { + posture_api_AssetSchemaDetail_output, + posture_api_AssetSchemaSummary_output, + posture_api_AssetSchemaVendorGroup_output, +} from "./outputs.js"; /** * The tools of `zero_trust.casb.asset_schemas`. @@ -43,6 +52,27 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_AssetSchemaDetail" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_AssetSchemaDetail": posture_api_AssetSchemaDetail_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/asset_schemas/${pathParam(args, "asset_class")}`, }), @@ -101,6 +131,42 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_AssetSchemaVendorGroup" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_AssetSchemaSummary": posture_api_AssetSchemaSummary_output, + "posture-api_AssetSchemaVendorGroup": posture_api_AssetSchemaVendorGroup_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/asset_schemas`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/casb/content/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/content/outputs.ts new file mode 100644 index 00000000..1d210087 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/content/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `posture-api_ContentAsset` in responses. + */ +export const posture_api_ContentAsset_output: JsonSchema = { + "properties": { + "asset_id": { + "format": "uuid", + "type": "string" + }, + "asset_name": { + "type": "string" + }, + "dlp_contexts": { + "items": { + "$ref": "#/$defs/posture-api_DlpContext" + }, + "type": "array" + }, + "dlp_profile_count": { + "type": "integer" + }, + "dlp_profile_ids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "integration": { + "$ref": "#/$defs/posture-api_IntegrationSummary" + }, + "latest_affliction_date": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "asset_id", + "asset_name", + "dlp_contexts", + "dlp_profile_count", + "dlp_profile_ids", + "integration", + "latest_affliction_date" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts index d24697df..09752aa3 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts @@ -2,10 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + posture_api_CredentialHealthStatusEnum_output, + posture_api_DlpContext_output, + posture_api_ExportJobTypeEnum_output, + posture_api_ExportJob_output, + posture_api_IntegrationPolicy_output, + posture_api_IntegrationSummary_output, + posture_api_StatusEnum_output, + posture_api_Vendor_output, + posture_api_ZeroTrustProduct_output, + posture_api_api_response_common_output, + posture_api_messages_output, + posture_api_result_info_output, +} from "../outputs.js"; import { posture_api_DirectionEnum, posture_api_VendorsEnum, } from "../schemas.js"; +import { posture_api_ContentAsset_output } from "./outputs.js"; import { posture_api_ContentExportRequest, posture_api_ContentOrder, @@ -59,6 +74,19 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_ExportJob" + }, + "400": null + }, + $defs: { + "posture-api_ExportJob": posture_api_ExportJob_output, + "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, + "posture-api_StatusEnum": posture_api_StatusEnum_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/content/export`, body: { value: args["body"], mediaType: "application/json" }, @@ -152,6 +180,43 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_ContentAsset" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/posture-api_result-info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } + }, + $defs: { + "posture-api_ContentAsset": posture_api_ContentAsset_output, + "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, + "posture-api_DlpContext": posture_api_DlpContext_output, + "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, + "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, + "posture-api_Vendor": posture_api_Vendor_output, + "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, + "posture-api_result-info": posture_api_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/content`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts index 71274c93..ad55b8ca 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + posture_api_ExportJobTypeEnum_output, + posture_api_ExportJob_output, + posture_api_StatusEnum_output, + posture_api_result_info_output, +} from "../outputs.js"; import { posture_api_StatusEnum } from "../schemas.js"; /** @@ -44,6 +50,20 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_ExportJob" + }, + "400": null, + "404": null + }, + $defs: { + "posture-api_ExportJob": posture_api_ExportJob_output, + "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, + "posture-api_StatusEnum": posture_api_StatusEnum_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/exports/${pathParam(args, "id")}`, }), @@ -94,6 +114,34 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_ExportJob" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/posture-api_result-info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": null + }, + $defs: { + "posture-api_ExportJob": posture_api_ExportJob_output, + "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, + "posture-api_StatusEnum": posture_api_StatusEnum_output, + "posture-api_result-info": posture_api_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/exports`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts new file mode 100644 index 00000000..39e2876e --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts @@ -0,0 +1,264 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `posture-api_BaseFindingType` in responses. + */ +export const posture_api_BaseFindingType_output: JsonSchema = { + "properties": { + "applies_to_all_integrations": { + "type": "boolean" + }, + "asset_class": { + "type": "string" + }, + "asset_vendor": { + "allOf": [ + { + "$ref": "#/$defs/posture-api_FindingTypeVendorsEnum" + }, + { + "type": "string" + } + ] + }, + "category": { + "$ref": "#/$defs/posture-api_FindingCategory" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "expression": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "integration_ids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "match_count": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "origin": { + "enum": [ + "system", + "custom" + ], + "type": "string" + }, + "quarantined": { + "type": "boolean" + }, + "severity": { + "allOf": [ + { + "$ref": "#/$defs/posture-api_SeverityEnum" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "vendor": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "category", + "id", + "name", + "severity", + "vendor" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_FindingTypeValidationError` in responses. + */ +export const posture_api_FindingTypeValidationError_output: JsonSchema = { + "properties": { + "code": { + "type": "string" + }, + "column": { + "type": "integer" + }, + "detail": { + "type": "string" + }, + "field": { + "type": "string" + }, + "line": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "detail", + "message" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_ValidateFindingTypeResult` in responses. + */ +export const posture_api_ValidateFindingTypeResult_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/posture-api_FindingTypeValidationError" + }, + "type": "array" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "errors", + "valid" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_custom-finding-type-response` in responses. + */ +export const posture_api_custom_finding_type_response_output: JsonSchema = { + "properties": { + "applies_to_all_integrations": { + "type": "boolean" + }, + "asset_class": { + "type": "string" + }, + "asset_vendor": { + "allOf": [ + { + "$ref": "#/$defs/posture-api_FindingTypeVendorsEnum" + }, + { + "type": "string" + } + ] + }, + "category": { + "$ref": "#/$defs/posture-api_FindingCategory" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "expression": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "integration_ids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "match_count": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "origin": { + "enum": [ + "system", + "custom" + ], + "type": "string" + }, + "quarantined": { + "type": "boolean" + }, + "severity": { + "allOf": [ + { + "$ref": "#/$defs/posture-api_SeverityEnum" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "vendor": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "applies_to_all_integrations", + "asset_class", + "asset_vendor", + "category", + "created_at", + "description", + "expression", + "id", + "name", + "origin", + "severity", + "updated_at", + "vendor", + "version" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/outputs.ts new file mode 100644 index 00000000..f97d1728 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/outputs.ts @@ -0,0 +1,37 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `posture-api_RemediationType` in responses. + */ +export const posture_api_RemediationType_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "finding_type_id": { + "format": "uuid", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "remediation_type": { + "type": "string" + } + }, + "required": [ + "description", + "display_name", + "finding_type_id", + "id", + "remediation_type" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts index 78bd3fb7..bc479ae4 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts @@ -2,6 +2,8 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { posture_api_result_info_output } from "../../outputs.js"; +import { posture_api_RemediationType_output } from "./outputs.js"; /** * The tools of `zero_trust.casb.finding_types.remediation_types`. @@ -61,6 +63,33 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_RemediationType" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/posture-api_result-info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": null, + "404": null + }, + $defs: { + "posture-api_RemediationType": posture_api_RemediationType_output, + "posture-api_result-info": posture_api_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/finding_types/${pathParam(args, "finding_type_id")}/remediation_types`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts index 6d8cf81a..edb7a02d 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts @@ -2,11 +2,28 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + posture_api_FindingCategoryTypeEnum_output, + posture_api_FindingCategory_output, + posture_api_FindingTypeVendorsEnum_output, + posture_api_ObservationEnum_output, + posture_api_ProductEnum_output, + posture_api_SeverityEnum_output, + posture_api_error_response_output, + posture_api_messages_output, + posture_api_result_info_output, +} from "../outputs.js"; import { posture_api_FindingCategoryTypeEnum, posture_api_FindingTypeVendorsEnum, posture_api_SeverityEnum, } from "../schemas.js"; +import { + posture_api_BaseFindingType_output, + posture_api_FindingTypeValidationError_output, + posture_api_ValidateFindingTypeResult_output, + posture_api_custom_finding_type_response_output, +} from "./outputs.js"; import { posture_api_FindingTypeOriginEnum, posture_api_FindingTypeSeverityEnum, @@ -57,6 +74,42 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/posture-api_custom-finding-type-response" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "409": { + "$ref": "#/$defs/posture-api_error-response" + }, + "422": { + "$ref": "#/$defs/posture-api_error-response" + }, + "500": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_custom-finding-type-response": posture_api_custom_finding_type_response_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/finding_types`, body: { value: args["body"], mediaType: "application/json" }, @@ -98,6 +151,30 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "204": null, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "409": { + "$ref": "#/$defs/posture-api_error-response" + }, + "500": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/finding_types/${pathParam(args, "finding_type_id")}`, }), @@ -139,6 +216,24 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_BaseFindingType" + }, + "400": null, + "404": null + }, + $defs: { + "posture-api_BaseFindingType": posture_api_BaseFindingType_output, + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/finding_types/${pathParam(args, "finding_type_id")}`, }), @@ -256,6 +351,43 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_BaseFindingType" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/posture-api_result-info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": null, + "403": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_BaseFindingType": posture_api_BaseFindingType_output, + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + "posture-api_result-info": posture_api_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/finding_types`, query: [ @@ -318,6 +450,45 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_custom-finding-type-response" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + }, + "409": { + "$ref": "#/$defs/posture-api_error-response" + }, + "422": { + "$ref": "#/$defs/posture-api_error-response" + }, + "500": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_custom-finding-type-response": posture_api_custom_finding_type_response_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/finding_types/${pathParam(args, "finding_type_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -362,6 +533,31 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_ValidateFindingTypeResult" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "500": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_FindingTypeValidationError": posture_api_FindingTypeValidationError_output, + "posture-api_ValidateFindingTypeResult": posture_api_ValidateFindingTypeResult_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/finding_types/validate`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts new file mode 100644 index 00000000..4e279e63 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts @@ -0,0 +1,250 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `posture-api_Asset` in responses. + */ +export const posture_api_Asset_output: JsonSchema = { + "properties": { + "category": { + "$ref": "#/$defs/posture-api_AssetCategory" + }, + "external_id": { + "type": "string" + }, + "fields": { + "items": { + "$ref": "#/$defs/posture-api_AssetField" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "updated": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "category", + "external_id", + "fields", + "name" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_AssetCategory` in responses. + */ +export const posture_api_AssetCategory_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "service": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": { + "type": "string" + }, + "vendor": { + "type": "string" + } + }, + "required": [ + "service", + "type", + "vendor" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_AssetField` in responses. + */ +export const posture_api_AssetField_output: JsonSchema = { + "properties": { + "link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_FindingInstance` in responses. + */ +export const posture_api_FindingInstance_output: JsonSchema = { + "properties": { + "affliction_date": { + "format": "date-time", + "type": "string" + }, + "asset": { + "$ref": "#/$defs/posture-api_Asset" + }, + "dlp_contexts": { + "items": { + "$ref": "#/$defs/posture-api_DlpContext" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "is_archived": { + "type": "boolean" + }, + "remediations": { + "items": { + "$ref": "#/$defs/posture-api_RemediationJobSummary" + }, + "type": "array" + }, + "webhooks": { + "items": { + "$ref": "#/$defs/posture-api_WebhookInvocationSummary" + }, + "type": "array" + } + }, + "required": [ + "affliction_date", + "asset", + "dlp_contexts", + "remediations", + "webhooks" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_RemediationJobSummary` in responses. + */ +export const posture_api_RemediationJobSummary_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "stale": { + "type": "boolean" + }, + "status": { + "$ref": "#/$defs/posture-api_RemediationJobStatusEnum" + } + }, + "required": [ + "created_at", + "id", + "stale", + "status" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_WebhookInvocationSummary` in responses. + */ +export const posture_api_WebhookInvocationSummary_output: JsonSchema = { + "properties": { + "latest_job": { + "$ref": "#/$defs/posture-api_WebhookInvocationSummary_latest_job" + }, + "webhook_id": { + "format": "uuid", + "type": "string" + }, + "webhook_label": { + "type": "string" + } + }, + "required": [ + "latest_job", + "webhook_id", + "webhook_label" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_WebhookInvocationSummary_latest_job` in responses. + */ +export const posture_api_WebhookInvocationSummary_latest_job_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "stale": { + "type": "boolean" + }, + "status": { + "enum": [ + "pending", + "processing", + "completed" + ], + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "stale", + "status" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts index b44d7bf0..2c8535a4 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts @@ -2,7 +2,24 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + posture_api_DlpContext_output, + posture_api_ExportJobTypeEnum_output, + posture_api_ExportJob_output, + posture_api_RemediationJobStatusEnum_output, + posture_api_StatusEnum_output, + posture_api_result_info_output, +} from "../../outputs.js"; import { posture_api_DirectionEnum } from "../../schemas.js"; +import { + posture_api_AssetCategory_output, + posture_api_AssetField_output, + posture_api_Asset_output, + posture_api_FindingInstance_output, + posture_api_RemediationJobSummary_output, + posture_api_WebhookInvocationSummary_latest_job_output, + posture_api_WebhookInvocationSummary_output, +} from "./outputs.js"; import { posture_api_FindingInstanceBulkActionRequest, posture_api_FindingInstanceExportFilterRequest, @@ -55,6 +72,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_FindingInstance" + }, + "400": null, + "404": null + }, + $defs: { + "posture-api_Asset": posture_api_Asset_output, + "posture-api_AssetCategory": posture_api_AssetCategory_output, + "posture-api_AssetField": posture_api_AssetField_output, + "posture-api_DlpContext": posture_api_DlpContext_output, + "posture-api_FindingInstance": posture_api_FindingInstance_output, + "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, + "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, + "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, + "posture-api_WebhookInvocationSummary_latest_job": posture_api_WebhookInvocationSummary_latest_job_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_id")}/instances/archive`, body: { value: args["body"], mediaType: "application/json" }, @@ -104,6 +141,20 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_ExportJob" + }, + "400": null, + "404": null + }, + $defs: { + "posture-api_ExportJob": posture_api_ExportJob_output, + "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, + "posture-api_StatusEnum": posture_api_StatusEnum_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_namespace_id")}/instances/export`, body: { value: args["body"], mediaType: "application/json" }, @@ -152,6 +203,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_FindingInstance" + }, + "400": null, + "404": null + }, + $defs: { + "posture-api_Asset": posture_api_Asset_output, + "posture-api_AssetCategory": posture_api_AssetCategory_output, + "posture-api_AssetField": posture_api_AssetField_output, + "posture-api_DlpContext": posture_api_DlpContext_output, + "posture-api_FindingInstance": posture_api_FindingInstance_output, + "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, + "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, + "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, + "posture-api_WebhookInvocationSummary_latest_job": posture_api_WebhookInvocationSummary_latest_job_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_id")}/instances/${pathParam(args, "instance_id")}`, }), @@ -271,6 +342,41 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_FindingInstance" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/posture-api_result-info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": null, + "404": null + }, + $defs: { + "posture-api_Asset": posture_api_Asset_output, + "posture-api_AssetCategory": posture_api_AssetCategory_output, + "posture-api_AssetField": posture_api_AssetField_output, + "posture-api_DlpContext": posture_api_DlpContext_output, + "posture-api_FindingInstance": posture_api_FindingInstance_output, + "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, + "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, + "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, + "posture-api_WebhookInvocationSummary_latest_job": posture_api_WebhookInvocationSummary_latest_job_output, + "posture-api_result-info": posture_api_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_id")}/instances`, query: [ @@ -331,6 +437,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_FindingInstance" + }, + "400": null, + "404": null + }, + $defs: { + "posture-api_Asset": posture_api_Asset_output, + "posture-api_AssetCategory": posture_api_AssetCategory_output, + "posture-api_AssetField": posture_api_AssetField_output, + "posture-api_DlpContext": posture_api_DlpContext_output, + "posture-api_FindingInstance": posture_api_FindingInstance_output, + "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, + "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, + "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, + "posture-api_WebhookInvocationSummary_latest_job": posture_api_WebhookInvocationSummary_latest_job_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_id")}/instances/unarchive`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts new file mode 100644 index 00000000..11acd9fa --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts @@ -0,0 +1,220 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `posture-api_Finding` in responses. + */ +export const posture_api_Finding_output: JsonSchema = { + "properties": { + "active_count": { + "type": "integer" + }, + "archived_count": { + "type": "integer" + }, + "finding": { + "$ref": "#/$defs/posture-api_FindingType" + }, + "id": { + "contentEncoding": "base64", + "type": "string" + }, + "ignored": { + "type": "boolean" + }, + "instance_count": { + "type": "integer" + }, + "integration": { + "$ref": "#/$defs/posture-api_IntegrationSummary" + }, + "latest_affliction_date": { + "format": "date-time", + "type": "string" + }, + "severity_override": { + "$ref": "#/$defs/posture-api_FindingSeverityOverride" + } + }, + "required": [ + "active_count", + "archived_count", + "finding", + "id", + "ignored", + "instance_count", + "integration", + "latest_affliction_date" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_FindingRemediation` in responses. + */ +export const posture_api_FindingRemediation_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "frameworks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "guide": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "impact": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "threat": { + "type": "string" + } + }, + "required": [ + "frameworks", + "guide", + "id", + "impact", + "locale", + "threat" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `posture-api_FindingSeverityOverride` in responses. + */ +export const posture_api_FindingSeverityOverride_output: JsonSchema = { + "properties": { + "created_by": { + "type": "string" + }, + "severity": { + "$ref": "#/$defs/posture-api_SeverityEnum" + } + }, + "required": [ + "created_by", + "severity" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_FindingType` in responses. + */ +export const posture_api_FindingType_output: JsonSchema = { + "properties": { + "applies_to_all_integrations": { + "type": "boolean" + }, + "asset_class": { + "type": "string" + }, + "asset_vendor": { + "allOf": [ + { + "$ref": "#/$defs/posture-api_FindingTypeVendorsEnum" + }, + { + "type": "string" + } + ] + }, + "category": { + "$ref": "#/$defs/posture-api_FindingCategory" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "expression": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "integration_ids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "match_count": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "origin": { + "enum": [ + "system", + "custom" + ], + "type": "string" + }, + "quarantined": { + "type": "boolean" + }, + "remediation": { + "$ref": "#/$defs/posture-api_FindingRemediation" + }, + "severity": { + "allOf": [ + { + "$ref": "#/$defs/posture-api_SeverityEnum" + }, + { + "type": "string" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "vendor": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "category", + "id", + "name", + "severity", + "vendor", + "remediation" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts index 052c959a..74c9e303 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts @@ -2,11 +2,36 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + posture_api_CredentialHealthStatusEnum_output, + posture_api_ExportJobTypeEnum_output, + posture_api_ExportJob_output, + posture_api_FindingCategoryTypeEnum_output, + posture_api_FindingCategory_output, + posture_api_FindingTypeVendorsEnum_output, + posture_api_IntegrationPolicy_output, + posture_api_IntegrationSummary_output, + posture_api_ObservationEnum_output, + posture_api_ProductEnum_output, + posture_api_SeverityEnum_output, + posture_api_StatusEnum_output, + posture_api_Vendor_output, + posture_api_ZeroTrustProduct_output, + posture_api_error_response_output, + posture_api_messages_output, + posture_api_result_info_output, +} from "../outputs.js"; import { posture_api_DirectionEnum, posture_api_ProductEnum, posture_api_VendorsEnum, } from "../schemas.js"; +import { + posture_api_FindingRemediation_output, + posture_api_FindingSeverityOverride_output, + posture_api_FindingType_output, + posture_api_Finding_output, +} from "./outputs.js"; import { posture_api_FindingBulkActionRequest, posture_api_FindingExportFilterRequest, @@ -65,6 +90,19 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_ExportJob" + }, + "400": null + }, + $defs: { + "posture-api_ExportJob": posture_api_ExportJob_output, + "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, + "posture-api_StatusEnum": posture_api_StatusEnum_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/export`, body: { value: args["body"], mediaType: "application/json" }, @@ -107,6 +145,44 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_Finding" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, + "posture-api_Finding": posture_api_Finding_output, + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingRemediation": posture_api_FindingRemediation_output, + "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, + "posture-api_FindingType": posture_api_FindingType_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, + "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_Vendor": posture_api_Vendor_output, + "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_id")}`, }), @@ -148,6 +224,31 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_Finding" + }, + "400": null + }, + $defs: { + "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, + "posture-api_Finding": posture_api_Finding_output, + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingRemediation": posture_api_FindingRemediation_output, + "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, + "posture-api_FindingType": posture_api_FindingType_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, + "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_Vendor": posture_api_Vendor_output, + "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/ignore`, body: { value: args["body"], mediaType: "application/json" }, @@ -285,6 +386,56 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_Finding" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/posture-api_result-info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, + "posture-api_Finding": posture_api_Finding_output, + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingRemediation": posture_api_FindingRemediation_output, + "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, + "posture-api_FindingType": posture_api_FindingType_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, + "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_Vendor": posture_api_Vendor_output, + "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + "posture-api_result-info": posture_api_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings`, query: [ @@ -343,6 +494,37 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_Finding" + }, + "400": null, + "404": null, + "500": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, + "posture-api_Finding": posture_api_Finding_output, + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingRemediation": posture_api_FindingRemediation_output, + "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, + "posture-api_FindingType": posture_api_FindingType_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, + "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_Vendor": posture_api_Vendor_output, + "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_id")}/reset_finding_severity`, }), @@ -390,6 +572,37 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_Finding" + }, + "400": null, + "404": null, + "500": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, + "posture-api_Finding": posture_api_Finding_output, + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingRemediation": posture_api_FindingRemediation_output, + "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, + "posture-api_FindingType": posture_api_FindingType_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, + "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_Vendor": posture_api_Vendor_output, + "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_id")}/tune_finding_severity`, body: { value: args["body"], mediaType: "application/json" }, @@ -432,6 +645,31 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_Finding" + }, + "400": null + }, + $defs: { + "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, + "posture-api_Finding": posture_api_Finding_output, + "posture-api_FindingCategory": posture_api_FindingCategory_output, + "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, + "posture-api_FindingRemediation": posture_api_FindingRemediation_output, + "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, + "posture-api_FindingType": posture_api_FindingType_output, + "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, + "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, + "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, + "posture-api_ObservationEnum": posture_api_ObservationEnum_output, + "posture-api_ProductEnum": posture_api_ProductEnum_output, + "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_Vendor": posture_api_Vendor_output, + "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/unignore`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/integrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/integrations/outputs.ts new file mode 100644 index 00000000..92a6b09f --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/integrations/outputs.ts @@ -0,0 +1,296 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `one_IntegrationV2Detail` in responses. + */ +export const one_IntegrationV2Detail_output: JsonSchema = { + "properties": { + "application": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "auth_method": { + "oneOf": [ + { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "authorization_link": { + "$ref": "#/$defs/one_IntegrationV2Detail_authorization_link" + }, + "created": { + "format": "date-time", + "type": "string" + }, + "credentials_expiry": { + "format": "date-time", + "type": "string" + }, + "dlp_profiles": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "health_details": { + "items": { + "type": "object" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "is_paused": { + "type": "boolean" + }, + "last_hydrated": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "status": { + "type": "string" + }, + "updated": { + "format": "date-time", + "type": "string" + }, + "use_cases": { + "items": { + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "application", + "auth_method", + "authorization_link", + "created", + "credentials_expiry", + "dlp_profiles", + "health_details", + "id", + "is_paused", + "last_hydrated", + "name", + "status", + "updated", + "use_cases" + ], + "type": "object" +}; + +/** + * The schema of `one_IntegrationV2Detail_authorization_link` in responses. + */ +export const one_IntegrationV2Detail_authorization_link_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "components": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "components", + "link" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `one_IntegrationV2ListItem` in responses. + */ +export const one_IntegrationV2ListItem_output: JsonSchema = { + "properties": { + "application": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + "auth_method": { + "$ref": "#/$defs/one_IntegrationV2ListItem_auth_method" + }, + "created": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "is_paused": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "status": { + "type": "string" + }, + "updated": { + "format": "date-time", + "type": "string" + }, + "use_cases": { + "items": { + "$ref": "#/$defs/one_IntegrationV2ListItem_use_casesItem" + }, + "type": "array" + } + }, + "required": [ + "application", + "auth_method", + "created", + "id", + "is_paused", + "name", + "status", + "updated", + "use_cases" + ], + "type": "object" +}; + +/** + * The schema of `one_IntegrationV2ListItem_auth_method` in responses. + */ +export const one_IntegrationV2ListItem_auth_method_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "display_name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "display_name", + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `one_IntegrationV2ListItem_use_casesItem` in responses. + */ +export const one_IntegrationV2ListItem_use_casesItem_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "is_enabled": { + "type": "boolean" + } + }, + "required": [ + "id", + "is_enabled" + ], + "type": "object" +}; + +/** + * The schema of `one_PaginatedIntegrationV2ListItemList_result_info` in + * responses. + */ +export const one_PaginatedIntegrationV2ListItemList_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "next": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "previous": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts index 5917cf5e..cfbc51f9 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + one_IntegrationV2Detail_authorization_link_output, + one_IntegrationV2Detail_output, + one_IntegrationV2ListItem_auth_method_output, + one_IntegrationV2ListItem_output, + one_IntegrationV2ListItem_use_casesItem_output, + one_PaginatedIntegrationV2ListItemList_result_info_output, +} from "./outputs.js"; import { one_IntegrationV2CreateRequest, one_PatchedUpdateIntegrationV2Request, @@ -46,6 +54,18 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/one_IntegrationV2Detail" + }, + "400": null + }, + $defs: { + "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationV2Detail_authorization_link": one_IntegrationV2Detail_authorization_link_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/integrations`, body: { value: args["body"], mediaType: "application/json" }, @@ -84,6 +104,12 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": null, + "400": null + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/integrations/${pathParam(args, "id")}`, }), @@ -121,6 +147,18 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/one_IntegrationV2Detail" + }, + "404": null + }, + $defs: { + "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationV2Detail_authorization_link": one_IntegrationV2Detail_authorization_link_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/integrations/${pathParam(args, "id")}`, }), @@ -205,6 +243,34 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/one_IntegrationV2ListItem" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/one_PaginatedIntegrationV2ListItemList_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": null + }, + $defs: { + "one_IntegrationV2ListItem": one_IntegrationV2ListItem_output, + "one_IntegrationV2ListItem_auth_method": one_IntegrationV2ListItem_auth_method_output, + "one_IntegrationV2ListItem_use_casesItem": one_IntegrationV2ListItem_use_casesItem_output, + "one_PaginatedIntegrationV2ListItemList_result_info": one_PaginatedIntegrationV2ListItemList_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/integrations`, query: [ @@ -253,6 +319,18 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/one_IntegrationV2Detail" + }, + "400": null + }, + $defs: { + "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationV2Detail_authorization_link": one_IntegrationV2Detail_authorization_link_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/integrations/${pathParam(args, "id")}/pause`, }), @@ -290,6 +368,18 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/one_IntegrationV2Detail" + }, + "400": null + }, + $defs: { + "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationV2Detail_authorization_link": one_IntegrationV2Detail_authorization_link_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/integrations/${pathParam(args, "id")}/resume`, }), @@ -333,6 +423,18 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/one_IntegrationV2Detail" + }, + "400": null + }, + $defs: { + "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationV2Detail_authorization_link": one_IntegrationV2Detail_authorization_link_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/integrations/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/outputs.ts new file mode 100644 index 00000000..2b47474d --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/outputs.ts @@ -0,0 +1,640 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `posture-api_CredentialHealthStatusEnum` in responses. + */ +export const posture_api_CredentialHealthStatusEnum_output: JsonSchema = { + "enum": [ + "Initializing", + "Healthy", + "Unhealthy" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_DlpContext` in responses. + */ +export const posture_api_DlpContext_output: JsonSchema = { + "properties": { + "created": { + "format": "date-time", + "type": "string" + }, + "deleted": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entry_ids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "match_context_max_extent": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "match_context_min_extent": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "match_context_payload": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "profile_id": { + "format": "uuid", + "type": "string" + }, + "updated": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created", + "entry_ids", + "profile_id", + "updated" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_ExportJob` in responses. + */ +export const posture_api_ExportJob_output: JsonSchema = { + "properties": { + "download_url": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "errors": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "file_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "file_path": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "status": { + "$ref": "#/$defs/posture-api_StatusEnum" + }, + "type": { + "$ref": "#/$defs/posture-api_ExportJobTypeEnum" + }, + "user_id": { + "type": "string" + } + }, + "required": [ + "id", + "status", + "type", + "user_id" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_ExportJobTypeEnum` in responses. + */ +export const posture_api_ExportJobTypeEnum_output: JsonSchema = { + "enum": [ + "finding", + "findingInstance", + "content", + "remediationJob" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_FindingCategory` in responses. + */ +export const posture_api_FindingCategory_output: JsonSchema = { + "properties": { + "observation": { + "$ref": "#/$defs/posture-api_ObservationEnum" + }, + "product": { + "$ref": "#/$defs/posture-api_ProductEnum" + }, + "type": { + "$ref": "#/$defs/posture-api_FindingCategoryTypeEnum" + } + }, + "required": [ + "observation", + "product", + "type" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_FindingCategoryTypeEnum` in responses. + */ +export const posture_api_FindingCategoryTypeEnum_output: JsonSchema = { + "enum": [ + "Content", + "Posture" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_FindingTypeVendorsEnum` in responses. + */ +export const posture_api_FindingTypeVendorsEnum_output: JsonSchema = { + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_IntegrationPolicy` in responses. + */ +export const posture_api_IntegrationPolicy_output: JsonSchema = { + "properties": { + "client_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "compliance_level": { + "type": "string" + }, + "dlp_enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "permissions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `posture-api_IntegrationSummary` in responses. + */ +export const posture_api_IntegrationSummary_output: JsonSchema = { + "properties": { + "created": { + "format": "date-time", + "type": "string" + }, + "credential_health_status": { + "$ref": "#/$defs/posture-api_CredentialHealthStatusEnum" + }, + "credentials_expiry": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "is_paused": { + "type": "boolean" + }, + "last_hydrated": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "permissions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "policy": { + "$ref": "#/$defs/posture-api_IntegrationPolicy" + }, + "status": { + "type": "string" + }, + "updated": { + "format": "date-time", + "type": "string" + }, + "upgradable": { + "type": "boolean" + }, + "upgrade_dismissed": { + "type": "boolean" + }, + "vendor": { + "$ref": "#/$defs/posture-api_Vendor" + }, + "zt_enrollments": { + "items": { + "$ref": "#/$defs/posture-api_ZeroTrustProduct" + }, + "type": "array" + } + }, + "required": [ + "created", + "last_hydrated", + "name", + "permissions", + "policy", + "status", + "updated", + "upgradable", + "vendor", + "zt_enrollments" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_ObservationEnum` in responses. + */ +export const posture_api_ObservationEnum_output: JsonSchema = { + "enum": [ + "Issue", + "Insight", + "Activity" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_ProductEnum` in responses. + */ +export const posture_api_ProductEnum_output: JsonSchema = { + "enum": [ + "SaaS", + "Cloud" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_RemediationJobStatusEnum` in responses. + */ +export const posture_api_RemediationJobStatusEnum_output: JsonSchema = { + "enum": [ + "pending", + "processing", + "completed", + "failed", + "validating" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_SeverityEnum` in responses. + */ +export const posture_api_SeverityEnum_output: JsonSchema = { + "enum": [ + "Critical", + "High", + "Medium", + "Low" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_StatusEnum` in responses. + */ +export const posture_api_StatusEnum_output: JsonSchema = { + "enum": [ + "Pending", + "Success", + "Failure", + "Rescheduled", + "In-Progress" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_Vendor` in responses. + */ +export const posture_api_Vendor_output: JsonSchema = { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "display_name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "name": { + "type": "string" + }, + "policies": { + "items": { + "type": "object" + }, + "type": "array" + }, + "static_logo": { + "type": "string" + }, + "zt_enrollments": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "description", + "display_name", + "id", + "logo", + "name", + "static_logo", + "zt_enrollments" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_ZeroTrustProduct` in responses. + */ +export const posture_api_ZeroTrustProduct_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `posture-api_api-response-common` in responses. + */ +export const posture_api_api_response_common_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/posture-api_messages" + }, + "messages": { + "$ref": "#/$defs/posture-api_messages" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_error-response` in responses. + */ +export const posture_api_error_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/posture-api_messages" + }, + "messages": { + "$ref": "#/$defs/posture-api_messages" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_messages` in responses. + */ +export const posture_api_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `posture-api_result-info` in responses. + */ +export const posture_api_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "next": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "previous": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/policies/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/policies/outputs.ts new file mode 100644 index 00000000..32b3e0c9 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/policies/outputs.ts @@ -0,0 +1,156 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `posture-api_DeletePolicyResponse` in responses. + */ +export const posture_api_DeletePolicyResponse_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_PolicyActionsResponse` in responses. + */ +export const posture_api_PolicyActionsResponse_output: JsonSchema = { + "properties": { + "remediation_types": { + "items": { + "$ref": "#/$defs/posture-api_PolicyRemediationTypeResponse" + }, + "type": "array" + }, + "webhook_configs": { + "items": { + "$ref": "#/$defs/posture-api_PolicyWebhookConfigResponse" + }, + "type": "array" + } + }, + "required": [ + "remediation_types", + "webhook_configs" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_PolicyRemediationTypeResponse` in responses. + */ +export const posture_api_PolicyRemediationTypeResponse_output: JsonSchema = { + "properties": { + "display_name": { + "type": "string" + }, + "remediation_type": { + "type": "string" + }, + "remediation_type_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "display_name", + "remediation_type", + "remediation_type_id" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_PolicyResponse` in responses. + */ +export const posture_api_PolicyResponse_output: JsonSchema = { + "properties": { + "actions": { + "$ref": "#/$defs/posture-api_PolicyActionsResponse" + }, + "applies_to_all_integrations": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "disabled_at": { + "format": "date-time", + "type": "string" + }, + "display_name": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "finding_type_id": { + "format": "uuid", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "integration_ids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "last_triggered_at": { + "format": "date-time", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "actions", + "applies_to_all_integrations", + "created_at", + "description", + "display_name", + "enabled", + "finding_type_id", + "id", + "integration_ids", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_PolicyWebhookConfigResponse` in responses. + */ +export const posture_api_PolicyWebhookConfigResponse_output: JsonSchema = { + "properties": { + "display_name": { + "type": "string" + }, + "webhook_config_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "display_name", + "webhook_config_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts index f17901fc..c7dc368a 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + posture_api_error_response_output, + posture_api_messages_output, + posture_api_result_info_output, +} from "../outputs.js"; +import { + posture_api_DeletePolicyResponse_output, + posture_api_PolicyActionsResponse_output, + posture_api_PolicyRemediationTypeResponse_output, + posture_api_PolicyResponse_output, + posture_api_PolicyWebhookConfigResponse_output, +} from "./outputs.js"; import { posture_api_CreatePolicyRequest, posture_api_PolicyActionsInput, @@ -54,6 +66,33 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_PolicyResponse" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, + "posture-api_PolicyRemediationTypeResponse": posture_api_PolicyRemediationTypeResponse_output, + "posture-api_PolicyResponse": posture_api_PolicyResponse_output, + "posture-api_PolicyWebhookConfigResponse": posture_api_PolicyWebhookConfigResponse_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/policies`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +134,30 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_DeletePolicyResponse" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_DeletePolicyResponse": posture_api_DeletePolicyResponse_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/policies/${pathParam(args, "policy_id")}`, }), @@ -136,6 +199,33 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_PolicyResponse" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, + "posture-api_PolicyRemediationTypeResponse": posture_api_PolicyRemediationTypeResponse_output, + "posture-api_PolicyResponse": posture_api_PolicyResponse_output, + "posture-api_PolicyWebhookConfigResponse": posture_api_PolicyWebhookConfigResponse_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/policies/${pathParam(args, "policy_id")}`, }), @@ -175,6 +265,45 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_PolicyResponse" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/posture-api_result-info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, + "posture-api_PolicyRemediationTypeResponse": posture_api_PolicyRemediationTypeResponse_output, + "posture-api_PolicyResponse": posture_api_PolicyResponse_output, + "posture-api_PolicyWebhookConfigResponse": posture_api_PolicyWebhookConfigResponse_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + "posture-api_result-info": posture_api_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/policies`, query: [ @@ -228,6 +357,33 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_PolicyResponse" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, + "posture-api_PolicyRemediationTypeResponse": posture_api_PolicyRemediationTypeResponse_output, + "posture-api_PolicyResponse": posture_api_PolicyResponse_output, + "posture-api_PolicyWebhookConfigResponse": posture_api_PolicyWebhookConfigResponse_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/policies/${pathParam(args, "policy_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts new file mode 100644 index 00000000..6eb3426b --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts @@ -0,0 +1,342 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `posture-api_CreateRemediationJobResponse` in responses. + */ +export const posture_api_CreateRemediationJobResponse_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "type": "object" + }, + "type": "array" + }, + "messages": { + "items": { + "type": "object" + }, + "type": "array" + }, + "result": { + "$ref": "#/$defs/posture-api_CreateRemediationJobResponse_result" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_CreateRemediationJobResponse_result` in responses. + */ +export const posture_api_CreateRemediationJobResponse_result_output: JsonSchema = { + "properties": { + "created": { + "items": { + "$ref": "#/$defs/posture-api_RemediationJob" + }, + "type": "array" + }, + "failed": { + "items": { + "$ref": "#/$defs/posture-api_RemediationJobFailure" + }, + "type": "array" + } + }, + "required": [ + "created", + "failed" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_PaginatedRemediationJobList_result_info` in + * responses. + */ +export const posture_api_PaginatedRemediationJobList_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `posture-api_RemediationJob` in responses. + */ +export const posture_api_RemediationJob_output: JsonSchema = { + "properties": { + "asset": { + "$ref": "#/$defs/posture-api_RemediationJobAsset" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "finding_id": { + "type": "string" + }, + "finding_instance_id": { + "format": "uuid", + "type": "string" + }, + "finding_type_id": { + "format": "uuid", + "type": "string" + }, + "finding_type_name": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "integration_name": { + "type": "string" + }, + "last_updated": { + "format": "date-time", + "type": "string" + }, + "remediation_type": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/posture-api_RemediationJobStatusEnum" + }, + "triggered_by_actor": { + "oneOf": [ + { + "enum": [ + "user", + "account_token" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "triggered_by_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "triggered_by_user": { + "type": "string" + } + }, + "required": [ + "asset", + "created_at", + "finding_id", + "finding_instance_id", + "finding_type_id", + "finding_type_name", + "id", + "integration_name", + "last_updated", + "remediation_type", + "status", + "triggered_by_user" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_RemediationJobAsset` in responses. + */ +export const posture_api_RemediationJobAsset_output: JsonSchema = { + "properties": { + "category": { + "$ref": "#/$defs/posture-api_RemediationJobAssetCategory" + }, + "external_id": { + "type": "string" + }, + "fields": { + "items": { + "$ref": "#/$defs/posture-api_RemediationJobAssetField" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "category", + "external_id", + "fields", + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_RemediationJobAssetCategory` in responses. + */ +export const posture_api_RemediationJobAssetCategory_output: JsonSchema = { + "properties": { + "service": { + "type": "string" + }, + "type": { + "type": "string" + }, + "vendor": { + "$ref": "#/$defs/posture-api_VendorsDisplayNameEnum" + } + }, + "required": [ + "service", + "type", + "vendor" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_RemediationJobAssetField` in responses. + */ +export const posture_api_RemediationJobAssetField_output: JsonSchema = { + "properties": { + "link": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "value": { + "$ref": "#/$defs/posture-api_RemediationJobAssetField_value" + } + }, + "required": [ + "name", + "value" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_RemediationJobAssetField_value` in responses. + */ +export const posture_api_RemediationJobAssetField_value_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] +}; + +/** + * The schema of `posture-api_RemediationJobFailure` in responses. + */ +export const posture_api_RemediationJobFailure_output: JsonSchema = { + "properties": { + "error": { + "type": "string" + }, + "finding_instance_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "error", + "finding_instance_id" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_VendorsDisplayNameEnum` in responses. + */ +export const posture_api_VendorsDisplayNameEnum_output: JsonSchema = { + "enum": [ + "AWS", + "Anthropic", + "Bitbucket", + "Box", + "Confluence", + "Dropbox", + "GitHub", + "Google Cloud Platform", + "Google Workspace", + "Jira", + "Microsoft", + "Microsoft Internal", + "OpenAI", + "Slack", + "Salesforce", + "ServiceNow", + "Zoom" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts index 9c528e27..531d657d 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts @@ -2,10 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + posture_api_ExportJobTypeEnum_output, + posture_api_ExportJob_output, + posture_api_RemediationJobStatusEnum_output, + posture_api_StatusEnum_output, + posture_api_error_response_output, + posture_api_messages_output, +} from "../../outputs.js"; import { posture_api_DirectionEnum, posture_api_RemediationJobStatusEnum, } from "../../schemas.js"; +import { + posture_api_CreateRemediationJobResponse_output, + posture_api_CreateRemediationJobResponse_result_output, + posture_api_PaginatedRemediationJobList_result_info_output, + posture_api_RemediationJobAssetCategory_output, + posture_api_RemediationJobAssetField_output, + posture_api_RemediationJobAssetField_value_output, + posture_api_RemediationJobAsset_output, + posture_api_RemediationJobFailure_output, + posture_api_RemediationJob_output, + posture_api_VendorsDisplayNameEnum_output, +} from "./outputs.js"; import { posture_api_RemediationJobActorTypeEnum, posture_api_RemediationJobsCreateRequest, @@ -53,6 +73,33 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_CreateRemediationJobResponse_result" + }, + "400": { + "$ref": "#/$defs/posture-api_CreateRemediationJobResponse" + }, + "409": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_CreateRemediationJobResponse": posture_api_CreateRemediationJobResponse_output, + "posture-api_CreateRemediationJobResponse_result": posture_api_CreateRemediationJobResponse_result_output, + "posture-api_RemediationJob": posture_api_RemediationJob_output, + "posture-api_RemediationJobAsset": posture_api_RemediationJobAsset_output, + "posture-api_RemediationJobAssetCategory": posture_api_RemediationJobAssetCategory_output, + "posture-api_RemediationJobAssetField": posture_api_RemediationJobAssetField_output, + "posture-api_RemediationJobAssetField_value": posture_api_RemediationJobAssetField_value_output, + "posture-api_RemediationJobFailure": posture_api_RemediationJobFailure_output, + "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, + "posture-api_VendorsDisplayNameEnum": posture_api_VendorsDisplayNameEnum_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/remediations/jobs`, body: { value: args["body"], mediaType: "application/json" }, @@ -98,6 +145,19 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_ExportJob" + }, + "400": null + }, + $defs: { + "posture-api_ExportJob": posture_api_ExportJob_output, + "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, + "posture-api_StatusEnum": posture_api_StatusEnum_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/remediations/jobs/export`, body: { value: args["body"], mediaType: "application/json" }, @@ -201,6 +261,38 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_RemediationJob" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/posture-api_PaginatedRemediationJobList_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": null + }, + $defs: { + "posture-api_PaginatedRemediationJobList_result_info": posture_api_PaginatedRemediationJobList_result_info_output, + "posture-api_RemediationJob": posture_api_RemediationJob_output, + "posture-api_RemediationJobAsset": posture_api_RemediationJobAsset_output, + "posture-api_RemediationJobAssetCategory": posture_api_RemediationJobAssetCategory_output, + "posture-api_RemediationJobAssetField": posture_api_RemediationJobAssetField_output, + "posture-api_RemediationJobAssetField_value": posture_api_RemediationJobAssetField_value_output, + "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, + "posture-api_VendorsDisplayNameEnum": posture_api_VendorsDisplayNameEnum_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/remediations/jobs`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts new file mode 100644 index 00000000..04b4db56 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts @@ -0,0 +1,144 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `posture-api_WebhookJob` in responses. + */ +export const posture_api_WebhookJob_output: JsonSchema = { + "properties": { + "asset_data": { + "type": "object" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "failure_details": { + "type": "object" + }, + "failure_reason": { + "$ref": "#/$defs/posture-api_WebhookJobFailureReasonEnum" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "integration_id": { + "format": "uuid", + "type": "string" + }, + "last_updated_at": { + "format": "date-time", + "type": "string" + }, + "parameters": { + "$ref": "#/$defs/posture-api_WebhookJobParameters" + }, + "status": { + "$ref": "#/$defs/posture-api_WebhookJobStatusEnum" + }, + "triggered_by_actor": { + "$ref": "#/$defs/posture-api_WebhookJobActorTypeEnum" + }, + "triggered_by_id": { + "type": "string" + }, + "webhook_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "asset_data", + "created_at", + "id", + "integration_id", + "last_updated_at", + "parameters", + "status", + "triggered_by_actor", + "triggered_by_id", + "webhook_id" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_WebhookJobActorTypeEnum` in responses. + */ +export const posture_api_WebhookJobActorTypeEnum_output: JsonSchema = { + "enum": [ + "user", + "account_token" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_WebhookJobFailure` in responses. + */ +export const posture_api_WebhookJobFailure_output: JsonSchema = { + "properties": { + "error": { + "type": "string" + }, + "finding_instance_id": { + "format": "uuid", + "type": "string" + }, + "webhook_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "error", + "finding_instance_id", + "webhook_id" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_WebhookJobFailureReasonEnum` in responses. + */ +export const posture_api_WebhookJobFailureReasonEnum_output: JsonSchema = { + "enum": [ + "Permission Denied", + "Integration Unavailable", + "Service Temporarily Unavailable", + "System Error" + ], + "type": "string" +}; + +/** + * The schema of `posture-api_WebhookJobParameters` in responses. + */ +export const posture_api_WebhookJobParameters_output: JsonSchema = { + "properties": { + "finding_instance_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "finding_instance_id" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_WebhookJobStatusEnum` in responses. + */ +export const posture_api_WebhookJobStatusEnum_output: JsonSchema = { + "enum": [ + "pending", + "processing", + "completed", + "failed" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts index 24239afc..5844a7e8 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + posture_api_error_response_output, + posture_api_messages_output, +} from "../../outputs.js"; +import { + posture_api_WebhookJobActorTypeEnum_output, + posture_api_WebhookJobFailureReasonEnum_output, + posture_api_WebhookJobFailure_output, + posture_api_WebhookJobParameters_output, + posture_api_WebhookJobStatusEnum_output, + posture_api_WebhookJob_output, +} from "./outputs.js"; import { posture_api_CreateWebhookJobsRequest } from "./schemas.js"; /** @@ -45,6 +57,53 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "created": { + "items": { + "$ref": "#/$defs/posture-api_WebhookJob" + }, + "type": "array" + }, + "failed": { + "items": { + "$ref": "#/$defs/posture-api_WebhookJobFailure" + }, + "type": "array" + } + }, + "required": [ + "created", + "failed" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_WebhookJob": posture_api_WebhookJob_output, + "posture-api_WebhookJobActorTypeEnum": posture_api_WebhookJobActorTypeEnum_output, + "posture-api_WebhookJobFailure": posture_api_WebhookJobFailure_output, + "posture-api_WebhookJobFailureReasonEnum": posture_api_WebhookJobFailureReasonEnum_output, + "posture-api_WebhookJobParameters": posture_api_WebhookJobParameters_output, + "posture-api_WebhookJobStatusEnum": posture_api_WebhookJobStatusEnum_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/webhooks/jobs`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/outputs.ts new file mode 100644 index 00000000..0a5b481c --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/outputs.ts @@ -0,0 +1,105 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `posture-api_EvaluateNewWebhookResponse` in responses. + */ +export const posture_api_EvaluateNewWebhookResponse_output: JsonSchema = { + "properties": { + "message": { + "type": "string" + }, + "status_code": { + "type": "integer" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "message", + "status_code", + "success" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_Webhook` in responses. + */ +export const posture_api_Webhook_output: JsonSchema = { + "properties": { + "authentication_type": { + "enum": [ + "Basic Auth", + "None", + "Bearer Auth", + "Static Headers", + "HMAC-Signing" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "destination_url": { + "type": "string" + }, + "headers": { + "items": { + "$ref": "#/$defs/posture-api_Webhook_headersItem" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "label": { + "type": "string" + }, + "status": { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "authentication_type", + "created_at", + "destination_url", + "id", + "label", + "status", + "updated_at", + "version" + ], + "type": "object" +}; + +/** + * The schema of `posture-api_Webhook_headersItem` in responses. + */ +export const posture_api_Webhook_headersItem_output: JsonSchema = { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts index 070b120e..4de23a42 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + posture_api_api_response_common_output, + posture_api_error_response_output, + posture_api_messages_output, +} from "../outputs.js"; +import { + posture_api_EvaluateNewWebhookResponse_output, + posture_api_Webhook_headersItem_output, + posture_api_Webhook_output, +} from "./outputs.js"; import { posture_api_CreateWebhookRequest, posture_api_EvaluateNewWebhookRequest, @@ -51,6 +61,31 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_Webhook" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "422": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_Webhook": posture_api_Webhook_output, + "posture-api_Webhook_headersItem": posture_api_Webhook_headersItem_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/webhooks`, body: { value: args["body"], mediaType: "application/json" }, @@ -92,6 +127,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_api-response-common" + }, + "400": null, + "409": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/webhooks/${pathParam(args, "webhook_id")}`, }), @@ -134,6 +185,27 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_EvaluateNewWebhookResponse" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_EvaluateNewWebhookResponse": posture_api_EvaluateNewWebhookResponse_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/webhooks/evaluate`, body: { value: args["body"], mediaType: "application/json" }, @@ -175,6 +247,30 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_EvaluateNewWebhookResponse" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_EvaluateNewWebhookResponse": posture_api_EvaluateNewWebhookResponse_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/webhooks/${pathParam(args, "webhook_id")}/evaluate`, }), @@ -216,6 +312,31 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_Webhook" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_Webhook": posture_api_Webhook_output, + "posture-api_Webhook_headersItem": posture_api_Webhook_headersItem_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/webhooks/${pathParam(args, "webhook_id")}`, }), @@ -251,6 +372,39 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/posture-api_Webhook" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_Webhook": posture_api_Webhook_output, + "posture-api_Webhook_headersItem": posture_api_Webhook_headersItem_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/webhooks`, }), @@ -299,6 +453,31 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/posture-api_Webhook" + }, + "400": { + "$ref": "#/$defs/posture-api_error-response" + }, + "401": { + "$ref": "#/$defs/posture-api_error-response" + }, + "403": { + "$ref": "#/$defs/posture-api_error-response" + }, + "404": { + "$ref": "#/$defs/posture-api_error-response" + } + }, + $defs: { + "posture-api_Webhook": posture_api_Webhook_output, + "posture-api_Webhook_headersItem": posture_api_Webhook_headersItem_output, + "posture-api_error-response": posture_api_error_response_output, + "posture-api_messages": posture_api_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/webhooks/${pathParam(args, "webhook_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts b/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts new file mode 100644 index 00000000..ba179bd9 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts @@ -0,0 +1,18 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `tunnel_icmp_proxy_enabled` in responses. + */ +export const tunnel_icmp_proxy_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `tunnel_offramp_warp_enabled` in responses. + */ +export const tunnel_offramp_warp_enabled_output: JsonSchema = { + "type": "boolean" +}; diff --git a/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts b/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts index 70d65579..c6579daf 100644 --- a/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + tunnel_api_response_common_failure_output, + tunnel_messages_output, +} from "../../outputs.js"; +import { + tunnel_icmp_proxy_enabled_output, + tunnel_offramp_warp_enabled_output, +} from "./outputs.js"; import { tunnel_icmp_proxy_enabled, tunnel_offramp_warp_enabled, @@ -59,6 +67,30 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "icmp_proxy_enabled": { + "$ref": "#/$defs/tunnel_icmp_proxy_enabled" + }, + "offramp_warp_enabled": { + "$ref": "#/$defs/tunnel_offramp_warp_enabled" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/connectivity_settings`, body: { value: args["body"], mediaType: "application/json" }, @@ -96,6 +128,30 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "icmp_proxy_enabled": { + "$ref": "#/$defs/tunnel_icmp_proxy_enabled" + }, + "offramp_warp_enabled": { + "$ref": "#/$defs/tunnel_offramp_warp_enabled" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/tunnel_api-response-common-failure" + } + }, + $defs: { + "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, + "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled_output, + "tunnel_messages": tunnel_messages_output, + "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/connectivity_settings`, }), diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/outputs.ts new file mode 100644 index 00000000..a1643a8b --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cws_BasicAuthCredential` in responses. + */ +export const cws_BasicAuthCredential_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "updated_at", + "username" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/outputs.ts new file mode 100644 index 00000000..74c900d0 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/outputs.ts @@ -0,0 +1,29 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `cws_BasicAuthSecretResponse` in responses. + */ +export const cws_BasicAuthSecretResponse_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "expires_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "created_at", + "id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts index 1a9f76b1..9ad69bf4 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../../outputs.js"; +import { cws_BasicAuthSecretResponse_output } from "./outputs.js"; import { cws_CreateBasicAuthSecretBody } from "./schemas.js"; /** @@ -49,6 +57,28 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_BasicAuthSecretResponse" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "503": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials/${pathParam(args, "credential_id")}/secrets`, body: { value: args["body"], mediaType: "application/json" }, @@ -94,6 +124,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials/${pathParam(args, "credential_id")}/secrets/${pathParam(args, "secret_id")}`, }), @@ -138,6 +187,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_BasicAuthSecretResponse" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials/${pathParam(args, "credential_id")}/secrets/${pathParam(args, "secret_id")}`, }), @@ -202,6 +270,47 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_BasicAuthSecretResponse" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials/${pathParam(args, "credential_id")}/secrets`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts index 0d4656c6..829f840d 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../outputs.js"; +import { cws_BasicAuthCredential_output } from "./outputs.js"; import { cws_CreateBasicAuthCredentialInputBody } from "./schemas.js"; /** @@ -43,6 +51,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_BasicAuthCredential" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_BasicAuthCredential": cws_BasicAuthCredential_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials`, body: { value: args["body"], mediaType: "application/json" }, @@ -82,6 +109,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials/${pathParam(args, "credential_id")}`, }), @@ -120,6 +166,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_BasicAuthCredential" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_BasicAuthCredential": cws_BasicAuthCredential_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials/${pathParam(args, "credential_id")}`, }), @@ -189,6 +254,47 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_BasicAuthCredential" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_BasicAuthCredential": cws_BasicAuthCredential_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/deployments/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/deployments/outputs.ts new file mode 100644 index 00000000..bd9e3687 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/deployments/outputs.ts @@ -0,0 +1,98 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cws_Deployment` in responses. + */ +export const cws_Deployment_output: JsonSchema = { + "properties": { + "basic_auth_credential_ids": { + "oneOf": [ + { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "default_mode": { + "enum": [ + "ALLOW", + "BLOCK" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "domain_acl_id": { + "format": "uuid", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "on_error_action": { + "enum": [ + "BLOCK", + "SKIP" + ], + "type": "string" + }, + "policy_set_ids": { + "oneOf": [ + { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "rego_raise_error": { + "type": "boolean" + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "basic_auth_credential_ids", + "created_at", + "default_mode", + "id", + "name", + "on_error_action", + "policy_set_ids", + "rego_raise_error", + "tags", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts index b26bee76..65840acd 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../outputs.js"; +import { cws_Deployment_output } from "./outputs.js"; import { cws_CreateDeploymentInputBody, cws_UpdateDeploymentInputBody, @@ -46,6 +54,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_Deployment" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_Deployment": cws_Deployment_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/deployments`, body: { value: args["body"], mediaType: "application/json" }, @@ -85,6 +112,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/deployments/${pathParam(args, "deployment_id")}`, }), @@ -123,6 +169,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_Deployment" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_Deployment": cws_Deployment_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/deployments/${pathParam(args, "deployment_id")}`, }), @@ -187,6 +252,47 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_Deployment" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_Deployment": cws_Deployment_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/deployments`, query: [ @@ -239,6 +345,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_Deployment" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_Deployment": cws_Deployment_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/deployments/${pathParam(args, "deployment_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/domainAcls/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/outputs.ts new file mode 100644 index 00000000..0236ef7d --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/outputs.ts @@ -0,0 +1,79 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cws_DomainACL` in responses. + */ +export const cws_DomainACL_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "default_action": { + "enum": [ + "ALLOW", + "BLOCK" + ], + "type": "string" + }, + "entries": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_DomainACLEntry" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "default_action", + "entries", + "id", + "name", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `cws_DomainACLEntry` in responses. + */ +export const cws_DomainACLEntry_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "ALLOW", + "BLOCK" + ], + "type": "string" + }, + "domain": { + "type": "string" + } + }, + "required": [ + "action", + "domain" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts index 613b4280..61806a72 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../outputs.js"; +import { cws_DomainACLEntry_output, cws_DomainACL_output } from "./outputs.js"; import { cws_CreateDomainACLInputBody, cws_DomainACLEntry, @@ -48,6 +56,26 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_DomainACL" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DomainACL": cws_DomainACL_output, + "cws_DomainACLEntry": cws_DomainACLEntry_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/domain-acls`, body: { value: args["body"], mediaType: "application/json" }, @@ -87,6 +115,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/domain-acls/${pathParam(args, "domain_acl_id")}`, }), @@ -125,6 +172,26 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DomainACL" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DomainACL": cws_DomainACL_output, + "cws_DomainACLEntry": cws_DomainACLEntry_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/domain-acls/${pathParam(args, "domain_acl_id")}`, }), @@ -194,6 +261,48 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_DomainACL" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DomainACL": cws_DomainACL_output, + "cws_DomainACLEntry": cws_DomainACLEntry_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/domain-acls`, query: [ @@ -248,6 +357,26 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DomainACL" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DomainACL": cws_DomainACL_output, + "cws_DomainACLEntry": cws_DomainACLEntry_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/domain-acls/${pathParam(args, "domain_acl_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/outputs.ts new file mode 100644 index 00000000..199ba7db --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/outputs.ts @@ -0,0 +1,133 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cws_DeletedResult` in responses. + */ +export const cws_DeletedResult_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cws_ErrorResponse` in responses. + */ +export const cws_ErrorResponse_output: JsonSchema = { + "properties": { + "errors": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_ResponseMessage" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "messages": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_ResponseMessage" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `cws_MessageSource` in responses. + */ +export const cws_MessageSource_output: JsonSchema = { + "properties": { + "pointer": { + "type": "string" + } + }, + "required": [ + "pointer" + ], + "type": "object" +}; + +/** + * The schema of `cws_ResponseMessage` in responses. + */ +export const cws_ResponseMessage_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "source": { + "$ref": "#/$defs/cws_MessageSource" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `cws_ResultInfo` in responses. + */ +export const cws_ResultInfo_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + } + }, + "required": [ + "count", + "per_page", + "total_count" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/policies/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/policies/outputs.ts new file mode 100644 index 00000000..7f70be99 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/policies/outputs.ts @@ -0,0 +1,60 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cws_Policy` in responses. + */ +export const cws_Policy_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "entrypoint": { + "type": "string" + }, + "filter": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "package_path": { + "type": "string" + }, + "rego_source": { + "type": "string" + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "entrypoint", + "filter", + "id", + "name", + "package_path", + "rego_source", + "tags", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts index 29ec4f79..1d4951c1 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../outputs.js"; +import { cws_Policy_output } from "./outputs.js"; import { cws_CreatePolicyInputBody, cws_UpdatePolicyInputBody, @@ -46,6 +54,28 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_Policy" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "503": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_Policy": cws_Policy_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policies`, body: { value: args["body"], mediaType: "application/json" }, @@ -85,6 +115,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policies/${pathParam(args, "policy_id")}`, }), @@ -123,6 +172,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_Policy" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_Policy": cws_Policy_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policies/${pathParam(args, "policy_id")}`, }), @@ -196,6 +264,47 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_Policy" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_Policy": cws_Policy_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policies`, query: [ @@ -250,6 +359,28 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_Policy" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "503": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_Policy": cws_Policy_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policies/${pathParam(args, "policy_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/policySets/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/policySets/outputs.ts new file mode 100644 index 00000000..96e66080 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/policySets/outputs.ts @@ -0,0 +1,108 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cws_PolicySet` in responses. + */ +export const cws_PolicySet_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "exclude_workload_ids": { + "oneOf": [ + { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "include_workload_ids": { + "oneOf": [ + { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "policies": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_PolicySetPolicy" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "exclude_workload_ids", + "id", + "include_workload_ids", + "name", + "policies", + "tags", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `cws_PolicySetPolicy` in responses. + */ +export const cws_PolicySetPolicy_output: JsonSchema = { + "properties": { + "enforce": { + "type": "boolean" + }, + "policy_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "enforce", + "policy_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts index 4a891340..ee709b55 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../outputs.js"; +import { cws_PolicySetPolicy_output, cws_PolicySet_output } from "./outputs.js"; import { cws_CreatePolicySetInputBody, cws_PolicySetPolicyInput, @@ -48,6 +56,26 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_PolicySet" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_PolicySet": cws_PolicySet_output, + "cws_PolicySetPolicy": cws_PolicySetPolicy_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policy-sets`, body: { value: args["body"], mediaType: "application/json" }, @@ -87,6 +115,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policy-sets/${pathParam(args, "policy_set_id")}`, }), @@ -125,6 +172,26 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_PolicySet" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_PolicySet": cws_PolicySet_output, + "cws_PolicySetPolicy": cws_PolicySetPolicy_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policy-sets/${pathParam(args, "policy_set_id")}`, }), @@ -194,6 +261,48 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_PolicySet" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_PolicySet": cws_PolicySet_output, + "cws_PolicySetPolicy": cws_PolicySetPolicy_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policy-sets`, query: [ @@ -248,6 +357,26 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_PolicySet" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_PolicySet": cws_PolicySet_output, + "cws_PolicySetPolicy": cws_PolicySetPolicy_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policy-sets/${pathParam(args, "policy_set_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/outputs.ts new file mode 100644 index 00000000..502ebac9 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/outputs.ts @@ -0,0 +1,103 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cws_JSONDocument` in responses. + */ +export const cws_JSONDocument_output: JsonSchema = { + "anyOf": [ + { + "additionalProperties": { + "$ref": "#/$defs/cws_JSONValue" + }, + "type": "object" + }, + { + "items": { + "$ref": "#/$defs/cws_JSONValue" + }, + "type": "array" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] +}; + +/** + * The schema of `cws_JSONValue` in responses. + */ +export const cws_JSONValue_output: JsonSchema = { + "anyOf": [ + { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `cws_RegoMetadata` in responses. + */ +export const cws_RegoMetadata_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "data": { + "$ref": "#/$defs/cws_JSONDocument" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "import_path": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "data", + "id", + "import_path", + "name", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts index f1124ec9..1cb7838b 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../outputs.js"; +import { + cws_JSONDocument_output, + cws_JSONValue_output, + cws_RegoMetadata_output, +} from "./outputs.js"; import { cws_JSONDocument, cws_JSONValue, @@ -49,6 +61,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_RegoMetadata" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_JSONDocument": cws_JSONDocument_output, + "cws_JSONValue": cws_JSONValue_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_RegoMetadata": cws_RegoMetadata_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-metadata`, body: { value: args["body"], mediaType: "application/json" }, @@ -88,6 +121,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-metadata/${pathParam(args, "rego_metadata_id")}`, }), @@ -126,6 +178,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_RegoMetadata" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_JSONDocument": cws_JSONDocument_output, + "cws_JSONValue": cws_JSONValue_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_RegoMetadata": cws_RegoMetadata_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-metadata/${pathParam(args, "rego_metadata_id")}`, }), @@ -194,6 +267,49 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_RegoMetadata" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_JSONDocument": cws_JSONDocument_output, + "cws_JSONValue": cws_JSONValue_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_RegoMetadata": cws_RegoMetadata_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-metadata`, query: [ @@ -249,6 +365,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_RegoMetadata" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_JSONDocument": cws_JSONDocument_output, + "cws_JSONValue": cws_JSONValue_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_RegoMetadata": cws_RegoMetadata_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-metadata/${pathParam(args, "rego_metadata_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoModules/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/regoModules/outputs.ts new file mode 100644 index 00000000..a7cd5891 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/regoModules/outputs.ts @@ -0,0 +1,42 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cws_RegoModule` in responses. + */ +export const cws_RegoModule_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "package_path": { + "type": "string" + }, + "rego_source": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "package_path", + "rego_source", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts index 5f6fb466..eb5ac67c 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../outputs.js"; +import { cws_RegoModule_output } from "./outputs.js"; import { cws_CreateRegoModuleInputBody, cws_UpdateRegoModuleInputBody, @@ -46,6 +54,28 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_RegoModule" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "503": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_RegoModule": cws_RegoModule_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-modules`, body: { value: args["body"], mediaType: "application/json" }, @@ -85,6 +115,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-modules/${pathParam(args, "rego_module_id")}`, }), @@ -123,6 +172,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_RegoModule" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_RegoModule": cws_RegoModule_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-modules/${pathParam(args, "rego_module_id")}`, }), @@ -191,6 +259,47 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_RegoModule" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_RegoModule": cws_RegoModule_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-modules`, query: [ @@ -244,6 +353,28 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_RegoModule" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "503": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_RegoModule": cws_RegoModule_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-modules/${pathParam(args, "rego_module_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/outputs.ts new file mode 100644 index 00000000..b7abce4d --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/outputs.ts @@ -0,0 +1,76 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `cws_TenantNodeBatchResult` in responses. + */ +export const cws_TenantNodeBatchResult_output: JsonSchema = { + "properties": { + "created": { + "items": { + "$ref": "#/$defs/cws_TenantStructureNode" + }, + "type": "array" + }, + "deleted": { + "items": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "type": "array" + }, + "updated": { + "items": { + "$ref": "#/$defs/cws_TenantStructureNode" + }, + "type": "array" + } + }, + "required": [ + "created", + "deleted", + "updated" + ], + "type": "object" +}; + +/** + * The schema of `cws_TenantStructureNode` in responses. + */ +export const cws_TenantStructureNode_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "native_id": { + "type": "string" + }, + "node_kind": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "native_id", + "node_kind", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts index 427c29b3..15c6efec 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../../outputs.js"; +import { + cws_TenantNodeBatchResult_output, + cws_TenantStructureNode_output, +} from "./outputs.js"; import { cws_BatchTenantNodesInputBody, cws_TenantNodeBatchDelete, @@ -57,6 +68,30 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_TenantNodeBatchResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "503": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_TenantNodeBatchResult": cws_TenantNodeBatchResult_output, + "cws_TenantStructureNode": cws_TenantStructureNode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}/nodes/batch`, body: { value: args["body"], mediaType: "application/json" }, @@ -103,6 +138,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_TenantStructureNode" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_TenantStructureNode": cws_TenantStructureNode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}/nodes`, body: { value: args["body"], mediaType: "application/json" }, @@ -148,6 +202,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}/nodes/${pathParam(args, "node_id")}`, }), @@ -192,6 +265,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_TenantStructureNode" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_TenantStructureNode": cws_TenantStructureNode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}/nodes/${pathParam(args, "node_id")}`, }), @@ -274,6 +366,47 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_TenantStructureNode" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + "cws_TenantStructureNode": cws_TenantStructureNode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}/nodes`, query: [ @@ -335,6 +468,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_TenantStructureNode" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_TenantStructureNode": cws_TenantStructureNode_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}/nodes/${pathParam(args, "node_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/outputs.ts new file mode 100644 index 00000000..1803d020 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/outputs.ts @@ -0,0 +1,45 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cws_TenantStructure` in responses. + */ +export const cws_TenantStructure_output: JsonSchema = { + "properties": { + "application": { + "enum": [ + "aws", + "cloudflare" + ], + "type": "string" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "import_path": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "application", + "created_at", + "id", + "name", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts index 6103092a..567b9195 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../outputs.js"; +import { cws_TenantStructure_output } from "./outputs.js"; import { cws_CreateTenantStructureInputBody, cws_UpdateTenantStructureInputBody, @@ -46,6 +54,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_TenantStructure" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_TenantStructure": cws_TenantStructure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures`, body: { value: args["body"], mediaType: "application/json" }, @@ -85,6 +112,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}`, }), @@ -123,6 +169,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_TenantStructure" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_TenantStructure": cws_TenantStructure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}`, }), @@ -191,6 +256,47 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_TenantStructure" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + "cws_TenantStructure": cws_TenantStructure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures`, query: [ @@ -244,6 +350,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_TenantStructure" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_TenantStructure": cws_TenantStructure_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/workloads/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/workloads/outputs.ts new file mode 100644 index 00000000..d6501680 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/cws/workloads/outputs.ts @@ -0,0 +1,48 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cws_Workload` in responses. + */ +export const cws_Workload_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "filter": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "filter", + "id", + "name", + "tags", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts index 5dfea1e3..b3941697 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cws_DeletedResult_output, + cws_ErrorResponse_output, + cws_MessageSource_output, + cws_ResponseMessage_output, + cws_ResultInfo_output, +} from "../outputs.js"; +import { cws_Workload_output } from "./outputs.js"; import { cws_CreateWorkloadInputBody, cws_UpdateWorkloadInputBody, @@ -46,6 +54,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/cws_Workload" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_Workload": cws_Workload_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/workloads`, body: { value: args["body"], mediaType: "application/json" }, @@ -85,6 +112,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_DeletedResult" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_DeletedResult": cws_DeletedResult_output, + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/workloads/${pathParam(args, "workload_id")}`, }), @@ -123,6 +169,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_Workload" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_Workload": cws_Workload_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/workloads/${pathParam(args, "workload_id")}`, }), @@ -192,6 +257,47 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cws_Workload" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "result_info": { + "$ref": "#/$defs/cws_ResultInfo" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_ResultInfo": cws_ResultInfo_output, + "cws_Workload": cws_Workload_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/workloads`, query: [ @@ -245,6 +351,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cws_Workload" + }, + "4XX": { + "$ref": "#/$defs/cws_ErrorResponse" + }, + "5XX": { + "$ref": "#/$defs/cws_ErrorResponse" + } + }, + $defs: { + "cws_ErrorResponse": cws_ErrorResponse_output, + "cws_MessageSource": cws_MessageSource_output, + "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_Workload": cws_Workload_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/workloads/${pathParam(args, "workload_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/outputs.ts new file mode 100644 index 00000000..06fe22a5 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/outputs.ts @@ -0,0 +1,32 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `teams-devices_client_version` in responses. + */ +export const teams_devices_client_version_output: JsonSchema = { + "properties": { + "package_size": { + "type": "integer" + }, + "package_url": { + "type": "string" + }, + "release_date": { + "type": "string" + }, + "release_notes": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "release_date", + "version" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/outputs.ts new file mode 100644 index 00000000..4363f79a --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/outputs.ts @@ -0,0 +1,23 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `teams-devices_target_environment_info` in responses. + */ +export const teams_devices_target_environment_info_output: JsonSchema = { + "properties": { + "display_name": { + "type": "string" + }, + "target_environment": { + "type": "string" + } + }, + "required": [ + "display_name", + "target_environment" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts index 79795b64..4fdfc964 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + teams_devices_v4_error_response_output, + teams_devices_v4_response_message_output, +} from "../../outputs.js"; +import { teams_devices_target_environment_info_output } from "./outputs.js"; /** * The tools of `zero_trust.devices.client_versions.target_environments`. @@ -31,6 +36,35 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/client-versions/target-environments", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_target_environment_info" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_target_environment_info": teams_devices_target_environment_info_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/client-versions/target-environments`, }), diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts index 06d85ed9..901c6ce9 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + teams_devices_pagination_info_output, + teams_devices_v4_error_response_output, + teams_devices_v4_response_message_output, +} from "../outputs.js"; +import { teams_devices_client_version_output } from "./outputs.js"; /** * The tools of `zero_trust.devices.client_versions`. @@ -55,6 +61,36 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/client-versions", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_client_version" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_pagination_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_client_version": teams_devices_client_version_output, + "teams-devices_pagination_info": teams_devices_pagination_info_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/client-versions`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts new file mode 100644 index 00000000..4e420527 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts @@ -0,0 +1,112 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `teams-devices_deployment_group` in responses. + */ +export const teams_devices_deployment_group_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/teams-devices_deployment_group_created_at" + }, + "id": { + "$ref": "#/$defs/teams-devices_deployment_group_id" + }, + "name": { + "$ref": "#/$defs/teams-devices_deployment_group_name" + }, + "policy_ids": { + "$ref": "#/$defs/teams-devices_deployment_group_policy_ids" + }, + "updated_at": { + "$ref": "#/$defs/teams-devices_deployment_group_updated_at" + }, + "version_config": { + "items": { + "$ref": "#/$defs/teams-devices_version_config" + }, + "type": "array" + } + }, + "required": [ + "created_at", + "id", + "name", + "updated_at", + "version_config" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_deployment_group_created_at` in responses. + */ +export const teams_devices_deployment_group_created_at_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_deployment_group_id` in responses. + */ +export const teams_devices_deployment_group_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_deployment_group_name` in responses. + */ +export const teams_devices_deployment_group_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_deployment_group_policy_ids` in responses. + */ +export const teams_devices_deployment_group_policy_ids_output: JsonSchema = { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `teams-devices_deployment_group_updated_at` in responses. + */ +export const teams_devices_deployment_group_updated_at_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_version_config` in responses. + */ +export const teams_devices_version_config_output: JsonSchema = { + "properties": { + "target_environment": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "version": { + "type": "string" + } + }, + "required": [ + "target_environment", + "version" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts index cebbbea2..9d9a9941 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + teams_devices_pagination_info_output, + teams_devices_v4_error_response_output, + teams_devices_v4_response_message_output, +} from "../outputs.js"; +import { + teams_devices_deployment_group_created_at_output, + teams_devices_deployment_group_id_output, + teams_devices_deployment_group_name_output, + teams_devices_deployment_group_output, + teams_devices_deployment_group_policy_ids_output, + teams_devices_deployment_group_updated_at_output, + teams_devices_version_config_output, +} from "./outputs.js"; import { teams_devices_deployment_group_create_request, teams_devices_deployment_group_name, @@ -49,6 +63,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-auditable": true }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_deployment_group" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_deployment_group": teams_devices_deployment_group_output, + "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, + "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, + "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, + "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, + "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_version_config": teams_devices_version_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/deployment-groups`, body: { value: args["body"], mediaType: "application/json" }, @@ -85,6 +120,25 @@ export const tools: readonly Tool[] = [ extensions: { "x-auditable": true }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/deployment-groups/${pathParam(args, "group_id")}`, }), @@ -117,6 +171,27 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/deployment-groups/{group_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_deployment_group" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_deployment_group": teams_devices_deployment_group_output, + "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, + "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, + "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, + "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, + "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_version_config": teams_devices_version_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/deployment-groups/${pathParam(args, "group_id")}`, }), @@ -155,6 +230,42 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/deployment-groups", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_deployment_group" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_pagination_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_deployment_group": teams_devices_deployment_group_output, + "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, + "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, + "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, + "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, + "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, + "teams-devices_pagination_info": teams_devices_pagination_info_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_version_config": teams_devices_version_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/deployment-groups`, query: [ @@ -203,6 +314,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-auditable": true }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_deployment_group" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_deployment_group": teams_devices_deployment_group_output, + "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, + "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, + "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, + "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, + "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_version_config": teams_devices_version_config_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/deployment-groups/${pathParam(args, "group_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts new file mode 100644 index 00000000..ea9ad4ec --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts @@ -0,0 +1,34 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `teams-devices_disconnect` in responses. + */ +export const teams_devices_disconnect_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_global_warp_override` in responses. + */ +export const teams_devices_global_warp_override_output: JsonSchema = { + "properties": { + "disconnect": { + "$ref": "#/$defs/teams-devices_disconnect" + }, + "timestamp": { + "$ref": "#/$defs/teams-devices_timestamp" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_timestamp` in responses. + */ +export const teams_devices_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts index e7bac9f8..bc0a3175 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + teams_devices_api_response_common_failure_output, + teams_devices_messages_output, +} from "../outputs.js"; +import { + teams_devices_disconnect_output, + teams_devices_global_warp_override_output, + teams_devices_timestamp_output, +} from "./outputs.js"; import { teams_devices_disconnect, teams_devices_global_warp_override_request, @@ -44,6 +53,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_global_warp_override" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_disconnect": teams_devices_disconnect_output, + "teams-devices_global_warp_override": teams_devices_global_warp_override_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_timestamp": teams_devices_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/resilience/disconnect`, }), @@ -86,6 +112,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Resilience Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_global_warp_override" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_disconnect": teams_devices_disconnect_output, + "teams-devices_global_warp_override": teams_devices_global_warp_override_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_timestamp": teams_devices_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/resilience/disconnect`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts new file mode 100644 index 00000000..e795fd0d --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts @@ -0,0 +1,121 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `teams-devices_ip_profile` in responses. + */ +export const teams_devices_ip_profile_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/teams-devices_ip_profile_created_at" + }, + "description": { + "$ref": "#/$defs/teams-devices_ip_profile_description" + }, + "enabled": { + "$ref": "#/$defs/teams-devices_ip_profile_enabled" + }, + "id": { + "$ref": "#/$defs/teams-devices_ip_profile_id" + }, + "match": { + "$ref": "#/$defs/teams-devices_ip_profile_match" + }, + "name": { + "$ref": "#/$defs/teams-devices_ip_profile_name" + }, + "precedence": { + "$ref": "#/$defs/teams-devices_ip_profile_precedence" + }, + "subnet_id": { + "$ref": "#/$defs/teams-devices_ip_profile_subnet_id" + }, + "updated_at": { + "$ref": "#/$defs/teams-devices_ip_profile_updated_at" + } + }, + "required": [ + "created_at", + "description", + "enabled", + "id", + "match", + "name", + "precedence", + "subnet_id", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_ip_profile_created_at` in responses. + */ +export const teams_devices_ip_profile_created_at_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_ip_profile_description` in responses. + */ +export const teams_devices_ip_profile_description_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `teams-devices_ip_profile_enabled` in responses. + */ +export const teams_devices_ip_profile_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_ip_profile_id` in responses. + */ +export const teams_devices_ip_profile_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_ip_profile_match` in responses. + */ +export const teams_devices_ip_profile_match_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_ip_profile_name` in responses. + */ +export const teams_devices_ip_profile_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_ip_profile_precedence` in responses. + */ +export const teams_devices_ip_profile_precedence_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `teams-devices_ip_profile_subnet_id` in responses. + */ +export const teams_devices_ip_profile_subnet_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_ip_profile_updated_at` in responses. + */ +export const teams_devices_ip_profile_updated_at_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts index ed6d34e5..3c1c982f 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + teams_devices_pagination_info_output, + teams_devices_v4_error_response_output, + teams_devices_v4_response_message_output, +} from "../outputs.js"; +import { + teams_devices_ip_profile_created_at_output, + teams_devices_ip_profile_description_output, + teams_devices_ip_profile_enabled_output, + teams_devices_ip_profile_id_output, + teams_devices_ip_profile_match_output, + teams_devices_ip_profile_name_output, + teams_devices_ip_profile_output, + teams_devices_ip_profile_precedence_output, + teams_devices_ip_profile_subnet_id_output, + teams_devices_ip_profile_updated_at_output, +} from "./outputs.js"; import { teams_devices_ip_profile_create_request, teams_devices_ip_profile_enabled, @@ -56,6 +73,30 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_ip_profile" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_ip_profile": teams_devices_ip_profile_output, + "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, + "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, + "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, + "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, + "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, + "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, + "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, + "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, + "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/ip-profiles`, body: { value: args["body"], mediaType: "application/json" }, @@ -94,6 +135,25 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/ip-profiles/${pathParam(args, "profile_id")}`, }), @@ -132,6 +192,30 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_ip_profile" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_ip_profile": teams_devices_ip_profile_output, + "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, + "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, + "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, + "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, + "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, + "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, + "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, + "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, + "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/ip-profiles/${pathParam(args, "profile_id")}`, }), @@ -176,6 +260,45 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_ip_profile" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_pagination_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_ip_profile": teams_devices_ip_profile_output, + "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, + "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, + "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, + "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, + "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, + "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, + "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, + "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, + "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, + "teams-devices_pagination_info": teams_devices_pagination_info_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/ip-profiles`, query: [ @@ -229,6 +352,30 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_ip_profile" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_ip_profile": teams_devices_ip_profile_output, + "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, + "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, + "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, + "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, + "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, + "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, + "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, + "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, + "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/ip-profiles/${pathParam(args, "profile_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts new file mode 100644 index 00000000..abdc1479 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts @@ -0,0 +1,68 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `teams-devices_components-schemas-type` in responses. + */ +export const teams_devices_components_schemas_type_output: JsonSchema = { + "enum": [ + "tls" + ], + "type": "string" +}; + +/** + * The schema of `teams-devices_device-managed-networks` in responses. + */ +export const teams_devices_device_managed_networks_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/teams-devices_schemas-config_response" + }, + "name": { + "$ref": "#/$defs/teams-devices_device-managed-networks_components-schemas-name" + }, + "network_id": { + "$ref": "#/$defs/teams-devices_uuid" + }, + "type": { + "$ref": "#/$defs/teams-devices_components-schemas-type" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_device-managed-networks_components-schemas-name` + * in responses. + */ +export const teams_devices_device_managed_networks_components_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_schemas-config_response` in responses. + */ +export const teams_devices_schemas_config_response_output: JsonSchema = { + "$ref": "#/$defs/teams-devices_tls_config_response" +}; + +/** + * The schema of `teams-devices_tls_config_response` in responses. + */ +export const teams_devices_tls_config_response_output: JsonSchema = { + "properties": { + "sha256": { + "type": "string" + }, + "tls_sockaddr": { + "type": "string" + } + }, + "required": [ + "tls_sockaddr" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts index 9a9a47bf..b0e3cd75 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + teams_devices_api_response_common_failure_output, + teams_devices_messages_output, + teams_devices_result_info_output, + teams_devices_uuid_output, +} from "../outputs.js"; +import { + teams_devices_components_schemas_type_output, + teams_devices_device_managed_networks_components_schemas_name_output, + teams_devices_device_managed_networks_output, + teams_devices_schemas_config_response_output, + teams_devices_tls_config_response_output, +} from "./outputs.js"; import { teams_devices_components_schemas_type, teams_devices_device_managed_networks_components_schemas_name, @@ -70,6 +83,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device-managed-networks" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, + "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, + "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, + "teams-devices_tls_config_response": teams_devices_tls_config_response_output, + "teams-devices_uuid": teams_devices_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/networks`, body: { value: args["body"], mediaType: "application/json" }, @@ -109,6 +142,41 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_device-managed-networks" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, + "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, + "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_result_info": teams_devices_result_info_output, + "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, + "teams-devices_tls_config_response": teams_devices_tls_config_response_output, + "teams-devices_uuid": teams_devices_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/networks/${pathParam(args, "network_id")}`, }), @@ -142,6 +210,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/networks/{network_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device-managed-networks" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, + "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, + "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, + "teams-devices_tls_config_response": teams_devices_tls_config_response_output, + "teams-devices_uuid": teams_devices_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/networks/${pathParam(args, "network_id")}`, }), @@ -170,6 +258,41 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/networks", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_device-managed-networks" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, + "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, + "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_result_info": teams_devices_result_info_output, + "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, + "teams-devices_tls_config_response": teams_devices_tls_config_response_output, + "teams-devices_uuid": teams_devices_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/networks`, }), @@ -231,6 +354,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device-managed-networks" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, + "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, + "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, + "teams-devices_tls_config_response": teams_devices_tls_config_response_output, + "teams-devices_uuid": teams_devices_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/networks/${pathParam(args, "network_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/outputs.ts new file mode 100644 index 00000000..fe7f0dd7 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/outputs.ts @@ -0,0 +1,496 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `teams-devices_api-response-common-failure` in responses. + */ +export const teams_devices_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/teams-devices_messages" + }, + "messages": { + "$ref": "#/$defs/teams-devices_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_components-schemas-uuid` in responses. + */ +export const teams_devices_components_schemas_uuid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_cursor_result_info` in responses. + */ +export const teams_devices_cursor_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "count", + "cursor", + "per_page" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_email` in responses. + */ +export const teams_devices_email_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_empty_body` in responses. + */ +export const teams_devices_empty_body_output: JsonSchema = { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `teams-devices_messages` in responses. + */ +export const teams_devices_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `teams-devices_pagination_info` in responses. + */ +export const teams_devices_pagination_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "per_page": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "total_pages": { + "type": "integer" + } + }, + "required": [ + "count", + "page", + "per_page", + "total_count" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_physical_device` in responses. + */ +export const teams_devices_physical_device_output: JsonSchema = { + "properties": { + "active_registrations": { + "type": "integer" + }, + "client_version": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_at": { + "type": "string" + }, + "deleted_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "device_type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "hardware_id": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "last_seen_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "last_seen_registration": { + "oneOf": [ + { + "$ref": "#/$defs/teams-devices_registration_details" + }, + { + "type": "null" + } + ] + }, + "last_seen_user": { + "oneOf": [ + { + "$ref": "#/$defs/teams-devices_user" + }, + { + "type": "null" + } + ] + }, + "mac_address": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "manufacturer": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "model": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "os_version": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "os_version_extra": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "public_ip": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "serial_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "active_registrations", + "created_at", + "id", + "last_seen_at", + "name", + "tags", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_policy_summary` in responses. + */ +export const teams_devices_policy_summary_output: JsonSchema = { + "properties": { + "default": { + "type": "boolean" + }, + "deleted": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "default", + "deleted", + "id", + "name", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_registration_details` in responses. + */ +export const teams_devices_registration_details_output: JsonSchema = { + "properties": { + "policy": { + "oneOf": [ + { + "$ref": "#/$defs/teams-devices_policy_summary" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_registration_type` in responses. + */ +export const teams_devices_registration_type_output: JsonSchema = { + "enum": [ + "warp", + "browser_extension" + ], + "type": "string" +}; + +/** + * The schema of `teams-devices_result_info` in responses. + */ +export const teams_devices_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_user` in responses. + */ +export const teams_devices_user_output: JsonSchema = { + "properties": { + "email": { + "$ref": "#/$defs/teams-devices_email" + }, + "id": { + "$ref": "#/$defs/teams-devices_components-schemas-uuid" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_uuid` in responses. + */ +export const teams_devices_uuid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_v4_error_response` in responses. + */ +export const teams_devices_v4_error_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/teams-devices_v4_response_message" + }, + "minItems": 1, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/teams-devices_v4_response_message" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_v4_response_message` in responses. + */ +export const teams_devices_v4_response_message_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/outputs.ts new file mode 100644 index 00000000..c9582880 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `teams-devices_override_code` in responses. + */ +export const teams_devices_override_code_output: JsonSchema = { + "properties": { + "code": { + "type": "string" + } + }, + "required": [ + "code" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts index 1a8928cb..da3b24f6 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + teams_devices_v4_error_response_output, + teams_devices_v4_response_message_output, +} from "../outputs.js"; +import { teams_devices_override_code_output } from "./outputs.js"; import { teams_devices_override_code_create_request } from "./schemas.js"; /** @@ -42,6 +47,21 @@ export const tools: readonly Tool[] = [ extensions: { "x-auditable": true }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_override_code" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_override_code": teams_devices_override_code_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/override_codes`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts new file mode 100644 index 00000000..f9ab7fd2 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts @@ -0,0 +1,89 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `teams-devices_components-schemas-name` in responses. + */ +export const teams_devices_components_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_config_response` in responses. + */ +export const teams_devices_config_response_output: JsonSchema = { + "$ref": "#/$defs/teams-devices_workspace_one_config_response" +}; + +/** + * The schema of `teams-devices_device-posture-integrations` in responses. + */ +export const teams_devices_device_posture_integrations_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/teams-devices_config_response" + }, + "id": { + "$ref": "#/$defs/teams-devices_uuid" + }, + "interval": { + "$ref": "#/$defs/teams-devices_interval" + }, + "name": { + "$ref": "#/$defs/teams-devices_components-schemas-name" + }, + "type": { + "$ref": "#/$defs/teams-devices_schemas-type" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_interval` in responses. + */ +export const teams_devices_interval_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_schemas-type` in responses. + */ +export const teams_devices_schemas_type_output: JsonSchema = { + "enum": [ + "workspace_one", + "crowdstrike_s2s", + "uptycs", + "intune", + "kolide", + "tanium_s2s", + "sentinelone_s2s", + "custom_s2s" + ], + "type": "string" +}; + +/** + * The schema of `teams-devices_workspace_one_config_response` in responses. + */ +export const teams_devices_workspace_one_config_response_output: JsonSchema = { + "properties": { + "api_url": { + "type": "string" + }, + "auth_url": { + "type": "string" + }, + "client_id": { + "type": "string" + } + }, + "required": [ + "api_url", + "auth_url", + "client_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts index c26cf716..f33387b9 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts @@ -2,6 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + teams_devices_api_response_common_failure_output, + teams_devices_messages_output, + teams_devices_result_info_output, + teams_devices_uuid_output, +} from "../../outputs.js"; +import { + teams_devices_components_schemas_name_output, + teams_devices_config_response_output, + teams_devices_device_posture_integrations_output, + teams_devices_interval_output, + teams_devices_schemas_type_output, + teams_devices_workspace_one_config_response_output, +} from "./outputs.js"; import { teams_devices_components_schemas_name, teams_devices_config_request, @@ -91,6 +105,27 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device-posture-integrations" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, + "teams-devices_config_response": teams_devices_config_response_output, + "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, + "teams-devices_interval": teams_devices_interval_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_schemas-type": teams_devices_schemas_type_output, + "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture/integration`, body: { value: args["body"], mediaType: "application/json" }, @@ -130,6 +165,27 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_messages": teams_devices_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture/integration/${pathParam(args, "integration_id")}`, }), @@ -163,6 +219,27 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/posture/integration/{integration_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device-posture-integrations" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, + "teams-devices_config_response": teams_devices_config_response_output, + "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, + "teams-devices_interval": teams_devices_interval_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_schemas-type": teams_devices_schemas_type_output, + "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture/integration/${pathParam(args, "integration_id")}`, }), @@ -191,6 +268,42 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/posture/integration", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_device-posture-integrations" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, + "teams-devices_config_response": teams_devices_config_response_output, + "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, + "teams-devices_interval": teams_devices_interval_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_result_info": teams_devices_result_info_output, + "teams-devices_schemas-type": teams_devices_schemas_type_output, + "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture/integration`, }), @@ -264,6 +377,27 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device-posture-integrations" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, + "teams-devices_config_response": teams_devices_config_response_output, + "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, + "teams-devices_interval": teams_devices_interval_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_schemas-type": teams_devices_schemas_type_output, + "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture/integration/${pathParam(args, "integration_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts new file mode 100644 index 00000000..97fb378c --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts @@ -0,0 +1,907 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `teams-devices_access_serial_number_list_input_request` in + * responses. + */ +export const teams_devices_access_serial_number_list_input_request_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_antivirus_input_request` in responses. + */ +export const teams_devices_antivirus_input_request_output: JsonSchema = { + "properties": { + "update_window_days": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_application_input_request` in responses. + */ +export const teams_devices_application_input_request_output: JsonSchema = { + "properties": { + "operating_system": { + "enum": [ + "windows", + "linux", + "mac" + ], + "type": "string" + }, + "path": { + "type": "string" + }, + "sha256": { + "type": "string" + }, + "thumbprint": { + "type": "string" + } + }, + "required": [ + "operating_system", + "path" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_carbonblack_input_request` in responses. + */ +export const teams_devices_carbonblack_input_request_output: JsonSchema = { + "properties": { + "operating_system": { + "enum": [ + "windows", + "linux", + "mac" + ], + "type": "string" + }, + "path": { + "type": "string" + }, + "sha256": { + "type": "string" + }, + "thumbprint": { + "type": "string" + } + }, + "required": [ + "operating_system", + "path" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_checkDisks` in responses. + */ +export const teams_devices_checkDisks_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `teams-devices_client_certificate_input_request` in responses. + */ +export const teams_devices_client_certificate_input_request_output: JsonSchema = { + "properties": { + "certificate_id": { + "type": "string" + }, + "cn": { + "type": "string" + } + }, + "required": [ + "certificate_id", + "cn" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_client_certificate_v2_input_request` in + * responses. + */ +export const teams_devices_client_certificate_v2_input_request_output: JsonSchema = { + "properties": { + "certificate_id": { + "type": "string" + }, + "check_private_key": { + "type": "boolean" + }, + "cn": { + "type": "string" + }, + "extended_key_usage": { + "items": { + "$ref": "#/$defs/teams-devices_extended_key_usage_enum" + }, + "type": "array" + }, + "locations": { + "$ref": "#/$defs/teams-devices_client_certificate_v2_input_request_locations" + }, + "operating_system": { + "enum": [ + "windows", + "mac", + "linux" + ], + "type": "string" + }, + "subject_alternative_names": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "certificate_id", + "check_private_key", + "operating_system" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_client_certificate_v2_input_request_locations` + * in responses. + */ +export const teams_devices_client_certificate_v2_input_request_locations_output: JsonSchema = { + "properties": { + "paths": { + "$ref": "#/$defs/teams-devices_paths" + }, + "trust_stores": { + "$ref": "#/$defs/teams-devices_trust_stores" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_crowdstrike_input_request` in responses. + */ +export const teams_devices_crowdstrike_input_request_output: JsonSchema = { + "properties": { + "connection_id": { + "type": "string" + }, + "last_seen": { + "type": "string" + }, + "operator": { + "enum": [ + "<", + "<=", + ">", + ">=", + "==" + ], + "type": "string" + }, + "os": { + "type": "string" + }, + "overall": { + "type": "string" + }, + "sensor_config": { + "type": "string" + }, + "state": { + "enum": [ + "online", + "offline", + "unknown" + ], + "type": "string" + }, + "version": { + "type": "string" + }, + "versionOperator": { + "enum": [ + "<", + "<=", + ">", + ">=", + "==" + ], + "type": "string" + } + }, + "required": [ + "connection_id" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_custom_s2s_input_request` in responses. + */ +export const teams_devices_custom_s2s_input_request_output: JsonSchema = { + "properties": { + "connection_id": { + "type": "string" + }, + "operator": { + "enum": [ + "<", + "<=", + ">", + ">=", + "==" + ], + "type": "string" + }, + "score": { + "type": "number" + } + }, + "required": [ + "connection_id", + "operator", + "score" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_description` in responses. + */ +export const teams_devices_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_device-posture-rules` in responses. + */ +export const teams_devices_device_posture_rules_output: JsonSchema = { + "properties": { + "description": { + "$ref": "#/$defs/teams-devices_description" + }, + "enabled": { + "type": "boolean" + }, + "expiration": { + "$ref": "#/$defs/teams-devices_expiration" + }, + "id": { + "$ref": "#/$defs/teams-devices_uuid" + }, + "input": { + "$ref": "#/$defs/teams-devices_input" + }, + "match": { + "$ref": "#/$defs/teams-devices_match" + }, + "name": { + "$ref": "#/$defs/teams-devices_name" + }, + "schedule": { + "$ref": "#/$defs/teams-devices_schedule" + }, + "type": { + "$ref": "#/$defs/teams-devices_type" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_disk_encryption_input_request` in responses. + */ +export const teams_devices_disk_encryption_input_request_output: JsonSchema = { + "properties": { + "checkDisks": { + "$ref": "#/$defs/teams-devices_checkDisks" + }, + "requireAll": { + "$ref": "#/$defs/teams-devices_requireAll" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_domain_joined_input_request` in responses. + */ +export const teams_devices_domain_joined_input_request_output: JsonSchema = { + "properties": { + "domain": { + "type": "string" + }, + "operating_system": { + "enum": [ + "windows" + ], + "type": "string" + } + }, + "required": [ + "operating_system" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_expiration` in responses. + */ +export const teams_devices_expiration_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_extended_key_usage_enum` in responses. + */ +export const teams_devices_extended_key_usage_enum_output: JsonSchema = { + "enum": [ + "clientAuth", + "emailProtection" + ], + "type": "string" +}; + +/** + * The schema of `teams-devices_file_input_request` in responses. + */ +export const teams_devices_file_input_request_output: JsonSchema = { + "properties": { + "exists": { + "type": "boolean" + }, + "operating_system": { + "enum": [ + "windows", + "linux", + "mac" + ], + "type": "string" + }, + "path": { + "type": "string" + }, + "sha256": { + "type": "string" + }, + "thumbprint": { + "type": "string" + } + }, + "required": [ + "operating_system", + "path" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_firewall_input_request` in responses. + */ +export const teams_devices_firewall_input_request_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "operating_system": { + "enum": [ + "windows", + "mac" + ], + "type": "string" + } + }, + "required": [ + "enabled", + "operating_system" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_input` in responses. + */ +export const teams_devices_input_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/teams-devices_file_input_request" + }, + { + "$ref": "#/$defs/teams-devices_unique_client_id_input_request" + }, + { + "$ref": "#/$defs/teams-devices_domain_joined_input_request" + }, + { + "$ref": "#/$defs/teams-devices_os_version_input_request" + }, + { + "$ref": "#/$defs/teams-devices_firewall_input_request" + }, + { + "$ref": "#/$defs/teams-devices_sentinelone_input_request" + }, + { + "$ref": "#/$defs/teams-devices_carbonblack_input_request" + }, + { + "$ref": "#/$defs/teams-devices_access_serial_number_list_input_request" + }, + { + "$ref": "#/$defs/teams-devices_disk_encryption_input_request" + }, + { + "$ref": "#/$defs/teams-devices_application_input_request" + }, + { + "$ref": "#/$defs/teams-devices_client_certificate_input_request" + }, + { + "$ref": "#/$defs/teams-devices_client_certificate_v2_input_request" + }, + { + "$ref": "#/$defs/teams-devices_antivirus_input_request" + }, + { + "$ref": "#/$defs/teams-devices_workspace_one_input_request" + }, + { + "$ref": "#/$defs/teams-devices_crowdstrike_input_request" + }, + { + "$ref": "#/$defs/teams-devices_intune_input_request" + }, + { + "$ref": "#/$defs/teams-devices_kolide_input_request" + }, + { + "$ref": "#/$defs/teams-devices_tanium_input_request" + }, + { + "$ref": "#/$defs/teams-devices_sentinelone_s2s_input_request" + }, + { + "$ref": "#/$defs/teams-devices_custom_s2s_input_request" + } + ] +}; + +/** + * The schema of `teams-devices_intune_input_request` in responses. + */ +export const teams_devices_intune_input_request_output: JsonSchema = { + "properties": { + "compliance_status": { + "enum": [ + "compliant", + "noncompliant", + "unknown", + "notapplicable", + "ingraceperiod", + "error" + ], + "type": "string" + }, + "connection_id": { + "type": "string" + } + }, + "required": [ + "compliance_status", + "connection_id" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_kolide_input_request` in responses. + */ +export const teams_devices_kolide_input_request_output: JsonSchema = { + "properties": { + "auth_state": { + "items": { + "enum": [ + "Good", + "Notified", + "Will Block", + "Blocked" + ], + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "connection_id": { + "type": "string" + }, + "countOperator": { + "enum": [ + "<", + "<=", + ">", + ">=", + "==" + ], + "type": "string" + }, + "issue_count": { + "type": "string" + } + }, + "required": [ + "connection_id" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_match` in responses. + */ +export const teams_devices_match_output: JsonSchema = { + "items": { + "$ref": "#/$defs/teams-devices_match_item" + }, + "type": "array" +}; + +/** + * The schema of `teams-devices_match_item` in responses. + */ +export const teams_devices_match_item_output: JsonSchema = { + "properties": { + "platform": { + "$ref": "#/$defs/teams-devices_platform" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_name` in responses. + */ +export const teams_devices_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_os_version_input_request` in responses. + */ +export const teams_devices_os_version_input_request_output: JsonSchema = { + "properties": { + "operating_system": { + "enum": [ + "windows" + ], + "type": "string" + }, + "operator": { + "enum": [ + "<", + "<=", + ">", + ">=", + "==" + ], + "type": "string" + }, + "os_distro_name": { + "type": "string" + }, + "os_distro_revision": { + "type": "string" + }, + "os_version_extra": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "operating_system", + "operator", + "version" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_paths` in responses. + */ +export const teams_devices_paths_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `teams-devices_platform` in responses. + */ +export const teams_devices_platform_output: JsonSchema = { + "enum": [ + "windows", + "mac", + "linux", + "android", + "ios", + "chromeos" + ], + "type": "string" +}; + +/** + * The schema of `teams-devices_requireAll` in responses. + */ +export const teams_devices_requireAll_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_schedule` in responses. + */ +export const teams_devices_schedule_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_sentinelone_input_request` in responses. + */ +export const teams_devices_sentinelone_input_request_output: JsonSchema = { + "properties": { + "operating_system": { + "enum": [ + "windows", + "linux", + "mac" + ], + "type": "string" + }, + "path": { + "type": "string" + }, + "sha256": { + "type": "string" + }, + "thumbprint": { + "type": "string" + } + }, + "required": [ + "operating_system", + "path" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_sentinelone_s2s_input_request` in responses. + */ +export const teams_devices_sentinelone_s2s_input_request_output: JsonSchema = { + "properties": { + "active_threats": { + "type": "number" + }, + "connection_id": { + "type": "string" + }, + "infected": { + "type": "boolean" + }, + "is_active": { + "type": "boolean" + }, + "network_status": { + "enum": [ + "connected", + "disconnected", + "disconnecting", + "connecting" + ], + "type": "string" + }, + "operational_state": { + "enum": [ + "na", + "partially_disabled", + "auto_fully_disabled", + "fully_disabled", + "auto_partially_disabled", + "disabled_error", + "db_corruption" + ], + "type": "string" + }, + "operator": { + "enum": [ + "<", + "<=", + ">", + ">=", + "==" + ], + "type": "string" + } + }, + "required": [ + "connection_id" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_tanium_input_request` in responses. + */ +export const teams_devices_tanium_input_request_output: JsonSchema = { + "properties": { + "connection_id": { + "type": "string" + }, + "eid_last_seen": { + "type": "string" + }, + "operator": { + "enum": [ + "<", + "<=", + ">", + ">=", + "==" + ], + "type": "string" + }, + "risk_level": { + "enum": [ + "low", + "medium", + "high", + "critical" + ], + "type": "string" + }, + "scoreOperator": { + "enum": [ + "<", + "<=", + ">", + ">=", + "==" + ], + "type": "string" + }, + "total_score": { + "type": "number" + } + }, + "required": [ + "connection_id" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_trust_stores` in responses. + */ +export const teams_devices_trust_stores_output: JsonSchema = { + "items": { + "$ref": "#/$defs/teams-devices_trust_stores_enum" + }, + "type": "array" +}; + +/** + * The schema of `teams-devices_trust_stores_enum` in responses. + */ +export const teams_devices_trust_stores_enum_output: JsonSchema = { + "enum": [ + "system", + "user" + ], + "type": "string" +}; + +/** + * The schema of `teams-devices_type` in responses. + */ +export const teams_devices_type_output: JsonSchema = { + "enum": [ + "file", + "application", + "tanium", + "gateway", + "warp", + "disk_encryption", + "serial_number", + "sentinelone", + "carbonblack", + "firewall", + "os_version", + "domain_joined", + "client_certificate", + "client_certificate_v2", + "antivirus", + "unique_client_id", + "kolide", + "tanium_s2s", + "crowdstrike_s2s", + "intune", + "workspace_one", + "sentinelone_s2s", + "custom_s2s" + ], + "type": "string" +}; + +/** + * The schema of `teams-devices_unique_client_id_input_request` in responses. + */ +export const teams_devices_unique_client_id_input_request_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "operating_system": { + "enum": [ + "android", + "ios", + "chromeos" + ], + "type": "string" + } + }, + "required": [ + "id", + "operating_system" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_workspace_one_input_request` in responses. + */ +export const teams_devices_workspace_one_input_request_output: JsonSchema = { + "properties": { + "compliance_status": { + "enum": [ + "compliant", + "noncompliant", + "unknown" + ], + "type": "string" + }, + "connection_id": { + "type": "string" + } + }, + "required": [ + "compliance_status", + "connection_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts index 9f560b57..ba334075 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts @@ -2,6 +2,51 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + teams_devices_api_response_common_failure_output, + teams_devices_messages_output, + teams_devices_result_info_output, + teams_devices_uuid_output, +} from "../../outputs.js"; +import { + teams_devices_access_serial_number_list_input_request_output, + teams_devices_antivirus_input_request_output, + teams_devices_application_input_request_output, + teams_devices_carbonblack_input_request_output, + teams_devices_checkDisks_output, + teams_devices_client_certificate_input_request_output, + teams_devices_client_certificate_v2_input_request_locations_output, + teams_devices_client_certificate_v2_input_request_output, + teams_devices_crowdstrike_input_request_output, + teams_devices_custom_s2s_input_request_output, + teams_devices_description_output, + teams_devices_device_posture_rules_output, + teams_devices_disk_encryption_input_request_output, + teams_devices_domain_joined_input_request_output, + teams_devices_expiration_output, + teams_devices_extended_key_usage_enum_output, + teams_devices_file_input_request_output, + teams_devices_firewall_input_request_output, + teams_devices_input_output, + teams_devices_intune_input_request_output, + teams_devices_kolide_input_request_output, + teams_devices_match_item_output, + teams_devices_match_output, + teams_devices_name_output, + teams_devices_os_version_input_request_output, + teams_devices_paths_output, + teams_devices_platform_output, + teams_devices_requireAll_output, + teams_devices_schedule_output, + teams_devices_sentinelone_input_request_output, + teams_devices_sentinelone_s2s_input_request_output, + teams_devices_tanium_input_request_output, + teams_devices_trust_stores_enum_output, + teams_devices_trust_stores_output, + teams_devices_type_output, + teams_devices_unique_client_id_input_request_output, + teams_devices_workspace_one_input_request_output, +} from "./outputs.js"; import { teams_devices_access_serial_number_list_input_request, teams_devices_antivirus_input_request, @@ -150,6 +195,58 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device-posture-rules" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, + "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_application_input_request": teams_devices_application_input_request_output, + "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, + "teams-devices_checkDisks": teams_devices_checkDisks_output, + "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, + "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, + "teams-devices_client_certificate_v2_input_request_locations": teams_devices_client_certificate_v2_input_request_locations_output, + "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, + "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, + "teams-devices_description": teams_devices_description_output, + "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, + "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, + "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, + "teams-devices_expiration": teams_devices_expiration_output, + "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, + "teams-devices_file_input_request": teams_devices_file_input_request_output, + "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, + "teams-devices_input": teams_devices_input_output, + "teams-devices_intune_input_request": teams_devices_intune_input_request_output, + "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, + "teams-devices_match": teams_devices_match_output, + "teams-devices_match_item": teams_devices_match_item_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_name": teams_devices_name_output, + "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, + "teams-devices_paths": teams_devices_paths_output, + "teams-devices_platform": teams_devices_platform_output, + "teams-devices_requireAll": teams_devices_requireAll_output, + "teams-devices_schedule": teams_devices_schedule_output, + "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, + "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, + "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, + "teams-devices_trust_stores": teams_devices_trust_stores_output, + "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, + "teams-devices_type": teams_devices_type_output, + "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, + "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture`, body: { value: args["body"], mediaType: "application/json" }, @@ -189,6 +286,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/teams-devices_uuid" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_uuid": teams_devices_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture/${pathParam(args, "rule_id")}`, }), @@ -222,6 +339,58 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/posture/{rule_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device-posture-rules" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, + "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_application_input_request": teams_devices_application_input_request_output, + "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, + "teams-devices_checkDisks": teams_devices_checkDisks_output, + "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, + "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, + "teams-devices_client_certificate_v2_input_request_locations": teams_devices_client_certificate_v2_input_request_locations_output, + "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, + "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, + "teams-devices_description": teams_devices_description_output, + "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, + "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, + "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, + "teams-devices_expiration": teams_devices_expiration_output, + "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, + "teams-devices_file_input_request": teams_devices_file_input_request_output, + "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, + "teams-devices_input": teams_devices_input_output, + "teams-devices_intune_input_request": teams_devices_intune_input_request_output, + "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, + "teams-devices_match": teams_devices_match_output, + "teams-devices_match_item": teams_devices_match_item_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_name": teams_devices_name_output, + "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, + "teams-devices_paths": teams_devices_paths_output, + "teams-devices_platform": teams_devices_platform_output, + "teams-devices_requireAll": teams_devices_requireAll_output, + "teams-devices_schedule": teams_devices_schedule_output, + "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, + "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, + "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, + "teams-devices_trust_stores": teams_devices_trust_stores_output, + "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, + "teams-devices_type": teams_devices_type_output, + "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, + "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture/${pathParam(args, "rule_id")}`, }), @@ -250,6 +419,73 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/posture", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_device-posture-rules" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, + "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_application_input_request": teams_devices_application_input_request_output, + "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, + "teams-devices_checkDisks": teams_devices_checkDisks_output, + "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, + "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, + "teams-devices_client_certificate_v2_input_request_locations": teams_devices_client_certificate_v2_input_request_locations_output, + "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, + "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, + "teams-devices_description": teams_devices_description_output, + "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, + "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, + "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, + "teams-devices_expiration": teams_devices_expiration_output, + "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, + "teams-devices_file_input_request": teams_devices_file_input_request_output, + "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, + "teams-devices_input": teams_devices_input_output, + "teams-devices_intune_input_request": teams_devices_intune_input_request_output, + "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, + "teams-devices_match": teams_devices_match_output, + "teams-devices_match_item": teams_devices_match_item_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_name": teams_devices_name_output, + "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, + "teams-devices_paths": teams_devices_paths_output, + "teams-devices_platform": teams_devices_platform_output, + "teams-devices_requireAll": teams_devices_requireAll_output, + "teams-devices_result_info": teams_devices_result_info_output, + "teams-devices_schedule": teams_devices_schedule_output, + "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, + "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, + "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, + "teams-devices_trust_stores": teams_devices_trust_stores_output, + "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, + "teams-devices_type": teams_devices_type_output, + "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, + "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture`, }), @@ -364,6 +600,58 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device-posture-rules" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, + "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_application_input_request": teams_devices_application_input_request_output, + "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, + "teams-devices_checkDisks": teams_devices_checkDisks_output, + "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, + "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, + "teams-devices_client_certificate_v2_input_request_locations": teams_devices_client_certificate_v2_input_request_locations_output, + "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, + "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, + "teams-devices_description": teams_devices_description_output, + "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, + "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, + "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, + "teams-devices_expiration": teams_devices_expiration_output, + "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, + "teams-devices_file_input_request": teams_devices_file_input_request_output, + "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, + "teams-devices_input": teams_devices_input_output, + "teams-devices_intune_input_request": teams_devices_intune_input_request_output, + "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, + "teams-devices_match": teams_devices_match_output, + "teams-devices_match_item": teams_devices_match_item_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_name": teams_devices_name_output, + "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, + "teams-devices_paths": teams_devices_paths_output, + "teams-devices_platform": teams_devices_platform_output, + "teams-devices_requireAll": teams_devices_requireAll_output, + "teams-devices_schedule": teams_devices_schedule_output, + "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, + "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, + "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, + "teams-devices_trust_stores": teams_devices_trust_stores_output, + "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, + "teams-devices_type": teams_devices_type_output, + "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, + "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/posture/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts new file mode 100644 index 00000000..65c52e15 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts @@ -0,0 +1,191 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `teams-devices_browser_extension_config` in responses. + */ +export const teams_devices_browser_extension_config_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "proxy_control": { + "enum": [ + "unlocked", + "locked" + ], + "type": "string" + }, + "proxy_enabled": { + "type": "boolean" + } + }, + "required": [ + "proxy_control", + "proxy_enabled" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `teams-devices_default` in responses. + */ +export const teams_devices_default_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_device_settings_policy` in responses. + */ +export const teams_devices_device_settings_policy_output: JsonSchema = { + "properties": { + "allow_mode_switch": { + "$ref": "#/$defs/teams-devices_allow_mode_switch" + }, + "allow_updates": { + "$ref": "#/$defs/teams-devices_allow_updates" + }, + "allowed_to_leave": { + "$ref": "#/$defs/teams-devices_allowed_to_leave" + }, + "auto_connect": { + "$ref": "#/$defs/teams-devices_auto_connect" + }, + "browser_extension_config": { + "$ref": "#/$defs/teams-devices_browser_extension_config" + }, + "captive_portal": { + "$ref": "#/$defs/teams-devices_captive_portal" + }, + "default": { + "$ref": "#/$defs/teams-devices_default" + }, + "description": { + "$ref": "#/$defs/teams-devices_schemas-description" + }, + "disable_auto_fallback": { + "$ref": "#/$defs/teams-devices_disable_auto_fallback" + }, + "dns_search_suffixes": { + "$ref": "#/$defs/teams-devices_dns_search_suffixes" + }, + "enable_device_credential_authentication": { + "$ref": "#/$defs/teams-devices_enable_device_credential_authentication" + }, + "enabled": { + "type": "boolean" + }, + "exclude": { + "$ref": "#/$defs/teams-devices_exclude" + }, + "exclude_office_ips": { + "$ref": "#/$defs/teams-devices_exclude_office_ips" + }, + "fallback_domains": { + "$ref": "#/$defs/teams-devices_fallback_domains" + }, + "gateway_unique_id": { + "$ref": "#/$defs/teams-devices_gateway_unique_id" + }, + "global_acceleration": { + "$ref": "#/$defs/teams-devices_global_acceleration" + }, + "include": { + "$ref": "#/$defs/teams-devices_include" + }, + "lan_allow_minutes": { + "$ref": "#/$defs/teams-devices_lan_allow_minutes" + }, + "lan_allow_subnet_size": { + "$ref": "#/$defs/teams-devices_lan_allow_subnet_size" + }, + "match": { + "$ref": "#/$defs/teams-devices_schemas-match" + }, + "name": { + "type": "string" + }, + "policy_id": { + "$ref": "#/$defs/teams-devices_schemas-uuid" + }, + "precedence": { + "$ref": "#/$defs/teams-devices_precedence" + }, + "profile_type": { + "$ref": "#/$defs/teams-devices_profile_type" + }, + "register_interface_ip_with_dns": { + "$ref": "#/$defs/teams-devices_register_interface_ip_with_dns" + }, + "sccm_vpn_boundary_support": { + "$ref": "#/$defs/teams-devices_sccm_vpn_boundary_support" + }, + "service_mode_v2": { + "$ref": "#/$defs/teams-devices_service_mode_v2" + }, + "support_url": { + "$ref": "#/$defs/teams-devices_support_url" + }, + "switch_locked": { + "$ref": "#/$defs/teams-devices_switch_locked" + }, + "target_tests": { + "items": { + "$ref": "#/$defs/teams-devices_target_dex_test" + }, + "type": "array" + }, + "tunnel_protocol": { + "$ref": "#/$defs/teams-devices_tunnel_protocol" + }, + "uninstall_protection": { + "$ref": "#/$defs/teams-devices_uninstall_protection" + }, + "virtual_networks": { + "$ref": "#/$defs/teams-devices_virtual_networks" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_precedence` in responses. + */ +export const teams_devices_precedence_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `teams-devices_schemas-description` in responses. + */ +export const teams_devices_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_schemas-match` in responses. + */ +export const teams_devices_schemas_match_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_target_dex_test` in responses. + */ +export const teams_devices_target_dex_test_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts index 6daf57a9..5f69c26b 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts @@ -2,6 +2,54 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + teams_devices_api_response_common_failure_output, + teams_devices_messages_output, + teams_devices_result_info_output, +} from "../../outputs.js"; +import { + teams_devices_allow_mode_switch_output, + teams_devices_allow_updates_output, + teams_devices_allowed_to_leave_output, + teams_devices_auto_connect_output, + teams_devices_captive_portal_output, + teams_devices_disable_auto_fallback_output, + teams_devices_dns_search_suffix_output, + teams_devices_dns_search_suffixes_output, + teams_devices_enable_device_credential_authentication_output, + teams_devices_exclude_office_ips_output, + teams_devices_exclude_output, + teams_devices_exclude_split_tunnel_with_address_output, + teams_devices_exclude_split_tunnel_with_host_output, + teams_devices_fallback_domain_output, + teams_devices_fallback_domains_output, + teams_devices_gateway_unique_id_output, + teams_devices_global_acceleration_output, + teams_devices_include_output, + teams_devices_include_split_tunnel_address_output, + teams_devices_include_split_tunnel_description_output, + teams_devices_include_split_tunnel_host_output, + teams_devices_include_split_tunnel_with_address_output, + teams_devices_include_split_tunnel_with_host_output, + teams_devices_ip_output, + teams_devices_lan_allow_minutes_output, + teams_devices_lan_allow_subnet_size_output, + teams_devices_profile_type_output, + teams_devices_register_interface_ip_with_dns_output, + teams_devices_sccm_vpn_boundary_support_output, + teams_devices_schemas_uuid_output, + teams_devices_service_mode_v2_output, + teams_devices_split_tunnel_address_output, + teams_devices_split_tunnel_description_output, + teams_devices_split_tunnel_host_output, + teams_devices_split_tunnel_include_output, + teams_devices_split_tunnel_output, + teams_devices_support_url_output, + teams_devices_switch_locked_output, + teams_devices_tunnel_protocol_output, + teams_devices_uninstall_protection_output, + teams_devices_virtual_networks_output, +} from "../outputs.js"; import { teams_devices_allow_mode_switch, teams_devices_allow_updates, @@ -40,6 +88,15 @@ import { teams_devices_uninstall_protection, teams_devices_virtual_networks, } from "../schemas.js"; +import { + teams_devices_browser_extension_config_output, + teams_devices_default_output, + teams_devices_device_settings_policy_output, + teams_devices_precedence_output, + teams_devices_schemas_description_output, + teams_devices_schemas_match_output, + teams_devices_target_dex_test_output, +} from "./outputs.js"; import { teams_devices_browser_extension_config, teams_devices_default, @@ -276,6 +333,68 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device_settings_policy" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, + "teams-devices_allow_updates": teams_devices_allow_updates_output, + "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_auto_connect": teams_devices_auto_connect_output, + "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, + "teams-devices_captive_portal": teams_devices_captive_portal_output, + "teams-devices_default": teams_devices_default_output, + "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, + "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, + "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, + "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, + "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, + "teams-devices_exclude": teams_devices_exclude_output, + "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, + "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, + "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, + "teams-devices_fallback_domain": teams_devices_fallback_domain_output, + "teams-devices_fallback_domains": teams_devices_fallback_domains_output, + "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, + "teams-devices_global_acceleration": teams_devices_global_acceleration_output, + "teams-devices_include": teams_devices_include_output, + "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, + "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, + "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, + "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, + "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, + "teams-devices_ip": teams_devices_ip_output, + "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, + "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_precedence": teams_devices_precedence_output, + "teams-devices_profile_type": teams_devices_profile_type_output, + "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, + "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, + "teams-devices_schemas-description": teams_devices_schemas_description_output, + "teams-devices_schemas-match": teams_devices_schemas_match_output, + "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, + "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, + "teams-devices_split_tunnel": teams_devices_split_tunnel_output, + "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, + "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, + "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, + "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, + "teams-devices_support_url": teams_devices_support_url_output, + "teams-devices_switch_locked": teams_devices_switch_locked_output, + "teams-devices_target_dex_test": teams_devices_target_dex_test_output, + "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, + "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, + "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/policy`, body: { value: args["body"], mediaType: "application/json" }, @@ -314,6 +433,83 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_device_settings_policy" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, + "teams-devices_allow_updates": teams_devices_allow_updates_output, + "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_auto_connect": teams_devices_auto_connect_output, + "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, + "teams-devices_captive_portal": teams_devices_captive_portal_output, + "teams-devices_default": teams_devices_default_output, + "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, + "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, + "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, + "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, + "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, + "teams-devices_exclude": teams_devices_exclude_output, + "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, + "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, + "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, + "teams-devices_fallback_domain": teams_devices_fallback_domain_output, + "teams-devices_fallback_domains": teams_devices_fallback_domains_output, + "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, + "teams-devices_global_acceleration": teams_devices_global_acceleration_output, + "teams-devices_include": teams_devices_include_output, + "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, + "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, + "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, + "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, + "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, + "teams-devices_ip": teams_devices_ip_output, + "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, + "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_precedence": teams_devices_precedence_output, + "teams-devices_profile_type": teams_devices_profile_type_output, + "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, + "teams-devices_result_info": teams_devices_result_info_output, + "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, + "teams-devices_schemas-description": teams_devices_schemas_description_output, + "teams-devices_schemas-match": teams_devices_schemas_match_output, + "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, + "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, + "teams-devices_split_tunnel": teams_devices_split_tunnel_output, + "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, + "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, + "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, + "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, + "teams-devices_support_url": teams_devices_support_url_output, + "teams-devices_switch_locked": teams_devices_switch_locked_output, + "teams-devices_target_dex_test": teams_devices_target_dex_test_output, + "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, + "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, + "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/policy/${pathParam(args, "policy_id")}`, }), @@ -346,6 +542,68 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/policy/{policy_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device_settings_policy" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, + "teams-devices_allow_updates": teams_devices_allow_updates_output, + "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_auto_connect": teams_devices_auto_connect_output, + "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, + "teams-devices_captive_portal": teams_devices_captive_portal_output, + "teams-devices_default": teams_devices_default_output, + "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, + "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, + "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, + "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, + "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, + "teams-devices_exclude": teams_devices_exclude_output, + "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, + "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, + "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, + "teams-devices_fallback_domain": teams_devices_fallback_domain_output, + "teams-devices_fallback_domains": teams_devices_fallback_domains_output, + "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, + "teams-devices_global_acceleration": teams_devices_global_acceleration_output, + "teams-devices_include": teams_devices_include_output, + "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, + "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, + "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, + "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, + "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, + "teams-devices_ip": teams_devices_ip_output, + "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, + "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_precedence": teams_devices_precedence_output, + "teams-devices_profile_type": teams_devices_profile_type_output, + "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, + "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, + "teams-devices_schemas-description": teams_devices_schemas_description_output, + "teams-devices_schemas-match": teams_devices_schemas_match_output, + "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, + "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, + "teams-devices_split_tunnel": teams_devices_split_tunnel_output, + "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, + "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, + "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, + "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, + "teams-devices_support_url": teams_devices_support_url_output, + "teams-devices_switch_locked": teams_devices_switch_locked_output, + "teams-devices_target_dex_test": teams_devices_target_dex_test_output, + "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, + "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, + "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/policy/${pathParam(args, "policy_id")}`, }), @@ -382,6 +640,83 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/policies", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_device_settings_policy" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, + "teams-devices_allow_updates": teams_devices_allow_updates_output, + "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_auto_connect": teams_devices_auto_connect_output, + "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, + "teams-devices_captive_portal": teams_devices_captive_portal_output, + "teams-devices_default": teams_devices_default_output, + "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, + "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, + "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, + "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, + "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, + "teams-devices_exclude": teams_devices_exclude_output, + "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, + "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, + "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, + "teams-devices_fallback_domain": teams_devices_fallback_domain_output, + "teams-devices_fallback_domains": teams_devices_fallback_domains_output, + "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, + "teams-devices_global_acceleration": teams_devices_global_acceleration_output, + "teams-devices_include": teams_devices_include_output, + "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, + "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, + "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, + "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, + "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, + "teams-devices_ip": teams_devices_ip_output, + "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, + "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_precedence": teams_devices_precedence_output, + "teams-devices_profile_type": teams_devices_profile_type_output, + "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, + "teams-devices_result_info": teams_devices_result_info_output, + "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, + "teams-devices_schemas-description": teams_devices_schemas_description_output, + "teams-devices_schemas-match": teams_devices_schemas_match_output, + "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, + "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, + "teams-devices_split_tunnel": teams_devices_split_tunnel_output, + "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, + "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, + "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, + "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, + "teams-devices_support_url": teams_devices_support_url_output, + "teams-devices_switch_locked": teams_devices_switch_locked_output, + "teams-devices_target_dex_test": teams_devices_target_dex_test_output, + "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, + "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, + "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/policies`, query: [ @@ -601,6 +936,68 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_device_settings_policy" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, + "teams-devices_allow_updates": teams_devices_allow_updates_output, + "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_auto_connect": teams_devices_auto_connect_output, + "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, + "teams-devices_captive_portal": teams_devices_captive_portal_output, + "teams-devices_default": teams_devices_default_output, + "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, + "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, + "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, + "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, + "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, + "teams-devices_exclude": teams_devices_exclude_output, + "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, + "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, + "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, + "teams-devices_fallback_domain": teams_devices_fallback_domain_output, + "teams-devices_fallback_domains": teams_devices_fallback_domains_output, + "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, + "teams-devices_global_acceleration": teams_devices_global_acceleration_output, + "teams-devices_include": teams_devices_include_output, + "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, + "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, + "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, + "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, + "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, + "teams-devices_ip": teams_devices_ip_output, + "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, + "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_precedence": teams_devices_precedence_output, + "teams-devices_profile_type": teams_devices_profile_type_output, + "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, + "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, + "teams-devices_schemas-description": teams_devices_schemas_description_output, + "teams-devices_schemas-match": teams_devices_schemas_match_output, + "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, + "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, + "teams-devices_split_tunnel": teams_devices_split_tunnel_output, + "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, + "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, + "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, + "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, + "teams-devices_support_url": teams_devices_support_url_output, + "teams-devices_switch_locked": teams_devices_switch_locked_output, + "teams-devices_target_dex_test": teams_devices_target_dex_test_output, + "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, + "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, + "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/policy/${pathParam(args, "policy_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts new file mode 100644 index 00000000..e190f4e1 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts @@ -0,0 +1,91 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `teams-devices_default_device_settings_policy` in responses. + */ +export const teams_devices_default_device_settings_policy_output: JsonSchema = { + "properties": { + "allow_mode_switch": { + "$ref": "#/$defs/teams-devices_allow_mode_switch" + }, + "allow_updates": { + "$ref": "#/$defs/teams-devices_allow_updates" + }, + "allowed_to_leave": { + "$ref": "#/$defs/teams-devices_allowed_to_leave" + }, + "auto_connect": { + "$ref": "#/$defs/teams-devices_auto_connect" + }, + "captive_portal": { + "$ref": "#/$defs/teams-devices_captive_portal" + }, + "default": { + "type": "boolean" + }, + "disable_auto_fallback": { + "$ref": "#/$defs/teams-devices_disable_auto_fallback" + }, + "dns_search_suffixes": { + "$ref": "#/$defs/teams-devices_dns_search_suffixes" + }, + "enable_device_credential_authentication": { + "$ref": "#/$defs/teams-devices_enable_device_credential_authentication" + }, + "enabled": { + "type": "boolean" + }, + "exclude": { + "$ref": "#/$defs/teams-devices_exclude" + }, + "exclude_office_ips": { + "$ref": "#/$defs/teams-devices_exclude_office_ips" + }, + "fallback_domains": { + "$ref": "#/$defs/teams-devices_fallback_domains" + }, + "gateway_unique_id": { + "$ref": "#/$defs/teams-devices_gateway_unique_id" + }, + "global_acceleration": { + "$ref": "#/$defs/teams-devices_global_acceleration" + }, + "include": { + "$ref": "#/$defs/teams-devices_include" + }, + "policy_id": { + "$ref": "#/$defs/teams-devices_schemas-uuid" + }, + "profile_type": { + "$ref": "#/$defs/teams-devices_profile_type" + }, + "register_interface_ip_with_dns": { + "$ref": "#/$defs/teams-devices_register_interface_ip_with_dns" + }, + "sccm_vpn_boundary_support": { + "$ref": "#/$defs/teams-devices_sccm_vpn_boundary_support" + }, + "service_mode_v2": { + "$ref": "#/$defs/teams-devices_service_mode_v2" + }, + "support_url": { + "$ref": "#/$defs/teams-devices_support_url" + }, + "switch_locked": { + "$ref": "#/$defs/teams-devices_switch_locked" + }, + "tunnel_protocol": { + "$ref": "#/$defs/teams-devices_tunnel_protocol" + }, + "uninstall_protection": { + "$ref": "#/$defs/teams-devices_uninstall_protection" + }, + "virtual_networks": { + "$ref": "#/$defs/teams-devices_virtual_networks" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts index 15546a5b..05313d85 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts @@ -2,6 +2,51 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + teams_devices_api_response_common_failure_output, + teams_devices_messages_output, +} from "../../outputs.js"; +import { + teams_devices_allow_mode_switch_output, + teams_devices_allow_updates_output, + teams_devices_allowed_to_leave_output, + teams_devices_auto_connect_output, + teams_devices_captive_portal_output, + teams_devices_disable_auto_fallback_output, + teams_devices_dns_search_suffix_output, + teams_devices_dns_search_suffixes_output, + teams_devices_enable_device_credential_authentication_output, + teams_devices_exclude_office_ips_output, + teams_devices_exclude_output, + teams_devices_exclude_split_tunnel_with_address_output, + teams_devices_exclude_split_tunnel_with_host_output, + teams_devices_fallback_domain_output, + teams_devices_fallback_domains_output, + teams_devices_gateway_unique_id_output, + teams_devices_global_acceleration_output, + teams_devices_include_output, + teams_devices_include_split_tunnel_address_output, + teams_devices_include_split_tunnel_description_output, + teams_devices_include_split_tunnel_host_output, + teams_devices_include_split_tunnel_with_address_output, + teams_devices_include_split_tunnel_with_host_output, + teams_devices_ip_output, + teams_devices_profile_type_output, + teams_devices_register_interface_ip_with_dns_output, + teams_devices_sccm_vpn_boundary_support_output, + teams_devices_schemas_uuid_output, + teams_devices_service_mode_v2_output, + teams_devices_split_tunnel_address_output, + teams_devices_split_tunnel_description_output, + teams_devices_split_tunnel_host_output, + teams_devices_split_tunnel_include_output, + teams_devices_split_tunnel_output, + teams_devices_support_url_output, + teams_devices_switch_locked_output, + teams_devices_tunnel_protocol_output, + teams_devices_uninstall_protection_output, + teams_devices_virtual_networks_output, +} from "../outputs.js"; import { teams_devices_allow_mode_switch, teams_devices_allow_updates, @@ -39,6 +84,7 @@ import { teams_devices_uninstall_protection, teams_devices_virtual_networks, } from "../schemas.js"; +import { teams_devices_default_device_settings_policy_output } from "./outputs.js"; /** * The tools of `zero_trust.devices.profiles.default`. @@ -68,6 +114,60 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/policy", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_default_device_settings_policy" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, + "teams-devices_allow_updates": teams_devices_allow_updates_output, + "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_auto_connect": teams_devices_auto_connect_output, + "teams-devices_captive_portal": teams_devices_captive_portal_output, + "teams-devices_default_device_settings_policy": teams_devices_default_device_settings_policy_output, + "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, + "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, + "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, + "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, + "teams-devices_exclude": teams_devices_exclude_output, + "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, + "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, + "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, + "teams-devices_fallback_domain": teams_devices_fallback_domain_output, + "teams-devices_fallback_domains": teams_devices_fallback_domains_output, + "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, + "teams-devices_global_acceleration": teams_devices_global_acceleration_output, + "teams-devices_include": teams_devices_include_output, + "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, + "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, + "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, + "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, + "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, + "teams-devices_ip": teams_devices_ip_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_profile_type": teams_devices_profile_type_output, + "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, + "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, + "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, + "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, + "teams-devices_split_tunnel": teams_devices_split_tunnel_output, + "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, + "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, + "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, + "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, + "teams-devices_support_url": teams_devices_support_url_output, + "teams-devices_switch_locked": teams_devices_switch_locked_output, + "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, + "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, + "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/policy`, }), @@ -246,6 +346,60 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_default_device_settings_policy" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, + "teams-devices_allow_updates": teams_devices_allow_updates_output, + "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_auto_connect": teams_devices_auto_connect_output, + "teams-devices_captive_portal": teams_devices_captive_portal_output, + "teams-devices_default_device_settings_policy": teams_devices_default_device_settings_policy_output, + "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, + "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, + "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, + "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, + "teams-devices_exclude": teams_devices_exclude_output, + "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, + "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, + "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, + "teams-devices_fallback_domain": teams_devices_fallback_domain_output, + "teams-devices_fallback_domains": teams_devices_fallback_domains_output, + "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, + "teams-devices_global_acceleration": teams_devices_global_acceleration_output, + "teams-devices_include": teams_devices_include_output, + "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, + "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, + "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, + "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, + "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, + "teams-devices_ip": teams_devices_ip_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_profile_type": teams_devices_profile_type_output, + "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, + "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, + "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, + "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, + "teams-devices_split_tunnel": teams_devices_split_tunnel_output, + "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, + "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, + "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, + "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, + "teams-devices_support_url": teams_devices_support_url_output, + "teams-devices_switch_locked": teams_devices_switch_locked_output, + "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, + "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, + "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/policy`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts new file mode 100644 index 00000000..fd024a95 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts @@ -0,0 +1,469 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `teams-devices_allow_mode_switch` in responses. + */ +export const teams_devices_allow_mode_switch_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_allow_updates` in responses. + */ +export const teams_devices_allow_updates_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_allowed_to_leave` in responses. + */ +export const teams_devices_allowed_to_leave_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_auto_connect` in responses. + */ +export const teams_devices_auto_connect_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `teams-devices_captive_portal` in responses. + */ +export const teams_devices_captive_portal_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `teams-devices_disable_auto_fallback` in responses. + */ +export const teams_devices_disable_auto_fallback_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_dns_search_suffix` in responses. + */ +export const teams_devices_dns_search_suffix_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "suffix": { + "type": "string" + } + }, + "required": [ + "suffix" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_dns_search_suffixes` in responses. + */ +export const teams_devices_dns_search_suffixes_output: JsonSchema = { + "items": { + "$ref": "#/$defs/teams-devices_dns_search_suffix" + }, + "type": "array" +}; + +/** + * The schema of `teams-devices_enable_device_credential_authentication` in + * responses. + */ +export const teams_devices_enable_device_credential_authentication_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_exclude` in responses. + */ +export const teams_devices_exclude_output: JsonSchema = { + "items": { + "$ref": "#/$defs/teams-devices_split_tunnel" + }, + "type": "array" +}; + +/** + * The schema of `teams-devices_exclude_office_ips` in responses. + */ +export const teams_devices_exclude_office_ips_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_exclude_split_tunnel_with_address` in responses. + */ +export const teams_devices_exclude_split_tunnel_with_address_output: JsonSchema = { + "properties": { + "address": { + "$ref": "#/$defs/teams-devices_split_tunnel_address" + }, + "description": { + "$ref": "#/$defs/teams-devices_split_tunnel_description" + } + }, + "required": [ + "address" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_exclude_split_tunnel_with_host` in responses. + */ +export const teams_devices_exclude_split_tunnel_with_host_output: JsonSchema = { + "properties": { + "description": { + "$ref": "#/$defs/teams-devices_split_tunnel_description" + }, + "host": { + "$ref": "#/$defs/teams-devices_split_tunnel_host" + } + }, + "required": [ + "host" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_fallback_domain` in responses. + */ +export const teams_devices_fallback_domain_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "dns_server": { + "items": { + "$ref": "#/$defs/teams-devices_ip" + }, + "type": "array" + }, + "suffix": { + "type": "string" + } + }, + "required": [ + "suffix" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_fallback_domains` in responses. + */ +export const teams_devices_fallback_domains_output: JsonSchema = { + "items": { + "$ref": "#/$defs/teams-devices_fallback_domain" + }, + "type": "array" +}; + +/** + * The schema of `teams-devices_gateway_unique_id` in responses. + */ +export const teams_devices_gateway_unique_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_global_acceleration` in responses. + */ +export const teams_devices_global_acceleration_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "api_endpoints": { + "items": { + "type": "string" + }, + "maxItems": 5, + "type": "array" + }, + "autoswitch": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "masque_endpoints": { + "items": { + "type": "string" + }, + "maxItems": 5, + "type": "array" + }, + "wireguard_endpoints": { + "items": { + "type": "string" + }, + "maxItems": 5, + "type": "array" + } + }, + "required": [ + "api_endpoints", + "enabled", + "masque_endpoints", + "wireguard_endpoints" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `teams-devices_include` in responses. + */ +export const teams_devices_include_output: JsonSchema = { + "items": { + "$ref": "#/$defs/teams-devices_split_tunnel_include" + }, + "type": "array" +}; + +/** + * The schema of `teams-devices_include_split_tunnel_address` in responses. + */ +export const teams_devices_include_split_tunnel_address_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_include_split_tunnel_description` in responses. + */ +export const teams_devices_include_split_tunnel_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_include_split_tunnel_host` in responses. + */ +export const teams_devices_include_split_tunnel_host_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_include_split_tunnel_with_address` in responses. + */ +export const teams_devices_include_split_tunnel_with_address_output: JsonSchema = { + "properties": { + "address": { + "$ref": "#/$defs/teams-devices_include_split_tunnel_address" + }, + "description": { + "$ref": "#/$defs/teams-devices_include_split_tunnel_description" + } + }, + "required": [ + "address" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_include_split_tunnel_with_host` in responses. + */ +export const teams_devices_include_split_tunnel_with_host_output: JsonSchema = { + "properties": { + "description": { + "$ref": "#/$defs/teams-devices_include_split_tunnel_description" + }, + "host": { + "$ref": "#/$defs/teams-devices_include_split_tunnel_host" + } + }, + "required": [ + "host" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_ip` in responses. + */ +export const teams_devices_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_lan_allow_minutes` in responses. + */ +export const teams_devices_lan_allow_minutes_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `teams-devices_lan_allow_subnet_size` in responses. + */ +export const teams_devices_lan_allow_subnet_size_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `teams-devices_profile_type` in responses. + */ +export const teams_devices_profile_type_output: JsonSchema = { + "enum": [ + "warp", + "browser_extension" + ], + "type": "string" +}; + +/** + * The schema of `teams-devices_register_interface_ip_with_dns` in responses. + */ +export const teams_devices_register_interface_ip_with_dns_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_sccm_vpn_boundary_support` in responses. + */ +export const teams_devices_sccm_vpn_boundary_support_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_schemas-uuid` in responses. + */ +export const teams_devices_schemas_uuid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_service_mode_v2` in responses. + */ +export const teams_devices_service_mode_v2_output: JsonSchema = { + "properties": { + "mode": { + "type": "string" + }, + "port": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `teams-devices_split_tunnel` in responses. + */ +export const teams_devices_split_tunnel_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/teams-devices_exclude_split_tunnel_with_address" + }, + { + "$ref": "#/$defs/teams-devices_exclude_split_tunnel_with_host" + } + ] +}; + +/** + * The schema of `teams-devices_split_tunnel_address` in responses. + */ +export const teams_devices_split_tunnel_address_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_split_tunnel_description` in responses. + */ +export const teams_devices_split_tunnel_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_split_tunnel_host` in responses. + */ +export const teams_devices_split_tunnel_host_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_split_tunnel_include` in responses. + */ +export const teams_devices_split_tunnel_include_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/teams-devices_include_split_tunnel_with_address" + }, + { + "$ref": "#/$defs/teams-devices_include_split_tunnel_with_host" + } + ] +}; + +/** + * The schema of `teams-devices_support_url` in responses. + */ +export const teams_devices_support_url_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_switch_locked` in responses. + */ +export const teams_devices_switch_locked_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_tunnel_protocol` in responses. + */ +export const teams_devices_tunnel_protocol_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `teams-devices_uninstall_protection` in responses. + */ +export const teams_devices_uninstall_protection_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `teams-devices_virtual_networks` in responses. + */ +export const teams_devices_virtual_networks_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "allowed": { + "items": { + "format": "uuid", + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "default": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "allowed", + "default" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts new file mode 100644 index 00000000..b95a8ba4 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts @@ -0,0 +1,131 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `teams-devices_registration` in responses. + */ +export const teams_devices_registration_output: JsonSchema = { + "properties": { + "created_at": { + "type": "string" + }, + "deleted_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "device": { + "$ref": "#/$defs/teams-devices_registration_device_details" + }, + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "key_type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "last_seen_at": { + "type": "string" + }, + "policy": { + "$ref": "#/$defs/teams-devices_policy_summary" + }, + "registration_type": { + "$ref": "#/$defs/teams-devices_registration_type" + }, + "revoked_at": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tunnel_type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "type": "string" + }, + "user": { + "$ref": "#/$defs/teams-devices_user" + }, + "virtual_ipv4": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "virtual_ipv6": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "device", + "id", + "key", + "last_seen_at", + "registration_type", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `teams-devices_registration_device_details` in responses. + */ +export const teams_devices_registration_device_details_output: JsonSchema = { + "properties": { + "client_version": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/outputs.ts new file mode 100644 index 00000000..921627b5 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `teams-devices_override_codes` in responses. + */ +export const teams_devices_override_codes_output: JsonSchema = { + "properties": { + "disable_for_time": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts index a6ad6ed0..dc27e503 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + teams_devices_v4_error_response_output, + teams_devices_v4_response_message_output, +} from "../../outputs.js"; +import { teams_devices_override_codes_output } from "./outputs.js"; /** * The tools of `zero_trust.devices.registrations.override_codes`. @@ -41,6 +46,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_override_codes" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_override_codes": teams_devices_override_codes_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/registrations/${pathParam(args, "registration_id")}/override_codes`, }), diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts index a26c8982..91d2631d 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts @@ -2,7 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + teams_devices_components_schemas_uuid_output, + teams_devices_cursor_result_info_output, + teams_devices_email_output, + teams_devices_empty_body_output, + teams_devices_policy_summary_output, + teams_devices_registration_type_output, + teams_devices_user_output, + teams_devices_v4_error_response_output, + teams_devices_v4_response_message_output, +} from "../outputs.js"; import { teams_devices_registration_type } from "../schemas.js"; +import { + teams_devices_registration_device_details_output, + teams_devices_registration_output, +} from "./outputs.js"; /** * The tools of `zero_trust.devices.registrations`. @@ -45,6 +60,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_empty_body" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_empty_body": teams_devices_empty_body_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/registrations`, query: [ @@ -85,6 +115,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_empty_body" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_empty_body": teams_devices_empty_body_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/registrations/${pathParam(args, "registration_id")}`, }), @@ -121,6 +166,27 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/registrations/{registration_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_registration" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, + "teams-devices_email": teams_devices_email_output, + "teams-devices_policy_summary": teams_devices_policy_summary_output, + "teams-devices_registration": teams_devices_registration_output, + "teams-devices_registration_device_details": teams_devices_registration_device_details_output, + "teams-devices_registration_type": teams_devices_registration_type_output, + "teams-devices_user": teams_devices_user_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/registrations/${pathParam(args, "registration_id")}`, query: [ @@ -234,6 +300,42 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/registrations", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_registration" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_cursor_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, + "teams-devices_cursor_result_info": teams_devices_cursor_result_info_output, + "teams-devices_email": teams_devices_email_output, + "teams-devices_policy_summary": teams_devices_policy_summary_output, + "teams-devices_registration": teams_devices_registration_output, + "teams-devices_registration_device_details": teams_devices_registration_device_details_output, + "teams-devices_registration_type": teams_devices_registration_type_output, + "teams-devices_user": teams_devices_user_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/registrations`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/devices/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/settings/outputs.ts new file mode 100644 index 00000000..4e1d34eb --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/devices/settings/outputs.ts @@ -0,0 +1,41 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `teams-devices_zero-trust-account-device-settings` in + * responses. + */ +export const teams_devices_zero_trust_account_device_settings_output: JsonSchema = { + "properties": { + "disable_for_time": { + "type": "number" + }, + "external_emergency_signal_enabled": { + "type": "boolean" + }, + "external_emergency_signal_fingerprint": { + "type": "string" + }, + "external_emergency_signal_interval": { + "type": "string" + }, + "external_emergency_signal_url": { + "type": "string" + }, + "gateway_proxy_enabled": { + "type": "boolean" + }, + "gateway_udp_proxy_enabled": { + "type": "boolean" + }, + "root_certificate_installation_enabled": { + "type": "boolean" + }, + "use_zt_virtual_ip": { + "type": "boolean" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts index 22fb1e9e..27274d4b 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + teams_devices_api_response_common_failure_output, + teams_devices_messages_output, +} from "../outputs.js"; +import { teams_devices_zero_trust_account_device_settings_output } from "./outputs.js"; import { teams_devices_zero_trust_account_device_settings } from "./schemas.js"; /** @@ -37,6 +42,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/settings`, }), @@ -65,6 +85,21 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/settings", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/settings`, }), @@ -105,6 +140,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_api-response-common-failure" + } + }, + $defs: { + "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, + "teams-devices_messages": teams_devices_messages_output, + "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/tools.ts index 2cc13101..37169b59 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + teams_devices_components_schemas_uuid_output, + teams_devices_cursor_result_info_output, + teams_devices_email_output, + teams_devices_empty_body_output, + teams_devices_physical_device_output, + teams_devices_policy_summary_output, + teams_devices_registration_details_output, + teams_devices_user_output, + teams_devices_v4_error_response_output, + teams_devices_v4_response_message_output, +} from "./outputs.js"; import { teams_devices_physical_device_update_request, teams_devices_registration_type, @@ -44,6 +56,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_empty_body" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_empty_body": teams_devices_empty_body_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/physical-devices/${pathParam(args, "device_id")}`, }), @@ -80,6 +107,26 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/physical-devices/{device_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_physical_device" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, + "teams-devices_email": teams_devices_email_output, + "teams-devices_physical_device": teams_devices_physical_device_output, + "teams-devices_policy_summary": teams_devices_policy_summary_output, + "teams-devices_registration_details": teams_devices_registration_details_output, + "teams-devices_user": teams_devices_user_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/physical-devices/${pathParam(args, "device_id")}`, query: [ @@ -196,6 +243,41 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/devices/physical-devices", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/teams-devices_physical_device" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/teams-devices_cursor_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, + "teams-devices_cursor_result_info": teams_devices_cursor_result_info_output, + "teams-devices_email": teams_devices_email_output, + "teams-devices_physical_device": teams_devices_physical_device_output, + "teams-devices_policy_summary": teams_devices_policy_summary_output, + "teams-devices_registration_details": teams_devices_registration_details_output, + "teams-devices_user": teams_devices_user_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/physical-devices`, query: [ @@ -254,6 +336,26 @@ export const tools: readonly Tool[] = [ extensions: { "x-auditable": true }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/teams-devices_physical_device" + }, + "4XX": { + "$ref": "#/$defs/teams-devices_v4_error_response" + } + }, + $defs: { + "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, + "teams-devices_email": teams_devices_email_output, + "teams-devices_physical_device": teams_devices_physical_device_output, + "teams-devices_policy_summary": teams_devices_policy_summary_output, + "teams-devices_registration_details": teams_devices_registration_details_output, + "teams-devices_user": teams_devices_user_output, + "teams-devices_v4_error_response": teams_devices_v4_error_response_output, + "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/physical-devices/${pathParam(args, "device_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/colos/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/colos/outputs.ts new file mode 100644 index 00000000..e62a4fcf --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/colos/outputs.ts @@ -0,0 +1,30 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_colos_response` in responses. + */ +export const digital_experience_monitoring_colos_response_output: JsonSchema = { + "items": { + "properties": { + "airportCode": { + "type": "string" + }, + "city": { + "type": "string" + }, + "countryCode": { + "type": "string" + } + }, + "required": [ + "airportCode", + "city", + "countryCode" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts index 4dbf2263..7196e651 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../outputs.js"; +import { digital_experience_monitoring_colos_response_output } from "./outputs.js"; /** * The tools of `zero_trust.dex.colos`. @@ -58,6 +63,32 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/digital-experience-monitoring_colos_response" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_colos_response": digital_experience_monitoring_colos_response_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/colos`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts new file mode 100644 index 00000000..18d6b319 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts @@ -0,0 +1,61 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_commands_devices_response` in + * responses. + */ +export const digital_experience_monitoring_commands_devices_response_output: JsonSchema = { + "properties": { + "devices": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_commands_devices_response_devicesItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_commands_devices_response_devicesItem` in + * responses. + */ +export const digital_experience_monitoring_commands_devices_response_devicesItem_output: JsonSchema = { + "properties": { + "deviceId": { + "type": "string" + }, + "deviceName": { + "type": "string" + }, + "eligible": { + "type": "boolean" + }, + "ineligibleReason": { + "type": "string" + }, + "personEmail": { + "type": "string" + }, + "platform": { + "$ref": "#/$defs/digital-experience-monitoring_platform" + }, + "registrationId": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/digital-experience-monitoring_status" + }, + "timestamp": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp" + }, + "version": { + "$ref": "#/$defs/digital-experience-monitoring_version" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts index 5a230fd3..d389e18c 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_platform_output, + digital_experience_monitoring_status_output, + digital_experience_monitoring_timestamp_output, + digital_experience_monitoring_version_output, +} from "../../outputs.js"; +import { + digital_experience_monitoring_commands_devices_response_devicesItem_output, + digital_experience_monitoring_commands_devices_response_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.commands.eligible_devices`. @@ -55,6 +67,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_commands_devices_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_commands_devices_response": digital_experience_monitoring_commands_devices_response_output, + "digital-experience-monitoring_commands_devices_response_devicesItem": digital_experience_monitoring_commands_devices_response_devicesItem_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_platform": digital_experience_monitoring_platform_output, + "digital-experience-monitoring_status": digital_experience_monitoring_status_output, + "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, + "digital-experience-monitoring_version": digital_experience_monitoring_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/commands/devices`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/outputs.ts new file mode 100644 index 00000000..e7e3a1e8 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/outputs.ts @@ -0,0 +1,128 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_get_commands_response` in + * responses. + */ +export const digital_experience_monitoring_get_commands_response_output: JsonSchema = { + "properties": { + "commands": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_get_commands_response_commandsItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_get_commands_response_commandsItem` in + * responses. + */ +export const digital_experience_monitoring_get_commands_response_commandsItem_output: JsonSchema = { + "properties": { + "completed_date": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "created_date": { + "format": "date-time", + "type": "string" + }, + "device_id": { + "type": "string" + }, + "filename": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "registration_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user_email": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_post_commands_response` in + * responses. + */ +export const digital_experience_monitoring_post_commands_response_output: JsonSchema = { + "properties": { + "commands": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_post_commands_response_commandsItem" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_post_commands_response_commandsItem` in + * responses. + */ +export const digital_experience_monitoring_post_commands_response_commandsItem_output: JsonSchema = { + "properties": { + "args": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "device_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "registration_id": { + "type": "string" + }, + "status": { + "enum": [ + "PENDING_EXEC", + "PENDING_UPLOAD", + "SUCCESS", + "FAILED" + ], + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/quota/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/outputs.ts new file mode 100644 index 00000000..cf9caa00 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/outputs.ts @@ -0,0 +1,29 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_get_commands_quota_response` in + * responses. + */ +export const digital_experience_monitoring_get_commands_quota_response_output: JsonSchema = { + "properties": { + "quota": { + "type": "number" + }, + "quota_usage": { + "type": "number" + }, + "reset_time": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "quota", + "quota_usage", + "reset_time" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts index 47726966..88f66bc1 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../../outputs.js"; +import { digital_experience_monitoring_get_commands_quota_response_output } from "./outputs.js"; /** * The tools of `zero_trust.dex.commands.quota`. @@ -40,6 +45,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_get_commands_quota_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_get_commands_quota_response": digital_experience_monitoring_get_commands_quota_response_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/commands/quota`, }), diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts index 3f52d4d9..9c331932 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../../outputs.js"; /** * The tools of `zero_trust.dex.commands.results`. @@ -50,6 +54,18 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/commands/${pathParam(args, "command_id")}/downloads/${pathParam(args, "filename")}`, }), diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts index d3b32ffb..3a50c769 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../outputs.js"; +import { + digital_experience_monitoring_get_commands_response_commandsItem_output, + digital_experience_monitoring_get_commands_response_output, + digital_experience_monitoring_post_commands_response_commandsItem_output, + digital_experience_monitoring_post_commands_response_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.commands`. @@ -133,6 +143,22 @@ export const tools: readonly Tool[] = [ "Cloudflare DEX Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_post_commands_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_post_commands_response": digital_experience_monitoring_post_commands_response_output, + "digital-experience-monitoring_post_commands_response_commandsItem": digital_experience_monitoring_post_commands_response_commandsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/commands`, body: { value: args["body"], mediaType: "application/json" }, @@ -219,6 +245,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_get_commands_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_get_commands_response": digital_experience_monitoring_get_commands_response_output, + "digital-experience-monitoring_get_commands_response_commandsItem": digital_experience_monitoring_get_commands_response_commandsItem_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/commands`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts new file mode 100644 index 00000000..37dd0e95 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_live_stat` in responses. + */ +export const digital_experience_monitoring_live_stat_output: JsonSchema = { + "properties": { + "uniqueDevicesTotal": { + "$ref": "#/$defs/digital-experience-monitoring_uniqueDevicesTotal" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts index 4ddd7dd2..445efff2 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts @@ -2,7 +2,13 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../../../outputs.js"; import { digital_experience_monitoring_since_minutes } from "../../schemas.js"; +import { digital_experience_monitoring_uniqueDevicesTotal_output } from "../outputs.js"; +import { digital_experience_monitoring_live_stat_output } from "./outputs.js"; /** * The tools of `zero_trust.dex.devices.aggregates.live`. @@ -50,6 +56,97 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "deviceStats": { + "properties": { + "byColo": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_live_stat" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "byMode": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_live_stat" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "byPlatform": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_live_stat" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "byStatus": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_live_stat" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "byVersion": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_live_stat" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "uniqueDevicesTotal": { + "$ref": "#/$defs/digital-experience-monitoring_uniqueDevicesTotal" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_live_stat": digital_experience_monitoring_live_stat_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_uniqueDevicesTotal": digital_experience_monitoring_uniqueDevicesTotal_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/fleet-status/live`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts new file mode 100644 index 00000000..370c69fe --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts @@ -0,0 +1,12 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_uniqueDevicesTotal` in + * responses. + */ +export const digital_experience_monitoring_uniqueDevicesTotal_output: JsonSchema = { + "type": "number" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts new file mode 100644 index 00000000..9576f335 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts @@ -0,0 +1,23 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_schemas-aggregate_stat` in + * responses. + */ +export const digital_experience_monitoring_schemas_aggregate_stat_output: JsonSchema = { + "properties": { + "timestamp": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp" + }, + "uniqueDevicesTotal": { + "$ref": "#/$defs/digital-experience-monitoring_uniqueDevicesTotal" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts index 70a2cebe..0d6c9337 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts @@ -2,11 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_timestamp_output, +} from "../../../outputs.js"; import { digital_experience_monitoring_colo, digital_experience_monitoring_timestamp, } from "../../../schemas.js"; import { digital_experience_monitoring_device_id } from "../../schemas.js"; +import { digital_experience_monitoring_uniqueDevicesTotal_output } from "../outputs.js"; +import { digital_experience_monitoring_schemas_aggregate_stat_output } from "./outputs.js"; /** * The tools of `zero_trust.dex.devices.aggregates.over_time`. @@ -68,6 +75,45 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "deviceStats": { + "properties": { + "byMode": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_schemas-aggregate_stat" + }, + "type": "array" + }, + "byStatus": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_schemas-aggregate_stat" + }, + "type": "array" + }, + "uniqueDevicesTotal": { + "$ref": "#/$defs/digital-experience-monitoring_uniqueDevicesTotal" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_schemas-aggregate_stat": digital_experience_monitoring_schemas_aggregate_stat_output, + "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, + "digital-experience-monitoring_uniqueDevicesTotal": digital_experience_monitoring_uniqueDevicesTotal_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/fleet-status/over-time`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts new file mode 100644 index 00000000..954b71c5 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts @@ -0,0 +1,750 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_cpu_pct_by_app` in responses. + */ +export const digital_experience_monitoring_cpu_pct_by_app_output: JsonSchema = { + "properties": { + "cpu_pct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_device` in responses. + */ +export const digital_experience_monitoring_device_output: JsonSchema = { + "properties": { + "alwaysOn": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "batteryCharging": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "batteryCycles": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "batteryPct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "colo": { + "$ref": "#/$defs/digital-experience-monitoring_colo" + }, + "connectionType": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cpuPct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "cpuPctByApp": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_cpu_pct_by_app" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "deviceId": { + "type": "string" + }, + "deviceIpv4": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_schemas-ip_info" + }, + { + "type": "null" + } + ] + }, + "deviceIpv6": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_schemas-ip_info" + }, + { + "type": "null" + } + ] + }, + "deviceName": { + "type": "string" + }, + "deviceRegistration": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "diskReadBps": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "diskUsagePct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "diskWriteBps": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "dohSubdomain": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "estimatedLossPct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "firewallEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "gatewayIpv4": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_schemas-ip_info" + }, + { + "type": "null" + } + ] + }, + "gatewayIpv6": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_schemas-ip_info" + }, + { + "type": "null" + } + ] + }, + "handshakeLatencyMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "ispIpv4": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_schemas-ip_info" + }, + { + "type": "null" + } + ] + }, + "ispIpv6": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_schemas-ip_info" + }, + { + "type": "null" + } + ] + }, + "metal": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "mode": { + "$ref": "#/$defs/digital-experience-monitoring_mode" + }, + "networkRcvdBps": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "networkSentBps": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "networkSsid": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "personEmail": { + "$ref": "#/$defs/digital-experience-monitoring_personEmail" + }, + "platform": { + "$ref": "#/$defs/digital-experience-monitoring_platform" + }, + "ramAvailableKb": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "ramUsedPct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "ramUsedPctByApp": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_ram_used_pct_by_app" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "registrationId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "rtt": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_rtt_stats" + }, + { + "type": "null" + } + ] + }, + "status": { + "$ref": "#/$defs/digital-experience-monitoring_status" + }, + "switchLocked": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "timestamp": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp" + }, + "tunnelStats": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_tunnel_stats" + }, + { + "type": "null" + } + ] + }, + "tunnelType": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "version": { + "$ref": "#/$defs/digital-experience-monitoring_version" + }, + "wifiStrengthDbm": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "colo", + "deviceId", + "mode", + "platform", + "status", + "timestamp", + "version" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_directional_stat` in responses. + */ +export const digital_experience_monitoring_directional_stat_output: JsonSchema = { + "properties": { + "downstream": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "upstream": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_mode` in responses. + */ +export const digital_experience_monitoring_mode_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_personEmail` in responses. + */ +export const digital_experience_monitoring_personEmail_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_ram_used_pct_by_app` in + * responses. + */ +export const digital_experience_monitoring_ram_used_pct_by_app_output: JsonSchema = { + "properties": { + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ram_used_pct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_rtt_stats` in responses. + */ +export const digital_experience_monitoring_rtt_stats_output: JsonSchema = { + "properties": { + "minRttUs": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "rttUs": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "rttVarUs": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_schemas-ip_info` in responses. + */ +export const digital_experience_monitoring_schemas_ip_info_output: JsonSchema = { + "properties": { + "address": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "asn": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "aso": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "location": { + "$ref": "#/$defs/digital-experience-monitoring_schemas-ip_info_location" + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "netmask": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "version": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_schemas-ip_info_location` in + * responses. + */ +export const digital_experience_monitoring_schemas_ip_info_location_output: JsonSchema = { + "properties": { + "city": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "country_iso": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "state_iso": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "zip": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_tunnel_stats` in responses. + */ +export const digital_experience_monitoring_tunnel_stats_output: JsonSchema = { + "properties": { + "bytesLost": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "bytesReceived": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "bytesRetransmitted": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "bytesSent": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "packetsLost": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "packetsReceived": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "packetsRetransmitted": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "packetsSent": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_directional_stat" + }, + { + "type": "null" + } + ] + }, + "statsWindowMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/outputs.ts new file mode 100644 index 00000000..d08ac98e --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/outputs.ts @@ -0,0 +1,325 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_device_state_over_time` in + * responses. + */ +export const digital_experience_monitoring_device_state_over_time_output: JsonSchema = { + "properties": { + "battery_cycles": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_int" + }, + "type": "array" + }, + "battery_pct": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_float" + }, + "type": "array" + }, + "connection_type": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_string" + }, + "type": "array" + }, + "cpu_pct": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_float" + }, + "type": "array" + }, + "disk_read_bps": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_int" + }, + "type": "array" + }, + "disk_usage_pct": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_float" + }, + "type": "array" + }, + "disk_write_bps": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_int" + }, + "type": "array" + }, + "mode": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_string" + }, + "type": "array" + }, + "network_rcvd_bps": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_int" + }, + "type": "array" + }, + "network_sent_bps": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_int" + }, + "type": "array" + }, + "network_ssid": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_string" + }, + "type": "array" + }, + "ram_available_kb": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_int" + }, + "type": "array" + }, + "ram_used_pct": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_float" + }, + "type": "array" + }, + "rtt": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_rtt_stats" + }, + "type": "array" + }, + "status": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_string" + }, + "type": "array" + }, + "top_cpu_applications": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_cpu_apps" + }, + "type": "array" + }, + "top_ram_applications": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_ram_apps" + }, + "type": "array" + }, + "tunnel_stats": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_tunnel_stats" + }, + "type": "array" + }, + "tunnel_type": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_string" + }, + "type": "array" + }, + "unique_networks": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_int" + }, + "type": "array" + }, + "wifi_strength_dbm": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_timeslot_int" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_device_state_top_networks_summary` in + * responses. + */ +export const digital_experience_monitoring_device_state_top_networks_summary_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "count", + "name" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_device_status_over_time_result` + * in responses. + */ +export const digital_experience_monitoring_device_status_over_time_result_output: JsonSchema = { + "properties": { + "over_time": { + "$ref": "#/$defs/digital-experience-monitoring_device_state_over_time" + }, + "top_networks": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_device_state_top_networks_summary" + }, + "type": "array" + } + }, + "required": [ + "over_time", + "top_networks" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_timeslot_cpu_apps` in responses. + */ +export const digital_experience_monitoring_timeslot_cpu_apps_output: JsonSchema = { + "properties": { + "timestamp": { + "type": "string" + }, + "value": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_cpu_pct_by_app" + }, + "type": "array" + } + }, + "required": [ + "timestamp", + "value" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_timeslot_float` in responses. + */ +export const digital_experience_monitoring_timeslot_float_output: JsonSchema = { + "properties": { + "timestamp": { + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "timestamp", + "value" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_timeslot_int` in responses. + */ +export const digital_experience_monitoring_timeslot_int_output: JsonSchema = { + "properties": { + "timestamp": { + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "required": [ + "timestamp", + "value" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_timeslot_ram_apps` in responses. + */ +export const digital_experience_monitoring_timeslot_ram_apps_output: JsonSchema = { + "properties": { + "timestamp": { + "type": "string" + }, + "value": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_ram_used_pct_by_app" + }, + "type": "array" + } + }, + "required": [ + "timestamp", + "value" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_timeslot_rtt_stats` in + * responses. + */ +export const digital_experience_monitoring_timeslot_rtt_stats_output: JsonSchema = { + "properties": { + "timestamp": { + "type": "string" + }, + "value": { + "$ref": "#/$defs/digital-experience-monitoring_rtt_stats" + } + }, + "required": [ + "timestamp", + "value" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_timeslot_string` in responses. + */ +export const digital_experience_monitoring_timeslot_string_output: JsonSchema = { + "properties": { + "timestamp": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "timestamp", + "value" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_timeslot_tunnel_stats` in + * responses. + */ +export const digital_experience_monitoring_timeslot_tunnel_stats_output: JsonSchema = { + "properties": { + "timestamp": { + "type": "string" + }, + "value": { + "$ref": "#/$defs/digital-experience-monitoring_tunnel_stats" + } + }, + "required": [ + "timestamp", + "value" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts index 297c1df4..74efcf63 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts @@ -2,10 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../../outputs.js"; import { digital_experience_monitoring_colo, digital_experience_monitoring_timestamp, } from "../../schemas.js"; +import { + digital_experience_monitoring_cpu_pct_by_app_output, + digital_experience_monitoring_directional_stat_output, + digital_experience_monitoring_ram_used_pct_by_app_output, + digital_experience_monitoring_rtt_stats_output, + digital_experience_monitoring_tunnel_stats_output, +} from "../outputs.js"; +import { + digital_experience_monitoring_device_state_over_time_output, + digital_experience_monitoring_device_state_top_networks_summary_output, + digital_experience_monitoring_device_status_over_time_result_output, + digital_experience_monitoring_timeslot_cpu_apps_output, + digital_experience_monitoring_timeslot_float_output, + digital_experience_monitoring_timeslot_int_output, + digital_experience_monitoring_timeslot_ram_apps_output, + digital_experience_monitoring_timeslot_rtt_stats_output, + digital_experience_monitoring_timeslot_string_output, + digital_experience_monitoring_timeslot_tunnel_stats_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.devices.over_time`. @@ -76,6 +99,35 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_device_status_over_time_result" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_cpu_pct_by_app": digital_experience_monitoring_cpu_pct_by_app_output, + "digital-experience-monitoring_device_state_over_time": digital_experience_monitoring_device_state_over_time_output, + "digital-experience-monitoring_device_state_top_networks_summary": digital_experience_monitoring_device_state_top_networks_summary_output, + "digital-experience-monitoring_device_status_over_time_result": digital_experience_monitoring_device_status_over_time_result_output, + "digital-experience-monitoring_directional_stat": digital_experience_monitoring_directional_stat_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_ram_used_pct_by_app": digital_experience_monitoring_ram_used_pct_by_app_output, + "digital-experience-monitoring_rtt_stats": digital_experience_monitoring_rtt_stats_output, + "digital-experience-monitoring_timeslot_cpu_apps": digital_experience_monitoring_timeslot_cpu_apps_output, + "digital-experience-monitoring_timeslot_float": digital_experience_monitoring_timeslot_float_output, + "digital-experience-monitoring_timeslot_int": digital_experience_monitoring_timeslot_int_output, + "digital-experience-monitoring_timeslot_ram_apps": digital_experience_monitoring_timeslot_ram_apps_output, + "digital-experience-monitoring_timeslot_rtt_stats": digital_experience_monitoring_timeslot_rtt_stats_output, + "digital-experience-monitoring_timeslot_string": digital_experience_monitoring_timeslot_string_output, + "digital-experience-monitoring_timeslot_tunnel_stats": digital_experience_monitoring_timeslot_tunnel_stats_output, + "digital-experience-monitoring_tunnel_stats": digital_experience_monitoring_tunnel_stats_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/${pathParam(args, "device_id")}/fleet-status/over-time`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts index 1857b593..45b2ed8d 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_colo_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_platform_output, + digital_experience_monitoring_status_output, + digital_experience_monitoring_timestamp_output, + digital_experience_monitoring_version_output, +} from "../outputs.js"; import { digital_experience_monitoring_colo, digital_experience_monitoring_platform, @@ -9,6 +18,18 @@ import { digital_experience_monitoring_timestamp, digital_experience_monitoring_version, } from "../schemas.js"; +import { + digital_experience_monitoring_cpu_pct_by_app_output, + digital_experience_monitoring_device_output, + digital_experience_monitoring_directional_stat_output, + digital_experience_monitoring_mode_output, + digital_experience_monitoring_personEmail_output, + digital_experience_monitoring_ram_used_pct_by_app_output, + digital_experience_monitoring_rtt_stats_output, + digital_experience_monitoring_schemas_ip_info_location_output, + digital_experience_monitoring_schemas_ip_info_output, + digital_experience_monitoring_tunnel_stats_output, +} from "./outputs.js"; import { digital_experience_monitoring_device_id, digital_experience_monitoring_mode, @@ -82,6 +103,35 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_device" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_colo": digital_experience_monitoring_colo_output, + "digital-experience-monitoring_cpu_pct_by_app": digital_experience_monitoring_cpu_pct_by_app_output, + "digital-experience-monitoring_device": digital_experience_monitoring_device_output, + "digital-experience-monitoring_directional_stat": digital_experience_monitoring_directional_stat_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_mode": digital_experience_monitoring_mode_output, + "digital-experience-monitoring_personEmail": digital_experience_monitoring_personEmail_output, + "digital-experience-monitoring_platform": digital_experience_monitoring_platform_output, + "digital-experience-monitoring_ram_used_pct_by_app": digital_experience_monitoring_ram_used_pct_by_app_output, + "digital-experience-monitoring_rtt_stats": digital_experience_monitoring_rtt_stats_output, + "digital-experience-monitoring_schemas-ip_info": digital_experience_monitoring_schemas_ip_info_output, + "digital-experience-monitoring_schemas-ip_info_location": digital_experience_monitoring_schemas_ip_info_location_output, + "digital-experience-monitoring_status": digital_experience_monitoring_status_output, + "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, + "digital-experience-monitoring_tunnel_stats": digital_experience_monitoring_tunnel_stats_output, + "digital-experience-monitoring_version": digital_experience_monitoring_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/${pathParam(args, "device_id")}/fleet-status/live`, query: [ @@ -192,6 +242,66 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_device" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_colo": digital_experience_monitoring_colo_output, + "digital-experience-monitoring_cpu_pct_by_app": digital_experience_monitoring_cpu_pct_by_app_output, + "digital-experience-monitoring_device": digital_experience_monitoring_device_output, + "digital-experience-monitoring_directional_stat": digital_experience_monitoring_directional_stat_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_mode": digital_experience_monitoring_mode_output, + "digital-experience-monitoring_personEmail": digital_experience_monitoring_personEmail_output, + "digital-experience-monitoring_platform": digital_experience_monitoring_platform_output, + "digital-experience-monitoring_ram_used_pct_by_app": digital_experience_monitoring_ram_used_pct_by_app_output, + "digital-experience-monitoring_rtt_stats": digital_experience_monitoring_rtt_stats_output, + "digital-experience-monitoring_schemas-ip_info": digital_experience_monitoring_schemas_ip_info_output, + "digital-experience-monitoring_schemas-ip_info_location": digital_experience_monitoring_schemas_ip_info_location_output, + "digital-experience-monitoring_status": digital_experience_monitoring_status_output, + "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, + "digital-experience-monitoring_tunnel_stats": digital_experience_monitoring_tunnel_stats_output, + "digital-experience-monitoring_version": digital_experience_monitoring_version_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/fleet-status/devices`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/isps/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/isps/outputs.ts new file mode 100644 index 00000000..23b53d66 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/isps/outputs.ts @@ -0,0 +1,101 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_device_isp` in responses. + */ +export const digital_experience_monitoring_device_isp_output: JsonSchema = { + "properties": { + "ip": { + "$ref": "#/$defs/digital-experience-monitoring_ip_info" + }, + "test_id": { + "type": "string" + }, + "test_result_id": { + "type": "string" + }, + "time_start": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "test_id", + "test_result_id", + "time_start" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_device_isps_response` in + * responses. + */ +export const digital_experience_monitoring_device_isps_response_output: JsonSchema = { + "properties": { + "isps": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_device_isp" + }, + "type": "array" + } + }, + "required": [ + "isps" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_ip_info` in responses. + */ +export const digital_experience_monitoring_ip_info_output: JsonSchema = { + "properties": { + "address": { + "type": "string" + }, + "asn": { + "type": "integer" + }, + "aso": { + "type": "string" + }, + "location": { + "$ref": "#/$defs/digital-experience-monitoring_ip_location" + }, + "name": { + "type": "string" + }, + "netmask": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_ip_location` in responses. + */ +export const digital_experience_monitoring_ip_location_output: JsonSchema = { + "properties": { + "city": { + "type": "string" + }, + "country_iso": { + "type": "string" + }, + "state_iso": { + "type": "string" + }, + "zip": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts index 98df8a74..aed751bd 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../outputs.js"; +import { + digital_experience_monitoring_device_isp_output, + digital_experience_monitoring_device_isps_response_output, + digital_experience_monitoring_ip_info_output, + digital_experience_monitoring_ip_location_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.isps`. @@ -86,6 +96,24 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_device_isps_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device_isp": digital_experience_monitoring_device_isp_output, + "digital-experience-monitoring_device_isps_response": digital_experience_monitoring_device_isps_response_output, + "digital-experience-monitoring_ip_info": digital_experience_monitoring_ip_info_output, + "digital-experience-monitoring_ip_location": digital_experience_monitoring_ip_location_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/${pathParam(args, "device_id")}/isps`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/outputs.ts new file mode 100644 index 00000000..19951a45 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/outputs.ts @@ -0,0 +1,140 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_api-response-common-failure` in + * responses. + */ +export const digital_experience_monitoring_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/digital-experience-monitoring_messages" + }, + "messages": { + "$ref": "#/$defs/digital-experience-monitoring_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_colo` in responses. + */ +export const digital_experience_monitoring_colo_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_device-dex-test-schemas-data` in + * responses. + */ +export const digital_experience_monitoring_device_dex_test_schemas_data_output: JsonSchema = { + "properties": { + "host": { + "type": "string" + }, + "kind": { + "enum": [ + "http", + "traceroute" + ], + "type": "string" + }, + "method": { + "enum": [ + "GET" + ], + "type": "string" + } + }, + "required": [ + "host", + "kind" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_messages` in responses. + */ +export const digital_experience_monitoring_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `digital-experience-monitoring_platform` in responses. + */ +export const digital_experience_monitoring_platform_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_status` in responses. + */ +export const digital_experience_monitoring_status_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_timestamp` in responses. + */ +export const digital_experience_monitoring_timestamp_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_uuid` in responses. + */ +export const digital_experience_monitoring_uuid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_version` in responses. + */ +export const digital_experience_monitoring_version_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts new file mode 100644 index 00000000..67188211 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts @@ -0,0 +1,407 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_aggregate_stat` in responses. + */ +export const digital_experience_monitoring_aggregate_stat_output: JsonSchema = { + "properties": { + "avgMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "deltaPct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "timePeriod": { + "$ref": "#/$defs/digital-experience-monitoring_aggregate_time_period" + } + }, + "required": [ + "timePeriod" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_aggregate_time_period` in + * responses. + */ +export const digital_experience_monitoring_aggregate_time_period_output: JsonSchema = { + "properties": { + "units": { + "enum": [ + "hours", + "days", + "testRuns" + ], + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "required": [ + "units", + "value" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_aggregate_time_slot` in + * responses. + */ +export const digital_experience_monitoring_aggregate_time_slot_output: JsonSchema = { + "properties": { + "avgMs": { + "type": "integer" + }, + "timestamp": { + "type": "string" + } + }, + "required": [ + "avgMs", + "timestamp" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_tests_response` in responses. + */ +export const digital_experience_monitoring_tests_response_output: JsonSchema = { + "properties": { + "overviewMetrics": { + "$ref": "#/$defs/digital-experience-monitoring_tests_response_overviewMetrics" + }, + "tests": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_tests_response_testsItem" + }, + "type": "array" + } + }, + "required": [ + "overviewMetrics", + "tests" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_tests_response_overviewMetrics` + * in responses. + */ +export const digital_experience_monitoring_tests_response_overviewMetrics_output: JsonSchema = { + "properties": { + "avgHttpAvailabilityPct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "avgTracerouteAvailabilityPct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "testsTotal": { + "type": "integer" + } + }, + "required": [ + "testsTotal" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_tests_response_testsItem` in + * responses. + */ +export const digital_experience_monitoring_tests_response_testsItem_output: JsonSchema = { + "properties": { + "created": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "host": { + "type": "string" + }, + "httpResults": { + "$ref": "#/$defs/digital-experience-monitoring_tests_response_testsItem_httpResults" + }, + "httpResultsByColo": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_tests_response_testsItem_httpResultsByColoItem" + }, + "type": "array" + }, + "id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "interval": { + "type": "string" + }, + "kind": { + "enum": [ + "http", + "traceroute" + ], + "type": "string" + }, + "method": { + "type": "string" + }, + "name": { + "type": "string" + }, + "target_policies": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_tests_response_testsItem_target_policiesItem" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "targeted": { + "type": "boolean" + }, + "tracerouteResults": { + "$ref": "#/$defs/digital-experience-monitoring_tests_response_testsItem_tracerouteResults" + }, + "tracerouteResultsByColo": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_tests_response_testsItem_tracerouteResultsByColoItem" + }, + "type": "array" + }, + "updated": { + "type": "string" + } + }, + "required": [ + "created", + "description", + "enabled", + "host", + "id", + "interval", + "kind", + "name", + "updated" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_tests_response_testsItem_httpResults` in + * responses. + */ +export const digital_experience_monitoring_tests_response_testsItem_httpResults_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "resourceFetchTime": { + "$ref": "#/$defs/digital-experience-monitoring_timing_aggregates" + } + }, + "required": [ + "resourceFetchTime" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `digital-experience-monitoring_tests_response_testsItem_httpResultsByColoItem` + * in responses. + */ +export const digital_experience_monitoring_tests_response_testsItem_httpResultsByColoItem_output: JsonSchema = { + "properties": { + "colo": { + "type": "string" + }, + "resourceFetchTime": { + "$ref": "#/$defs/digital-experience-monitoring_timing_aggregates" + } + }, + "required": [ + "colo", + "resourceFetchTime" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_tests_response_testsItem_target_policiesItem` + * in responses. + */ +export const digital_experience_monitoring_tests_response_testsItem_target_policiesItem_output: JsonSchema = { + "properties": { + "default": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "default", + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_tests_response_testsItem_tracerouteResults` in + * responses. + */ +export const digital_experience_monitoring_tests_response_testsItem_tracerouteResults_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "roundTripTime": { + "$ref": "#/$defs/digital-experience-monitoring_timing_aggregates" + } + }, + "required": [ + "roundTripTime" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `digital-experience-monitoring_tests_response_testsItem_tracerouteResultsByColoItem` + * in responses. + */ +export const digital_experience_monitoring_tests_response_testsItem_tracerouteResultsByColoItem_output: JsonSchema = { + "properties": { + "colo": { + "type": "string" + }, + "roundTripTime": { + "$ref": "#/$defs/digital-experience-monitoring_timing_aggregates" + } + }, + "required": [ + "colo", + "roundTripTime" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_timing_aggregates` in responses. + */ +export const digital_experience_monitoring_timing_aggregates_output: JsonSchema = { + "properties": { + "avgMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "history": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_aggregate_stat" + }, + "type": "array" + }, + "overTime": { + "$ref": "#/$defs/digital-experience-monitoring_timing_aggregates_overTime" + } + }, + "required": [ + "history" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_timing_aggregates_overTime` in + * responses. + */ +export const digital_experience_monitoring_timing_aggregates_overTime_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "timePeriod": { + "$ref": "#/$defs/digital-experience-monitoring_aggregate_time_period" + }, + "values": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_aggregate_time_slot" + }, + "type": "array" + } + }, + "required": [ + "timePeriod", + "values" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts index 8585cfde..550664a1 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_uuid_output, +} from "../../outputs.js"; +import { + digital_experience_monitoring_aggregate_stat_output, + digital_experience_monitoring_aggregate_time_period_output, + digital_experience_monitoring_aggregate_time_slot_output, + digital_experience_monitoring_tests_response_output, + digital_experience_monitoring_tests_response_overviewMetrics_output, + digital_experience_monitoring_tests_response_testsItem_httpResultsByColoItem_output, + digital_experience_monitoring_tests_response_testsItem_httpResults_output, + digital_experience_monitoring_tests_response_testsItem_output, + digital_experience_monitoring_tests_response_testsItem_target_policiesItem_output, + digital_experience_monitoring_tests_response_testsItem_tracerouteResultsByColoItem_output, + digital_experience_monitoring_tests_response_testsItem_tracerouteResults_output, + digital_experience_monitoring_timing_aggregates_output, + digital_experience_monitoring_timing_aggregates_overTime_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.overview.tests`. @@ -77,6 +97,34 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_tests_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_aggregate_stat": digital_experience_monitoring_aggregate_stat_output, + "digital-experience-monitoring_aggregate_time_period": digital_experience_monitoring_aggregate_time_period_output, + "digital-experience-monitoring_aggregate_time_slot": digital_experience_monitoring_aggregate_time_slot_output, + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_tests_response": digital_experience_monitoring_tests_response_output, + "digital-experience-monitoring_tests_response_overviewMetrics": digital_experience_monitoring_tests_response_overviewMetrics_output, + "digital-experience-monitoring_tests_response_testsItem": digital_experience_monitoring_tests_response_testsItem_output, + "digital-experience-monitoring_tests_response_testsItem_httpResults": digital_experience_monitoring_tests_response_testsItem_httpResults_output, + "digital-experience-monitoring_tests_response_testsItem_httpResultsByColoItem": digital_experience_monitoring_tests_response_testsItem_httpResultsByColoItem_output, + "digital-experience-monitoring_tests_response_testsItem_target_policiesItem": digital_experience_monitoring_tests_response_testsItem_target_policiesItem_output, + "digital-experience-monitoring_tests_response_testsItem_tracerouteResults": digital_experience_monitoring_tests_response_testsItem_tracerouteResults_output, + "digital-experience-monitoring_tests_response_testsItem_tracerouteResultsByColoItem": digital_experience_monitoring_tests_response_testsItem_tracerouteResultsByColoItem_output, + "digital-experience-monitoring_timing_aggregates": digital_experience_monitoring_timing_aggregates_output, + "digital-experience-monitoring_timing_aggregates_overTime": digital_experience_monitoring_timing_aggregates_overTime_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/tests/overview`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/outputs.ts new file mode 100644 index 00000000..9d3ed9ff --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/outputs.ts @@ -0,0 +1,20 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_unique_devices_response` in + * responses. + */ +export const digital_experience_monitoring_unique_devices_response_output: JsonSchema = { + "properties": { + "uniqueDevicesTotal": { + "type": "integer" + } + }, + "required": [ + "uniqueDevicesTotal" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts index 972b0023..911b7afa 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../../../outputs.js"; +import { digital_experience_monitoring_unique_devices_response_output } from "./outputs.js"; /** * The tools of `zero_trust.dex.overview.tests.unique_devices`. @@ -51,6 +56,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_unique_devices_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_unique_devices_response": digital_experience_monitoring_unique_devices_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/tests/unique-devices`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts new file mode 100644 index 00000000..c9e5bcad --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts @@ -0,0 +1,86 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_dex-rule` in responses. + */ +export const digital_experience_monitoring_dex_rule_output: JsonSchema = { + "properties": { + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "match": { + "type": "string" + }, + "name": { + "type": "string" + }, + "targeted_tests": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_dex-targeted-test" + }, + "type": "array" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "match", + "name" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_dex-targeted-test` in responses. + */ +export const digital_experience_monitoring_dex_targeted_test_output: JsonSchema = { + "properties": { + "data": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-data" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "test_id": { + "type": "string" + } + }, + "required": [ + "data", + "enabled", + "name", + "test_id" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_list_rules_response` in + * responses. + */ +export const digital_experience_monitoring_list_rules_response_output: JsonSchema = { + "properties": { + "rules": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_dex-rule" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts index 47866179..3efe1a20 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_device_dex_test_schemas_data_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_uuid_output, +} from "../outputs.js"; +import { + digital_experience_monitoring_dex_rule_output, + digital_experience_monitoring_dex_targeted_test_output, + digital_experience_monitoring_list_rules_response_output, +} from "./outputs.js"; import { digital_experience_monitoring_create_rule_body, digital_experience_monitoring_patch_rule_body, @@ -48,6 +59,24 @@ export const tools: readonly Tool[] = [ "Cloudflare DEX Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_dex-rule" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, + "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, + "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -88,6 +117,27 @@ export const tools: readonly Tool[] = [ "Cloudflare DEX Write" ] }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/rules/${pathParam(args, "rule_id")}`, }), @@ -130,6 +180,24 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_dex-rule" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, + "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, + "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/rules/${pathParam(args, "rule_id")}`, }), @@ -201,6 +269,25 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_list_rules_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, + "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, + "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, + "digital-experience-monitoring_list_rules_response": digital_experience_monitoring_list_rules_response_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/rules`, query: [ @@ -254,6 +341,24 @@ export const tools: readonly Tool[] = [ "Cloudflare DEX Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_dex-rule" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, + "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, + "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts new file mode 100644 index 00000000..da173d95 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts @@ -0,0 +1,238 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_http_details_response` in + * responses. + */ +export const digital_experience_monitoring_http_details_response_output: JsonSchema = { + "properties": { + "host": { + "type": "string" + }, + "httpStats": { + "$ref": "#/$defs/digital-experience-monitoring_http_details_response_httpStats" + }, + "httpStatsByColo": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_http_details_response_httpStatsByColoItem" + }, + "type": "array" + }, + "interval": { + "type": "string" + }, + "kind": { + "enum": [ + "http" + ], + "type": "string" + }, + "method": { + "type": "string" + }, + "name": { + "type": "string" + }, + "target_policies": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_http_details_response_target_policiesItem" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "targeted": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_http_details_response_httpStats` + * in responses. + */ +export const digital_experience_monitoring_http_details_response_httpStats_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "availabilityPct": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_pct_over_time" + }, + "dnsResponseTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "httpStatusCode": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_http_details_response_httpStats_httpStatusCodeItem" + }, + "type": "array" + }, + "resourceFetchTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "serverResponseTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "uniqueDevicesTotal": { + "type": "integer" + } + }, + "required": [ + "availabilityPct", + "dnsResponseTimeMs", + "httpStatusCode", + "resourceFetchTimeMs", + "serverResponseTimeMs", + "uniqueDevicesTotal" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `digital-experience-monitoring_http_details_response_httpStatsByColoItem` in + * responses. + */ +export const digital_experience_monitoring_http_details_response_httpStatsByColoItem_output: JsonSchema = { + "properties": { + "availabilityPct": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_pct_over_time" + }, + "colo": { + "type": "string" + }, + "dnsResponseTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "httpStatusCode": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_http_details_response_httpStatsByColoItem_httpStatusCodeItem" + }, + "type": "array" + }, + "resourceFetchTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "serverResponseTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "uniqueDevicesTotal": { + "type": "integer" + } + }, + "required": [ + "availabilityPct", + "colo", + "dnsResponseTimeMs", + "httpStatusCode", + "resourceFetchTimeMs", + "serverResponseTimeMs", + "uniqueDevicesTotal" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_http_details_response_httpStatsByColoItem_httpStatusCodeItem` + * in responses. + */ +export const digital_experience_monitoring_http_details_response_httpStatsByColoItem_httpStatusCodeItem_output: JsonSchema = { + "properties": { + "status200": { + "type": "integer" + }, + "status300": { + "type": "integer" + }, + "status400": { + "type": "integer" + }, + "status500": { + "type": "integer" + }, + "timestamp": { + "type": "string" + } + }, + "required": [ + "status200", + "status300", + "status400", + "status500", + "timestamp" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_http_details_response_httpStats_httpStatusCodeItem` + * in responses. + */ +export const digital_experience_monitoring_http_details_response_httpStats_httpStatusCodeItem_output: JsonSchema = { + "properties": { + "status200": { + "type": "integer" + }, + "status300": { + "type": "integer" + }, + "status400": { + "type": "integer" + }, + "status500": { + "type": "integer" + }, + "timestamp": { + "type": "string" + } + }, + "required": [ + "status200", + "status300", + "status400", + "status500", + "timestamp" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_http_details_response_target_policiesItem` in + * responses. + */ +export const digital_experience_monitoring_http_details_response_target_policiesItem_output: JsonSchema = { + "properties": { + "default": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "default", + "id", + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/outputs.ts new file mode 100644 index 00000000..92e98077 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/outputs.ts @@ -0,0 +1,24 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of + * `digital-experience-monitoring_http_details_percentiles_response` in + * responses. + */ +export const digital_experience_monitoring_http_details_percentiles_response_output: JsonSchema = { + "properties": { + "dnsResponseTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_percentiles" + }, + "resourceFetchTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_percentiles" + }, + "serverResponseTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_percentiles" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts index a8469a1d..6f6fc3a3 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../../../outputs.js"; +import { digital_experience_monitoring_percentiles_output } from "../../outputs.js"; +import { digital_experience_monitoring_http_details_percentiles_response_output } from "./outputs.js"; /** * The tools of `zero_trust.dex.test_results.http.percentiles`. @@ -66,6 +72,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_http_details_percentiles_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_http_details_percentiles_response": digital_experience_monitoring_http_details_percentiles_response_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_percentiles": digital_experience_monitoring_percentiles_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/http-tests/${pathParam(args, "test_id")}/percentiles`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts index 23aa29ba..6997a5db 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_uuid_output, +} from "../../outputs.js"; +import { + digital_experience_monitoring_test_stat_over_time_output, + digital_experience_monitoring_test_stat_over_time_slotsItem_output, + digital_experience_monitoring_test_stat_pct_over_time_output, + digital_experience_monitoring_test_stat_pct_over_time_slotsItem_output, +} from "../outputs.js"; +import { + digital_experience_monitoring_http_details_response_httpStatsByColoItem_httpStatusCodeItem_output, + digital_experience_monitoring_http_details_response_httpStatsByColoItem_output, + digital_experience_monitoring_http_details_response_httpStats_httpStatusCodeItem_output, + digital_experience_monitoring_http_details_response_httpStats_output, + digital_experience_monitoring_http_details_response_output, + digital_experience_monitoring_http_details_response_target_policiesItem_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.test_results.http`. @@ -75,6 +94,31 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_http_details_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_http_details_response": digital_experience_monitoring_http_details_response_output, + "digital-experience-monitoring_http_details_response_httpStats": digital_experience_monitoring_http_details_response_httpStats_output, + "digital-experience-monitoring_http_details_response_httpStatsByColoItem": digital_experience_monitoring_http_details_response_httpStatsByColoItem_output, + "digital-experience-monitoring_http_details_response_httpStatsByColoItem_httpStatusCodeItem": digital_experience_monitoring_http_details_response_httpStatsByColoItem_httpStatusCodeItem_output, + "digital-experience-monitoring_http_details_response_httpStats_httpStatusCodeItem": digital_experience_monitoring_http_details_response_httpStats_httpStatusCodeItem_output, + "digital-experience-monitoring_http_details_response_target_policiesItem": digital_experience_monitoring_http_details_response_target_policiesItem_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_test_stat_over_time": digital_experience_monitoring_test_stat_over_time_output, + "digital-experience-monitoring_test_stat_over_time_slotsItem": digital_experience_monitoring_test_stat_over_time_slotsItem_output, + "digital-experience-monitoring_test_stat_pct_over_time": digital_experience_monitoring_test_stat_pct_over_time_output, + "digital-experience-monitoring_test_stat_pct_over_time_slotsItem": digital_experience_monitoring_test_stat_pct_over_time_slotsItem_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/http-tests/${pathParam(args, "test_id")}`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/outputs.ts new file mode 100644 index 00000000..5c55b2d9 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/outputs.ts @@ -0,0 +1,192 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_percentiles` in responses. + */ +export const digital_experience_monitoring_percentiles_output: JsonSchema = { + "properties": { + "p50": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "p90": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "p95": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "p99": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_test_stat_over_time` in + * responses. + */ +export const digital_experience_monitoring_test_stat_over_time_output: JsonSchema = { + "properties": { + "avg": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "max": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "min": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "slots": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time_slotsItem" + }, + "type": "array" + } + }, + "required": [ + "slots" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_test_stat_over_time_slotsItem` + * in responses. + */ +export const digital_experience_monitoring_test_stat_over_time_slotsItem_output: JsonSchema = { + "properties": { + "timestamp": { + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "required": [ + "timestamp", + "value" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_test_stat_pct_over_time` in + * responses. + */ +export const digital_experience_monitoring_test_stat_pct_over_time_output: JsonSchema = { + "properties": { + "avg": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "max": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "min": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "slots": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_pct_over_time_slotsItem" + }, + "type": "array" + } + }, + "required": [ + "slots" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_test_stat_pct_over_time_slotsItem` in + * responses. + */ +export const digital_experience_monitoring_test_stat_pct_over_time_slotsItem_output: JsonSchema = { + "properties": { + "timestamp": { + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "timestamp", + "value" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts new file mode 100644 index 00000000..a4eb863f --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts @@ -0,0 +1,212 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_execution_context` in responses. + */ +export const digital_experience_monitoring_execution_context_output: JsonSchema = { + "enum": [ + "EXECUTION_CONTEXT_INVALID", + "OUT_OF_TUNNEL", + "IN_TUNNEL" + ], + "type": "string" +}; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_test_result_network_path_response` + * in responses. + */ +export const digital_experience_monitoring_traceroute_test_result_network_path_response_output: JsonSchema = { + "properties": { + "colo": { + "$ref": "#/$defs/digital-experience-monitoring_colo" + }, + "deviceName": { + "type": "string" + }, + "execution_context": { + "$ref": "#/$defs/digital-experience-monitoring_execution_context" + }, + "hops": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_test_result_network_path_response_hopsItem" + }, + "type": "array" + }, + "resultId": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "testId": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "testName": { + "type": "string" + }, + "time_start": { + "type": "string" + }, + "tunnel_type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "hops", + "resultId" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_test_result_network_path_response_hopsItem` + * in responses. + */ +export const digital_experience_monitoring_traceroute_test_result_network_path_response_hopsItem_output: JsonSchema = { + "properties": { + "asn": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "aso": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ipAddress": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "location": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_test_result_network_path_response_hopsItem_location" + }, + "mile": { + "oneOf": [ + { + "enum": [ + "client-to-app", + "client-to-cf-egress", + "client-to-cf-ingress", + "client-to-isp" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "packetLossPct": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "rttMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "ttl": { + "type": "integer" + } + }, + "required": [ + "ttl" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_test_result_network_path_response_hopsItem_location` + * in responses. + */ +export const digital_experience_monitoring_traceroute_test_result_network_path_response_hopsItem_location_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "city": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "state": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "zip": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts index b199e510..75294af7 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_colo_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_uuid_output, +} from "../../../outputs.js"; +import { + digital_experience_monitoring_execution_context_output, + digital_experience_monitoring_traceroute_test_result_network_path_response_hopsItem_location_output, + digital_experience_monitoring_traceroute_test_result_network_path_response_hopsItem_output, + digital_experience_monitoring_traceroute_test_result_network_path_response_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.test_results.traceroute.network_path`. @@ -45,6 +57,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_test_result_network_path_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_colo": digital_experience_monitoring_colo_output, + "digital-experience-monitoring_execution_context": digital_experience_monitoring_execution_context_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_traceroute_test_result_network_path_response": digital_experience_monitoring_traceroute_test_result_network_path_response_output, + "digital-experience-monitoring_traceroute_test_result_network_path_response_hopsItem": digital_experience_monitoring_traceroute_test_result_network_path_response_hopsItem_output, + "digital-experience-monitoring_traceroute_test_result_network_path_response_hopsItem_location": digital_experience_monitoring_traceroute_test_result_network_path_response_hopsItem_location_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/traceroute-test-results/${pathParam(args, "test_result_id")}/network-path`, }), diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts new file mode 100644 index 00000000..a4024505 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts @@ -0,0 +1,162 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_traceroute_details_response` in + * responses. + */ +export const digital_experience_monitoring_traceroute_details_response_output: JsonSchema = { + "properties": { + "host": { + "type": "string" + }, + "interval": { + "type": "string" + }, + "kind": { + "enum": [ + "traceroute" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "target_policies": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_details_response_target_policiesItem" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "targeted": { + "type": "boolean" + }, + "tracerouteStats": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_details_response_tracerouteStats" + }, + "tracerouteStatsByColo": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_details_response_tracerouteStatsByColoItem" + }, + "type": "array" + } + }, + "required": [ + "host", + "interval", + "kind", + "name" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_details_response_target_policiesItem` + * in responses. + */ +export const digital_experience_monitoring_traceroute_details_response_target_policiesItem_output: JsonSchema = { + "properties": { + "default": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "default", + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_details_response_tracerouteStats` + * in responses. + */ +export const digital_experience_monitoring_traceroute_details_response_tracerouteStats_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "availabilityPct": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_pct_over_time" + }, + "hopsCount": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "packetLossPct": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_pct_over_time" + }, + "roundTripTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "uniqueDevicesTotal": { + "type": "integer" + } + }, + "required": [ + "availabilityPct", + "hopsCount", + "packetLossPct", + "roundTripTimeMs", + "uniqueDevicesTotal" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_details_response_tracerouteStatsByColoItem` + * in responses. + */ +export const digital_experience_monitoring_traceroute_details_response_tracerouteStatsByColoItem_output: JsonSchema = { + "properties": { + "availabilityPct": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_pct_over_time" + }, + "colo": { + "type": "string" + }, + "hopsCount": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "packetLossPct": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_pct_over_time" + }, + "roundTripTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_test_stat_over_time" + }, + "uniqueDevicesTotal": { + "type": "integer" + } + }, + "required": [ + "availabilityPct", + "colo", + "hopsCount", + "packetLossPct", + "roundTripTimeMs", + "uniqueDevicesTotal" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/outputs.ts new file mode 100644 index 00000000..0de45a36 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/outputs.ts @@ -0,0 +1,24 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_details_percentiles_response` in + * responses. + */ +export const digital_experience_monitoring_traceroute_details_percentiles_response_output: JsonSchema = { + "properties": { + "hopsCount": { + "$ref": "#/$defs/digital-experience-monitoring_percentiles" + }, + "packetLossPct": { + "$ref": "#/$defs/digital-experience-monitoring_percentiles" + }, + "roundTripTimeMs": { + "$ref": "#/$defs/digital-experience-monitoring_percentiles" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts index ace61027..1a30d195 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, +} from "../../../outputs.js"; +import { digital_experience_monitoring_percentiles_output } from "../../outputs.js"; +import { digital_experience_monitoring_traceroute_details_percentiles_response_output } from "./outputs.js"; /** * The tools of `zero_trust.dex.test_results.traceroute.percentiles`. @@ -66,6 +72,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_details_percentiles_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_percentiles": digital_experience_monitoring_percentiles_output, + "digital-experience-monitoring_traceroute_details_percentiles_response": digital_experience_monitoring_traceroute_details_percentiles_response_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/traceroute-tests/${pathParam(args, "test_id")}/percentiles`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts index 67a63e4a..b99ae13d 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_uuid_output, +} from "../../outputs.js"; +import { + digital_experience_monitoring_test_stat_over_time_output, + digital_experience_monitoring_test_stat_over_time_slotsItem_output, + digital_experience_monitoring_test_stat_pct_over_time_output, + digital_experience_monitoring_test_stat_pct_over_time_slotsItem_output, +} from "../outputs.js"; +import { + digital_experience_monitoring_traceroute_details_response_output, + digital_experience_monitoring_traceroute_details_response_target_policiesItem_output, + digital_experience_monitoring_traceroute_details_response_tracerouteStatsByColoItem_output, + digital_experience_monitoring_traceroute_details_response_tracerouteStats_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.test_results.traceroute`. @@ -75,6 +92,29 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_details_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_test_stat_over_time": digital_experience_monitoring_test_stat_over_time_output, + "digital-experience-monitoring_test_stat_over_time_slotsItem": digital_experience_monitoring_test_stat_over_time_slotsItem_output, + "digital-experience-monitoring_test_stat_pct_over_time": digital_experience_monitoring_test_stat_pct_over_time_output, + "digital-experience-monitoring_test_stat_pct_over_time_slotsItem": digital_experience_monitoring_test_stat_pct_over_time_slotsItem_output, + "digital-experience-monitoring_traceroute_details_response": digital_experience_monitoring_traceroute_details_response_output, + "digital-experience-monitoring_traceroute_details_response_target_policiesItem": digital_experience_monitoring_traceroute_details_response_target_policiesItem_output, + "digital-experience-monitoring_traceroute_details_response_tracerouteStats": digital_experience_monitoring_traceroute_details_response_tracerouteStats_output, + "digital-experience-monitoring_traceroute_details_response_tracerouteStatsByColoItem": digital_experience_monitoring_traceroute_details_response_tracerouteStatsByColoItem_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/traceroute-tests/${pathParam(args, "test_id")}`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts new file mode 100644 index 00000000..461332f3 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts @@ -0,0 +1,167 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_test_network_path_response` in + * responses. + */ +export const digital_experience_monitoring_traceroute_test_network_path_response_output: JsonSchema = { + "properties": { + "deviceName": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "interval": { + "type": "string" + }, + "kind": { + "enum": [ + "traceroute" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "networkPath": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_test_network_path_response_networkPath" + }, + "url": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_test_network_path_response_networkPath` + * in responses. + */ +export const digital_experience_monitoring_traceroute_test_network_path_response_networkPath_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "sampling": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_test_network_path_response_networkPath_sampling" + }, + "slots": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_test_network_path_response_networkPath_slotsItem" + }, + "type": "array" + } + }, + "required": [ + "slots" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_test_network_path_response_networkPath_sampling` + * in responses. + */ +export const digital_experience_monitoring_traceroute_test_network_path_response_networkPath_sampling_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "unit": { + "enum": [ + "hours" + ], + "type": "string" + }, + "value": { + "type": "integer" + } + }, + "required": [ + "unit", + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of + * `digital-experience-monitoring_traceroute_test_network_path_response_networkPath_slotsItem` + * in responses. + */ +export const digital_experience_monitoring_traceroute_test_network_path_response_networkPath_slotsItem_output: JsonSchema = { + "properties": { + "clientToAppRttMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "clientToCfEgressRttMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "clientToCfIngressRttMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "clientToIspRttMs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "timestamp": { + "type": "string" + } + }, + "required": [ + "clientToAppRttMs", + "clientToCfEgressRttMs", + "clientToCfIngressRttMs", + "id", + "timestamp" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts index c9715712..5a5abb25 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_uuid_output, +} from "../../outputs.js"; +import { + digital_experience_monitoring_traceroute_test_network_path_response_networkPath_output, + digital_experience_monitoring_traceroute_test_network_path_response_networkPath_sampling_output, + digital_experience_monitoring_traceroute_test_network_path_response_networkPath_slotsItem_output, + digital_experience_monitoring_traceroute_test_network_path_response_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.tests.network_path`. @@ -69,6 +80,25 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_traceroute_test_network_path_response" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_traceroute_test_network_path_response": digital_experience_monitoring_traceroute_test_network_path_response_output, + "digital-experience-monitoring_traceroute_test_network_path_response_networkPath": digital_experience_monitoring_traceroute_test_network_path_response_networkPath_output, + "digital-experience-monitoring_traceroute_test_network_path_response_networkPath_sampling": digital_experience_monitoring_traceroute_test_network_path_response_networkPath_sampling_output, + "digital-experience-monitoring_traceroute_test_network_path_response_networkPath_slotsItem": digital_experience_monitoring_traceroute_test_network_path_response_networkPath_slotsItem_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/traceroute-tests/${pathParam(args, "test_id")}/network-path`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts new file mode 100644 index 00000000..ce824d56 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts @@ -0,0 +1,125 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of + * `digital-experience-monitoring_device-dex-test-schemas-description` in + * responses. + */ +export const digital_experience_monitoring_device_dex_test_schemas_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_device-dex-test-schemas-enabled` + * in responses. + */ +export const digital_experience_monitoring_device_dex_test_schemas_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `digital-experience-monitoring_device-dex-test-schemas-http` in + * responses. + */ +export const digital_experience_monitoring_device_dex_test_schemas_http_output: JsonSchema = { + "properties": { + "created": { + "format": "date-time", + "type": "string" + }, + "data": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-data" + }, + "description": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-description" + }, + "enabled": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-enabled" + }, + "interval": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-interval" + }, + "name": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-name" + }, + "target_policies": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-target-policies" + }, + "targeted": { + "type": "boolean" + }, + "test_id": { + "$ref": "#/$defs/digital-experience-monitoring_schemas-test-id" + }, + "updated": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "data", + "enabled", + "interval", + "name" + ], + "type": "object" +}; + +/** + * The schema of + * `digital-experience-monitoring_device-dex-test-schemas-interval` in + * responses. + */ +export const digital_experience_monitoring_device_dex_test_schemas_interval_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_device-dex-test-schemas-name` in + * responses. + */ +export const digital_experience_monitoring_device_dex_test_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_device-dex-test-target-policies` + * in responses. + */ +export const digital_experience_monitoring_device_dex_test_target_policies_output: JsonSchema = { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_dex_target_policy" + }, + "type": "array" +}; + +/** + * The schema of `digital-experience-monitoring_dex_target_policy` in responses. + */ +export const digital_experience_monitoring_dex_target_policy_output: JsonSchema = { + "properties": { + "default": { + "type": "boolean" + }, + "id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_schemas-test-id` in responses. + */ +export const digital_experience_monitoring_schemas_test_id_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts index 4f482156..d2b8fc13 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts @@ -2,10 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_device_dex_test_schemas_data_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_uuid_output, +} from "../outputs.js"; import { digital_experience_monitoring_device_dex_test_schemas_data, digital_experience_monitoring_uuid, } from "../schemas.js"; +import { + digital_experience_monitoring_device_dex_test_schemas_description_output, + digital_experience_monitoring_device_dex_test_schemas_enabled_output, + digital_experience_monitoring_device_dex_test_schemas_http_output, + digital_experience_monitoring_device_dex_test_schemas_interval_output, + digital_experience_monitoring_device_dex_test_schemas_name_output, + digital_experience_monitoring_device_dex_test_target_policies_output, + digital_experience_monitoring_dex_target_policy_output, + digital_experience_monitoring_schemas_test_id_output, +} from "./outputs.js"; import { digital_experience_monitoring_device_dex_test_schemas_description, digital_experience_monitoring_device_dex_test_schemas_enabled, @@ -65,6 +81,30 @@ export const tools: readonly Tool[] = [ "Cloudflare DEX Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-http" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, + "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, + "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, + "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, + "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, + "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/dex_tests`, body: { value: args["body"], mediaType: "application/json" }, @@ -105,6 +145,38 @@ export const tools: readonly Tool[] = [ "Cloudflare DEX Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "dex_tests": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-http" + }, + "type": "array" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, + "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, + "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, + "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, + "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, + "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/dex_tests/${pathParam(args, "dex_test_id")}`, }), @@ -147,6 +219,30 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-http" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, + "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, + "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, + "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, + "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, + "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/dex_tests/${pathParam(args, "dex_test_id")}`, }), @@ -206,6 +302,44 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-http" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, + "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, + "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, + "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, + "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, + "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/dex_tests`, query: [ @@ -266,6 +400,30 @@ export const tools: readonly Tool[] = [ "Cloudflare DEX Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-http" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, + "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, + "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, + "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, + "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, + "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/dex_tests/${pathParam(args, "dex_test_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts new file mode 100644 index 00000000..f9614832 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts @@ -0,0 +1,131 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `digital-experience-monitoring_timestamp_datetime` in + * responses. + */ +export const digital_experience_monitoring_timestamp_datetime_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `digital-experience-monitoring_warp_config_change_event` in + * responses. + */ +export const digital_experience_monitoring_warp_config_change_event_output: JsonSchema = { + "properties": { + "device_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "device_registration": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "from": { + "$ref": "#/$defs/digital-experience-monitoring_warp_config_details" + }, + "hostname": { + "type": "string" + }, + "registration_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "serial_number": { + "type": "string" + }, + "timestamp": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp_datetime" + }, + "to": { + "$ref": "#/$defs/digital-experience-monitoring_warp_config_details" + }, + "user_email": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_warp_config_details` in + * responses. + */ +export const digital_experience_monitoring_warp_config_details_output: JsonSchema = { + "properties": { + "account_name": { + "type": "string" + }, + "account_tag": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "config_name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `digital-experience-monitoring_warp_events_response` in + * responses. + */ +export const digital_experience_monitoring_warp_events_response_output: JsonSchema = { + "items": { + "oneOf": [ + { + "$ref": "#/$defs/digital-experience-monitoring_warp_toggle_change_event" + }, + { + "$ref": "#/$defs/digital-experience-monitoring_warp_config_change_event" + } + ] + }, + "type": "array" +}; + +/** + * The schema of `digital-experience-monitoring_warp_toggle_change_event` in + * responses. + */ +export const digital_experience_monitoring_warp_toggle_change_event_output: JsonSchema = { + "properties": { + "account_name": { + "type": "string" + }, + "account_tag": { + "type": "string" + }, + "device_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "device_registration": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "hostname": { + "type": "string" + }, + "registration_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid" + }, + "serial_number": { + "type": "string" + }, + "timestamp": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp_datetime" + }, + "toggle": { + "enum": [ + "on", + "off" + ], + "type": "string" + }, + "user_email": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts index 16476236..fc45952c 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + digital_experience_monitoring_api_response_common_failure_output, + digital_experience_monitoring_messages_output, + digital_experience_monitoring_uuid_output, +} from "../outputs.js"; +import { + digital_experience_monitoring_timestamp_datetime_output, + digital_experience_monitoring_warp_config_change_event_output, + digital_experience_monitoring_warp_config_details_output, + digital_experience_monitoring_warp_events_response_output, + digital_experience_monitoring_warp_toggle_change_event_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dex.warp_change_events`. @@ -94,6 +106,54 @@ export const tools: readonly Tool[] = [ "Zero Trust Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/digital-experience-monitoring_warp_events_response" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/digital-experience-monitoring_api-response-common-failure" + } + }, + $defs: { + "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, + "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_timestamp_datetime": digital_experience_monitoring_timestamp_datetime_output, + "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_warp_config_change_event": digital_experience_monitoring_warp_config_change_event_output, + "digital-experience-monitoring_warp_config_details": digital_experience_monitoring_warp_config_details_output, + "digital-experience-monitoring_warp_events_response": digital_experience_monitoring_warp_events_response_output, + "digital-experience-monitoring_warp_toggle_change_event": digital_experience_monitoring_warp_toggle_change_event_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/warp-change-events`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/outputs.ts new file mode 100644 index 00000000..9d20c2f0 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/outputs.ts @@ -0,0 +1,63 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_CustomPromptTopic` in responses. + */ +export const dlp_CustomPromptTopic_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "profile_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "topic": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "enabled", + "id", + "name", + "topic", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts index db5cf4ce..49a9152e 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_CustomPromptTopic_output } from "./outputs.js"; import { dlp_CustomPromptTopicUpdate, dlp_NewCustomPromptTopic, @@ -51,6 +57,21 @@ export const tools: readonly Tool[] = [ "terraform" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_CustomPromptTopic" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/custom_prompt_topics`, body: { value: args["body"], mediaType: "application/json" }, @@ -93,6 +114,21 @@ export const tools: readonly Tool[] = [ "terraform" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/custom_prompt_topics/${pathParam(args, "entry_id")}`, }), @@ -132,6 +168,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_CustomPromptTopic" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/custom_prompt_topics/${pathParam(args, "entry_id")}`, }), @@ -166,6 +217,35 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dlp_CustomPromptTopic" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/custom_prompt_topics`, }), @@ -215,6 +295,21 @@ export const tools: readonly Tool[] = [ "terraform" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_CustomPromptTopic" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/custom_prompt_topics/${pathParam(args, "entry_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/outputs.ts new file mode 100644 index 00000000..1ffb03ae --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/outputs.ts @@ -0,0 +1,73 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_DataClass` in responses. + */ +export const dlp_DataClass_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "data_tags": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "expression": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "sensitivity_levels": { + "items": { + "$ref": "#/$defs/dlp_SensitivityLevelRef" + }, + "type": "array" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "data_tags", + "expression", + "id", + "name", + "sensitivity_levels", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DataClassArray` in responses. + */ +export const dlp_DataClassArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_DataClass" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts index d464e170..ef6cecdf 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts @@ -2,7 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_SensitivityLevelRef_output } from "../outputs.js"; import { dlp_SensitivityLevelRef } from "../schemas.js"; +import { dlp_DataClassArray_output, dlp_DataClass_output } from "./outputs.js"; import { dlp_DataClassUpdate, dlp_NewDataClass } from "./schemas.js"; /** @@ -47,6 +54,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataClass" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataClass": dlp_DataClass_output, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_classes`, body: { value: args["body"], mediaType: "application/json" }, @@ -86,6 +109,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_classes/${pathParam(args, "data_class_id")}`, }), @@ -125,6 +163,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataClass" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataClass": dlp_DataClass_output, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_classes/${pathParam(args, "data_class_id")}`, }), @@ -159,6 +213,34 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_DataClassArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataClass": dlp_DataClass_output, + "dlp_DataClassArray": dlp_DataClassArray_output, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_classes`, }), @@ -206,6 +288,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataClass" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataClass": dlp_DataClass_output, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_classes/${pathParam(args, "data_class_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/outputs.ts new file mode 100644 index 00000000..5bf76901 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/outputs.ts @@ -0,0 +1,72 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_DataTagCategory` in responses. + */ +export const dlp_DataTagCategory_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "items": { + "$ref": "#/$defs/dlp_DataTag" + }, + "type": "array" + }, + "template_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "tags", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DataTagCategoryArray` in responses. + */ +export const dlp_DataTagCategoryArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_DataTagCategory" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts index e298b039..b9aae94c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts @@ -2,7 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_DataTag_output } from "../outputs.js"; import { dlp_NewDataTag } from "../schemas.js"; +import { + dlp_DataTagCategoryArray_output, + dlp_DataTagCategory_output, +} from "./outputs.js"; import { dlp_DataTagCategoryTagUpdate, dlp_DataTagCategoryUpdate, @@ -51,6 +61,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataTagCategory" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTag": dlp_DataTag_output, + "dlp_DataTagCategory": dlp_DataTagCategory_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories`, body: { value: args["body"], mediaType: "application/json" }, @@ -90,6 +116,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories/${pathParam(args, "category_id")}`, }), @@ -129,6 +170,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataTagCategory" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTag": dlp_DataTag_output, + "dlp_DataTagCategory": dlp_DataTagCategory_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories/${pathParam(args, "category_id")}`, }), @@ -163,6 +220,34 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_DataTagCategoryArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTag": dlp_DataTag_output, + "dlp_DataTagCategory": dlp_DataTagCategory_output, + "dlp_DataTagCategoryArray": dlp_DataTagCategoryArray_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories`, }), @@ -210,6 +295,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataTagCategory" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTag": dlp_DataTag_output, + "dlp_DataTagCategory": dlp_DataTagCategory_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories/${pathParam(args, "category_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/outputs.ts new file mode 100644 index 00000000..4e18655c --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/outputs.ts @@ -0,0 +1,64 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_DataTagCategoryTemplate` in responses. + */ +export const dlp_DataTagCategoryTemplate_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "items": { + "$ref": "#/$defs/dlp_DataTagTemplate" + }, + "type": "array" + } + }, + "required": [ + "description", + "id", + "name", + "tags" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DataTagCategoryTemplateArray` in responses. + */ +export const dlp_DataTagCategoryTemplateArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_DataTagCategoryTemplate" + }, + "type": "array" +}; + +/** + * The schema of `dlp_DataTagTemplate` in responses. + */ +export const dlp_DataTagTemplate_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "description", + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts index bc2ad012..c86afb4a 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { + dlp_DataTagCategoryTemplateArray_output, + dlp_DataTagCategoryTemplate_output, + dlp_DataTagTemplate_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dlp.data_tag_category_templates`. @@ -45,6 +54,22 @@ export const tools: readonly Tool[] = [ "terraform" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataTagCategoryTemplate" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate_output, + "dlp_DataTagTemplate": dlp_DataTagTemplate_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_category_templates/${pathParam(args, "template_id")}`, }), @@ -82,6 +107,34 @@ export const tools: readonly Tool[] = [ "terraform" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_DataTagCategoryTemplateArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate_output, + "dlp_DataTagCategoryTemplateArray": dlp_DataTagCategoryTemplateArray_output, + "dlp_DataTagTemplate": dlp_DataTagTemplate_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_category_templates`, }), diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTags/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/outputs.ts new file mode 100644 index 00000000..20fe1fa0 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/outputs.ts @@ -0,0 +1,14 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_DataTagArray` in responses. + */ +export const dlp_DataTagArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_DataTag" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts index 9aba8727..4d560755 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts @@ -2,7 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_DataTag_output } from "../outputs.js"; import { dlp_NewDataTag } from "../schemas.js"; +import { dlp_DataTagArray_output } from "./outputs.js"; import { dlp_DataTagUpdate } from "./schemas.js"; /** @@ -51,6 +58,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataTag" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTag": dlp_DataTag_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories/${pathParam(args, "category_id")}/data_tags`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +117,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories/${pathParam(args, "category_id")}/data_tags/${pathParam(args, "tag_id")}`, }), @@ -139,6 +176,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataTag" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTag": dlp_DataTag_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories/${pathParam(args, "category_id")}/data_tags/${pathParam(args, "tag_id")}`, }), @@ -178,6 +230,33 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_DataTagArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTag": dlp_DataTag_output, + "dlp_DataTagArray": dlp_DataTagArray_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories/${pathParam(args, "category_id")}/data_tags`, }), @@ -229,6 +308,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DataTag" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DataTag": dlp_DataTag_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/data_tag_categories/${pathParam(args, "category_id")}/data_tags/${pathParam(args, "tag_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts new file mode 100644 index 00000000..f5e84eac --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts @@ -0,0 +1,203 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_Dataset` in responses. + */ +export const dlp_Dataset_output: JsonSchema = { + "properties": { + "case_sensitive": { + "type": "boolean" + }, + "columns": { + "items": { + "$ref": "#/$defs/dlp_DatasetColumn" + }, + "type": "array" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "encoding_version": { + "type": "integer" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "num_cells": { + "type": "integer" + }, + "secret": { + "type": "boolean" + }, + "status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "uploads": { + "items": { + "$ref": "#/$defs/dlp_DatasetUpload" + }, + "type": "array" + } + }, + "required": [ + "columns", + "created_at", + "encoding_version", + "id", + "name", + "num_cells", + "secret", + "status", + "updated_at", + "uploads" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DatasetArray` in responses. + */ +export const dlp_DatasetArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_Dataset" + }, + "type": "array" +}; + +/** + * The schema of `dlp_DatasetColumn` in responses. + */ +export const dlp_DatasetColumn_output: JsonSchema = { + "properties": { + "entry_id": { + "format": "uuid", + "type": "string" + }, + "header_name": { + "type": "string" + }, + "num_cells": { + "type": "integer" + }, + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "required": [ + "entry_id", + "header_name", + "num_cells", + "upload_status" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DatasetCreation` in responses. + */ +export const dlp_DatasetCreation_output: JsonSchema = { + "properties": { + "dataset": { + "$ref": "#/$defs/dlp_Dataset" + }, + "encoding_version": { + "type": "integer" + }, + "max_cells": { + "type": "integer" + }, + "secret": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "dataset", + "encoding_version", + "max_cells", + "version" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DatasetNewVersion` in responses. + */ +export const dlp_DatasetNewVersion_output: JsonSchema = { + "properties": { + "case_sensitive": { + "type": "boolean" + }, + "columns": { + "items": { + "$ref": "#/$defs/dlp_DatasetColumn" + }, + "type": "array" + }, + "encoding_version": { + "type": "integer" + }, + "max_cells": { + "type": "integer" + }, + "secret": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "encoding_version", + "max_cells", + "version" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DatasetUpload` in responses. + */ +export const dlp_DatasetUpload_output: JsonSchema = { + "properties": { + "num_cells": { + "type": "integer" + }, + "status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "num_cells", + "status", + "version" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts index be4eb6b1..1e77535f 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_DatasetUploadStatus_output } from "../outputs.js"; +import { + dlp_DatasetArray_output, + dlp_DatasetColumn_output, + dlp_DatasetCreation_output, + dlp_DatasetNewVersion_output, + dlp_DatasetUpload_output, + dlp_Dataset_output, +} from "./outputs.js"; import { dlp_DatasetUpdate, dlp_NewDataset } from "./schemas.js"; /** @@ -45,6 +58,25 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DatasetCreation" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Dataset": dlp_Dataset_output, + "dlp_DatasetColumn": dlp_DatasetColumn_output, + "dlp_DatasetCreation": dlp_DatasetCreation_output, + "dlp_DatasetUpload": dlp_DatasetUpload_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/datasets`, body: { value: args["body"], mediaType: "application/json" }, @@ -84,6 +116,18 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/datasets/${pathParam(args, "dataset_id")}`, }), @@ -123,6 +167,24 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Dataset" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Dataset": dlp_Dataset_output, + "dlp_DatasetColumn": dlp_DatasetColumn_output, + "dlp_DatasetUpload": dlp_DatasetUpload_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/datasets/${pathParam(args, "dataset_id")}`, }), @@ -157,6 +219,36 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_DatasetArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Dataset": dlp_Dataset_output, + "dlp_DatasetArray": dlp_DatasetArray_output, + "dlp_DatasetColumn": dlp_DatasetColumn_output, + "dlp_DatasetUpload": dlp_DatasetUpload_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/datasets`, }), @@ -195,6 +287,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DatasetNewVersion" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DatasetColumn": dlp_DatasetColumn_output, + "dlp_DatasetNewVersion": dlp_DatasetNewVersion_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/datasets/${pathParam(args, "dataset_id")}/upload`, }), @@ -241,6 +350,24 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Dataset" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Dataset": dlp_Dataset_output, + "dlp_DatasetColumn": dlp_DatasetColumn_output, + "dlp_DatasetUpload": dlp_DatasetUpload_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/datasets/${pathParam(args, "dataset_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts new file mode 100644 index 00000000..4ef02622 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts @@ -0,0 +1,81 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_DocumentFingerprint` in responses. + */ +export const dlp_DocumentFingerprint_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "type": "string" + }, + "entry_id": { + "format": "uuid", + "type": "string" + }, + "file_name": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "match_percent": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "version": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "created_at", + "description", + "entry_id", + "id", + "match_percent", + "name", + "status", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DocumentFingerprintArray` in responses. + */ +export const dlp_DocumentFingerprintArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_DocumentFingerprint" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts index 114139e3..9f9a2e6d 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_DatasetUploadStatus_output } from "../outputs.js"; +import { + dlp_DocumentFingerprintArray_output, + dlp_DocumentFingerprint_output, +} from "./outputs.js"; import { dlp_NewDocumentFingerprint, dlp_UpdateDocumentFingerprint, @@ -48,6 +57,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DocumentFingerprint" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/document_fingerprints`, body: { value: args["body"], mediaType: "application/json" }, @@ -87,6 +112,18 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": null, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/document_fingerprints/${pathParam(args, "document_fingerprint_id")}`, }), @@ -126,6 +163,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DocumentFingerprint" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/document_fingerprints/${pathParam(args, "document_fingerprint_id")}`, }), @@ -160,6 +213,34 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_DocumentFingerprintArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, + "dlp_DocumentFingerprintArray": dlp_DocumentFingerprintArray_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/document_fingerprints`, }), @@ -206,6 +287,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DocumentFingerprint" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/document_fingerprints/${pathParam(args, "document_fingerprint_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/outputs.ts new file mode 100644 index 00000000..37f241dc --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/outputs.ts @@ -0,0 +1,67 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `dlp_AddinAccountMapping` in responses. + */ +export const dlp_AddinAccountMapping_output: JsonSchema = { + "properties": { + "addin_identifier_token": { + "format": "uuid", + "type": "string" + }, + "auth_requirements": { + "$ref": "#/$defs/dlp_AddinAuth" + } + }, + "required": [ + "addin_identifier_token", + "auth_requirements" + ], + "type": "object" +}; + +/** + * The schema of `dlp_AddinAuth` in responses. + */ +export const dlp_AddinAuth_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "allowed_microsoft_organizations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "enum": [ + "Org" + ], + "type": "string" + } + }, + "required": [ + "allowed_microsoft_organizations", + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "enum": [ + "NoAuth" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts index 42e9411d..2bd00c8c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../../outputs.js"; +import { + dlp_AddinAccountMapping_output, + dlp_AddinAuth_output, +} from "./outputs.js"; import { dlp_AddinAuth, dlp_UpdateAddinAccountMapping } from "./schemas.js"; /** @@ -46,6 +54,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_AddinAccountMapping" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AddinAccountMapping": dlp_AddinAccountMapping_output, + "dlp_AddinAuth": dlp_AddinAuth_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/email/account_mapping`, body: { value: args["body"], mediaType: "application/json" }, @@ -81,6 +105,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_AddinAccountMapping" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AddinAccountMapping": dlp_AddinAccountMapping_output, + "dlp_AddinAuth": dlp_AddinAuth_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/email/account_mapping`, }), diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts new file mode 100644 index 00000000..5896e154 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts @@ -0,0 +1,166 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `dlp_EmailRule` in responses. + */ +export const dlp_EmailRule_output: JsonSchema = { + "properties": { + "action": { + "$ref": "#/$defs/dlp_EmailRuleAction" + }, + "conditions": { + "items": { + "$ref": "#/$defs/dlp_EmailRuleCondition" + }, + "type": "array" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "priority": { + "type": "integer" + }, + "rule_id": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "action", + "conditions", + "created_at", + "enabled", + "name", + "priority", + "rule_id", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_EmailRuleAction` in responses. + */ +export const dlp_EmailRuleAction_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "Block" + ], + "type": "string" + }, + "message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "action" + ], + "type": "object" +}; + +/** + * The schema of `dlp_EmailRuleArray` in responses. + */ +export const dlp_EmailRuleArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_EmailRule" + }, + "type": "array" +}; + +/** + * The schema of `dlp_EmailRuleCondition` in responses. + */ +export const dlp_EmailRuleCondition_output: JsonSchema = { + "properties": { + "operator": { + "$ref": "#/$defs/dlp_EmailRuleOperator" + }, + "selector": { + "$ref": "#/$defs/dlp_EmailRuleSelector" + }, + "value": { + "$ref": "#/$defs/dlp_EmailRuleValue" + } + }, + "required": [ + "operator", + "selector", + "value" + ], + "type": "object" +}; + +/** + * The schema of `dlp_EmailRuleOperator` in responses. + */ +export const dlp_EmailRuleOperator_output: JsonSchema = { + "enum": [ + "InList", + "NotInList", + "MatchRegex", + "NotMatchRegex" + ], + "type": "string" +}; + +/** + * The schema of `dlp_EmailRuleSelector` in responses. + */ +export const dlp_EmailRuleSelector_output: JsonSchema = { + "enum": [ + "Recipients", + "Sender", + "DLPProfiles" + ], + "type": "string" +}; + +/** + * The schema of `dlp_EmailRuleValue` in responses. + */ +export const dlp_EmailRuleValue_output: JsonSchema = { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "string" + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts index 80270a83..a1df27d1 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../../outputs.js"; +import { + dlp_EmailRuleAction_output, + dlp_EmailRuleArray_output, + dlp_EmailRuleCondition_output, + dlp_EmailRuleOperator_output, + dlp_EmailRuleSelector_output, + dlp_EmailRuleValue_output, + dlp_EmailRule_output, +} from "./outputs.js"; import { dlp_CreateEmailRule, dlp_EmailRuleAction, @@ -53,6 +66,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_EmailRule" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_EmailRule": dlp_EmailRule_output, + "dlp_EmailRuleAction": dlp_EmailRuleAction_output, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, + "dlp_EmailRuleValue": dlp_EmailRuleValue_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/email/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -100,6 +133,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_EmailRule" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_EmailRule": dlp_EmailRule_output, + "dlp_EmailRuleAction": dlp_EmailRuleAction_output, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, + "dlp_EmailRuleValue": dlp_EmailRuleValue_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/email/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -139,6 +192,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_EmailRule" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_EmailRule": dlp_EmailRule_output, + "dlp_EmailRuleAction": dlp_EmailRuleAction_output, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, + "dlp_EmailRuleValue": dlp_EmailRuleValue_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/email/rules/${pathParam(args, "rule_id")}`, }), @@ -178,6 +251,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_EmailRule" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_EmailRule": dlp_EmailRule_output, + "dlp_EmailRuleAction": dlp_EmailRuleAction_output, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, + "dlp_EmailRuleValue": dlp_EmailRuleValue_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/email/rules/${pathParam(args, "rule_id")}`, }), @@ -212,6 +305,38 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_EmailRuleArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_EmailRule": dlp_EmailRule_output, + "dlp_EmailRuleAction": dlp_EmailRuleAction_output, + "dlp_EmailRuleArray": dlp_EmailRuleArray_output, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, + "dlp_EmailRuleValue": dlp_EmailRuleValue_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/email/rules`, }), @@ -263,6 +388,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_EmailRule" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_EmailRule": dlp_EmailRule_output, + "dlp_EmailRuleAction": dlp_EmailRuleAction_output, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, + "dlp_EmailRuleValue": dlp_EmailRuleValue_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/email/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts new file mode 100644 index 00000000..b614907d --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts @@ -0,0 +1,544 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_EntryProfile` in responses. + */ +export const dlp_EntryProfile_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `dlp_EntryWithSharedProfiles` in responses. + */ +export const dlp_EntryWithSharedProfiles_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/dlp_CustomEntry" + }, + { + "properties": { + "type": { + "enum": [ + "custom" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + }, + { + "properties": { + "profiles": { + "items": { + "$ref": "#/$defs/dlp_EntryProfile" + }, + "type": "array" + } + }, + "required": [ + "profiles" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_CustomPromptTopicEntry" + }, + { + "properties": { + "type": { + "enum": [ + "custom_prompt_topic" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + }, + { + "properties": { + "profiles": { + "items": { + "$ref": "#/$defs/dlp_EntryProfile" + }, + "type": "array" + } + }, + "required": [ + "profiles" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_PredefinedEntry" + }, + { + "properties": { + "type": { + "enum": [ + "predefined" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + }, + { + "properties": { + "profiles": { + "items": { + "$ref": "#/$defs/dlp_EntryProfile" + }, + "type": "array" + } + }, + "required": [ + "profiles" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_IntegrationEntry" + }, + { + "properties": { + "type": { + "enum": [ + "integration" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + }, + { + "properties": { + "profiles": { + "items": { + "$ref": "#/$defs/dlp_EntryProfile" + }, + "type": "array" + } + }, + "required": [ + "profiles" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_ExactDataEntry" + }, + { + "properties": { + "type": { + "enum": [ + "exact_data" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + }, + { + "properties": { + "profiles": { + "items": { + "$ref": "#/$defs/dlp_EntryProfile" + }, + "type": "array" + } + }, + "required": [ + "profiles" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_DocumentFingerprintEntry" + }, + { + "properties": { + "type": { + "enum": [ + "document_fingerprint" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + }, + { + "properties": { + "profiles": { + "items": { + "$ref": "#/$defs/dlp_EntryProfile" + }, + "type": "array" + } + }, + "required": [ + "profiles" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_WordListEntry" + }, + { + "properties": { + "type": { + "enum": [ + "word_list" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + }, + { + "properties": { + "profiles": { + "items": { + "$ref": "#/$defs/dlp_EntryProfile" + }, + "type": "array" + } + }, + "required": [ + "profiles" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `dlp_EntryWithUploadStatus` in responses. + */ +export const dlp_EntryWithUploadStatus_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/dlp_CustomEntry" + }, + { + "properties": { + "type": { + "enum": [ + "custom" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_CustomPromptTopicEntry" + }, + { + "properties": { + "type": { + "enum": [ + "custom_prompt_topic" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_PredefinedEntry" + }, + { + "properties": { + "type": { + "enum": [ + "predefined" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_IntegrationEntry" + }, + { + "properties": { + "type": { + "enum": [ + "integration" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_ExactDataEntry" + }, + { + "properties": { + "type": { + "enum": [ + "exact_data" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_DocumentFingerprintEntry" + }, + { + "properties": { + "type": { + "enum": [ + "document_fingerprint" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_WordListEntry" + }, + { + "properties": { + "type": { + "enum": [ + "word_list" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "upload_status": { + "$ref": "#/$defs/dlp_DatasetUploadStatus" + } + }, + "type": "object" + } + ] + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts index 40db0016..48babc10 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts @@ -2,7 +2,33 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { + dlp_CustomEntry_output, + dlp_CustomPromptTopicEntry_output, + dlp_DatasetUploadStatus_output, + dlp_DocumentFingerprintEntry_output, + dlp_EntryConfidence_output, + dlp_Entry_output, + dlp_ExactDataEntry_output, + dlp_IntegrationEntry_output, + dlp_Pattern_output, + dlp_PredefinedEntryVariant_output, + dlp_PredefinedEntry_output, + dlp_PromptTopicType_output, + dlp_Validation_output, + dlp_WordListEntry_output, +} from "../outputs.js"; import { dlp_Pattern, dlp_Validation } from "../schemas.js"; +import { + dlp_EntryProfile_output, + dlp_EntryWithSharedProfiles_output, + dlp_EntryWithUploadStatus_output, +} from "./outputs.js"; import { dlp_EntryUpdate, dlp_NewEntry } from "./schemas.js"; /** @@ -48,6 +74,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_CustomEntry" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_CustomEntry": dlp_CustomEntry_output, + "dlp_Pattern": dlp_Pattern_output, + "dlp_Validation": dlp_Validation_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/entries`, body: { value: args["body"], mediaType: "application/json" }, @@ -87,6 +130,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/entries/${pathParam(args, "entry_id")}`, }), @@ -126,6 +184,35 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_EntryWithSharedProfiles" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_CustomEntry": dlp_CustomEntry_output, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, + "dlp_EntryConfidence": dlp_EntryConfidence_output, + "dlp_EntryProfile": dlp_EntryProfile_output, + "dlp_EntryWithSharedProfiles": dlp_EntryWithSharedProfiles_output, + "dlp_ExactDataEntry": dlp_ExactDataEntry_output, + "dlp_IntegrationEntry": dlp_IntegrationEntry_output, + "dlp_Pattern": dlp_Pattern_output, + "dlp_PredefinedEntry": dlp_PredefinedEntry_output, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, + "dlp_PromptTopicType": dlp_PromptTopicType_output, + "dlp_Validation": dlp_Validation_output, + "dlp_WordListEntry": dlp_WordListEntry_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/entries/${pathParam(args, "entry_id")}`, }), @@ -160,6 +247,48 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/dlp_EntryWithUploadStatus" + }, + "type": "array" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_CustomEntry": dlp_CustomEntry_output, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, + "dlp_EntryConfidence": dlp_EntryConfidence_output, + "dlp_EntryWithUploadStatus": dlp_EntryWithUploadStatus_output, + "dlp_ExactDataEntry": dlp_ExactDataEntry_output, + "dlp_IntegrationEntry": dlp_IntegrationEntry_output, + "dlp_Pattern": dlp_Pattern_output, + "dlp_PredefinedEntry": dlp_PredefinedEntry_output, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, + "dlp_PromptTopicType": dlp_PromptTopicType_output, + "dlp_Validation": dlp_Validation_output, + "dlp_WordListEntry": dlp_WordListEntry_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/entries`, }), @@ -208,6 +337,33 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Entry" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_CustomEntry": dlp_CustomEntry_output, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, + "dlp_Entry": dlp_Entry_output, + "dlp_EntryConfidence": dlp_EntryConfidence_output, + "dlp_ExactDataEntry": dlp_ExactDataEntry_output, + "dlp_IntegrationEntry": dlp_IntegrationEntry_output, + "dlp_Pattern": dlp_Pattern_output, + "dlp_PredefinedEntry": dlp_PredefinedEntry_output, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, + "dlp_PromptTopicType": dlp_PromptTopicType_output, + "dlp_Validation": dlp_Validation_output, + "dlp_WordListEntry": dlp_WordListEntry_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/entries/${pathParam(args, "entry_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/limits/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/limits/outputs.ts new file mode 100644 index 00000000..ba6b1f14 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/limits/outputs.ts @@ -0,0 +1,39 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_Limits` in responses. + */ +export const dlp_Limits_output: JsonSchema = { + "properties": { + "max_custom_regex_entries": { + "type": "integer" + }, + "max_dataset_cells": { + "type": "integer" + }, + "max_document_fingerprints": { + "type": "integer" + }, + "used_custom_regex_entries": { + "type": "integer" + }, + "used_dataset_cells": { + "type": "integer" + }, + "used_document_fingerprints": { + "type": "integer" + } + }, + "required": [ + "max_custom_regex_entries", + "max_dataset_cells", + "max_document_fingerprints", + "used_custom_regex_entries", + "used_dataset_cells", + "used_document_fingerprints" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts index b56668ab..c7c5e77c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_Limits_output } from "./outputs.js"; /** * The tools of `zero_trust.dlp.limits`. @@ -37,6 +42,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Limits" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Limits": dlp_Limits_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/limits`, }), diff --git a/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts new file mode 100644 index 00000000..41e04cd7 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts @@ -0,0 +1,741 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `dlp_CustomEntry` in responses. + */ +export const dlp_CustomEntry_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "pattern": { + "$ref": "#/$defs/dlp_Pattern" + }, + "profile_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "validator_ids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "created_at", + "enabled", + "id", + "name", + "pattern", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_CustomPromptTopicEntry` in responses. + */ +export const dlp_CustomPromptTopicEntry_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "enabled", + "id", + "name", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DataTag` in responses. + */ +export const dlp_DataTag_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_DatasetUploadStatus` in responses. + */ +export const dlp_DatasetUploadStatus_output: JsonSchema = { + "enum": [ + "empty", + "uploading", + "pending", + "processing", + "failed", + "complete" + ], + "type": "string" +}; + +/** + * The schema of `dlp_DocumentFingerprintEntry` in responses. + */ +export const dlp_DocumentFingerprintEntry_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "enabled", + "id", + "name", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_Entry` in responses. + */ +export const dlp_Entry_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/dlp_CustomEntry" + }, + { + "properties": { + "type": { + "enum": [ + "custom" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_CustomPromptTopicEntry" + }, + { + "properties": { + "type": { + "enum": [ + "custom_prompt_topic" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_PredefinedEntry" + }, + { + "properties": { + "type": { + "enum": [ + "predefined" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_IntegrationEntry" + }, + { + "properties": { + "type": { + "enum": [ + "integration" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_ExactDataEntry" + }, + { + "properties": { + "type": { + "enum": [ + "exact_data" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_DocumentFingerprintEntry" + }, + { + "properties": { + "type": { + "enum": [ + "document_fingerprint" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_WordListEntry" + }, + { + "properties": { + "type": { + "enum": [ + "word_list" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `dlp_EntryConfidence` in responses. + */ +export const dlp_EntryConfidence_output: JsonSchema = { + "properties": { + "ai_context_available": { + "type": "boolean" + }, + "available": { + "type": "boolean" + } + }, + "required": [ + "ai_context_available", + "available" + ], + "type": "object" +}; + +/** + * The schema of `dlp_ExactDataEntry` in responses. + */ +export const dlp_ExactDataEntry_output: JsonSchema = { + "properties": { + "case_sensitive": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "secret": { + "type": "boolean" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "case_sensitive", + "created_at", + "enabled", + "id", + "name", + "secret", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_IntegrationEntry` in responses. + */ +export const dlp_IntegrationEntry_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "profile_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "enabled", + "id", + "name", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_Pattern` in responses. + */ +export const dlp_Pattern_output: JsonSchema = { + "properties": { + "regex": { + "type": "string" + }, + "validation": { + "$ref": "#/$defs/dlp_Validation" + } + }, + "required": [ + "regex" + ], + "type": "object" +}; + +/** + * The schema of `dlp_PredefinedEntry` in responses. + */ +export const dlp_PredefinedEntry_output: JsonSchema = { + "properties": { + "confidence": { + "$ref": "#/$defs/dlp_EntryConfidence" + }, + "deprecated": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "profile_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "variant": { + "$ref": "#/$defs/dlp_PredefinedEntryVariant" + } + }, + "required": [ + "confidence", + "enabled", + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `dlp_PredefinedEntryVariant` in responses. + */ +export const dlp_PredefinedEntryVariant_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "topic_type": { + "$ref": "#/$defs/dlp_PromptTopicType" + }, + "type": { + "enum": [ + "PromptTopic" + ], + "type": "string" + } + }, + "required": [ + "topic_type", + "type" + ], + "type": "object" + }, + { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": { + "enum": [ + "General" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] +}; + +/** + * The schema of `dlp_PromptTopicType` in responses. + */ +export const dlp_PromptTopicType_output: JsonSchema = { + "enum": [ + "Intent", + "Content" + ], + "type": "string" +}; + +/** + * The schema of `dlp_SensitivityLevel` in responses. + */ +export const dlp_SensitivityLevel_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_SensitivityLevelRef` in responses. + */ +export const dlp_SensitivityLevelRef_output: JsonSchema = { + "properties": { + "group_id": { + "format": "uuid", + "type": "string" + }, + "level_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "group_id", + "level_id" + ], + "type": "object" +}; + +/** + * The schema of `dlp_Validation` in responses. + */ +export const dlp_Validation_output: JsonSchema = { + "enum": [ + "luhn" + ], + "type": "string" +}; + +/** + * The schema of `dlp_WordListEntry` in responses. + */ +export const dlp_WordListEntry_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "profile_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "word_list": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "created_at", + "enabled", + "id", + "name", + "updated_at", + "word_list" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/patterns/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/patterns/outputs.ts new file mode 100644 index 00000000..955af845 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/patterns/outputs.ts @@ -0,0 +1,19 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_RegexValidationResult` in responses. + */ +export const dlp_RegexValidationResult_output: JsonSchema = { + "properties": { + "valid": { + "type": "boolean" + } + }, + "required": [ + "valid" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts index f99289c0..e4b412b6 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_RegexValidationResult_output } from "./outputs.js"; import { dlp_RegexValidationQuery } from "./schemas.js"; /** @@ -46,6 +51,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_RegexValidationResult" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_RegexValidationResult": dlp_RegexValidationResult_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/patterns/validate`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts index 44c24566..282d3a9c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts @@ -2,11 +2,41 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../../outputs.js"; +import { + dlp_CustomEntry_output, + dlp_CustomPromptTopicEntry_output, + dlp_DocumentFingerprintEntry_output, + dlp_EntryConfidence_output, + dlp_Entry_output, + dlp_ExactDataEntry_output, + dlp_IntegrationEntry_output, + dlp_Pattern_output, + dlp_PredefinedEntryVariant_output, + dlp_PredefinedEntry_output, + dlp_PromptTopicType_output, + dlp_SensitivityLevelRef_output, + dlp_Validation_output, + dlp_WordListEntry_output, +} from "../../outputs.js"; import { dlp_Pattern, dlp_SensitivityLevelRef, dlp_Validation, } from "../../schemas.js"; +import { + dlp_Confidence_output, + dlp_ContextAwareness_output, + dlp_CustomProfile_output, + dlp_IntegrationProfile_output, + dlp_PredefinedProfile_output, + dlp_Profile_output, + dlp_SkipConfig_output, +} from "../outputs.js"; import { dlp_ContextAwareness, dlp_SkipConfig } from "../schemas.js"; import { dlp_CustomProfileUpdate, @@ -70,6 +100,41 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Profile" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Confidence": dlp_Confidence_output, + "dlp_ContextAwareness": dlp_ContextAwareness_output, + "dlp_CustomEntry": dlp_CustomEntry_output, + "dlp_CustomProfile": dlp_CustomProfile_output, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, + "dlp_Entry": dlp_Entry_output, + "dlp_EntryConfidence": dlp_EntryConfidence_output, + "dlp_ExactDataEntry": dlp_ExactDataEntry_output, + "dlp_IntegrationEntry": dlp_IntegrationEntry_output, + "dlp_IntegrationProfile": dlp_IntegrationProfile_output, + "dlp_Pattern": dlp_Pattern_output, + "dlp_PredefinedEntry": dlp_PredefinedEntry_output, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, + "dlp_PredefinedProfile": dlp_PredefinedProfile_output, + "dlp_Profile": dlp_Profile_output, + "dlp_PromptTopicType": dlp_PromptTopicType_output, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, + "dlp_SkipConfig": dlp_SkipConfig_output, + "dlp_Validation": dlp_Validation_output, + "dlp_WordListEntry": dlp_WordListEntry_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/profiles/custom`, body: { value: args["body"], mediaType: "application/json" }, @@ -109,6 +174,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/profiles/custom/${pathParam(args, "profile_id")}`, }), @@ -164,6 +244,41 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Profile" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Confidence": dlp_Confidence_output, + "dlp_ContextAwareness": dlp_ContextAwareness_output, + "dlp_CustomEntry": dlp_CustomEntry_output, + "dlp_CustomProfile": dlp_CustomProfile_output, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, + "dlp_Entry": dlp_Entry_output, + "dlp_EntryConfidence": dlp_EntryConfidence_output, + "dlp_ExactDataEntry": dlp_ExactDataEntry_output, + "dlp_IntegrationEntry": dlp_IntegrationEntry_output, + "dlp_IntegrationProfile": dlp_IntegrationProfile_output, + "dlp_Pattern": dlp_Pattern_output, + "dlp_PredefinedEntry": dlp_PredefinedEntry_output, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, + "dlp_PredefinedProfile": dlp_PredefinedProfile_output, + "dlp_Profile": dlp_Profile_output, + "dlp_PromptTopicType": dlp_PromptTopicType_output, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, + "dlp_SkipConfig": dlp_SkipConfig_output, + "dlp_Validation": dlp_Validation_output, + "dlp_WordListEntry": dlp_WordListEntry_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/profiles/custom/${pathParam(args, "profile_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts new file mode 100644 index 00000000..8b93e460 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts @@ -0,0 +1,326 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_Confidence` in responses. + */ +export const dlp_Confidence_output: JsonSchema = { + "enum": [ + "low", + "medium", + "high", + "very_high" + ], + "type": "string" +}; + +/** + * The schema of `dlp_ContextAwareness` in responses. + */ +export const dlp_ContextAwareness_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "skip": { + "$ref": "#/$defs/dlp_SkipConfig" + } + }, + "required": [ + "enabled", + "skip" + ], + "type": "object" +}; + +/** + * The schema of `dlp_CustomProfile` in responses. + */ +export const dlp_CustomProfile_output: JsonSchema = { + "properties": { + "ai_context_enabled": { + "type": "boolean" + }, + "allowed_match_count": { + "type": "integer" + }, + "confidence_threshold": { + "$ref": "#/$defs/dlp_Confidence" + }, + "context_awareness": { + "$ref": "#/$defs/dlp_ContextAwareness" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "data_classes": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "data_tags": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entries": { + "items": { + "$ref": "#/$defs/dlp_Entry" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "ocr_enabled": { + "type": "boolean" + }, + "sensitivity_levels": { + "items": { + "$ref": "#/$defs/dlp_SensitivityLevelRef" + }, + "type": "array" + }, + "shared_entries": { + "items": { + "$ref": "#/$defs/dlp_Entry" + }, + "type": "array" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "allowed_match_count", + "created_at", + "id", + "name", + "ocr_enabled", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_IntegrationProfile` in responses. + */ +export const dlp_IntegrationProfile_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entries": { + "items": { + "$ref": "#/$defs/dlp_Entry" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "integration_id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "shared_entries": { + "items": { + "$ref": "#/$defs/dlp_Entry" + }, + "type": "array" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "entries", + "id", + "integration_id", + "name", + "shared_entries", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_PredefinedProfile` in responses. + */ +export const dlp_PredefinedProfile_output: JsonSchema = { + "properties": { + "ai_context_enabled": { + "type": "boolean" + }, + "allowed_match_count": { + "type": "integer" + }, + "confidence_threshold": { + "$ref": "#/$defs/dlp_Confidence" + }, + "context_awareness": { + "$ref": "#/$defs/dlp_ContextAwareness" + }, + "entries": { + "items": { + "$ref": "#/$defs/dlp_Entry" + }, + "type": "array" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "ocr_enabled": { + "type": "boolean" + }, + "open_access": { + "type": "boolean" + } + }, + "required": [ + "allowed_match_count", + "entries", + "id", + "name" + ], + "type": "object" +}; + +/** + * The schema of `dlp_Profile` in responses. + */ +export const dlp_Profile_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/dlp_CustomProfile" + }, + { + "properties": { + "type": { + "enum": [ + "custom" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_PredefinedProfile" + }, + { + "properties": { + "type": { + "enum": [ + "predefined" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_IntegrationProfile" + }, + { + "properties": { + "type": { + "enum": [ + "integration" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `dlp_ProfileArray` in responses. + */ +export const dlp_ProfileArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_Profile" + }, + "type": "array" +}; + +/** + * The schema of `dlp_SkipConfig` in responses. + */ +export const dlp_SkipConfig_output: JsonSchema = { + "properties": { + "files": { + "type": "boolean" + } + }, + "required": [ + "files" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts index e1ec9676..0c8b0e52 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts @@ -2,6 +2,35 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../../outputs.js"; +import { + dlp_CustomEntry_output, + dlp_CustomPromptTopicEntry_output, + dlp_DocumentFingerprintEntry_output, + dlp_EntryConfidence_output, + dlp_Entry_output, + dlp_ExactDataEntry_output, + dlp_IntegrationEntry_output, + dlp_Pattern_output, + dlp_PredefinedEntryVariant_output, + dlp_PredefinedEntry_output, + dlp_PromptTopicType_output, + dlp_SensitivityLevelRef_output, + dlp_Validation_output, + dlp_WordListEntry_output, +} from "../../outputs.js"; +import { + dlp_Confidence_output, + dlp_ContextAwareness_output, + dlp_CustomProfile_output, + dlp_IntegrationProfile_output, + dlp_PredefinedProfile_output, + dlp_Profile_output, + dlp_SkipConfig_output, +} from "../outputs.js"; import { dlp_ContextAwareness, dlp_SkipConfig } from "../schemas.js"; import { dlp_PredefinedProfileEntryUpdate, @@ -57,6 +86,41 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Profile" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Confidence": dlp_Confidence_output, + "dlp_ContextAwareness": dlp_ContextAwareness_output, + "dlp_CustomEntry": dlp_CustomEntry_output, + "dlp_CustomProfile": dlp_CustomProfile_output, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, + "dlp_Entry": dlp_Entry_output, + "dlp_EntryConfidence": dlp_EntryConfidence_output, + "dlp_ExactDataEntry": dlp_ExactDataEntry_output, + "dlp_IntegrationEntry": dlp_IntegrationEntry_output, + "dlp_IntegrationProfile": dlp_IntegrationProfile_output, + "dlp_Pattern": dlp_Pattern_output, + "dlp_PredefinedEntry": dlp_PredefinedEntry_output, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, + "dlp_PredefinedProfile": dlp_PredefinedProfile_output, + "dlp_Profile": dlp_Profile_output, + "dlp_PromptTopicType": dlp_PromptTopicType_output, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, + "dlp_SkipConfig": dlp_SkipConfig_output, + "dlp_Validation": dlp_Validation_output, + "dlp_WordListEntry": dlp_WordListEntry_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/profiles/predefined/${pathParam(args, "profile_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts index 995346ab..4ecdb022 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts @@ -2,6 +2,36 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { + dlp_CustomEntry_output, + dlp_CustomPromptTopicEntry_output, + dlp_DocumentFingerprintEntry_output, + dlp_EntryConfidence_output, + dlp_Entry_output, + dlp_ExactDataEntry_output, + dlp_IntegrationEntry_output, + dlp_Pattern_output, + dlp_PredefinedEntryVariant_output, + dlp_PredefinedEntry_output, + dlp_PromptTopicType_output, + dlp_SensitivityLevelRef_output, + dlp_Validation_output, + dlp_WordListEntry_output, +} from "../outputs.js"; +import { + dlp_Confidence_output, + dlp_ContextAwareness_output, + dlp_CustomProfile_output, + dlp_IntegrationProfile_output, + dlp_PredefinedProfile_output, + dlp_ProfileArray_output, + dlp_Profile_output, + dlp_SkipConfig_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dlp.profiles`. @@ -42,6 +72,41 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Profile" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Confidence": dlp_Confidence_output, + "dlp_ContextAwareness": dlp_ContextAwareness_output, + "dlp_CustomEntry": dlp_CustomEntry_output, + "dlp_CustomProfile": dlp_CustomProfile_output, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, + "dlp_Entry": dlp_Entry_output, + "dlp_EntryConfidence": dlp_EntryConfidence_output, + "dlp_ExactDataEntry": dlp_ExactDataEntry_output, + "dlp_IntegrationEntry": dlp_IntegrationEntry_output, + "dlp_IntegrationProfile": dlp_IntegrationProfile_output, + "dlp_Pattern": dlp_Pattern_output, + "dlp_PredefinedEntry": dlp_PredefinedEntry_output, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, + "dlp_PredefinedProfile": dlp_PredefinedProfile_output, + "dlp_Profile": dlp_Profile_output, + "dlp_PromptTopicType": dlp_PromptTopicType_output, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, + "dlp_SkipConfig": dlp_SkipConfig_output, + "dlp_Validation": dlp_Validation_output, + "dlp_WordListEntry": dlp_WordListEntry_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/profiles/${pathParam(args, "profile_id")}`, }), @@ -80,6 +145,53 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_ProfileArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Confidence": dlp_Confidence_output, + "dlp_ContextAwareness": dlp_ContextAwareness_output, + "dlp_CustomEntry": dlp_CustomEntry_output, + "dlp_CustomProfile": dlp_CustomProfile_output, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, + "dlp_Entry": dlp_Entry_output, + "dlp_EntryConfidence": dlp_EntryConfidence_output, + "dlp_ExactDataEntry": dlp_ExactDataEntry_output, + "dlp_IntegrationEntry": dlp_IntegrationEntry_output, + "dlp_IntegrationProfile": dlp_IntegrationProfile_output, + "dlp_Pattern": dlp_Pattern_output, + "dlp_PredefinedEntry": dlp_PredefinedEntry_output, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, + "dlp_PredefinedProfile": dlp_PredefinedProfile_output, + "dlp_Profile": dlp_Profile_output, + "dlp_ProfileArray": dlp_ProfileArray_output, + "dlp_PromptTopicType": dlp_PromptTopicType_output, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, + "dlp_SkipConfig": dlp_SkipConfig_output, + "dlp_Validation": dlp_Validation_output, + "dlp_WordListEntry": dlp_WordListEntry_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/profiles`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/outputs.ts new file mode 100644 index 00000000..0ad8dd41 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/outputs.ts @@ -0,0 +1,64 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_SensitivityGroupTemplate` in responses. + */ +export const dlp_SensitivityGroupTemplate_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "levels": { + "items": { + "$ref": "#/$defs/dlp_SensitivityLevelTemplate" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "required": [ + "description", + "id", + "levels", + "name" + ], + "type": "object" +}; + +/** + * The schema of `dlp_SensitivityGroupTemplateArray` in responses. + */ +export const dlp_SensitivityGroupTemplateArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_SensitivityGroupTemplate" + }, + "type": "array" +}; + +/** + * The schema of `dlp_SensitivityLevelTemplate` in responses. + */ +export const dlp_SensitivityLevelTemplate_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "description", + "name" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts index ff59f09f..768e3a10 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { + dlp_SensitivityGroupTemplateArray_output, + dlp_SensitivityGroupTemplate_output, + dlp_SensitivityLevelTemplate_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dlp.sensitivity_group_templates`. @@ -45,6 +54,22 @@ export const tools: readonly Tool[] = [ "terraform" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_SensitivityGroupTemplate" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate_output, + "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/templates/${pathParam(args, "template_id")}`, }), @@ -82,6 +107,34 @@ export const tools: readonly Tool[] = [ "terraform" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_SensitivityGroupTemplateArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate_output, + "dlp_SensitivityGroupTemplateArray": dlp_SensitivityGroupTemplateArray_output, + "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/templates`, }), diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/outputs.ts new file mode 100644 index 00000000..c934df16 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/outputs.ts @@ -0,0 +1,91 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_SensitivityGroup` in responses. + */ +export const dlp_SensitivityGroup_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "format": "uuid", + "type": "string" + }, + "levels": { + "items": { + "$ref": "#/$defs/dlp_SensitivityLevel" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "template_id": { + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "levels", + "name", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `dlp_SensitivityGroupArray` in responses. + */ +export const dlp_SensitivityGroupArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_SensitivityGroup" + }, + "type": "array" +}; + +/** + * The schema of `dlp_SensitivityLevelOrder` in responses. + */ +export const dlp_SensitivityLevelOrder_output: JsonSchema = { + "properties": { + "level_ids": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "level_ids" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts index 6a879301..cb24970a 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts @@ -2,7 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_SensitivityLevel_output } from "../outputs.js"; import { dlp_NewSensitivityLevel } from "../schemas.js"; +import { + dlp_SensitivityGroupArray_output, + dlp_SensitivityGroup_output, + dlp_SensitivityLevelOrder_output, +} from "./outputs.js"; import { dlp_NewSensitivityGroup, dlp_SensitivityGroupLevelUpdate, @@ -52,6 +63,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_SensitivityGroup" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityGroup": dlp_SensitivityGroup_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups`, body: { value: args["body"], mediaType: "application/json" }, @@ -91,6 +118,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}`, }), @@ -130,6 +172,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_SensitivityGroup" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityGroup": dlp_SensitivityGroup_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}`, }), @@ -169,6 +227,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_SensitivityLevelOrder" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}/level_order`, }), @@ -203,6 +276,34 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_SensitivityGroupArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityGroup": dlp_SensitivityGroup_output, + "dlp_SensitivityGroupArray": dlp_SensitivityGroupArray_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups`, }), @@ -250,6 +351,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_SensitivityGroup" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityGroup": dlp_SensitivityGroup_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -297,6 +414,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_SensitivityLevelOrder" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}/level_order`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/outputs.ts new file mode 100644 index 00000000..e90e0457 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/outputs.ts @@ -0,0 +1,14 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_SensitivityLevelArray` in responses. + */ +export const dlp_SensitivityLevelArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_SensitivityLevel" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts index 31c29919..6a780f5e 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts @@ -2,7 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_SensitivityLevel_output } from "../outputs.js"; import { dlp_NewSensitivityLevel } from "../schemas.js"; +import { dlp_SensitivityLevelArray_output } from "./outputs.js"; import { dlp_SensitivityLevelUpdate } from "./schemas.js"; /** @@ -51,6 +58,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_SensitivityLevel" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityLevel": dlp_SensitivityLevel_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}/levels`, body: { value: args["body"], mediaType: "application/json" }, @@ -95,6 +117,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}/levels/${pathParam(args, "sensitivity_level_id")}`, }), @@ -139,6 +176,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_SensitivityLevel" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityLevel": dlp_SensitivityLevel_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}/levels/${pathParam(args, "sensitivity_level_id")}`, }), @@ -178,6 +230,33 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_SensitivityLevelArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityLevel": dlp_SensitivityLevel_output, + "dlp_SensitivityLevelArray": dlp_SensitivityLevelArray_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}/levels`, }), @@ -229,6 +308,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_SensitivityLevel" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_SensitivityLevel": dlp_SensitivityLevel_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/sensitivity_groups/${pathParam(args, "sensitivity_group_id")}/levels/${pathParam(args, "sensitivity_level_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts new file mode 100644 index 00000000..689761bc --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts @@ -0,0 +1,69 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_DlpSettings` in responses. + */ +export const dlp_DlpSettings_output: JsonSchema = { + "properties": { + "ai_context_analysis": { + "type": "boolean" + }, + "ocr": { + "type": "boolean" + }, + "payload_logging": { + "$ref": "#/$defs/dlp_PayloadLogSetting" + } + }, + "required": [ + "ai_context_analysis", + "ocr", + "payload_logging" + ], + "type": "object" +}; + +/** + * The schema of `dlp_PayloadLogMaskingLevel` in responses. + */ +export const dlp_PayloadLogMaskingLevel_output: JsonSchema = { + "enum": [ + "full", + "partial", + "clear", + "default" + ], + "type": "string" +}; + +/** + * The schema of `dlp_PayloadLogSetting` in responses. + */ +export const dlp_PayloadLogSetting_output: JsonSchema = { + "properties": { + "masking_level": { + "$ref": "#/$defs/dlp_PayloadLogMaskingLevel" + }, + "public_key": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts index a89e37f8..45038ff8 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { + dlp_DlpSettings_output, + dlp_PayloadLogMaskingLevel_output, + dlp_PayloadLogSetting_output, +} from "./outputs.js"; import { dlp_DlpSettingsUpdate, dlp_PayloadLogMaskingLevel, @@ -41,6 +50,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DlpSettings" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DlpSettings": dlp_DlpSettings_output, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/settings`, }), @@ -84,6 +110,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DlpSettings" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DlpSettings": dlp_DlpSettings_output, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/settings`, body: { value: args["body"], mediaType: "application/json" }, @@ -119,6 +162,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DlpSettings" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DlpSettings": dlp_DlpSettings_output, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/settings`, }), @@ -162,6 +222,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_DlpSettings" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_DlpSettings": dlp_DlpSettings_output, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/settings`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts new file mode 100644 index 00000000..eab3aaa0 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts @@ -0,0 +1,256 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_AttachedEntry` in responses. + */ +export const dlp_AttachedEntry_output: JsonSchema = { + "properties": { + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "$ref": "#/$defs/dlp_EntryType" + } + }, + "required": [ + "id", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `dlp_EntryType` in responses. + */ +export const dlp_EntryType_output: JsonSchema = { + "enum": [ + "custom", + "custom_prompt_topic", + "predefined", + "integration", + "exact_data", + "document_fingerprint", + "word_list" + ], + "type": "string" +}; + +/** + * The schema of `dlp_ProximityWeight` in responses. + */ +export const dlp_ProximityWeight_output: JsonSchema = { + "enum": [ + "strong", + "moderate", + "weak" + ], + "type": "string" +}; + +/** + * The schema of `dlp_ProximityWord` in responses. + */ +export const dlp_ProximityWord_output: JsonSchema = { + "properties": { + "weight": { + "$ref": "#/$defs/dlp_ProximityWeight" + }, + "word": { + "type": "string" + } + }, + "required": [ + "weight", + "word" + ], + "type": "object" +}; + +/** + * The schema of `dlp_ProximityWordValidator` in responses. + */ +export const dlp_ProximityWordValidator_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "referenced_by": { + "$ref": "#/$defs/dlp_ValidatorReferences" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "words": { + "items": { + "$ref": "#/$defs/dlp_ProximityWord" + }, + "type": "array" + } + }, + "required": [ + "created_at", + "id", + "name", + "referenced_by", + "updated_at", + "words" + ], + "type": "object" +}; + +/** + * The schema of `dlp_Validator` in responses. + */ +export const dlp_Validator_output: JsonSchema = { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/dlp_ProximityWordValidator" + }, + { + "properties": { + "kind": { + "enum": [ + "proximity_words" + ], + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + } + ] + }, + { + "allOf": [ + { + "$ref": "#/$defs/dlp_WorkerValidator" + }, + { + "properties": { + "kind": { + "enum": [ + "worker" + ], + "type": "string" + } + }, + "required": [ + "kind" + ], + "type": "object" + } + ] + } + ] +}; + +/** + * The schema of `dlp_ValidatorArray` in responses. + */ +export const dlp_ValidatorArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_Validator" + }, + "type": "array" +}; + +/** + * The schema of `dlp_ValidatorReferences` in responses. + */ +export const dlp_ValidatorReferences_output: JsonSchema = { + "properties": { + "entries": { + "items": { + "$ref": "#/$defs/dlp_AttachedEntry" + }, + "type": "array" + }, + "entry_count": { + "type": "integer" + } + }, + "required": [ + "entries", + "entry_count" + ], + "type": "object" +}; + +/** + * The schema of `dlp_WorkerDefault` in responses. + */ +export const dlp_WorkerDefault_output: JsonSchema = { + "oneOf": [ + { + "type": "number" + }, + { + "enum": [ + "veto" + ], + "type": "string" + } + ] +}; + +/** + * The schema of `dlp_WorkerValidator` in responses. + */ +export const dlp_WorkerValidator_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "default": { + "$ref": "#/$defs/dlp_WorkerDefault" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "name": { + "type": "string" + }, + "referenced_by": { + "$ref": "#/$defs/dlp_ValidatorReferences" + }, + "script_tag": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "name", + "referenced_by", + "script_tag", + "updated_at" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/outputs.ts new file mode 100644 index 00000000..647acf32 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/outputs.ts @@ -0,0 +1,14 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `dlp_ProximityWordValidatorArray` in responses. + */ +export const dlp_ProximityWordValidatorArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_ProximityWordValidator" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts index 96557737..00e70a34 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts @@ -2,7 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../../outputs.js"; +import { + dlp_AttachedEntry_output, + dlp_EntryType_output, + dlp_ProximityWeight_output, + dlp_ProximityWordValidator_output, + dlp_ProximityWord_output, + dlp_ValidatorReferences_output, +} from "../outputs.js"; import { dlp_ProximityWeight, dlp_ProximityWord } from "../schemas.js"; +import { dlp_ProximityWordValidatorArray_output } from "./outputs.js"; import { dlp_ProximityWordValidatorWrite } from "./schemas.js"; /** @@ -48,6 +62,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_ProximityWordValidator" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ProximityWeight": dlp_ProximityWeight_output, + "dlp_ProximityWord": dlp_ProximityWord_output, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/proximity_words`, body: { value: args["body"], mediaType: "application/json" }, @@ -87,6 +121,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/proximity_words/${pathParam(args, "validator_id")}`, }), @@ -126,6 +175,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_ProximityWordValidator" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ProximityWeight": dlp_ProximityWeight_output, + "dlp_ProximityWord": dlp_ProximityWord_output, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/proximity_words/${pathParam(args, "validator_id")}`, }), @@ -160,6 +229,38 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_ProximityWordValidatorArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ProximityWeight": dlp_ProximityWeight_output, + "dlp_ProximityWord": dlp_ProximityWord_output, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, + "dlp_ProximityWordValidatorArray": dlp_ProximityWordValidatorArray_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/proximity_words`, }), @@ -208,6 +309,26 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_ProximityWordValidator" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ProximityWeight": dlp_ProximityWeight_output, + "dlp_ProximityWord": dlp_ProximityWord_output, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/proximity_words/${pathParam(args, "validator_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts index 9b86fe5a..46b00593 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts @@ -2,6 +2,22 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { + dlp_AttachedEntry_output, + dlp_EntryType_output, + dlp_ProximityWeight_output, + dlp_ProximityWordValidator_output, + dlp_ProximityWord_output, + dlp_ValidatorArray_output, + dlp_ValidatorReferences_output, + dlp_Validator_output, + dlp_WorkerDefault_output, + dlp_WorkerValidator_output, +} from "./outputs.js"; import { dlp_ValidatorKind } from "./schemas.js"; /** @@ -43,6 +59,29 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Validator" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ProximityWeight": dlp_ProximityWeight_output, + "dlp_ProximityWord": dlp_ProximityWord_output, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, + "dlp_Validator": dlp_Validator_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_WorkerDefault": dlp_WorkerDefault_output, + "dlp_WorkerValidator": dlp_WorkerValidator_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/${pathParam(args, "validator_id")}`, }), @@ -91,6 +130,41 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_ValidatorArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ProximityWeight": dlp_ProximityWeight_output, + "dlp_ProximityWord": dlp_ProximityWord_output, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, + "dlp_Validator": dlp_Validator_output, + "dlp_ValidatorArray": dlp_ValidatorArray_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_WorkerDefault": dlp_WorkerDefault_output, + "dlp_WorkerValidator": dlp_WorkerValidator_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/outputs.ts new file mode 100644 index 00000000..c87f080e --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/outputs.ts @@ -0,0 +1,14 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `dlp_WorkerValidatorArray` in responses. + */ +export const dlp_WorkerValidatorArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_WorkerValidator" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts new file mode 100644 index 00000000..bdb3b770 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts @@ -0,0 +1,32 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../../_/tool.js"; + +/** + * The schema of `dlp_WorkerStatus` in responses. + */ +export const dlp_WorkerStatus_output: JsonSchema = { + "enum": [ + "worker_not_found", + "worker_error", + "configured", + "active" + ], + "type": "string" +}; + +/** + * The schema of `dlp_WorkerValidatorStatus` in responses. + */ +export const dlp_WorkerValidatorStatus_output: JsonSchema = { + "properties": { + "status": { + "$ref": "#/$defs/dlp_WorkerStatus" + } + }, + "required": [ + "status" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts index 70dfc4b5..66a95610 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../../../outputs.js"; +import { + dlp_WorkerStatus_output, + dlp_WorkerValidatorStatus_output, +} from "./outputs.js"; /** * The tools of `zero_trust.dlp.validators.worker.status`. @@ -42,6 +50,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_WorkerValidatorStatus" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_WorkerStatus": dlp_WorkerStatus_output, + "dlp_WorkerValidatorStatus": dlp_WorkerValidatorStatus_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/worker/${pathParam(args, "validator_id")}/status`, }), diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts index 525a4f4d..b4f6d8f4 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts @@ -2,7 +2,20 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../../outputs.js"; +import { + dlp_AttachedEntry_output, + dlp_EntryType_output, + dlp_ValidatorReferences_output, + dlp_WorkerDefault_output, + dlp_WorkerValidator_output, +} from "../outputs.js"; import { dlp_WorkerDefault } from "../schemas.js"; +import { dlp_WorkerValidatorArray_output } from "./outputs.js"; import { dlp_WorkerValidatorWrite } from "./schemas.js"; /** @@ -47,6 +60,25 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_WorkerValidator" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_WorkerDefault": dlp_WorkerDefault_output, + "dlp_WorkerValidator": dlp_WorkerValidator_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/worker`, body: { value: args["body"], mediaType: "application/json" }, @@ -86,6 +118,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/worker/${pathParam(args, "validator_id")}`, }), @@ -125,6 +172,25 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_WorkerValidator" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_WorkerDefault": dlp_WorkerDefault_output, + "dlp_WorkerValidator": dlp_WorkerValidator_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/worker/${pathParam(args, "validator_id")}`, }), @@ -159,6 +225,37 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_WorkerValidatorArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_WorkerDefault": dlp_WorkerDefault_output, + "dlp_WorkerValidator": dlp_WorkerValidator_output, + "dlp_WorkerValidatorArray": dlp_WorkerValidatorArray_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/worker`, }), @@ -206,6 +303,25 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_WorkerValidator" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_AttachedEntry": dlp_AttachedEntry_output, + "dlp_EntryType": dlp_EntryType_output, + "dlp_ValidatorReferences": dlp_ValidatorReferences_output, + "dlp_WorkerDefault": dlp_WorkerDefault_output, + "dlp_WorkerValidator": dlp_WorkerValidator_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators/worker/${pathParam(args, "validator_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts new file mode 100644 index 00000000..d972a1a4 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts @@ -0,0 +1,116 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_app-types` in responses. + */ +export const zero_trust_gateway_app_types_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_application" + }, + { + "$ref": "#/$defs/zero-trust-gateway_application_type" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_app_id` in responses. + */ +export const zero_trust_gateway_app_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `zero-trust-gateway_app_type_id` in responses. + */ +export const zero_trust_gateway_app_type_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `zero-trust-gateway_application` in responses. + */ +export const zero_trust_gateway_application_output: JsonSchema = { + "properties": { + "application_type_id": { + "$ref": "#/$defs/zero-trust-gateway_app_type_id" + }, + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_timestamp" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_app_id" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-4" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_application_type` in responses. + */ +export const zero_trust_gateway_application_type_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_timestamp" + }, + "description": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_app_type_id" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-4" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_name-4` in responses. + */ +export const zero_trust_gateway_name_4_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_response_collection-7` in responses. + */ +export const zero_trust_gateway_response_collection_7_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_app-types" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts index fbfc1472..174d5a88 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts @@ -2,6 +2,23 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, +} from "../../outputs.js"; +import { + zero_trust_gateway_result_info_output, + zero_trust_gateway_timestamp_output, +} from "../outputs.js"; +import { + zero_trust_gateway_app_id_output, + zero_trust_gateway_app_type_id_output, + zero_trust_gateway_app_types_output, + zero_trust_gateway_application_output, + zero_trust_gateway_application_type_output, + zero_trust_gateway_name_4_output, + zero_trust_gateway_response_collection_7_output, +} from "./outputs.js"; /** * The tools of `zero_trust.gateway.app_types`. @@ -38,6 +55,50 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_app-types" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection-7" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_app-types": zero_trust_gateway_app_types_output, + "zero-trust-gateway_app_id": zero_trust_gateway_app_id_output, + "zero-trust-gateway_app_type_id": zero_trust_gateway_app_type_id_output, + "zero-trust-gateway_application": zero_trust_gateway_application_output, + "zero-trust-gateway_application_type": zero_trust_gateway_application_type_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-4": zero_trust_gateway_name_4_output, + "zero-trust-gateway_response_collection-7": zero_trust_gateway_response_collection_7_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/app_types`, }), diff --git a/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts new file mode 100644 index 00000000..50ce8582 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts @@ -0,0 +1,135 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_beta` in responses. + */ +export const zero_trust_gateway_beta_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `zero-trust-gateway_categories` in responses. + */ +export const zero_trust_gateway_categories_output: JsonSchema = { + "properties": { + "beta": { + "$ref": "#/$defs/zero-trust-gateway_beta" + }, + "class": { + "$ref": "#/$defs/zero-trust-gateway_class" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description-3" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_id" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-5" + }, + "subcategories": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_subcategory" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_class` in responses. + */ +export const zero_trust_gateway_class_output: JsonSchema = { + "enum": [ + "free", + "premium", + "blocked", + "removalPending", + "noBlock" + ], + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_description-3` in responses. + */ +export const zero_trust_gateway_description_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_id` in responses. + */ +export const zero_trust_gateway_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `zero-trust-gateway_name-5` in responses. + */ +export const zero_trust_gateway_name_5_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_response_collection-8` in responses. + */ +export const zero_trust_gateway_response_collection_8_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_categories" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_subcategory` in responses. + */ +export const zero_trust_gateway_subcategory_output: JsonSchema = { + "properties": { + "beta": { + "$ref": "#/$defs/zero-trust-gateway_beta" + }, + "class": { + "$ref": "#/$defs/zero-trust-gateway_class" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description-3" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_id" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-5" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts index 6a3da2e5..26cbb211 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, +} from "../../outputs.js"; +import { zero_trust_gateway_result_info_output } from "../outputs.js"; +import { + zero_trust_gateway_beta_output, + zero_trust_gateway_categories_output, + zero_trust_gateway_class_output, + zero_trust_gateway_description_3_output, + zero_trust_gateway_id_output, + zero_trust_gateway_name_5_output, + zero_trust_gateway_response_collection_8_output, + zero_trust_gateway_subcategory_output, +} from "./outputs.js"; /** * The tools of `zero_trust.gateway.categories`. @@ -38,6 +53,50 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_categories" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection-8" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_beta": zero_trust_gateway_beta_output, + "zero-trust-gateway_categories": zero_trust_gateway_categories_output, + "zero-trust-gateway_class": zero_trust_gateway_class_output, + "zero-trust-gateway_description-3": zero_trust_gateway_description_3_output, + "zero-trust-gateway_id": zero_trust_gateway_id_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-5": zero_trust_gateway_name_5_output, + "zero-trust-gateway_response_collection-8": zero_trust_gateway_response_collection_8_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_subcategory": zero_trust_gateway_subcategory_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/categories`, }), diff --git a/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts new file mode 100644 index 00000000..e665f9c8 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts @@ -0,0 +1,154 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_binding_status` in responses. + */ +export const zero_trust_gateway_binding_status_output: JsonSchema = { + "enum": [ + "pending_deployment", + "available", + "pending_deletion", + "inactive" + ], + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_certificates` in responses. + */ +export const zero_trust_gateway_certificates_output: JsonSchema = { + "properties": { + "binding_status": { + "$ref": "#/$defs/zero-trust-gateway_binding_status" + }, + "certificate": { + "type": "string" + }, + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "expires_on": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "fingerprint": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid" + }, + "in_use": { + "type": "boolean" + }, + "issuer_org": { + "type": "string" + }, + "issuer_raw": { + "type": "string" + }, + "region": { + "$ref": "#/$defs/zero-trust-gateway_region" + }, + "type": { + "$ref": "#/$defs/zero-trust-gateway_type" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "uploaded_on": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_region` in responses. + */ +export const zero_trust_gateway_region_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_response_collection` in responses. + */ +export const zero_trust_gateway_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_certificates" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_single_response` in responses. + */ +export const zero_trust_gateway_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_certificates" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_type` in responses. + */ +export const zero_trust_gateway_type_output: JsonSchema = { + "enum": [ + "custom", + "gateway_managed" + ], + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_uuid` in responses. + */ +export const zero_trust_gateway_uuid_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts index 5b2b54e1..11433ef3 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, + zero_trust_gateway_read_only_timestamp_output, +} from "../../outputs.js"; +import { zero_trust_gateway_result_info_output } from "../outputs.js"; +import { + zero_trust_gateway_binding_status_output, + zero_trust_gateway_certificates_output, + zero_trust_gateway_region_output, + zero_trust_gateway_response_collection_output, + zero_trust_gateway_single_response_output, + zero_trust_gateway_type_output, + zero_trust_gateway_uuid_output, +} from "./outputs.js"; import { zero_trust_gateway_generate_cert_request } from "./schemas.js"; /** @@ -38,6 +53,34 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/gateway/certificates/{certificate_id}/activate", + responses: { + schemas: { + "202": { + "$ref": "#/$defs/zero-trust-gateway_certificates" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, + "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_region": zero_trust_gateway_region_output, + "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, + "zero-trust-gateway_type": zero_trust_gateway_type_output, + "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/certificates/${pathParam(args, "certificate_id")}/activate`, }), @@ -73,6 +116,34 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/gateway/certificates", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_certificates" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, + "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_region": zero_trust_gateway_region_output, + "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, + "zero-trust-gateway_type": zero_trust_gateway_type_output, + "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/certificates`, body: { value: args["body"], mediaType: "application/json" }, @@ -108,6 +179,34 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/gateway/certificates/{certificate_id}/deactivate", + responses: { + schemas: { + "201": { + "$ref": "#/$defs/zero-trust-gateway_certificates" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, + "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_region": zero_trust_gateway_region_output, + "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, + "zero-trust-gateway_type": zero_trust_gateway_type_output, + "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/certificates/${pathParam(args, "certificate_id")}/deactivate`, }), @@ -142,6 +241,34 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/gateway/certificates/{certificate_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_certificates" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, + "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_region": zero_trust_gateway_region_output, + "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, + "zero-trust-gateway_type": zero_trust_gateway_type_output, + "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/certificates/${pathParam(args, "certificate_id")}`, }), @@ -176,6 +303,34 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/certificates/{certificate_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_certificates" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, + "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_region": zero_trust_gateway_region_output, + "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, + "zero-trust-gateway_type": zero_trust_gateway_type_output, + "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/certificates/${pathParam(args, "certificate_id")}`, }), @@ -205,6 +360,49 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/certificates", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_certificates" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, + "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_region": zero_trust_gateway_region_output, + "zero-trust-gateway_response_collection": zero_trust_gateway_response_collection_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_type": zero_trust_gateway_type_output, + "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/certificates`, }), diff --git a/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts new file mode 100644 index 00000000..3590b0f7 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts @@ -0,0 +1,634 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_activity-log-settings` in responses. + */ +export const zero_trust_gateway_activity_log_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_anti-virus-settings` in responses. + */ +export const zero_trust_gateway_anti_virus_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled_download_phase": { + "$ref": "#/$defs/zero-trust-gateway_enabled_download_phase" + }, + "enabled_upload_phase": { + "$ref": "#/$defs/zero-trust-gateway_enabled_upload_phase" + }, + "fail_closed": { + "$ref": "#/$defs/zero-trust-gateway_fail_closed" + }, + "notification_settings": { + "$ref": "#/$defs/zero-trust-gateway_notification_settings" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_block-page-settings` in responses. + */ +export const zero_trust_gateway_block_page_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "background_color": { + "type": "string" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "footer_text": { + "type": "string" + }, + "header_text": { + "type": "string" + }, + "include_context": { + "type": "boolean" + }, + "logo_path": { + "type": "string" + }, + "mailto_address": { + "type": "string" + }, + "mailto_subject": { + "type": "string" + }, + "mode": { + "enum": [ + "", + "customized_block_page", + "redirect_uri" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "read_only": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "source_account": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "suppress_footer": { + "type": "boolean" + }, + "target_uri": { + "type": "string" + }, + "version": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_body-scanning-settings` in responses. + */ +export const zero_trust_gateway_body_scanning_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "inspection_mode": { + "enum": [ + "deep", + "shallow" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_browser-isolation-settings` in responses. + */ +export const zero_trust_gateway_browser_isolation_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "non_identity_enabled": { + "type": "boolean" + }, + "url_browser_isolation_enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_certificate-settings` in responses. + */ +export const zero_trust_gateway_certificate_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_custom-certificate-settings` in responses. + */ +export const zero_trust_gateway_custom_certificate_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "binding_status": { + "type": "string" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_enabled_download_phase` in responses. + */ +export const zero_trust_gateway_enabled_download_phase_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_enabled_upload_phase` in responses. + */ +export const zero_trust_gateway_enabled_upload_phase_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_extended-email-matching` in responses. + */ +export const zero_trust_gateway_extended_email_matching_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "read_only": { + "type": "boolean" + }, + "source_account": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_fail_closed` in responses. + */ +export const zero_trust_gateway_fail_closed_output: JsonSchema = { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_fips-settings` in responses. + */ +export const zero_trust_gateway_fips_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "tls": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_gateway-account-settings` in responses. + */ +export const zero_trust_gateway_gateway_account_settings_output: JsonSchema = { + "properties": { + "settings": { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-settings_settings" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_gateway-account-settings_settings` in + * responses. + */ +export const zero_trust_gateway_gateway_account_settings_settings_output: JsonSchema = { + "properties": { + "activity_log": { + "$ref": "#/$defs/zero-trust-gateway_activity-log-settings" + }, + "antivirus": { + "$ref": "#/$defs/zero-trust-gateway_anti-virus-settings" + }, + "block_page": { + "$ref": "#/$defs/zero-trust-gateway_block-page-settings" + }, + "body_scanning": { + "$ref": "#/$defs/zero-trust-gateway_body-scanning-settings" + }, + "browser_isolation": { + "$ref": "#/$defs/zero-trust-gateway_browser-isolation-settings" + }, + "certificate": { + "$ref": "#/$defs/zero-trust-gateway_certificate-settings" + }, + "custom_certificate": { + "$ref": "#/$defs/zero-trust-gateway_custom-certificate-settings" + }, + "extended_email_matching": { + "$ref": "#/$defs/zero-trust-gateway_extended-email-matching" + }, + "fips": { + "$ref": "#/$defs/zero-trust-gateway_fips-settings" + }, + "host_selector": { + "$ref": "#/$defs/zero-trust-gateway_host-selector-settings" + }, + "inspection": { + "$ref": "#/$defs/zero-trust-gateway_inspection-settings" + }, + "max_ttl_secs": { + "$ref": "#/$defs/zero-trust-gateway_max-ttl-secs" + }, + "protocol_detection": { + "$ref": "#/$defs/zero-trust-gateway_protocol-detection" + }, + "sandbox": { + "$ref": "#/$defs/zero-trust-gateway_sandbox" + }, + "tls_decrypt": { + "$ref": "#/$defs/zero-trust-gateway_tls-settings" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_gateway_account_config` in responses. + */ +export const zero_trust_gateway_gateway_account_config_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-settings" + }, + { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_host-selector-settings` in responses. + */ +export const zero_trust_gateway_host_selector_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_inspection-settings` in responses. + */ +export const zero_trust_gateway_inspection_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "mode": { + "enum": [ + "static", + "dynamic" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_max-ttl-secs` in responses. + */ +export const zero_trust_gateway_max_ttl_secs_output: JsonSchema = { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_notification_settings` in responses. + */ +export const zero_trust_gateway_notification_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "include_context": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "support_url": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_protocol-detection` in responses. + */ +export const zero_trust_gateway_protocol_detection_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_sandbox` in responses. + */ +export const zero_trust_gateway_sandbox_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "fallback_action": { + "enum": [ + "allow", + "block" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_tls-settings` in responses. + */ +export const zero_trust_gateway_tls_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts index 4143cda7..33062f87 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts @@ -2,6 +2,35 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, + zero_trust_gateway_read_only_timestamp_output, +} from "../../outputs.js"; +import { + zero_trust_gateway_activity_log_settings_output, + zero_trust_gateway_anti_virus_settings_output, + zero_trust_gateway_block_page_settings_output, + zero_trust_gateway_body_scanning_settings_output, + zero_trust_gateway_browser_isolation_settings_output, + zero_trust_gateway_certificate_settings_output, + zero_trust_gateway_custom_certificate_settings_output, + zero_trust_gateway_enabled_download_phase_output, + zero_trust_gateway_enabled_upload_phase_output, + zero_trust_gateway_extended_email_matching_output, + zero_trust_gateway_fail_closed_output, + zero_trust_gateway_fips_settings_output, + zero_trust_gateway_gateway_account_config_output, + zero_trust_gateway_gateway_account_settings_output, + zero_trust_gateway_gateway_account_settings_settings_output, + zero_trust_gateway_host_selector_settings_output, + zero_trust_gateway_inspection_settings_output, + zero_trust_gateway_max_ttl_secs_output, + zero_trust_gateway_notification_settings_output, + zero_trust_gateway_protocol_detection_output, + zero_trust_gateway_sandbox_output, + zero_trust_gateway_tls_settings_output, +} from "./outputs.js"; import { zero_trust_gateway_activity_log_settings, zero_trust_gateway_anti_virus_settings, @@ -82,6 +111,65 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/gateway/configuration", + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-settings" + }, + { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway_account_config" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings_output, + "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings_output, + "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings_output, + "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings_output, + "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings_output, + "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings_output, + "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase_output, + "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase_output, + "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching_output, + "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed_output, + "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings_output, + "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings_output, + "zero-trust-gateway_gateway-account-settings_settings": zero_trust_gateway_gateway_account_settings_settings_output, + "zero-trust-gateway_gateway_account_config": zero_trust_gateway_gateway_account_config_output, + "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings_output, + "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings_output, + "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings_output, + "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox_output, + "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/configuration`, body: { value: args["body"], mediaType: "application/json" }, @@ -112,6 +200,65 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/configuration", + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-settings" + }, + { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway_account_config" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings_output, + "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings_output, + "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings_output, + "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings_output, + "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings_output, + "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings_output, + "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase_output, + "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase_output, + "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching_output, + "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed_output, + "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings_output, + "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings_output, + "zero-trust-gateway_gateway-account-settings_settings": zero_trust_gateway_gateway_account_settings_settings_output, + "zero-trust-gateway_gateway_account_config": zero_trust_gateway_gateway_account_config_output, + "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings_output, + "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings_output, + "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings_output, + "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox_output, + "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/configuration`, }), @@ -168,6 +315,65 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/gateway/configuration", + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-settings" + }, + { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway_account_config" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings_output, + "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings_output, + "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings_output, + "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings_output, + "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings_output, + "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings_output, + "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase_output, + "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase_output, + "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching_output, + "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed_output, + "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings_output, + "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings_output, + "zero-trust-gateway_gateway-account-settings_settings": zero_trust_gateway_gateway_account_settings_settings_output, + "zero-trust-gateway_gateway_account_config": zero_trust_gateway_gateway_account_config_output, + "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings_output, + "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings_output, + "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings_output, + "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox_output, + "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/configuration`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/outputs.ts new file mode 100644 index 00000000..7eb218b3 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/outputs.ts @@ -0,0 +1,71 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_dns_destination_ip_pair` in responses. + */ +export const zero_trust_gateway_dns_destination_ip_pair_output: JsonSchema = { + "properties": { + "backup_ip": { + "type": "string" + }, + "id": { + "type": "string" + }, + "pair_type": { + "enum": [ + "shared", + "dedicated", + "byoip" + ], + "type": "string" + }, + "primary_ip": { + "type": "string" + } + }, + "required": [ + "backup_ip", + "id", + "pair_type", + "primary_ip" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_response_collection-2` in responses. + */ +export const zero_trust_gateway_response_collection_2_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_dns_destination_ip_pair" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts index eb177cb2..b2e9bc7f 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, +} from "../../outputs.js"; +import { zero_trust_gateway_result_info_output } from "../outputs.js"; +import { + zero_trust_gateway_dns_destination_ip_pair_output, + zero_trust_gateway_response_collection_2_output, +} from "./outputs.js"; /** * The tools of `zero_trust.gateway.dns_destination_ips`. @@ -39,6 +48,44 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_dns_destination_ip_pair" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection-2" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_dns_destination_ip_pair": zero_trust_gateway_dns_destination_ip_pair_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_response_collection-2": zero_trust_gateway_response_collection_2_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/dns_destination_ips`, }), diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/items/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/outputs.ts new file mode 100644 index 00000000..e34af97e --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/outputs.ts @@ -0,0 +1,49 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_list_item_response_collection` in + * responses. + */ +export const zero_trust_gateway_list_item_response_collection_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_api-response-collection" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/zero-trust-gateway_items" + } + }, + "type": "object" + }, + { + "properties": { + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts index ad2b4061..a189f888 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, + zero_trust_gateway_read_only_timestamp_output, +} from "../../../outputs.js"; +import { + zero_trust_gateway_api_response_collection_output, + zero_trust_gateway_result_info_output, +} from "../../outputs.js"; +import { + zero_trust_gateway_description_item_output, + zero_trust_gateway_items_output, + zero_trust_gateway_value_output, +} from "../outputs.js"; +import { zero_trust_gateway_list_item_response_collection_output } from "./outputs.js"; /** * The tools of `zero_trust.gateway.lists.items`. @@ -47,6 +62,62 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/lists/{list_id}/items", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/zero-trust-gateway_items" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_list_item_response_collection" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, + "zero-trust-gateway_items": zero_trust_gateway_items_output, + "zero-trust-gateway_list_item_response_collection": zero_trust_gateway_list_item_response_collection_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_value": zero_trust_gateway_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/lists/${pathParam(args, "list_id")}/items`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts new file mode 100644 index 00000000..18f42f78 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts @@ -0,0 +1,243 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_count` in responses. + */ +export const zero_trust_gateway_count_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `zero-trust-gateway_description` in responses. + */ +export const zero_trust_gateway_description_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_description_item` in responses. + */ +export const zero_trust_gateway_description_item_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_items` in responses. + */ +export const zero_trust_gateway_items_output: JsonSchema = { + "items": { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description_item" + }, + "value": { + "$ref": "#/$defs/zero-trust-gateway_value" + } + }, + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `zero-trust-gateway_list_single_response` in responses. + */ +export const zero_trust_gateway_list_single_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_lists" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_lists` in responses. + */ +export const zero_trust_gateway_lists_output: JsonSchema = { + "properties": { + "count": { + "$ref": "#/$defs/zero-trust-gateway_count" + }, + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-2" + }, + "items": { + "$ref": "#/$defs/zero-trust-gateway_items" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name" + }, + "type": { + "$ref": "#/$defs/zero-trust-gateway_type-2" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_name` in responses. + */ +export const zero_trust_gateway_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_response_collection-3` in responses. + */ +export const zero_trust_gateway_response_collection_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_lists" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_single_response_with_list_items` in + * responses. + */ +export const zero_trust_gateway_single_response_with_list_items_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_single_response_with_list_items_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_single_response_with_list_items_result` in + * responses. + */ +export const zero_trust_gateway_single_response_with_list_items_result_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-2" + }, + "items": { + "$ref": "#/$defs/zero-trust-gateway_items" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name" + }, + "type": { + "$ref": "#/$defs/zero-trust-gateway_type-2" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_type-2` in responses. + */ +export const zero_trust_gateway_type_2_output: JsonSchema = { + "enum": [ + "SERIAL", + "URL", + "DOMAIN", + "EMAIL", + "IP", + "CATEGORY", + "LOCATION", + "DEVICE", + "AAGUID" + ], + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_uuid-2` in responses. + */ +export const zero_trust_gateway_uuid_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_value` in responses. + */ +export const zero_trust_gateway_value_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts index d6d27845..cfa41b91 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts @@ -2,6 +2,30 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, + zero_trust_gateway_read_only_timestamp_output, +} from "../../outputs.js"; +import { + zero_trust_gateway_empty_response_output, + zero_trust_gateway_result_info_output, +} from "../outputs.js"; +import { + zero_trust_gateway_count_output, + zero_trust_gateway_description_item_output, + zero_trust_gateway_description_output, + zero_trust_gateway_items_output, + zero_trust_gateway_list_single_response_output, + zero_trust_gateway_lists_output, + zero_trust_gateway_name_output, + zero_trust_gateway_response_collection_3_output, + zero_trust_gateway_single_response_with_list_items_output, + zero_trust_gateway_single_response_with_list_items_result_output, + zero_trust_gateway_type_2_output, + zero_trust_gateway_uuid_2_output, + zero_trust_gateway_value_output, +} from "./outputs.js"; import { zero_trust_gateway_description, zero_trust_gateway_description_item, @@ -74,6 +98,60 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/gateway/lists", + responses: { + schemas: { + "200": { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-2" + }, + "items": { + "$ref": "#/$defs/zero-trust-gateway_items" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name" + }, + "type": { + "$ref": "#/$defs/zero-trust-gateway_type-2" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response_with_list_items" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_description": zero_trust_gateway_description_output, + "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, + "zero-trust-gateway_items": zero_trust_gateway_items_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name": zero_trust_gateway_name_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response_with_list_items": zero_trust_gateway_single_response_with_list_items_output, + "zero-trust-gateway_single_response_with_list_items_result": zero_trust_gateway_single_response_with_list_items_result_output, + "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, + "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, + "zero-trust-gateway_value": zero_trust_gateway_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/lists`, body: { value: args["body"], mediaType: "application/json" }, @@ -109,6 +187,28 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/gateway/lists/{list_id}", + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_empty_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/lists/${pathParam(args, "list_id")}`, }), @@ -165,6 +265,38 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/gateway/lists/{list_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_lists" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_list_single_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_count": zero_trust_gateway_count_output, + "zero-trust-gateway_description": zero_trust_gateway_description_output, + "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, + "zero-trust-gateway_items": zero_trust_gateway_items_output, + "zero-trust-gateway_list_single_response": zero_trust_gateway_list_single_response_output, + "zero-trust-gateway_lists": zero_trust_gateway_lists_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name": zero_trust_gateway_name_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, + "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, + "zero-trust-gateway_value": zero_trust_gateway_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/lists/${pathParam(args, "list_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -200,6 +332,38 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/lists/{list_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_lists" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_list_single_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_count": zero_trust_gateway_count_output, + "zero-trust-gateway_description": zero_trust_gateway_description_output, + "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, + "zero-trust-gateway_items": zero_trust_gateway_items_output, + "zero-trust-gateway_list_single_response": zero_trust_gateway_list_single_response_output, + "zero-trust-gateway_lists": zero_trust_gateway_lists_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name": zero_trust_gateway_name_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, + "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, + "zero-trust-gateway_value": zero_trust_gateway_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/lists/${pathParam(args, "list_id")}`, }), @@ -266,6 +430,53 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/lists", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_lists" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection-3" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_count": zero_trust_gateway_count_output, + "zero-trust-gateway_description": zero_trust_gateway_description_output, + "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, + "zero-trust-gateway_items": zero_trust_gateway_items_output, + "zero-trust-gateway_lists": zero_trust_gateway_lists_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name": zero_trust_gateway_name_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_response_collection-3": zero_trust_gateway_response_collection_3_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, + "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, + "zero-trust-gateway_value": zero_trust_gateway_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/lists`, query: [ @@ -335,6 +546,38 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/gateway/lists/{list_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_lists" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_list_single_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_count": zero_trust_gateway_count_output, + "zero-trust-gateway_description": zero_trust_gateway_description_output, + "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, + "zero-trust-gateway_items": zero_trust_gateway_items_output, + "zero-trust-gateway_list_single_response": zero_trust_gateway_list_single_response_output, + "zero-trust-gateway_lists": zero_trust_gateway_lists_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name": zero_trust_gateway_name_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, + "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, + "zero-trust-gateway_value": zero_trust_gateway_value_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/lists/${pathParam(args, "list_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts new file mode 100644 index 00000000..d4cae002 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts @@ -0,0 +1,416 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_client-default` in responses. + */ +export const zero_trust_gateway_client_default_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `zero-trust-gateway_dns-destination-ips-id-read` in responses. + */ +export const zero_trust_gateway_dns_destination_ips_id_read_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_dns64-enabled` in responses. + */ +export const zero_trust_gateway_dns64_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `zero-trust-gateway_dns_destination_ipv6_block_id` in + * responses. + */ +export const zero_trust_gateway_dns_destination_ipv6_block_id_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_doh_endpoint` in responses. + */ +export const zero_trust_gateway_doh_endpoint_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "networks": { + "$ref": "#/$defs/zero-trust-gateway_ip_networks" + }, + "require_token": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_dot_endpoint` in responses. + */ +export const zero_trust_gateway_dot_endpoint_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "networks": { + "$ref": "#/$defs/zero-trust-gateway_ip_networks" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_ecs-support` in responses. + */ +export const zero_trust_gateway_ecs_support_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `zero-trust-gateway_endpoints` in responses. + */ +export const zero_trust_gateway_endpoints_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "doh": { + "$ref": "#/$defs/zero-trust-gateway_doh_endpoint" + }, + "dot": { + "$ref": "#/$defs/zero-trust-gateway_dot_endpoint" + }, + "ipv4": { + "$ref": "#/$defs/zero-trust-gateway_ipv4_endpoint" + }, + "ipv6": { + "$ref": "#/$defs/zero-trust-gateway_ipv6_endpoint" + } + }, + "required": [ + "doh", + "dot", + "ipv4", + "ipv6" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_ip` in responses. + */ +export const zero_trust_gateway_ip_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_ip_network` in responses. + */ +export const zero_trust_gateway_ip_network_output: JsonSchema = { + "properties": { + "network": { + "type": "string" + } + }, + "required": [ + "network" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_ip_networks` in responses. + */ +export const zero_trust_gateway_ip_networks_output: JsonSchema = { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/zero-trust-gateway_ip_network" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_ipv4_endpoint` in responses. + */ +export const zero_trust_gateway_ipv4_endpoint_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_ipv4_network` in responses. + */ +export const zero_trust_gateway_ipv4_network_output: JsonSchema = { + "properties": { + "network": { + "type": "string" + } + }, + "required": [ + "network" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_ipv4_networks` in responses. + */ +export const zero_trust_gateway_ipv4_networks_output: JsonSchema = { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/zero-trust-gateway_ipv4_network" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_ipv6_endpoint` in responses. + */ +export const zero_trust_gateway_ipv6_endpoint_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "networks": { + "$ref": "#/$defs/zero-trust-gateway_ipv6_networks" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_ipv6_network` in responses. + */ +export const zero_trust_gateway_ipv6_network_output: JsonSchema = { + "properties": { + "network": { + "type": "string" + } + }, + "required": [ + "network" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_ipv6_networks` in responses. + */ +export const zero_trust_gateway_ipv6_networks_output: JsonSchema = { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/zero-trust-gateway_ipv6_network" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_locations` in responses. + */ +export const zero_trust_gateway_locations_output: JsonSchema = { + "properties": { + "client_default": { + "$ref": "#/$defs/zero-trust-gateway_client-default" + }, + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "dns64_enabled": { + "$ref": "#/$defs/zero-trust-gateway_dns64-enabled" + }, + "dns_destination_ips_id": { + "$ref": "#/$defs/zero-trust-gateway_dns-destination-ips-id-read" + }, + "dns_destination_ipv6_block_id": { + "$ref": "#/$defs/zero-trust-gateway_dns_destination_ipv6_block_id" + }, + "doh_subdomain": { + "$ref": "#/$defs/zero-trust-gateway_subdomain" + }, + "ecs_support": { + "$ref": "#/$defs/zero-trust-gateway_ecs-support" + }, + "endpoints": { + "$ref": "#/$defs/zero-trust-gateway_endpoints" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + }, + "ip": { + "$ref": "#/$defs/zero-trust-gateway_ip" + }, + "ipv4_destination": { + "type": "string" + }, + "ipv4_destination_backup": { + "type": "string" + }, + "max_ttl": { + "$ref": "#/$defs/zero-trust-gateway_max-ttl" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-2" + }, + "networks": { + "$ref": "#/$defs/zero-trust-gateway_ipv4_networks" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_max-ttl` in responses. + */ +export const zero_trust_gateway_max_ttl_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "mode": { + "enum": [ + "inherit", + "override", + "disabled" + ], + "type": "string" + }, + "ttl_secs": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "mode" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_name-2` in responses. + */ +export const zero_trust_gateway_name_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_response_collection-5` in responses. + */ +export const zero_trust_gateway_response_collection_5_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_locations" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_single_response-3` in responses. + */ +export const zero_trust_gateway_single_response_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_locations" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_subdomain` in responses. + */ +export const zero_trust_gateway_subdomain_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts index 1a39677d..3726db21 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts @@ -2,6 +2,41 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, + zero_trust_gateway_read_only_timestamp_output, +} from "../../outputs.js"; +import { + zero_trust_gateway_empty_response_output, + zero_trust_gateway_result_info_output, + zero_trust_gateway_uuid_3_output, +} from "../outputs.js"; +import { + zero_trust_gateway_client_default_output, + zero_trust_gateway_dns64_enabled_output, + zero_trust_gateway_dns_destination_ips_id_read_output, + zero_trust_gateway_dns_destination_ipv6_block_id_output, + zero_trust_gateway_doh_endpoint_output, + zero_trust_gateway_dot_endpoint_output, + zero_trust_gateway_ecs_support_output, + zero_trust_gateway_endpoints_output, + zero_trust_gateway_ip_network_output, + zero_trust_gateway_ip_networks_output, + zero_trust_gateway_ip_output, + zero_trust_gateway_ipv4_endpoint_output, + zero_trust_gateway_ipv4_network_output, + zero_trust_gateway_ipv4_networks_output, + zero_trust_gateway_ipv6_endpoint_output, + zero_trust_gateway_ipv6_network_output, + zero_trust_gateway_ipv6_networks_output, + zero_trust_gateway_locations_output, + zero_trust_gateway_max_ttl_output, + zero_trust_gateway_name_2_output, + zero_trust_gateway_response_collection_5_output, + zero_trust_gateway_single_response_3_output, + zero_trust_gateway_subdomain_output, +} from "./outputs.js"; import { zero_trust_gateway_client_default, zero_trust_gateway_dns64_enabled, @@ -123,6 +158,51 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_locations" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-3" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, + "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, + "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, + "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, + "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, + "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, + "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, + "zero-trust-gateway_ip": zero_trust_gateway_ip_output, + "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, + "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, + "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, + "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, + "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, + "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, + "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, + "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, + "zero-trust-gateway_locations": zero_trust_gateway_locations_output, + "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response-3": zero_trust_gateway_single_response_3_output, + "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/locations`, body: { value: args["body"], mediaType: "application/json" }, @@ -163,6 +243,28 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_empty_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/locations/${pathParam(args, "location_id")}`, }), @@ -203,6 +305,51 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_locations" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-3" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, + "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, + "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, + "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, + "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, + "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, + "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, + "zero-trust-gateway_ip": zero_trust_gateway_ip_output, + "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, + "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, + "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, + "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, + "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, + "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, + "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, + "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, + "zero-trust-gateway_locations": zero_trust_gateway_locations_output, + "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response-3": zero_trust_gateway_single_response_3_output, + "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/locations/${pathParam(args, "location_id")}`, }), @@ -267,6 +414,66 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_locations" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection-5" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, + "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, + "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, + "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, + "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, + "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, + "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, + "zero-trust-gateway_ip": zero_trust_gateway_ip_output, + "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, + "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, + "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, + "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, + "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, + "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, + "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, + "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, + "zero-trust-gateway_locations": zero_trust_gateway_locations_output, + "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_response_collection-5": zero_trust_gateway_response_collection_5_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/locations`, query: [ @@ -378,6 +585,51 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_locations" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-3" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, + "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, + "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, + "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, + "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, + "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, + "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, + "zero-trust-gateway_ip": zero_trust_gateway_ip_output, + "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, + "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, + "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, + "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, + "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, + "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, + "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, + "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, + "zero-trust-gateway_locations": zero_trust_gateway_locations_output, + "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response-3": zero_trust_gateway_single_response_3_output, + "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/locations/${pathParam(args, "location_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/logging/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/logging/outputs.ts new file mode 100644 index 00000000..68707704 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/logging/outputs.ts @@ -0,0 +1,85 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_account-log-options` in responses. + */ +export const zero_trust_gateway_account_log_options_output: JsonSchema = { + "properties": { + "log_all": { + "type": "boolean" + }, + "log_blocks": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_gateway-account-logging-settings` in + * responses. + */ +export const zero_trust_gateway_gateway_account_logging_settings_output: JsonSchema = { + "properties": { + "redact_pii": { + "type": "boolean" + }, + "settings_by_rule_type": { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings_settings_by_rule_type" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_gateway-account-logging-settings-response` + * in responses. + */ +export const zero_trust_gateway_gateway_account_logging_settings_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of + * `zero-trust-gateway_gateway-account-logging-settings_settings_by_rule_type` + * in responses. + */ +export const zero_trust_gateway_gateway_account_logging_settings_settings_by_rule_type_output: JsonSchema = { + "properties": { + "dns": { + "$ref": "#/$defs/zero-trust-gateway_account-log-options" + }, + "http": { + "$ref": "#/$defs/zero-trust-gateway_account-log-options" + }, + "l4": { + "$ref": "#/$defs/zero-trust-gateway_account-log-options" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts index 3e31c24d..ef207434 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, +} from "../../outputs.js"; +import { + zero_trust_gateway_account_log_options_output, + zero_trust_gateway_gateway_account_logging_settings_output, + zero_trust_gateway_gateway_account_logging_settings_response_output, + zero_trust_gateway_gateway_account_logging_settings_settings_by_rule_type_output, +} from "./outputs.js"; import { zero_trust_gateway_account_log_options, zero_trust_gateway_gateway_account_logging_settings, @@ -37,6 +47,31 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/logging", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings-response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_account-log-options": zero_trust_gateway_account_log_options_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_gateway-account-logging-settings": zero_trust_gateway_gateway_account_logging_settings_output, + "zero-trust-gateway_gateway-account-logging-settings-response": zero_trust_gateway_gateway_account_logging_settings_response_output, + "zero-trust-gateway_gateway-account-logging-settings_settings_by_rule_type": zero_trust_gateway_gateway_account_logging_settings_settings_by_rule_type_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/logging`, }), @@ -75,6 +110,31 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/gateway/logging", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings-response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_account-log-options": zero_trust_gateway_account_log_options_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_gateway-account-logging-settings": zero_trust_gateway_gateway_account_logging_settings_output, + "zero-trust-gateway_gateway-account-logging-settings-response": zero_trust_gateway_gateway_account_logging_settings_response_output, + "zero-trust-gateway_gateway-account-logging-settings_settings_by_rule_type": zero_trust_gateway_gateway_account_logging_settings_settings_by_rule_type_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/logging`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts new file mode 100644 index 00000000..6bb91ed9 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts @@ -0,0 +1,166 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_api-response-collection` in responses. + */ +export const zero_trust_gateway_api_response_collection_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_cf_account_id` in responses. + */ +export const zero_trust_gateway_cf_account_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_empty_response` in responses. + */ +export const zero_trust_gateway_empty_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "type": "object" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_gateway_account` in responses. + */ +export const zero_trust_gateway_gateway_account_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_gateway_account_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_gateway_account_result` in responses. + */ +export const zero_trust_gateway_gateway_account_result_output: JsonSchema = { + "properties": { + "gateway_tag": { + "$ref": "#/$defs/zero-trust-gateway_gateway_tag" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_cf_account_id" + }, + "provider_name": { + "$ref": "#/$defs/zero-trust-gateway_provider_name" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_gateway_tag` in responses. + */ +export const zero_trust_gateway_gateway_tag_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_provider_name` in responses. + */ +export const zero_trust_gateway_provider_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_result_info` in responses. + */ +export const zero_trust_gateway_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_timestamp` in responses. + */ +export const zero_trust_gateway_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_uuid-3` in responses. + */ +export const zero_trust_gateway_uuid_3_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts new file mode 100644 index 00000000..f4173382 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts @@ -0,0 +1,159 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_contents` in responses. + */ +export const zero_trust_gateway_contents_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_description-4` in responses. + */ +export const zero_trust_gateway_description_4_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_name-7` in responses. + */ +export const zero_trust_gateway_name_7_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_pacfile` in responses. + */ +export const zero_trust_gateway_pacfile_output: JsonSchema = { + "properties": { + "contents": { + "$ref": "#/$defs/zero-trust-gateway_contents" + }, + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description-4" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-7" + }, + "slug": { + "$ref": "#/$defs/zero-trust-gateway_slug" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "url": { + "$ref": "#/$defs/zero-trust-gateway_url" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_response_collection-10` in responses. + */ +export const zero_trust_gateway_response_collection_10_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description-4" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-7" + }, + "slug": { + "$ref": "#/$defs/zero-trust-gateway_slug" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "url": { + "$ref": "#/$defs/zero-trust-gateway_url" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "properties": { + "result_info": { + "properties": { + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_single_response-7` in responses. + */ +export const zero_trust_gateway_single_response_7_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_pacfile" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_slug` in responses. + */ +export const zero_trust_gateway_slug_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_url` in responses. + */ +export const zero_trust_gateway_url_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts index f6e6f57e..2f048706 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts @@ -2,6 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, + zero_trust_gateway_read_only_timestamp_output, +} from "../../outputs.js"; +import { + zero_trust_gateway_api_response_collection_output, + zero_trust_gateway_empty_response_output, + zero_trust_gateway_result_info_output, + zero_trust_gateway_uuid_3_output, +} from "../outputs.js"; +import { + zero_trust_gateway_contents_output, + zero_trust_gateway_description_4_output, + zero_trust_gateway_name_7_output, + zero_trust_gateway_pacfile_output, + zero_trust_gateway_response_collection_10_output, + zero_trust_gateway_single_response_7_output, + zero_trust_gateway_slug_output, + zero_trust_gateway_url_output, +} from "./outputs.js"; import { zero_trust_gateway_contents, zero_trust_gateway_description_4, @@ -73,6 +94,36 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_pacfile" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-7" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_contents": zero_trust_gateway_contents_output, + "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, + "zero-trust-gateway_pacfile": zero_trust_gateway_pacfile_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response-7": zero_trust_gateway_single_response_7_output, + "zero-trust-gateway_slug": zero_trust_gateway_slug_output, + "zero-trust-gateway_url": zero_trust_gateway_url_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/pacfiles`, body: { value: args["body"], mediaType: "application/json" }, @@ -112,6 +163,28 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_empty_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/pacfiles/${pathParam(args, "pacfile_id")}`, }), @@ -151,6 +224,36 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_pacfile" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-7" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_contents": zero_trust_gateway_contents_output, + "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, + "zero-trust-gateway_pacfile": zero_trust_gateway_pacfile_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response-7": zero_trust_gateway_single_response_7_output, + "zero-trust-gateway_slug": zero_trust_gateway_slug_output, + "zero-trust-gateway_url": zero_trust_gateway_url_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/pacfiles/${pathParam(args, "pacfile_id")}`, }), @@ -196,6 +299,78 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description-4" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-7" + }, + "slug": { + "$ref": "#/$defs/zero-trust-gateway_slug" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "url": { + "$ref": "#/$defs/zero-trust-gateway_url" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection-10" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_response_collection-10": zero_trust_gateway_response_collection_10_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_slug": zero_trust_gateway_slug_output, + "zero-trust-gateway_url": zero_trust_gateway_url_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/pacfiles`, query: [ @@ -266,6 +441,36 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_pacfile" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-7" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_contents": zero_trust_gateway_contents_output, + "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, + "zero-trust-gateway_pacfile": zero_trust_gateway_pacfile_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response-7": zero_trust_gateway_single_response_7_output, + "zero-trust-gateway_slug": zero_trust_gateway_slug_output, + "zero-trust-gateway_url": zero_trust_gateway_url_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/pacfiles/${pathParam(args, "pacfile_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts new file mode 100644 index 00000000..ded38aec --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts @@ -0,0 +1,177 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_ips` in responses. + */ +export const zero_trust_gateway_ips_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `zero-trust-gateway_name-6` in responses. + */ +export const zero_trust_gateway_name_6_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_proxy-endpoint-identity` in responses. + */ +export const zero_trust_gateway_proxy_endpoint_identity_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + }, + "kind": { + "enum": [ + "identity" + ], + "type": "string" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-6" + }, + "subdomain": { + "$ref": "#/$defs/zero-trust-gateway_subdomain-2" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_proxy-endpoint-ip` in responses. + */ +export const zero_trust_gateway_proxy_endpoint_ip_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + }, + "ips": { + "$ref": "#/$defs/zero-trust-gateway_ips" + }, + "kind": { + "enum": [ + "ip" + ], + "type": "string" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-6" + }, + "subdomain": { + "$ref": "#/$defs/zero-trust-gateway_subdomain-2" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + } + }, + "required": [ + "ips", + "name" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_proxy-endpoints` in responses. + */ +export const zero_trust_gateway_proxy_endpoints_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_proxy-endpoint-ip" + }, + { + "$ref": "#/$defs/zero-trust-gateway_proxy-endpoint-identity" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_response_collection-9` in responses. + */ +export const zero_trust_gateway_response_collection_9_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_proxy-endpoints" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_single_response-5` in responses. + */ +export const zero_trust_gateway_single_response_5_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_proxy-endpoints" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_subdomain-2` in responses. + */ +export const zero_trust_gateway_subdomain_2_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts index 06a1314d..dd50c7be 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, + zero_trust_gateway_read_only_timestamp_output, +} from "../../outputs.js"; +import { + zero_trust_gateway_empty_response_output, + zero_trust_gateway_result_info_output, + zero_trust_gateway_uuid_3_output, +} from "../outputs.js"; +import { + zero_trust_gateway_ips_output, + zero_trust_gateway_name_6_output, + zero_trust_gateway_proxy_endpoint_identity_output, + zero_trust_gateway_proxy_endpoint_ip_output, + zero_trust_gateway_proxy_endpoints_output, + zero_trust_gateway_response_collection_9_output, + zero_trust_gateway_single_response_5_output, + zero_trust_gateway_subdomain_2_output, +} from "./outputs.js"; import { zero_trust_gateway_ips, zero_trust_gateway_name_6, @@ -72,6 +92,36 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/gateway/proxy_endpoints", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_proxy-endpoints" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-5" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_ips": zero_trust_gateway_ips_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, + "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, + "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, + "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response-5": zero_trust_gateway_single_response_5_output, + "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/proxy_endpoints`, body: { value: args["body"], mediaType: "application/json" }, @@ -106,6 +156,28 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}", + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_empty_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/proxy_endpoints/${pathParam(args, "proxy_endpoint_id")}`, }), @@ -157,6 +229,36 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_proxy-endpoints" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-5" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_ips": zero_trust_gateway_ips_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, + "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, + "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, + "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response-5": zero_trust_gateway_single_response_5_output, + "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/proxy_endpoints/${pathParam(args, "proxy_endpoint_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -191,6 +293,36 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_proxy-endpoints" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-5" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_ips": zero_trust_gateway_ips_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, + "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, + "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, + "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_single_response-5": zero_trust_gateway_single_response_5_output, + "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/proxy_endpoints/${pathParam(args, "proxy_endpoint_id")}`, }), @@ -248,6 +380,51 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/proxy_endpoints", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_proxy-endpoints" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection-9" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_ips": zero_trust_gateway_ips_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, + "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, + "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, + "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_response_collection-9": zero_trust_gateway_response_collection_9_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, + "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/proxy_endpoints`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts new file mode 100644 index 00000000..9a69df2b --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts @@ -0,0 +1,979 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `zero-trust-gateway_action` in responses. + */ +export const zero_trust_gateway_action_output: JsonSchema = { + "enum": [ + "on", + "off", + "allow", + "block", + "scan", + "noscan", + "safesearch", + "ytrestricted", + "isolate", + "noisolate", + "override", + "l4_override", + "egress", + "resolve", + "quarantine", + "redirect" + ], + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_deleted_at` in responses. + */ +export const zero_trust_gateway_deleted_at_output: JsonSchema = { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_description-2` in responses. + */ +export const zero_trust_gateway_description_2_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_device_posture` in responses. + */ +export const zero_trust_gateway_device_posture_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_dns_resolver_settings_v4` in responses. + */ +export const zero_trust_gateway_dns_resolver_settings_v4_output: JsonSchema = { + "properties": { + "ip": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "route_through_private_network": { + "type": "boolean" + }, + "vnet_id": { + "type": "string" + } + }, + "required": [ + "ip" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_dns_resolver_settings_v6` in responses. + */ +export const zero_trust_gateway_dns_resolver_settings_v6_output: JsonSchema = { + "properties": { + "ip": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "route_through_private_network": { + "type": "boolean" + }, + "vnet_id": { + "type": "string" + } + }, + "required": [ + "ip" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_enabled` in responses. + */ +export const zero_trust_gateway_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `zero-trust-gateway_expiration` in responses. + */ +export const zero_trust_gateway_expiration_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "duration": { + "type": "integer" + }, + "expired": { + "type": "boolean" + }, + "expires_at": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_timestamp" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "expires_at" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_filters` in responses. + */ +export const zero_trust_gateway_filters_output: JsonSchema = { + "items": { + "enum": [ + "http", + "dns", + "l4", + "egress", + "dns_resolver" + ], + "type": "string" + }, + "maxItems": 1, + "minItems": 1, + "type": "array" +}; + +/** + * The schema of `zero-trust-gateway_identity` in responses. + */ +export const zero_trust_gateway_identity_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_name-3` in responses. + */ +export const zero_trust_gateway_name_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_precedence` in responses. + */ +export const zero_trust_gateway_precedence_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `zero-trust-gateway_read_only` in responses. + */ +export const zero_trust_gateway_read_only_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `zero-trust-gateway_response_collection-6` in responses. + */ +export const zero_trust_gateway_response_collection_6_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_rules" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_rule-settings` in responses. + */ +export const zero_trust_gateway_rule_settings_output: JsonSchema = { + "properties": { + "add_headers": { + "oneOf": [ + { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "allow_child_bypass": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "biso_admin_controls": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_biso_admin_controls" + }, + "block_page": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_block_page" + }, + "block_page_enabled": { + "type": "boolean" + }, + "block_reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "bypass_parent_rule": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "check_session": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_check_session" + }, + "delete_headers": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "dns_resolvers": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_dns_resolvers" + }, + "egress": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_egress" + }, + "forensic_copy": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_forensic_copy" + }, + "ignore_cname_category_matches": { + "type": "boolean" + }, + "insecure_disable_dnssec_validation": { + "type": "boolean" + }, + "ip_categories": { + "type": "boolean" + }, + "ip_indicator_feeds": { + "type": "boolean" + }, + "l4override": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_l4override" + }, + "notification_settings": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_notification_settings" + }, + "override_host": { + "type": "string" + }, + "override_ips": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "payload_log": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_payload_log" + }, + "quarantine": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_quarantine" + }, + "redirect": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_redirect" + }, + "resolve_dns_internally": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_resolve_dns_internally" + }, + "resolve_dns_through_cloudflare": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "set_headers": { + "oneOf": [ + { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + { + "type": "null" + } + ] + }, + "untrusted_cert": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings_untrusted_cert" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_biso_admin_controls` in + * responses. + */ +export const zero_trust_gateway_rule_settings_biso_admin_controls_output: JsonSchema = { + "properties": { + "copy": { + "enum": [ + "enabled", + "disabled", + "remote_only" + ], + "type": "string" + }, + "dcp": { + "type": "boolean" + }, + "dd": { + "type": "boolean" + }, + "dk": { + "type": "boolean" + }, + "download": { + "enum": [ + "enabled", + "disabled", + "remote_only" + ], + "type": "string" + }, + "dp": { + "type": "boolean" + }, + "du": { + "type": "boolean" + }, + "keyboard": { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" + }, + "paste": { + "enum": [ + "enabled", + "disabled", + "remote_only" + ], + "type": "string" + }, + "printing": { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" + }, + "upload": { + "enum": [ + "enabled", + "disabled" + ], + "type": "string" + }, + "version": { + "enum": [ + "v1", + "v2" + ], + "type": "string" + }, + "wm_id": { + "format": "uuid", + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_block_page` in responses. + */ +export const zero_trust_gateway_rule_settings_block_page_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "include_context": { + "type": "boolean" + }, + "target_uri": { + "type": "string" + } + }, + "required": [ + "target_uri" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_check_session` in responses. + */ +export const zero_trust_gateway_rule_settings_check_session_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "duration": { + "type": "string" + }, + "enforce": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_dns_resolvers` in responses. + */ +export const zero_trust_gateway_rule_settings_dns_resolvers_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "ipv4": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_dns_resolver_settings_v4" + }, + "type": "array" + }, + "ipv6": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_dns_resolver_settings_v6" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_egress` in responses. + */ +export const zero_trust_gateway_rule_settings_egress_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "ipv4": { + "type": "string" + }, + "ipv4_fallback": { + "type": "string" + }, + "ipv6": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_forensic_copy` in responses. + */ +export const zero_trust_gateway_rule_settings_forensic_copy_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_l4override` in responses. + */ +export const zero_trust_gateway_rule_settings_l4override_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "ip": { + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_notification_settings` in + * responses. + */ +export const zero_trust_gateway_rule_settings_notification_settings_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + }, + "include_context": { + "type": "boolean" + }, + "msg": { + "type": "string" + }, + "support_url": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_payload_log` in responses. + */ +export const zero_trust_gateway_rule_settings_payload_log_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_quarantine` in responses. + */ +export const zero_trust_gateway_rule_settings_quarantine_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "file_types": { + "items": { + "enum": [ + "exe", + "pdf", + "doc", + "docm", + "docx", + "rtf", + "ppt", + "pptx", + "xls", + "xlsm", + "xlsx", + "zip", + "rar" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_redirect` in responses. + */ +export const zero_trust_gateway_rule_settings_redirect_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "include_context": { + "type": "boolean" + }, + "preserve_path_and_query": { + "type": "boolean" + }, + "target_uri": { + "type": "string" + } + }, + "required": [ + "target_uri" + ], + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_resolve_dns_internally` in + * responses. + */ +export const zero_trust_gateway_rule_settings_resolve_dns_internally_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "fallback": { + "enum": [ + "none", + "public_dns" + ], + "type": "string" + }, + "view_id": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rule-settings_untrusted_cert` in responses. + */ +export const zero_trust_gateway_rule_settings_untrusted_cert_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "action": { + "enum": [ + "pass_through", + "block", + "error" + ], + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_rules` in responses. + */ +export const zero_trust_gateway_rules_output: JsonSchema = { + "properties": { + "action": { + "$ref": "#/$defs/zero-trust-gateway_action" + }, + "created_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "deleted_at": { + "$ref": "#/$defs/zero-trust-gateway_deleted_at" + }, + "description": { + "$ref": "#/$defs/zero-trust-gateway_description-2" + }, + "device_posture": { + "$ref": "#/$defs/zero-trust-gateway_device_posture" + }, + "enabled": { + "$ref": "#/$defs/zero-trust-gateway_enabled" + }, + "expiration": { + "$ref": "#/$defs/zero-trust-gateway_expiration" + }, + "filters": { + "$ref": "#/$defs/zero-trust-gateway_filters" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-4" + }, + "identity": { + "$ref": "#/$defs/zero-trust-gateway_identity" + }, + "name": { + "$ref": "#/$defs/zero-trust-gateway_name-3" + }, + "precedence": { + "$ref": "#/$defs/zero-trust-gateway_precedence" + }, + "read_only": { + "$ref": "#/$defs/zero-trust-gateway_read_only" + }, + "rule_settings": { + "$ref": "#/$defs/zero-trust-gateway_rule-settings" + }, + "schedule": { + "$ref": "#/$defs/zero-trust-gateway_schedule" + }, + "sharable": { + "$ref": "#/$defs/zero-trust-gateway_sharable" + }, + "source_account": { + "$ref": "#/$defs/zero-trust-gateway_source_account" + }, + "traffic": { + "$ref": "#/$defs/zero-trust-gateway_traffic" + }, + "updated_at": { + "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + }, + "version": { + "$ref": "#/$defs/zero-trust-gateway_version" + }, + "warning_status": { + "$ref": "#/$defs/zero-trust-gateway_warning_status" + } + }, + "required": [ + "action", + "enabled", + "filters", + "name", + "precedence", + "traffic" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_schedule` in responses. + */ +export const zero_trust_gateway_schedule_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "fri": { + "type": "string" + }, + "mon": { + "type": "string" + }, + "sat": { + "type": "string" + }, + "sun": { + "type": "string" + }, + "thu": { + "type": "string" + }, + "time_zone": { + "type": "string" + }, + "tue": { + "type": "string" + }, + "wed": { + "type": "string" + } + }, + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `zero-trust-gateway_sharable` in responses. + */ +export const zero_trust_gateway_sharable_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `zero-trust-gateway_single_response-4` in responses. + */ +export const zero_trust_gateway_single_response_4_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "$ref": "#/$defs/zero-trust-gateway_rules" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_source_account` in responses. + */ +export const zero_trust_gateway_source_account_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_traffic` in responses. + */ +export const zero_trust_gateway_traffic_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_uuid-4` in responses. + */ +export const zero_trust_gateway_uuid_4_output: JsonSchema = { + "format": "uuid", + "type": "string" +}; + +/** + * The schema of `zero-trust-gateway_version` in responses. + */ +export const zero_trust_gateway_version_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `zero-trust-gateway_warning_status` in responses. + */ +export const zero_trust_gateway_warning_status_output: JsonSchema = { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] +}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts index 039b169a..6f63233a 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts @@ -2,7 +2,56 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, + zero_trust_gateway_read_only_timestamp_output, +} from "../../outputs.js"; +import { + zero_trust_gateway_empty_response_output, + zero_trust_gateway_result_info_output, + zero_trust_gateway_timestamp_output, +} from "../outputs.js"; import { zero_trust_gateway_timestamp } from "../schemas.js"; +import { + zero_trust_gateway_action_output, + zero_trust_gateway_deleted_at_output, + zero_trust_gateway_description_2_output, + zero_trust_gateway_device_posture_output, + zero_trust_gateway_dns_resolver_settings_v4_output, + zero_trust_gateway_dns_resolver_settings_v6_output, + zero_trust_gateway_enabled_output, + zero_trust_gateway_expiration_output, + zero_trust_gateway_filters_output, + zero_trust_gateway_identity_output, + zero_trust_gateway_name_3_output, + zero_trust_gateway_precedence_output, + zero_trust_gateway_read_only_output, + zero_trust_gateway_response_collection_6_output, + zero_trust_gateway_rule_settings_biso_admin_controls_output, + zero_trust_gateway_rule_settings_block_page_output, + zero_trust_gateway_rule_settings_check_session_output, + zero_trust_gateway_rule_settings_dns_resolvers_output, + zero_trust_gateway_rule_settings_egress_output, + zero_trust_gateway_rule_settings_forensic_copy_output, + zero_trust_gateway_rule_settings_l4override_output, + zero_trust_gateway_rule_settings_notification_settings_output, + zero_trust_gateway_rule_settings_output, + zero_trust_gateway_rule_settings_payload_log_output, + zero_trust_gateway_rule_settings_quarantine_output, + zero_trust_gateway_rule_settings_redirect_output, + zero_trust_gateway_rule_settings_resolve_dns_internally_output, + zero_trust_gateway_rule_settings_untrusted_cert_output, + zero_trust_gateway_rules_output, + zero_trust_gateway_schedule_output, + zero_trust_gateway_sharable_output, + zero_trust_gateway_single_response_4_output, + zero_trust_gateway_source_account_output, + zero_trust_gateway_traffic_output, + zero_trust_gateway_uuid_4_output, + zero_trust_gateway_version_output, + zero_trust_gateway_warning_status_output, +} from "./outputs.js"; import { zero_trust_gateway_action, zero_trust_gateway_description_2, @@ -154,6 +203,65 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/gateway/rules", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_rules" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-4" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_action": zero_trust_gateway_action_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, + "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, + "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, + "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, + "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, + "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, + "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, + "zero-trust-gateway_filters": zero_trust_gateway_filters_output, + "zero-trust-gateway_identity": zero_trust_gateway_identity_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, + "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, + "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, + "zero-trust-gateway_rule-settings_biso_admin_controls": zero_trust_gateway_rule_settings_biso_admin_controls_output, + "zero-trust-gateway_rule-settings_block_page": zero_trust_gateway_rule_settings_block_page_output, + "zero-trust-gateway_rule-settings_check_session": zero_trust_gateway_rule_settings_check_session_output, + "zero-trust-gateway_rule-settings_dns_resolvers": zero_trust_gateway_rule_settings_dns_resolvers_output, + "zero-trust-gateway_rule-settings_egress": zero_trust_gateway_rule_settings_egress_output, + "zero-trust-gateway_rule-settings_forensic_copy": zero_trust_gateway_rule_settings_forensic_copy_output, + "zero-trust-gateway_rule-settings_l4override": zero_trust_gateway_rule_settings_l4override_output, + "zero-trust-gateway_rule-settings_notification_settings": zero_trust_gateway_rule_settings_notification_settings_output, + "zero-trust-gateway_rule-settings_payload_log": zero_trust_gateway_rule_settings_payload_log_output, + "zero-trust-gateway_rule-settings_quarantine": zero_trust_gateway_rule_settings_quarantine_output, + "zero-trust-gateway_rule-settings_redirect": zero_trust_gateway_rule_settings_redirect_output, + "zero-trust-gateway_rule-settings_resolve_dns_internally": zero_trust_gateway_rule_settings_resolve_dns_internally_output, + "zero-trust-gateway_rule-settings_untrusted_cert": zero_trust_gateway_rule_settings_untrusted_cert_output, + "zero-trust-gateway_rules": zero_trust_gateway_rules_output, + "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, + "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, + "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, + "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, + "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, + "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, + "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, + "zero-trust-gateway_version": zero_trust_gateway_version_output, + "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/rules`, body: { value: args["body"], mediaType: "application/json" }, @@ -189,6 +297,28 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/gateway/rules/{rule_id}", + responses: { + schemas: { + "200": { + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_empty_response" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/rules/${pathParam(args, "rule_id")}`, }), @@ -223,6 +353,65 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/rules/{rule_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_rules" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-4" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_action": zero_trust_gateway_action_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, + "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, + "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, + "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, + "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, + "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, + "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, + "zero-trust-gateway_filters": zero_trust_gateway_filters_output, + "zero-trust-gateway_identity": zero_trust_gateway_identity_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, + "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, + "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, + "zero-trust-gateway_rule-settings_biso_admin_controls": zero_trust_gateway_rule_settings_biso_admin_controls_output, + "zero-trust-gateway_rule-settings_block_page": zero_trust_gateway_rule_settings_block_page_output, + "zero-trust-gateway_rule-settings_check_session": zero_trust_gateway_rule_settings_check_session_output, + "zero-trust-gateway_rule-settings_dns_resolvers": zero_trust_gateway_rule_settings_dns_resolvers_output, + "zero-trust-gateway_rule-settings_egress": zero_trust_gateway_rule_settings_egress_output, + "zero-trust-gateway_rule-settings_forensic_copy": zero_trust_gateway_rule_settings_forensic_copy_output, + "zero-trust-gateway_rule-settings_l4override": zero_trust_gateway_rule_settings_l4override_output, + "zero-trust-gateway_rule-settings_notification_settings": zero_trust_gateway_rule_settings_notification_settings_output, + "zero-trust-gateway_rule-settings_payload_log": zero_trust_gateway_rule_settings_payload_log_output, + "zero-trust-gateway_rule-settings_quarantine": zero_trust_gateway_rule_settings_quarantine_output, + "zero-trust-gateway_rule-settings_redirect": zero_trust_gateway_rule_settings_redirect_output, + "zero-trust-gateway_rule-settings_resolve_dns_internally": zero_trust_gateway_rule_settings_resolve_dns_internally_output, + "zero-trust-gateway_rule-settings_untrusted_cert": zero_trust_gateway_rule_settings_untrusted_cert_output, + "zero-trust-gateway_rules": zero_trust_gateway_rules_output, + "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, + "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, + "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, + "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, + "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, + "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, + "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, + "zero-trust-gateway_version": zero_trust_gateway_version_output, + "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/rules/${pathParam(args, "rule_id")}`, }), @@ -281,6 +470,80 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/rules", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_rules" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection-6" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_action": zero_trust_gateway_action_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, + "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, + "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, + "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, + "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, + "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, + "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, + "zero-trust-gateway_filters": zero_trust_gateway_filters_output, + "zero-trust-gateway_identity": zero_trust_gateway_identity_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, + "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, + "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_response_collection-6": zero_trust_gateway_response_collection_6_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, + "zero-trust-gateway_rule-settings_biso_admin_controls": zero_trust_gateway_rule_settings_biso_admin_controls_output, + "zero-trust-gateway_rule-settings_block_page": zero_trust_gateway_rule_settings_block_page_output, + "zero-trust-gateway_rule-settings_check_session": zero_trust_gateway_rule_settings_check_session_output, + "zero-trust-gateway_rule-settings_dns_resolvers": zero_trust_gateway_rule_settings_dns_resolvers_output, + "zero-trust-gateway_rule-settings_egress": zero_trust_gateway_rule_settings_egress_output, + "zero-trust-gateway_rule-settings_forensic_copy": zero_trust_gateway_rule_settings_forensic_copy_output, + "zero-trust-gateway_rule-settings_l4override": zero_trust_gateway_rule_settings_l4override_output, + "zero-trust-gateway_rule-settings_notification_settings": zero_trust_gateway_rule_settings_notification_settings_output, + "zero-trust-gateway_rule-settings_payload_log": zero_trust_gateway_rule_settings_payload_log_output, + "zero-trust-gateway_rule-settings_quarantine": zero_trust_gateway_rule_settings_quarantine_output, + "zero-trust-gateway_rule-settings_redirect": zero_trust_gateway_rule_settings_redirect_output, + "zero-trust-gateway_rule-settings_resolve_dns_internally": zero_trust_gateway_rule_settings_resolve_dns_internally_output, + "zero-trust-gateway_rule-settings_untrusted_cert": zero_trust_gateway_rule_settings_untrusted_cert_output, + "zero-trust-gateway_rules": zero_trust_gateway_rules_output, + "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, + "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, + "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, + "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, + "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, + "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, + "zero-trust-gateway_version": zero_trust_gateway_version_output, + "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/rules`, query: [ @@ -316,6 +579,80 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/gateway/rules/tenant", + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zero-trust-gateway_rules" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zero-trust-gateway_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_response_collection-6" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_action": zero_trust_gateway_action_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, + "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, + "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, + "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, + "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, + "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, + "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, + "zero-trust-gateway_filters": zero_trust_gateway_filters_output, + "zero-trust-gateway_identity": zero_trust_gateway_identity_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, + "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, + "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_response_collection-6": zero_trust_gateway_response_collection_6_output, + "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, + "zero-trust-gateway_rule-settings_biso_admin_controls": zero_trust_gateway_rule_settings_biso_admin_controls_output, + "zero-trust-gateway_rule-settings_block_page": zero_trust_gateway_rule_settings_block_page_output, + "zero-trust-gateway_rule-settings_check_session": zero_trust_gateway_rule_settings_check_session_output, + "zero-trust-gateway_rule-settings_dns_resolvers": zero_trust_gateway_rule_settings_dns_resolvers_output, + "zero-trust-gateway_rule-settings_egress": zero_trust_gateway_rule_settings_egress_output, + "zero-trust-gateway_rule-settings_forensic_copy": zero_trust_gateway_rule_settings_forensic_copy_output, + "zero-trust-gateway_rule-settings_l4override": zero_trust_gateway_rule_settings_l4override_output, + "zero-trust-gateway_rule-settings_notification_settings": zero_trust_gateway_rule_settings_notification_settings_output, + "zero-trust-gateway_rule-settings_payload_log": zero_trust_gateway_rule_settings_payload_log_output, + "zero-trust-gateway_rule-settings_quarantine": zero_trust_gateway_rule_settings_quarantine_output, + "zero-trust-gateway_rule-settings_redirect": zero_trust_gateway_rule_settings_redirect_output, + "zero-trust-gateway_rule-settings_resolve_dns_internally": zero_trust_gateway_rule_settings_resolve_dns_internally_output, + "zero-trust-gateway_rule-settings_untrusted_cert": zero_trust_gateway_rule_settings_untrusted_cert_output, + "zero-trust-gateway_rules": zero_trust_gateway_rules_output, + "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, + "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, + "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, + "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, + "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, + "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, + "zero-trust-gateway_version": zero_trust_gateway_version_output, + "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/rules/tenant`, }), @@ -350,6 +687,65 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/gateway/rules/{rule_id}/reset_expiration", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_rules" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-4" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_action": zero_trust_gateway_action_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, + "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, + "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, + "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, + "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, + "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, + "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, + "zero-trust-gateway_filters": zero_trust_gateway_filters_output, + "zero-trust-gateway_identity": zero_trust_gateway_identity_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, + "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, + "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, + "zero-trust-gateway_rule-settings_biso_admin_controls": zero_trust_gateway_rule_settings_biso_admin_controls_output, + "zero-trust-gateway_rule-settings_block_page": zero_trust_gateway_rule_settings_block_page_output, + "zero-trust-gateway_rule-settings_check_session": zero_trust_gateway_rule_settings_check_session_output, + "zero-trust-gateway_rule-settings_dns_resolvers": zero_trust_gateway_rule_settings_dns_resolvers_output, + "zero-trust-gateway_rule-settings_egress": zero_trust_gateway_rule_settings_egress_output, + "zero-trust-gateway_rule-settings_forensic_copy": zero_trust_gateway_rule_settings_forensic_copy_output, + "zero-trust-gateway_rule-settings_l4override": zero_trust_gateway_rule_settings_l4override_output, + "zero-trust-gateway_rule-settings_notification_settings": zero_trust_gateway_rule_settings_notification_settings_output, + "zero-trust-gateway_rule-settings_payload_log": zero_trust_gateway_rule_settings_payload_log_output, + "zero-trust-gateway_rule-settings_quarantine": zero_trust_gateway_rule_settings_quarantine_output, + "zero-trust-gateway_rule-settings_redirect": zero_trust_gateway_rule_settings_redirect_output, + "zero-trust-gateway_rule-settings_resolve_dns_internally": zero_trust_gateway_rule_settings_resolve_dns_internally_output, + "zero-trust-gateway_rule-settings_untrusted_cert": zero_trust_gateway_rule_settings_untrusted_cert_output, + "zero-trust-gateway_rules": zero_trust_gateway_rules_output, + "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, + "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, + "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, + "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, + "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, + "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, + "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, + "zero-trust-gateway_version": zero_trust_gateway_version_output, + "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/rules/${pathParam(args, "rule_id")}/reset_expiration`, }), @@ -476,6 +872,65 @@ export const tools: readonly Tool[] = [ }, method: "PUT", path: "/accounts/{account_id}/gateway/rules/{rule_id}", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zero-trust-gateway_rules" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_single_response-4" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_action": zero_trust_gateway_action_output, + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, + "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, + "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, + "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, + "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, + "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, + "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, + "zero-trust-gateway_filters": zero_trust_gateway_filters_output, + "zero-trust-gateway_identity": zero_trust_gateway_identity_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, + "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, + "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, + "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, + "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, + "zero-trust-gateway_rule-settings_biso_admin_controls": zero_trust_gateway_rule_settings_biso_admin_controls_output, + "zero-trust-gateway_rule-settings_block_page": zero_trust_gateway_rule_settings_block_page_output, + "zero-trust-gateway_rule-settings_check_session": zero_trust_gateway_rule_settings_check_session_output, + "zero-trust-gateway_rule-settings_dns_resolvers": zero_trust_gateway_rule_settings_dns_resolvers_output, + "zero-trust-gateway_rule-settings_egress": zero_trust_gateway_rule_settings_egress_output, + "zero-trust-gateway_rule-settings_forensic_copy": zero_trust_gateway_rule_settings_forensic_copy_output, + "zero-trust-gateway_rule-settings_l4override": zero_trust_gateway_rule_settings_l4override_output, + "zero-trust-gateway_rule-settings_notification_settings": zero_trust_gateway_rule_settings_notification_settings_output, + "zero-trust-gateway_rule-settings_payload_log": zero_trust_gateway_rule_settings_payload_log_output, + "zero-trust-gateway_rule-settings_quarantine": zero_trust_gateway_rule_settings_quarantine_output, + "zero-trust-gateway_rule-settings_redirect": zero_trust_gateway_rule_settings_redirect_output, + "zero-trust-gateway_rule-settings_resolve_dns_internally": zero_trust_gateway_rule_settings_resolve_dns_internally_output, + "zero-trust-gateway_rule-settings_untrusted_cert": zero_trust_gateway_rule_settings_untrusted_cert_output, + "zero-trust-gateway_rules": zero_trust_gateway_rules_output, + "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, + "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, + "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, + "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, + "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, + "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, + "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, + "zero-trust-gateway_version": zero_trust_gateway_version_output, + "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/rules/${pathParam(args, "rule_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/tools.ts index c6527182..a9fb0c70 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + zero_trust_gateway_api_response_common_failure_output, + zero_trust_gateway_messages_output, +} from "../outputs.js"; +import { + zero_trust_gateway_cf_account_id_output, + zero_trust_gateway_gateway_account_output, + zero_trust_gateway_gateway_account_result_output, + zero_trust_gateway_gateway_tag_output, + zero_trust_gateway_provider_name_output, +} from "./outputs.js"; /** * The tools of `zero_trust.gateway`. @@ -37,6 +48,43 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "gateway_tag": { + "$ref": "#/$defs/zero-trust-gateway_gateway_tag" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_cf_account_id" + }, + "provider_name": { + "$ref": "#/$defs/zero-trust-gateway_provider_name" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway_account" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_cf_account_id": zero_trust_gateway_cf_account_id_output, + "zero-trust-gateway_gateway_account": zero_trust_gateway_gateway_account_output, + "zero-trust-gateway_gateway_account_result": zero_trust_gateway_gateway_account_result_output, + "zero-trust-gateway_gateway_tag": zero_trust_gateway_gateway_tag_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_provider_name": zero_trust_gateway_provider_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway`, }), @@ -72,6 +120,43 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "gateway_tag": { + "$ref": "#/$defs/zero-trust-gateway_gateway_tag" + }, + "id": { + "$ref": "#/$defs/zero-trust-gateway_cf_account_id" + }, + "provider_name": { + "$ref": "#/$defs/zero-trust-gateway_provider_name" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/zero-trust-gateway_gateway_account" + }, + { + "$ref": "#/$defs/zero-trust-gateway_api-response-common-failure" + } + ] + } + }, + $defs: { + "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, + "zero-trust-gateway_cf_account_id": zero_trust_gateway_cf_account_id_output, + "zero-trust-gateway_gateway_account": zero_trust_gateway_gateway_account_output, + "zero-trust-gateway_gateway_account_result": zero_trust_gateway_gateway_account_result_output, + "zero-trust-gateway_gateway_tag": zero_trust_gateway_gateway_tag_output, + "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_provider_name": zero_trust_gateway_provider_name_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway`, }), diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts new file mode 100644 index 00000000..93959ca8 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts @@ -0,0 +1,28 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_idp_federation_grant` in responses. + */ +export const access_idp_federation_grant_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "id": { + "$ref": "#/$defs/access_identifier" + }, + "idp_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "idp_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts index fb2bce00..8b52c375 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_created_at_output, + access_identifier_output, + access_messages_output, + access_timestamp_output, +} from "../../outputs.js"; +import { access_idp_federation_grant_output } from "./outputs.js"; import { access_idp_federation_grant_create_request } from "./schemas.js"; /** @@ -43,6 +51,24 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_idp_federation_grant" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_identifier": access_identifier_output, + "access_idp_federation_grant": access_idp_federation_grant_output, + "access_messages": access_messages_output, + "access_timestamp": access_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/idp_federation_grants`, body: { value: args["body"], mediaType: "application/json" }, @@ -78,6 +104,29 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/access/idp_federation_grants/{grant_id}", + responses: { + schemas: { + "202": { + "properties": { + "id": { + "$ref": "#/$defs/access_identifier" + } + }, + "type": "object" + }, + "404": { + "$ref": "#/$defs/access_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_identifier": access_identifier_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/idp_federation_grants/${pathParam(args, "grant_id")}`, }), @@ -115,6 +164,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_idp_federation_grant" + }, + "404": { + "$ref": "#/$defs/access_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_identifier": access_identifier_output, + "access_idp_federation_grant": access_idp_federation_grant_output, + "access_messages": access_messages_output, + "access_timestamp": access_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/idp_federation_grants/${pathParam(args, "grant_id")}`, }), @@ -147,6 +217,55 @@ export const tools: readonly Tool[] = [ extensions: { "x-stability": "beta" }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_idp_federation_grant" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_created_at": access_created_at_output, + "access_identifier": access_identifier_output, + "access_idp_federation_grant": access_idp_federation_grant_output, + "access_messages": access_messages_output, + "access_timestamp": access_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/idp_federation_grants`, }), diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts new file mode 100644 index 00000000..b1cb5593 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts @@ -0,0 +1,1406 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `access_azureAD` in responses. + */ +export const access_azureAD_output: JsonSchema = { + "properties": { + "config": { + "allOf": [ + { + "$ref": "#/$defs/access_generic-oauth-config" + }, + { + "$ref": "#/$defs/access_custom-claims-support" + }, + { + "properties": { + "conditional_access_enabled": { + "type": "boolean" + }, + "directory_id": { + "type": "string" + }, + "prompt": { + "enum": [ + "login", + "select_account", + "none" + ], + "type": "string" + }, + "support_groups": { + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_centrify` in responses. + */ +export const access_centrify_output: JsonSchema = { + "properties": { + "config": { + "allOf": [ + { + "$ref": "#/$defs/access_generic-oauth-config" + }, + { + "$ref": "#/$defs/access_custom-claims-support" + }, + { + "properties": { + "centrify_account": { + "type": "string" + }, + "centrify_app_id": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_cloudflare` in responses. + */ +export const access_cloudflare_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/access_cloudflare_config" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "cloudflare" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_cloudflare_config` in responses. + */ +export const access_cloudflare_config_output: JsonSchema = { + "properties": { + "redirect_url": { + "type": "string" + }, + "restrict_to_account_members": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `access_custom-claims-support` in responses. + */ +export const access_custom_claims_support_output: JsonSchema = { + "properties": { + "claims": { + "items": { + "type": "string" + }, + "type": "array" + }, + "email_claim_name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_duo` in responses. + */ +export const access_duo_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/access_duo_config" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "duo" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_duo_config` in responses. + */ +export const access_duo_config_output: JsonSchema = { + "properties": { + "client_id": { + "type": "string" + }, + "client_secret": { + "type": "string" + }, + "issuer_url": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_facebook` in responses. + */ +export const access_facebook_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/access_generic-oauth-config" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_generic-oauth-config` in responses. + */ +export const access_generic_oauth_config_output: JsonSchema = { + "properties": { + "client_id": { + "type": "string" + }, + "client_secret": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_github` in responses. + */ +export const access_github_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/access_generic-oauth-config" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_google` in responses. + */ +export const access_google_output: JsonSchema = { + "properties": { + "config": { + "allOf": [ + { + "$ref": "#/$defs/access_generic-oauth-config" + }, + { + "$ref": "#/$defs/access_custom-claims-support" + } + ] + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_google-apps` in responses. + */ +export const access_google_apps_output: JsonSchema = { + "properties": { + "config": { + "allOf": [ + { + "$ref": "#/$defs/access_generic-oauth-config" + }, + { + "$ref": "#/$defs/access_custom-claims-support" + }, + { + "properties": { + "apps_domain": { + "type": "string" + }, + "prompt": { + "enum": [ + "none", + "consent", + "select_account" + ], + "type": "string" + }, + "use_login_hint": { + "type": "boolean" + } + }, + "type": "object" + } + ] + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_identity-provider_scim_config` in responses. + */ +export const access_identity_provider_scim_config_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "identity_update_behavior": { + "enum": [ + "automatic", + "reauth", + "no_action" + ], + "type": "string" + }, + "scim_base_url": { + "type": "string" + }, + "seat_deprovision": { + "type": "boolean" + }, + "secret": { + "type": "string" + }, + "user_deprovision": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `access_identity-providers` in responses. + */ +export const access_identity_providers_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/access_azureAD" + }, + { + "$ref": "#/$defs/access_centrify" + }, + { + "$ref": "#/$defs/access_facebook" + }, + { + "$ref": "#/$defs/access_github" + }, + { + "$ref": "#/$defs/access_google" + }, + { + "$ref": "#/$defs/access_google-apps" + }, + { + "$ref": "#/$defs/access_linkedin" + }, + { + "$ref": "#/$defs/access_oidc" + }, + { + "$ref": "#/$defs/access_duo" + }, + { + "$ref": "#/$defs/access_okta" + }, + { + "$ref": "#/$defs/access_onelogin" + }, + { + "$ref": "#/$defs/access_pingone" + }, + { + "$ref": "#/$defs/access_saml" + }, + { + "$ref": "#/$defs/access_yandex" + }, + { + "$ref": "#/$defs/access_onetimepin" + }, + { + "$ref": "#/$defs/access_cloudflare" + }, + { + "$ref": "#/$defs/access_passkeys" + } + ] +}; + +/** + * The schema of `access_linkedin` in responses. + */ +export const access_linkedin_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/access_generic-oauth-config" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_name-3` in responses. + */ +export const access_name_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_oidc` in responses. + */ +export const access_oidc_output: JsonSchema = { + "properties": { + "config": { + "allOf": [ + { + "$ref": "#/$defs/access_generic-oauth-config" + }, + { + "$ref": "#/$defs/access_custom-claims-support" + }, + { + "properties": { + "auth_url": { + "type": "string" + }, + "certs_url": { + "type": "string" + }, + "pkce_enabled": { + "type": "boolean" + }, + "scopes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "token_url": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_okta` in responses. + */ +export const access_okta_output: JsonSchema = { + "properties": { + "config": { + "allOf": [ + { + "$ref": "#/$defs/access_generic-oauth-config" + }, + { + "$ref": "#/$defs/access_custom-claims-support" + }, + { + "properties": { + "authorization_server_id": { + "type": "string" + }, + "okta_account": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_onelogin` in responses. + */ +export const access_onelogin_output: JsonSchema = { + "properties": { + "config": { + "allOf": [ + { + "$ref": "#/$defs/access_generic-oauth-config" + }, + { + "$ref": "#/$defs/access_custom-claims-support" + }, + { + "properties": { + "onelogin_account": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_onetimepin` in responses. + */ +export const access_onetimepin_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/access_onetimepin_config" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_onetimepin_config` in responses. + */ +export const access_onetimepin_config_output: JsonSchema = { + "properties": { + "redirect_url": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_passkeys` in responses. + */ +export const access_passkeys_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/access_passkeys_config" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_passkeys_config` in responses. + */ +export const access_passkeys_config_output: JsonSchema = { + "properties": { + "login_page_auto_prompt": { + "type": "boolean" + }, + "redirect_url": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_pingone` in responses. + */ +export const access_pingone_output: JsonSchema = { + "properties": { + "config": { + "allOf": [ + { + "$ref": "#/$defs/access_generic-oauth-config" + }, + { + "$ref": "#/$defs/access_custom-claims-support" + }, + { + "properties": { + "ping_env_id": { + "type": "string" + } + }, + "type": "object" + } + ] + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_saml` in responses. + */ +export const access_saml_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/access_saml_config" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; + +/** + * The schema of `access_saml_certificate` in responses. + */ +export const access_saml_certificate_output: JsonSchema = { + "properties": { + "is_current": { + "type": "boolean" + }, + "not_after": { + "format": "date-time", + "type": "string" + }, + "public_certificate": { + "type": "string" + }, + "uid": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "is_current", + "not_after", + "public_certificate", + "uid" + ], + "type": "object" +}; + +/** + * The schema of `access_saml_certificate_set` in responses. + */ +export const access_saml_certificate_set_output: JsonSchema = { + "properties": { + "created_at": { + "format": "date-time", + "type": "string" + }, + "current_certificate": { + "$ref": "#/$defs/access_saml_certificate" + }, + "previous_certificate": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "uid": { + "format": "uuid", + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "created_at", + "uid", + "updated_at" + ], + "type": "object" +}; + +/** + * The schema of `access_saml_config` in responses. + */ +export const access_saml_config_output: JsonSchema = { + "properties": { + "attributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "email_attribute_name": { + "type": "string" + }, + "enable_encryption": { + "type": "boolean" + }, + "force_authn": { + "type": "boolean" + }, + "header_attributes": { + "items": { + "$ref": "#/$defs/access_saml_config_header_attributesItem" + }, + "type": "array" + }, + "idp_public_certs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "issuer_url": { + "type": "string" + }, + "max_sso_url_length": { + "type": "integer" + }, + "sign_request": { + "type": "boolean" + }, + "sso_target_url": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_saml_config_header_attributesItem` in responses. + */ +export const access_saml_config_header_attributesItem_output: JsonSchema = { + "properties": { + "attribute_name": { + "type": "string" + }, + "header_name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_yandex` in responses. + */ +export const access_yandex_output: JsonSchema = { + "properties": { + "config": { + "$ref": "#/$defs/access_generic-oauth-config" + }, + "id": { + "$ref": "#/$defs/access_uuid" + }, + "name": { + "$ref": "#/$defs/access_name-3" + }, + "read_only": { + "type": "boolean" + }, + "saml_certificate_set": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "saml_certificate_set_id": { + "format": "uuid", + "type": "string" + }, + "scim_config": { + "$ref": "#/$defs/access_identity-provider_scim_config" + }, + "type": { + "enum": [ + "onetimepin", + "azureAD", + "saml", + "centrify", + "facebook", + "github", + "google-apps", + "google", + "linkedin", + "oidc", + "duo", + "okta", + "onelogin", + "pingone", + "yandex", + "cloudflare", + "passkeys" + ], + "type": "string" + } + }, + "required": [ + "config", + "name", + "type" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts index 60cd9cdc..062fcb0a 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../outputs.js"; +import { + access_saml_certificate_output, + access_saml_certificate_set_output, +} from "../outputs.js"; /** * The tools of `zero_trust.identity_providers.saml_certificate`. @@ -37,6 +45,31 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/access/identity_providers/{identity_provider_id}/saml_certificate", + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "201": { + "$ref": "#/$defs/access_saml_certificate_set" + }, + "403": { + "$ref": "#/$defs/access_api-response-common-failure" + }, + "404": { + "$ref": "#/$defs/access_api-response-common-failure" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_saml_certificate": access_saml_certificate_output, + "access_saml_certificate_set": access_saml_certificate_set_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}/saml_certificate`, }), diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts new file mode 100644 index 00000000..49ab3346 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts @@ -0,0 +1,99 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_externalId` in responses. + */ +export const access_externalId_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_group_details` in responses. + */ +export const access_group_details_output: JsonSchema = { + "properties": { + "displayName": { + "type": "string" + }, + "externalId": { + "$ref": "#/$defs/access_externalId" + }, + "id": { + "$ref": "#/$defs/access_id" + }, + "members": { + "items": { + "$ref": "#/$defs/access_group_details_membersItem" + }, + "type": "array" + }, + "meta": { + "$ref": "#/$defs/access_meta" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `access_group_details_membersItem` in responses. + */ +export const access_group_details_membersItem_output: JsonSchema = { + "properties": { + "$ref": { + "type": "string" + }, + "display": { + "type": "string" + }, + "type": { + "enum": [ + "User", + "Group" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" +}; + +/** + * The schema of `access_groups` in responses. + */ +export const access_groups_output: JsonSchema = { + "properties": { + "displayName": { + "type": "string" + }, + "externalId": { + "$ref": "#/$defs/access_externalId" + }, + "id": { + "$ref": "#/$defs/access_id" + }, + "meta": { + "$ref": "#/$defs/access_meta" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts index 9d9a2657..92a634f1 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; +import { access_id_output, access_meta_output } from "../outputs.js"; +import { + access_externalId_output, + access_group_details_membersItem_output, + access_group_details_output, + access_groups_output, +} from "./outputs.js"; import { access_cf_resource_id, access_idp_resource_id, @@ -52,6 +63,18 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}/scim/groups/${pathParam(args, "group_id")}`, }), @@ -97,6 +120,25 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_group_details" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_externalId": access_externalId_output, + "access_group_details": access_group_details_output, + "access_group_details_membersItem": access_group_details_membersItem_output, + "access_id": access_id_output, + "access_messages": access_messages_output, + "access_meta": access_meta_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}/scim/groups/${pathParam(args, "group_id")}`, }), @@ -164,6 +206,55 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_groups" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_externalId": access_externalId_output, + "access_groups": access_groups_output, + "access_id": access_id_output, + "access_messages": access_messages_output, + "access_meta": access_meta_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}/scim/groups`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts new file mode 100644 index 00000000..6fa77cd1 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts @@ -0,0 +1,28 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_id` in responses. + */ +export const access_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_meta` in responses. + */ +export const access_meta_output: JsonSchema = { + "properties": { + "created": { + "format": "date-time", + "type": "string" + }, + "lastModified": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts new file mode 100644 index 00000000..00d3e3e6 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts @@ -0,0 +1,58 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of `access_users` in responses. + */ +export const access_users_output: JsonSchema = { + "properties": { + "active": { + "type": "boolean" + }, + "displayName": { + "type": "string" + }, + "emails": { + "items": { + "$ref": "#/$defs/access_users_emailsItem" + }, + "type": "array" + }, + "externalId": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/access_id" + }, + "meta": { + "$ref": "#/$defs/access_meta" + }, + "schemas": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" +}; + +/** + * The schema of `access_users_emailsItem` in responses. + */ +export const access_users_emailsItem_output: JsonSchema = { + "properties": { + "primary": { + "type": "boolean" + }, + "type": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts index cc304268..a13a0107 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts @@ -2,6 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; +import { access_id_output, access_meta_output } from "../outputs.js"; +import { + access_users_emailsItem_output, + access_users_output, +} from "./outputs.js"; import { access_cf_resource_id_2, access_email, @@ -54,6 +63,18 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "204": null, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}/scim/users/${pathParam(args, "user_id")}`, }), @@ -99,6 +120,24 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_users" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_id": access_id_output, + "access_messages": access_messages_output, + "access_meta": access_meta_output, + "access_users": access_users_output, + "access_users_emailsItem": access_users_emailsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}/scim/users/${pathParam(args, "user_id")}`, }), @@ -176,6 +215,55 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_users" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_id": access_id_output, + "access_messages": access_messages_output, + "access_meta": access_meta_output, + "access_users": access_users_output, + "access_users_emailsItem": access_users_emailsItem_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}/scim/users`, query: [ diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts index 66908fc5..70c248a0 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts @@ -2,7 +2,44 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, + access_uuid_output, +} from "../outputs.js"; import { access_uuid } from "../schemas.js"; +import { + access_azureAD_output, + access_centrify_output, + access_cloudflare_config_output, + access_cloudflare_output, + access_custom_claims_support_output, + access_duo_config_output, + access_duo_output, + access_facebook_output, + access_generic_oauth_config_output, + access_github_output, + access_google_apps_output, + access_google_output, + access_identity_provider_scim_config_output, + access_identity_providers_output, + access_linkedin_output, + access_name_3_output, + access_oidc_output, + access_okta_output, + access_onelogin_output, + access_onetimepin_config_output, + access_onetimepin_output, + access_passkeys_config_output, + access_passkeys_output, + access_pingone_output, + access_saml_certificate_output, + access_saml_certificate_set_output, + access_saml_config_header_attributesItem_output, + access_saml_config_output, + access_saml_output, + access_yandex_output, +} from "./outputs.js"; import { access_azureAD, access_centrify, @@ -112,6 +149,51 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_identity-providers" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_azureAD": access_azureAD_output, + "access_centrify": access_centrify_output, + "access_cloudflare": access_cloudflare_output, + "access_cloudflare_config": access_cloudflare_config_output, + "access_custom-claims-support": access_custom_claims_support_output, + "access_duo": access_duo_output, + "access_duo_config": access_duo_config_output, + "access_facebook": access_facebook_output, + "access_generic-oauth-config": access_generic_oauth_config_output, + "access_github": access_github_output, + "access_google": access_google_output, + "access_google-apps": access_google_apps_output, + "access_identity-provider_scim_config": access_identity_provider_scim_config_output, + "access_identity-providers": access_identity_providers_output, + "access_linkedin": access_linkedin_output, + "access_messages": access_messages_output, + "access_name-3": access_name_3_output, + "access_oidc": access_oidc_output, + "access_okta": access_okta_output, + "access_onelogin": access_onelogin_output, + "access_onetimepin": access_onetimepin_output, + "access_onetimepin_config": access_onetimepin_config_output, + "access_passkeys": access_passkeys_output, + "access_passkeys_config": access_passkeys_config_output, + "access_pingone": access_pingone_output, + "access_saml": access_saml_output, + "access_saml_certificate": access_saml_certificate_output, + "access_saml_certificate_set": access_saml_certificate_set_output, + "access_saml_config": access_saml_config_output, + "access_saml_config_header_attributesItem": access_saml_config_header_attributesItem_output, + "access_uuid": access_uuid_output, + "access_yandex": access_yandex_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/identity_providers`, body: { value: args["body"], mediaType: "application/json" }, @@ -161,6 +243,26 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "202": { + "properties": { + "id": { + "$ref": "#/$defs/access_uuid" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + "access_uuid": access_uuid_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}`, }), @@ -210,6 +312,51 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_identity-providers" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_azureAD": access_azureAD_output, + "access_centrify": access_centrify_output, + "access_cloudflare": access_cloudflare_output, + "access_cloudflare_config": access_cloudflare_config_output, + "access_custom-claims-support": access_custom_claims_support_output, + "access_duo": access_duo_output, + "access_duo_config": access_duo_config_output, + "access_facebook": access_facebook_output, + "access_generic-oauth-config": access_generic_oauth_config_output, + "access_github": access_github_output, + "access_google": access_google_output, + "access_google-apps": access_google_apps_output, + "access_identity-provider_scim_config": access_identity_provider_scim_config_output, + "access_identity-providers": access_identity_providers_output, + "access_linkedin": access_linkedin_output, + "access_messages": access_messages_output, + "access_name-3": access_name_3_output, + "access_oidc": access_oidc_output, + "access_okta": access_okta_output, + "access_onelogin": access_onelogin_output, + "access_onetimepin": access_onetimepin_output, + "access_onetimepin_config": access_onetimepin_config_output, + "access_passkeys": access_passkeys_output, + "access_passkeys_config": access_passkeys_config_output, + "access_pingone": access_pingone_output, + "access_saml": access_saml_output, + "access_saml_certificate": access_saml_certificate_output, + "access_saml_certificate_set": access_saml_certificate_set_output, + "access_saml_config": access_saml_config_output, + "access_saml_config_header_attributesItem": access_saml_config_header_attributesItem_output, + "access_uuid": access_uuid_output, + "access_yandex": access_yandex_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}`, }), @@ -268,6 +415,133 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "anyOf": [ + { + "$ref": "#/$defs/access_azureAD" + }, + { + "$ref": "#/$defs/access_centrify" + }, + { + "$ref": "#/$defs/access_facebook" + }, + { + "$ref": "#/$defs/access_github" + }, + { + "$ref": "#/$defs/access_google" + }, + { + "$ref": "#/$defs/access_google-apps" + }, + { + "$ref": "#/$defs/access_linkedin" + }, + { + "$ref": "#/$defs/access_oidc" + }, + { + "$ref": "#/$defs/access_duo" + }, + { + "$ref": "#/$defs/access_okta" + }, + { + "$ref": "#/$defs/access_onelogin" + }, + { + "$ref": "#/$defs/access_pingone" + }, + { + "$ref": "#/$defs/access_saml" + }, + { + "$ref": "#/$defs/access_yandex" + }, + { + "$ref": "#/$defs/access_onetimepin" + }, + { + "$ref": "#/$defs/access_cloudflare" + }, + { + "$ref": "#/$defs/access_passkeys" + } + ] + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_azureAD": access_azureAD_output, + "access_centrify": access_centrify_output, + "access_cloudflare": access_cloudflare_output, + "access_cloudflare_config": access_cloudflare_config_output, + "access_custom-claims-support": access_custom_claims_support_output, + "access_duo": access_duo_output, + "access_duo_config": access_duo_config_output, + "access_facebook": access_facebook_output, + "access_generic-oauth-config": access_generic_oauth_config_output, + "access_github": access_github_output, + "access_google": access_google_output, + "access_google-apps": access_google_apps_output, + "access_identity-provider_scim_config": access_identity_provider_scim_config_output, + "access_linkedin": access_linkedin_output, + "access_messages": access_messages_output, + "access_name-3": access_name_3_output, + "access_oidc": access_oidc_output, + "access_okta": access_okta_output, + "access_onelogin": access_onelogin_output, + "access_onetimepin": access_onetimepin_output, + "access_onetimepin_config": access_onetimepin_config_output, + "access_passkeys": access_passkeys_output, + "access_passkeys_config": access_passkeys_config_output, + "access_pingone": access_pingone_output, + "access_saml": access_saml_output, + "access_saml_certificate": access_saml_certificate_output, + "access_saml_certificate_set": access_saml_certificate_set_output, + "access_saml_config": access_saml_config_output, + "access_saml_config_header_attributesItem": access_saml_config_header_attributesItem_output, + "access_uuid": access_uuid_output, + "access_yandex": access_yandex_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/identity_providers`, query: [ @@ -356,6 +630,51 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_identity-providers" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_azureAD": access_azureAD_output, + "access_centrify": access_centrify_output, + "access_cloudflare": access_cloudflare_output, + "access_cloudflare_config": access_cloudflare_config_output, + "access_custom-claims-support": access_custom_claims_support_output, + "access_duo": access_duo_output, + "access_duo_config": access_duo_config_output, + "access_facebook": access_facebook_output, + "access_generic-oauth-config": access_generic_oauth_config_output, + "access_github": access_github_output, + "access_google": access_google_output, + "access_google-apps": access_google_apps_output, + "access_identity-provider_scim_config": access_identity_provider_scim_config_output, + "access_identity-providers": access_identity_providers_output, + "access_linkedin": access_linkedin_output, + "access_messages": access_messages_output, + "access_name-3": access_name_3_output, + "access_oidc": access_oidc_output, + "access_okta": access_okta_output, + "access_onelogin": access_onelogin_output, + "access_onetimepin": access_onetimepin_output, + "access_onetimepin_config": access_onetimepin_config_output, + "access_passkeys": access_passkeys_output, + "access_passkeys_config": access_passkeys_config_output, + "access_pingone": access_pingone_output, + "access_saml": access_saml_output, + "access_saml_certificate": access_saml_certificate_output, + "access_saml_certificate_set": access_saml_certificate_set_output, + "access_saml_config": access_saml_config_output, + "access_saml_config_header_attributesItem": access_saml_config_header_attributesItem_output, + "access_uuid": access_uuid_output, + "access_yandex": access_yandex_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts b/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts new file mode 100644 index 00000000..0c614c4a --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts @@ -0,0 +1,11 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `access_doh_jwt_duration` in responses. + */ +export const access_doh_jwt_duration_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts b/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts index 42b208f1..bd3d130e 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../outputs.js"; +import { access_doh_jwt_duration_output } from "./outputs.js"; import { access_doh_jwt_duration } from "./schemas.js"; /** @@ -40,6 +45,25 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "doh_jwt_duration": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/organizations/doh`, }), @@ -90,6 +114,26 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "201": { + "properties": { + "doh_jwt_duration": { + "$ref": "#/$defs/access_doh_jwt_duration" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_doh_jwt_duration": access_doh_jwt_duration_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/organizations/doh`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/organization/outputs.ts b/src/generated/forge-mcp/zeroTrust/organization/outputs.ts new file mode 100644 index 00000000..74dc786e --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/organization/outputs.ts @@ -0,0 +1,339 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `access_allow_authenticate_via_warp` in responses. + */ +export const access_allow_authenticate_via_warp_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_auth_domain` in responses. + */ +export const access_auth_domain_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_auto_redirect_to_identity` in responses. + */ +export const access_auto_redirect_to_identity_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_custom_pages` in responses. + */ +export const access_custom_pages_output: JsonSchema = { + "properties": { + "forbidden": { + "type": "string" + }, + "identity_denied": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_deny_unmatched_requests` in responses. + */ +export const access_deny_unmatched_requests_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_deny_unmatched_requests_exempted_zone_names` in + * responses. + */ +export const access_deny_unmatched_requests_exempted_zone_names_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `access_disable_end_user_app_creation` in responses. + */ +export const access_disable_end_user_app_creation_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_is_ui_read_only` in responses. + */ +export const access_is_ui_read_only_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_login_design` in responses. + */ +export const access_login_design_output: JsonSchema = { + "properties": { + "background_color": { + "type": "string" + }, + "footer_text": { + "type": "string" + }, + "header_text": { + "type": "string" + }, + "logo_path": { + "type": "string" + }, + "text_color": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_mfa_piv_key_requirements` in responses. + */ +export const access_mfa_piv_key_requirements_output: JsonSchema = { + "properties": { + "pin_policy": { + "enum": [ + "never", + "once", + "always" + ], + "type": "string" + }, + "require_fips_device": { + "type": "boolean" + }, + "ssh_key_size": { + "items": { + "enum": [ + 256, + 384, + 521, + 2048, + 3072, + 4096 + ], + "type": "integer" + }, + "type": "array" + }, + "ssh_key_type": { + "items": { + "enum": [ + "ecdsa", + "ed25519", + "rsa" + ], + "type": "string" + }, + "type": "array" + }, + "touch_policy": { + "enum": [ + "never", + "always", + "cached" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_mfa_required_for_all_apps` in responses. + */ +export const access_mfa_required_for_all_apps_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_name` in responses. + */ +export const access_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_org_mfa_config` in responses. + */ +export const access_org_mfa_config_output: JsonSchema = { + "properties": { + "allowed_authenticators": { + "items": { + "enum": [ + "totp", + "biometrics", + "security_key", + "piv_key", + "ssh_fido2_key" + ], + "type": "string" + }, + "type": "array" + }, + "amr_matching_session_duration": { + "type": "string" + }, + "required_aaguids": { + "format": "uuid", + "type": "string" + }, + "session_duration": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `access_organizations` in responses. + */ +export const access_organizations_output: JsonSchema = { + "properties": { + "allow_authenticate_via_warp": { + "$ref": "#/$defs/access_allow_authenticate_via_warp" + }, + "auth_domain": { + "$ref": "#/$defs/access_auth_domain" + }, + "auto_redirect_to_identity": { + "$ref": "#/$defs/access_auto_redirect_to_identity" + }, + "created_at": { + "$ref": "#/$defs/access_created_at" + }, + "custom_pages": { + "$ref": "#/$defs/access_custom_pages" + }, + "deny_unmatched_requests": { + "$ref": "#/$defs/access_deny_unmatched_requests" + }, + "deny_unmatched_requests_exempted_zone_names": { + "$ref": "#/$defs/access_deny_unmatched_requests_exempted_zone_names" + }, + "disable_end_user_app_creation": { + "$ref": "#/$defs/access_disable_end_user_app_creation" + }, + "is_ui_read_only": { + "$ref": "#/$defs/access_is_ui_read_only" + }, + "login_design": { + "$ref": "#/$defs/access_login_design" + }, + "mfa_config": { + "$ref": "#/$defs/access_org_mfa_config" + }, + "mfa_piv_key_requirements": { + "$ref": "#/$defs/access_mfa_piv_key_requirements" + }, + "mfa_required_for_all_apps": { + "$ref": "#/$defs/access_mfa_required_for_all_apps" + }, + "name": { + "$ref": "#/$defs/access_name" + }, + "service_token_inactivity": { + "$ref": "#/$defs/access_service_token_inactivity" + }, + "session_duration": { + "$ref": "#/$defs/access_session_duration" + }, + "strict_service_token_auth": { + "$ref": "#/$defs/access_strict_service_token_auth" + }, + "ui_read_only_toggle_reason": { + "$ref": "#/$defs/access_ui_read_only_toggle_reason" + }, + "updated_at": { + "$ref": "#/$defs/access_updated_at" + }, + "user_seat_expiration_inactive_time": { + "$ref": "#/$defs/access_user_seat_expiration_inactive_time" + }, + "warp_auth_non_browser_401": { + "$ref": "#/$defs/access_warp_auth_non_browser_401" + }, + "warp_auth_session_duration": { + "$ref": "#/$defs/access_warp_auth_session_duration" + } + }, + "type": "object" +}; + +/** + * The schema of `access_service_token_inactivity` in responses. + */ +export const access_service_token_inactivity_output: JsonSchema = { + "properties": { + "action": { + "enum": [ + "disable", + "delete" + ], + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "inactivity_threshold_days": { + "type": "integer" + } + }, + "required": [ + "action", + "enabled", + "inactivity_threshold_days" + ], + "type": "object" +}; + +/** + * The schema of `access_session_duration` in responses. + */ +export const access_session_duration_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_strict_service_token_auth` in responses. + */ +export const access_strict_service_token_auth_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_ui_read_only_toggle_reason` in responses. + */ +export const access_ui_read_only_toggle_reason_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_user_seat_expiration_inactive_time` in responses. + */ +export const access_user_seat_expiration_inactive_time_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_warp_auth_non_browser_401` in responses. + */ +export const access_warp_auth_non_browser_401_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_warp_auth_session_duration` in responses. + */ +export const access_warp_auth_session_duration_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/organization/tools.ts b/src/generated/forge-mcp/zeroTrust/organization/tools.ts index eb528e4e..827e238e 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/tools.ts @@ -2,6 +2,36 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_created_at_output, + access_messages_output, + access_timestamp_output, + access_updated_at_output, +} from "../outputs.js"; +import { + access_allow_authenticate_via_warp_output, + access_auth_domain_output, + access_auto_redirect_to_identity_output, + access_custom_pages_output, + access_deny_unmatched_requests_exempted_zone_names_output, + access_deny_unmatched_requests_output, + access_disable_end_user_app_creation_output, + access_is_ui_read_only_output, + access_login_design_output, + access_mfa_piv_key_requirements_output, + access_mfa_required_for_all_apps_output, + access_name_output, + access_org_mfa_config_output, + access_organizations_output, + access_service_token_inactivity_output, + access_session_duration_output, + access_strict_service_token_auth_output, + access_ui_read_only_toggle_reason_output, + access_user_seat_expiration_inactive_time_output, + access_warp_auth_non_browser_401_output, + access_warp_auth_session_duration_output, +} from "./outputs.js"; import { access_allow_authenticate_via_warp, access_auth_domain, @@ -176,6 +206,44 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/access_organizations" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_auth_domain": access_auth_domain_output, + "access_auto_redirect_to_identity": access_auto_redirect_to_identity_output, + "access_created_at": access_created_at_output, + "access_custom_pages": access_custom_pages_output, + "access_deny_unmatched_requests": access_deny_unmatched_requests_output, + "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names_output, + "access_disable_end_user_app_creation": access_disable_end_user_app_creation_output, + "access_is_ui_read_only": access_is_ui_read_only_output, + "access_login_design": access_login_design_output, + "access_messages": access_messages_output, + "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements_output, + "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps_output, + "access_name": access_name_output, + "access_org_mfa_config": access_org_mfa_config_output, + "access_organizations": access_organizations_output, + "access_service_token_inactivity": access_service_token_inactivity_output, + "access_session_duration": access_session_duration_output, + "access_strict_service_token_auth": access_strict_service_token_auth_output, + "access_timestamp": access_timestamp_output, + "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason_output, + "access_updated_at": access_updated_at_output, + "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time_output, + "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401_output, + "access_warp_auth_session_duration": access_warp_auth_session_duration_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/organizations`, body: { value: args["body"], mediaType: "application/json" }, @@ -222,6 +290,59 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Read" ] }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/access_organizations" + }, + { + "properties": { + "trusted_accounts": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_auth_domain": access_auth_domain_output, + "access_auto_redirect_to_identity": access_auto_redirect_to_identity_output, + "access_created_at": access_created_at_output, + "access_custom_pages": access_custom_pages_output, + "access_deny_unmatched_requests": access_deny_unmatched_requests_output, + "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names_output, + "access_disable_end_user_app_creation": access_disable_end_user_app_creation_output, + "access_is_ui_read_only": access_is_ui_read_only_output, + "access_login_design": access_login_design_output, + "access_messages": access_messages_output, + "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements_output, + "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps_output, + "access_name": access_name_output, + "access_org_mfa_config": access_org_mfa_config_output, + "access_organizations": access_organizations_output, + "access_service_token_inactivity": access_service_token_inactivity_output, + "access_session_duration": access_session_duration_output, + "access_strict_service_token_auth": access_strict_service_token_auth_output, + "access_timestamp": access_timestamp_output, + "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason_output, + "access_updated_at": access_updated_at_output, + "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time_output, + "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401_output, + "access_warp_auth_session_duration": access_warp_auth_session_duration_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/organizations`, }), @@ -377,6 +498,44 @@ export const tools: readonly Tool[] = [ "Access: Organizations, Identity Providers, and Groups Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/access_organizations" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_auth_domain": access_auth_domain_output, + "access_auto_redirect_to_identity": access_auto_redirect_to_identity_output, + "access_created_at": access_created_at_output, + "access_custom_pages": access_custom_pages_output, + "access_deny_unmatched_requests": access_deny_unmatched_requests_output, + "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names_output, + "access_disable_end_user_app_creation": access_disable_end_user_app_creation_output, + "access_is_ui_read_only": access_is_ui_read_only_output, + "access_login_design": access_login_design_output, + "access_messages": access_messages_output, + "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements_output, + "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps_output, + "access_name": access_name_output, + "access_org_mfa_config": access_org_mfa_config_output, + "access_organizations": access_organizations_output, + "access_service_token_inactivity": access_service_token_inactivity_output, + "access_session_duration": access_session_duration_output, + "access_strict_service_token_auth": access_strict_service_token_auth_output, + "access_timestamp": access_timestamp_output, + "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason_output, + "access_updated_at": access_updated_at_output, + "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time_output, + "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401_output, + "access_warp_auth_session_duration": access_warp_auth_session_duration_output, + }, + }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/organizations`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/outputs.ts b/src/generated/forge-mcp/zeroTrust/outputs.ts new file mode 100644 index 00000000..6d4470cb --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/outputs.ts @@ -0,0 +1,254 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `access_api-response-common-failure` in responses. + */ +export const access_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/access_messages" + }, + "messages": { + "$ref": "#/$defs/access_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `access_created_at` in responses. + */ +export const access_created_at_output: JsonSchema = { + "allOf": [ + { + "type": "string" + }, + { + "$ref": "#/$defs/access_timestamp" + } + ] +}; + +/** + * The schema of `access_identifier` in responses. + */ +export const access_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_messages` in responses. + */ +export const access_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `access_timestamp` in responses. + */ +export const access_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `access_updated_at` in responses. + */ +export const access_updated_at_output: JsonSchema = { + "allOf": [ + { + "type": "string" + }, + { + "$ref": "#/$defs/access_timestamp" + } + ] +}; + +/** + * The schema of `access_uuid` in responses. + */ +export const access_uuid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `dlp_Empty` in responses. + */ +export const dlp_Empty_output: JsonSchema = { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `dlp_api-response-common-failure` in responses. + */ +export const dlp_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/dlp_messages" + }, + "messages": { + "$ref": "#/$defs/dlp_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `dlp_messages` in responses. + */ +export const dlp_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `zero-trust-gateway_api-response-common-failure` in responses. + */ +export const zero_trust_gateway_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "messages": { + "$ref": "#/$defs/zero-trust-gateway_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zero-trust-gateway_messages` in responses. + */ +export const zero_trust_gateway_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `zero-trust-gateway_read_only_timestamp` in responses. + */ +export const zero_trust_gateway_read_only_timestamp_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts new file mode 100644 index 00000000..56757b4c --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts @@ -0,0 +1,86 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_Behavior` in responses. + */ +export const dlp_Behavior_output: JsonSchema = { + "properties": { + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "risk_level": { + "$ref": "#/$defs/dlp_RiskLevel" + } + }, + "required": [ + "description", + "enabled", + "name", + "risk_level" + ], + "type": "object" +}; + +/** + * The schema of `dlp_Behaviors` in responses. + */ +export const dlp_Behaviors_output: JsonSchema = { + "properties": { + "behaviors": { + "additionalProperties": { + "$ref": "#/$defs/dlp_Behavior" + }, + "type": "object" + } + }, + "required": [ + "behaviors" + ], + "type": "object" +}; + +/** + * The schema of `dlp_UpdateBehavior` in responses. + */ +export const dlp_UpdateBehavior_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "risk_level": { + "$ref": "#/$defs/dlp_RiskLevel" + } + }, + "required": [ + "enabled", + "risk_level" + ], + "type": "object" +}; + +/** + * The schema of `dlp_UpdateBehaviors` in responses. + */ +export const dlp_UpdateBehaviors_output: JsonSchema = { + "properties": { + "behaviors": { + "additionalProperties": { + "$ref": "#/$defs/dlp_UpdateBehavior" + }, + "type": "object" + } + }, + "required": [ + "behaviors" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts index 725501c0..07ea14ae 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts @@ -2,7 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_RiskLevel_output } from "../outputs.js"; import { dlp_RiskLevel } from "../schemas.js"; +import { + dlp_Behavior_output, + dlp_Behaviors_output, + dlp_UpdateBehavior_output, + dlp_UpdateBehaviors_output, +} from "./outputs.js"; import { dlp_UpdateBehavior, dlp_UpdateBehaviors } from "./schemas.js"; /** @@ -39,6 +50,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Behaviors" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Behavior": dlp_Behavior_output, + "dlp_Behaviors": dlp_Behaviors_output, + "dlp_RiskLevel": dlp_RiskLevel_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/behaviors`, }), @@ -83,6 +111,23 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_UpdateBehaviors" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_RiskLevel": dlp_RiskLevel_output, + "dlp_UpdateBehavior": dlp_UpdateBehavior_output, + "dlp_UpdateBehaviors": dlp_UpdateBehaviors_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/behaviors`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts new file mode 100644 index 00000000..cb42da76 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts @@ -0,0 +1,69 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_RiskScoreIntegration` in responses. + */ +export const dlp_RiskScoreIntegration_output: JsonSchema = { + "properties": { + "account_tag": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "integration_type": { + "$ref": "#/$defs/dlp_RiskScoreIntegrationType" + }, + "reference_id": { + "type": "string" + }, + "tenant_url": { + "type": "string" + }, + "well_known_url": { + "type": "string" + } + }, + "required": [ + "account_tag", + "active", + "created_at", + "id", + "integration_type", + "reference_id", + "tenant_url", + "well_known_url" + ], + "type": "object" +}; + +/** + * The schema of `dlp_RiskScoreIntegrationArray` in responses. + */ +export const dlp_RiskScoreIntegrationArray_output: JsonSchema = { + "items": { + "$ref": "#/$defs/dlp_RiskScoreIntegration" + }, + "type": "array" +}; + +/** + * The schema of `dlp_RiskScoreIntegrationType` in responses. + */ +export const dlp_RiskScoreIntegrationType_output: JsonSchema = { + "enum": [ + "Okta" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts index 7760aead..bd05b8a2 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../../outputs.js"; +import { + dlp_RiskScoreIntegrationType_output, + dlp_RiskScoreIntegration_output, +} from "../outputs.js"; /** * The tools of `zero_trust.risk_scoring.integrations.references`. @@ -41,6 +49,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_RiskScoreIntegration" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/integrations/reference_id/${pathParam(args, "reference_id")}`, }), diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts index 9cf8fe2c..adfb8cc9 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { + dlp_RiskScoreIntegrationArray_output, + dlp_RiskScoreIntegrationType_output, + dlp_RiskScoreIntegration_output, +} from "./outputs.js"; import { dlp_CreateIntegrationBody, dlp_RiskScoreIntegrationType, @@ -49,6 +59,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_RiskScoreIntegration" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/integrations`, body: { value: args["body"], mediaType: "application/json" }, @@ -88,6 +114,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/integrations/${pathParam(args, "integration_id")}`, }), @@ -127,6 +168,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_RiskScoreIntegration" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/integrations/${pathParam(args, "integration_id")}`, }), @@ -161,6 +218,34 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "$ref": "#/$defs/dlp_RiskScoreIntegrationArray" + }, + "result_info": { + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, + "dlp_RiskScoreIntegrationArray": dlp_RiskScoreIntegrationArray_output, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/integrations`, }), @@ -206,6 +291,22 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_RiskScoreIntegration" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/integrations/${pathParam(args, "integration_id")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts new file mode 100644 index 00000000..2d8c1c44 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts @@ -0,0 +1,87 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `dlp_RiskEvent` in responses. + */ +export const dlp_RiskEvent_output: JsonSchema = { + "properties": { + "event_details": { + "type": "object" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "risk_level": { + "$ref": "#/$defs/dlp_RiskLevel" + }, + "timestamp": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "id", + "name", + "risk_level", + "timestamp" + ], + "type": "object" +}; + +/** + * The schema of `dlp_RiskEvents` in responses. + */ +export const dlp_RiskEvents_output: JsonSchema = { + "properties": { + "email": { + "type": "string" + }, + "events": { + "items": { + "$ref": "#/$defs/dlp_RiskEvent" + }, + "type": "array" + }, + "last_reset_time": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "risk_level": { + "$ref": "#/$defs/dlp_RiskLevel" + } + }, + "required": [ + "email", + "events", + "name" + ], + "type": "object" +}; + +/** + * The schema of `dlp_RiskLevel` in responses. + */ +export const dlp_RiskLevel_output: JsonSchema = { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts new file mode 100644 index 00000000..29ba7f64 --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts @@ -0,0 +1,59 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `dlp_RiskSummary` in responses. + */ +export const dlp_RiskSummary_output: JsonSchema = { + "properties": { + "users": { + "items": { + "$ref": "#/$defs/dlp_UserRiskInfo" + }, + "type": "array" + } + }, + "required": [ + "users" + ], + "type": "object" +}; + +/** + * The schema of `dlp_UserRiskInfo` in responses. + */ +export const dlp_UserRiskInfo_output: JsonSchema = { + "properties": { + "email": { + "type": "string" + }, + "event_count": { + "type": "integer" + }, + "last_event": { + "format": "date-time", + "type": "string" + }, + "max_risk_level": { + "$ref": "#/$defs/dlp_RiskLevel" + }, + "name": { + "type": "string" + }, + "user_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "email", + "event_count", + "last_event", + "max_risk_level", + "name", + "user_id" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts index a7f32e8c..61f93c97 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts @@ -2,6 +2,12 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../../outputs.js"; +import { dlp_RiskLevel_output } from "../outputs.js"; +import { dlp_RiskSummary_output, dlp_UserRiskInfo_output } from "./outputs.js"; /** * The tools of `zero_trust.risk_scoring.summary`. @@ -36,6 +42,23 @@ export const tools: readonly Tool[] = [ "Zero Trust: PII Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_RiskSummary" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_RiskLevel": dlp_RiskLevel_output, + "dlp_RiskSummary": dlp_RiskSummary_output, + "dlp_UserRiskInfo": dlp_UserRiskInfo_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/summary`, }), diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts index e0657de4..d2abf221 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + dlp_Empty_output, + dlp_api_response_common_failure_output, + dlp_messages_output, +} from "../outputs.js"; +import { + dlp_RiskEvent_output, + dlp_RiskEvents_output, + dlp_RiskLevel_output, +} from "./outputs.js"; /** * The tools of `zero_trust.risk_scoring`. @@ -41,6 +51,23 @@ export const tools: readonly Tool[] = [ "Zero Trust: PII Read" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_RiskEvents" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_RiskEvent": dlp_RiskEvent_output, + "dlp_RiskEvents": dlp_RiskEvents_output, + "dlp_RiskLevel": dlp_RiskLevel_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/${pathParam(args, "user_id")}`, }), @@ -79,6 +106,21 @@ export const tools: readonly Tool[] = [ "Zero Trust Write" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/dlp_Empty" + }, + "4XX": { + "$ref": "#/$defs/dlp_api-response-common-failure" + } + }, + $defs: { + "dlp_Empty": dlp_Empty_output, + "dlp_api-response-common-failure": dlp_api_response_common_failure_output, + "dlp_messages": dlp_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zt_risk_scoring/${pathParam(args, "user_id")}/reset`, }), diff --git a/src/generated/forge-mcp/zeroTrust/seats/outputs.ts b/src/generated/forge-mcp/zeroTrust/seats/outputs.ts new file mode 100644 index 00000000..566aca5f --- /dev/null +++ b/src/generated/forge-mcp/zeroTrust/seats/outputs.ts @@ -0,0 +1,49 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `access_access_seat` in responses. + */ +export const access_access_seat_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_gateway_seat` in responses. + */ +export const access_gateway_seat_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `access_seat_uid` in responses. + */ +export const access_seat_uid_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `access_seats` in responses. + */ +export const access_seats_output: JsonSchema = { + "properties": { + "access_seat": { + "$ref": "#/$defs/access_access_seat" + }, + "created_at": { + "$ref": "#/$defs/access_timestamp" + }, + "gateway_seat": { + "$ref": "#/$defs/access_gateway_seat" + }, + "seat_uid": { + "$ref": "#/$defs/access_seat_uid" + }, + "updated_at": { + "$ref": "#/$defs/access_timestamp" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zeroTrust/seats/tools.ts b/src/generated/forge-mcp/zeroTrust/seats/tools.ts index 7f47d6fc..c978f0ab 100644 --- a/src/generated/forge-mcp/zeroTrust/seats/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/seats/tools.ts @@ -2,6 +2,17 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, + access_timestamp_output, +} from "../outputs.js"; +import { + access_access_seat_output, + access_gateway_seat_output, + access_seat_uid_output, + access_seats_output, +} from "./outputs.js"; import { access_access_seat, access_gateway_seat, @@ -54,6 +65,56 @@ export const tools: readonly Tool[] = [ "Zero Trust: Seats Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/access_seats" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_access_seat": access_access_seat_output, + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_gateway_seat": access_gateway_seat_output, + "access_messages": access_messages_output, + "access_seat_uid": access_seat_uid_output, + "access_seats": access_seats_output, + "access_timestamp": access_timestamp_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/seats`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts b/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts index c950e2c7..4f464cd4 100644 --- a/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../../outputs.js"; /** * The tools of `zero_trust.users.mfa.authenticators`. @@ -45,6 +49,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": null }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users/${pathParam(args, "user_id")}/mfa_authenticators/${pathParam(args, "authenticator_id")}`, }), diff --git a/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts b/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts index ecb2d0b5..f9c3495a 100644 --- a/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; +import { + access_api_response_common_failure_output, + access_messages_output, +} from "../../outputs.js"; /** * The tools of `zero_trust.users.passkeys`. @@ -45,6 +49,27 @@ export const tools: readonly Tool[] = [ extensions: { "x-api-token-group": null }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/access_api-response-common-failure" + } + }, + $defs: { + "access_api-response-common-failure": access_api_response_common_failure_output, + "access_messages": access_messages_output, + }, + }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users/${pathParam(args, "user_id")}/passkeys/${pathParam(args, "authenticator_id")}`, }), diff --git a/src/generated/forge-mcp/zone/outputs.ts b/src/generated/forge-mcp/zone/outputs.ts new file mode 100644 index 00000000..d03895e6 --- /dev/null +++ b/src/generated/forge-mcp/zone/outputs.ts @@ -0,0 +1,74 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `zone-activation_api-response-common-failure` in responses. + */ +export const zone_activation_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zone-activation_messages" + }, + "messages": { + "$ref": "#/$defs/zone-activation_messages" + }, + "result": { + "type": "null" + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zone-activation_identifier` in responses. + */ +export const zone_activation_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zone-activation_messages` in responses. + */ +export const zone_activation_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "documentation_url": { + "type": "string" + }, + "message": { + "type": "string" + }, + "source": { + "properties": { + "pointer": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zone/tools.ts b/src/generated/forge-mcp/zone/tools.ts index c0330846..6165119c 100644 --- a/src/generated/forge-mcp/zone/tools.ts +++ b/src/generated/forge-mcp/zone/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + zone_activation_api_response_common_failure_output, + zone_activation_identifier_output, + zone_activation_messages_output, +} from "./outputs.js"; /** * The tools of `zone`. @@ -37,6 +42,26 @@ export const tools: readonly Tool[] = [ "Zone Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "id": { + "$ref": "#/$defs/zone-activation_identifier" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/zone-activation_api-response-common-failure" + } + }, + $defs: { + "zone-activation_api-response-common-failure": zone_activation_api_response_common_failure_output, + "zone-activation_identifier": zone_activation_identifier_output, + "zone-activation_messages": zone_activation_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/activation_check`, }), diff --git a/src/generated/forge-mcp/zones/aegis/outputs.ts b/src/generated/forge-mcp/zones/aegis/outputs.ts new file mode 100644 index 00000000..cfa2c61d --- /dev/null +++ b/src/generated/forge-mcp/zones/aegis/outputs.ts @@ -0,0 +1,51 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cache-settings_aegis` in responses. + */ +export const cache_settings_aegis_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "aegis" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/cache-settings_aegis_value" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_aegis_value` in responses. + */ +export const cache_settings_aegis_value_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "pool_id": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zones/aegis/tools.ts b/src/generated/forge-mcp/zones/aegis/tools.ts index 13e9cadb..29cbc93a 100644 --- a/src/generated/forge-mcp/zones/aegis/tools.ts +++ b/src/generated/forge-mcp/zones/aegis/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../outputs.js"; +import { + cache_settings_aegis_output, + cache_settings_aegis_value_output, +} from "./outputs.js"; import { cache_settings_aegis_value } from "./schemas.js"; /** @@ -71,6 +79,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_aegis" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_aegis": cache_settings_aegis_output, + "cache-settings_aegis_value": cache_settings_aegis_value_output, + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/aegis`, body: { value: args["body"], mediaType: "application/json" }, @@ -125,6 +149,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_aegis" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_aegis": cache_settings_aegis_output, + "cache-settings_aegis_value": cache_settings_aegis_value_output, + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/aegis`, }), diff --git a/src/generated/forge-mcp/zones/automaticPlatformOptimization/outputs.ts b/src/generated/forge-mcp/zones/automaticPlatformOptimization/outputs.ts new file mode 100644 index 00000000..3f22f4a4 --- /dev/null +++ b/src/generated/forge-mcp/zones/automaticPlatformOptimization/outputs.ts @@ -0,0 +1,89 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_automatic_platform_optimization_response` in responses. + */ +export const speed_automatic_platform_optimization_response_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "automatic_platform_optimization" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/speed_automatic_platform_optimization_value" + } + }, + "type": "object" +}; + +/** + * The schema of `speed_automatic_platform_optimization_value` in responses. + */ +export const speed_automatic_platform_optimization_value_output: JsonSchema = { + "oneOf": [ + { + "properties": { + "cache_by_device_type": { + "type": "boolean" + }, + "cf": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "recheck": { + "type": "boolean" + }, + "wordpress": { + "type": "boolean" + }, + "wp_plugin": { + "type": "boolean" + } + }, + "required": [ + "cf", + "enabled", + "wordpress", + "wp_plugin" + ], + "type": "object" + }, + { + "enum": [ + "off" + ], + "type": "string" + } + ] +}; diff --git a/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts b/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts index 0bec58ea..d1ac7c30 100644 --- a/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts +++ b/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { + speed_automatic_platform_optimization_response_output, + speed_automatic_platform_optimization_value_output, +} from "./outputs.js"; import { speed_automatic_platform_optimization_value } from "./schemas.js"; /** @@ -70,6 +78,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_automatic_platform_optimization_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response_output, + "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/automatic_platform_optimization`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +146,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_automatic_platform_optimization_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response_output, + "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/automatic_platform_optimization`, }), diff --git a/src/generated/forge-mcp/zones/binaryAst/outputs.ts b/src/generated/forge-mcp/zones/binaryAst/outputs.ts new file mode 100644 index 00000000..4f3f843a --- /dev/null +++ b/src/generated/forge-mcp/zones/binaryAst/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_binary_ast_response` in responses. + */ +export const speed_binary_ast_response_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "binary_ast" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/speed_binary_ast_value" + } + }, + "type": "object" +}; + +/** + * The schema of `speed_binary_ast_value` in responses. + */ +export const speed_binary_ast_value_output: JsonSchema = { + "enum": [ + "off", + "on", + "latest" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zones/binaryAst/tools.ts b/src/generated/forge-mcp/zones/binaryAst/tools.ts index 1e616f49..245dd2ff 100644 --- a/src/generated/forge-mcp/zones/binaryAst/tools.ts +++ b/src/generated/forge-mcp/zones/binaryAst/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { + speed_binary_ast_response_output, + speed_binary_ast_value_output, +} from "./outputs.js"; import { speed_binary_ast_value } from "./schemas.js"; /** @@ -70,6 +78,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_binary_ast_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_binary_ast_response": speed_binary_ast_response_output, + "speed_binary_ast_value": speed_binary_ast_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/binary_ast`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +146,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_binary_ast_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_binary_ast_response": speed_binary_ast_response_output, + "speed_binary_ast_value": speed_binary_ast_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/binary_ast`, }), diff --git a/src/generated/forge-mcp/zones/fonts/outputs.ts b/src/generated/forge-mcp/zones/fonts/outputs.ts new file mode 100644 index 00000000..f6cfea57 --- /dev/null +++ b/src/generated/forge-mcp/zones/fonts/outputs.ts @@ -0,0 +1,51 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_cloudflare_fonts` in responses. + */ +export const speed_cloudflare_fonts_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "fonts" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/speed_cloudflare_fonts_value" + } + }, + "type": "object" +}; + +/** + * The schema of `speed_cloudflare_fonts_value` in responses. + */ +export const speed_cloudflare_fonts_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zones/fonts/tools.ts b/src/generated/forge-mcp/zones/fonts/tools.ts index d26a64b4..098d3161 100644 --- a/src/generated/forge-mcp/zones/fonts/tools.ts +++ b/src/generated/forge-mcp/zones/fonts/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { + speed_cloudflare_fonts_output, + speed_cloudflare_fonts_value_output, +} from "./outputs.js"; import { speed_cloudflare_fonts_value } from "./schemas.js"; /** @@ -71,6 +79,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_cloudflare_fonts" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_cloudflare_fonts": speed_cloudflare_fonts_output, + "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/fonts`, body: { value: args["body"], mediaType: "application/json" }, @@ -123,6 +147,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_cloudflare_fonts" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_cloudflare_fonts": speed_cloudflare_fonts_output, + "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/fonts`, }), diff --git a/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts b/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts new file mode 100644 index 00000000..d5056f41 --- /dev/null +++ b/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts @@ -0,0 +1,52 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_h2_prioritization_response` in responses. + */ +export const speed_h2_prioritization_response_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "h2_prioritization" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/speed_h2_prioritization_value" + } + }, + "type": "object" +}; + +/** + * The schema of `speed_h2_prioritization_value` in responses. + */ +export const speed_h2_prioritization_value_output: JsonSchema = { + "enum": [ + "off", + "on", + "custom" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zones/h2Prioritization/tools.ts b/src/generated/forge-mcp/zones/h2Prioritization/tools.ts index 1dfc54e5..cad8765b 100644 --- a/src/generated/forge-mcp/zones/h2Prioritization/tools.ts +++ b/src/generated/forge-mcp/zones/h2Prioritization/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { + speed_h2_prioritization_response_output, + speed_h2_prioritization_value_output, +} from "./outputs.js"; import { speed_h2_prioritization_value } from "./schemas.js"; /** @@ -70,6 +78,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_h2_prioritization_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_h2_prioritization_response": speed_h2_prioritization_response_output, + "speed_h2_prioritization_value": speed_h2_prioritization_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/h2_prioritization`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +146,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_h2_prioritization_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_h2_prioritization_response": speed_h2_prioritization_response_output, + "speed_h2_prioritization_value": speed_h2_prioritization_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/h2_prioritization`, }), diff --git a/src/generated/forge-mcp/zones/holds/tools.ts b/src/generated/forge-mcp/zones/holds/tools.ts index b9f24972..3c30b020 100644 --- a/src/generated/forge-mcp/zones/holds/tools.ts +++ b/src/generated/forge-mcp/zones/holds/tools.ts @@ -2,6 +2,10 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + zones_api_response_common_failure_2_output, + zones_messages_2_output, +} from "../../outputs.js"; /** * The tools of `zones.holds`. @@ -41,6 +45,31 @@ export const tools: readonly Tool[] = [ "Zone Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "hold": { + "type": "boolean" + }, + "hold_after": { + "type": "string" + }, + "include_subdomains": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_messages-2": zones_messages_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hold`, query: [ @@ -82,6 +111,31 @@ export const tools: readonly Tool[] = [ "Zone Write" ] }, + responses: { + schemas: { + "200": { + "properties": { + "hold": { + "type": "boolean" + }, + "hold_after": { + "type": "string" + }, + "include_subdomains": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_messages-2": zones_messages_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hold`, query: [ @@ -150,6 +204,31 @@ export const tools: readonly Tool[] = [ } } }, + responses: { + schemas: { + "200": { + "properties": { + "hold": { + "type": "boolean" + }, + "hold_after": { + "type": "string" + }, + "include_subdomains": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_messages-2": zones_messages_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hold`, body: { value: args["body"], mediaType: "application/json" }, @@ -223,6 +302,31 @@ export const tools: readonly Tool[] = [ "Access: Apps and Policies Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "hold": { + "type": "boolean" + }, + "hold_after": { + "type": "string" + }, + "include_subdomains": { + "type": "string" + } + }, + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-2" + } + }, + $defs: { + "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, + "zones_messages-2": zones_messages_2_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hold`, }), diff --git a/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts b/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts new file mode 100644 index 00000000..bbf92f03 --- /dev/null +++ b/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts @@ -0,0 +1,113 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `tls-certificates-and-hostnames_created_at-4` in responses. + */ +export const tls_certificates_and_hostnames_created_at_4_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_hostname-3` in responses. + */ +export const tls_certificates_and_hostnames_hostname_3_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_per_hostname_settings_response` + * in responses. + */ +export const tls_certificates_and_hostnames_per_hostname_settings_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_settingObject" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_settingObject` in responses. + */ +export const tls_certificates_and_hostnames_settingObject_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-4" + }, + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-12" + }, + "updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-5" + }, + "value": { + "$ref": "#/$defs/tls-certificates-and-hostnames_value" + } + }, + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_status-12` in responses. + */ +export const tls_certificates_and_hostnames_status_12_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_updated_at-5` in responses. + */ +export const tls_certificates_and_hostnames_updated_at_5_output: JsonSchema = { + "format": "date-time", + "type": "string" +}; + +/** + * The schema of `tls-certificates-and-hostnames_value` in responses. + */ +export const tls_certificates_and_hostnames_value_output: JsonSchema = { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3", + "on", + "off" + ], + "type": "string" + } + ] +}; diff --git a/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts b/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts new file mode 100644 index 00000000..d843c31b --- /dev/null +++ b/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts @@ -0,0 +1,126 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../../_/tool.js"; + +/** + * The schema of + * `tls-certificates-and-hostnames_per_hostname_settings_response_collection` in + * responses. + */ +export const tls_certificates_and_hostnames_per_hostname_settings_response_collection_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" + }, + { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-4" + }, + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-12" + }, + "updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-5" + }, + "value": { + "$ref": "#/$defs/tls-certificates-and-hostnames_value" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + { + "properties": { + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "type": "object" + } + ] +}; + +/** + * The schema of + * `tls-certificates-and-hostnames_per_hostname_settings_response_delete` in + * responses. + */ +export const tls_certificates_and_hostnames_per_hostname_settings_response_delete_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "messages": { + "$ref": "#/$defs/tls-certificates-and-hostnames_messages" + }, + "result": { + "$ref": "#/$defs/tls-certificates-and-hostnames_settingObjectDelete" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; + +/** + * The schema of `tls-certificates-and-hostnames_settingObjectDelete` in + * responses. + */ +export const tls_certificates_and_hostnames_settingObjectDelete_output: JsonSchema = { + "properties": { + "created_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-4" + }, + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-12" + }, + "updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-5" + }, + "value": { + "$ref": "#/$defs/tls-certificates-and-hostnames_value" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts b/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts index b346825b..9f8ee3fc 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts @@ -2,7 +2,27 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_collection_output, + tls_certificates_and_hostnames_api_response_collection_result_info_output, + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../../../outputs.js"; +import { + tls_certificates_and_hostnames_created_at_4_output, + tls_certificates_and_hostnames_hostname_3_output, + tls_certificates_and_hostnames_per_hostname_settings_response_output, + tls_certificates_and_hostnames_settingObject_output, + tls_certificates_and_hostnames_status_12_output, + tls_certificates_and_hostnames_updated_at_5_output, + tls_certificates_and_hostnames_value_output, +} from "../outputs.js"; import { tls_certificates_and_hostnames_value } from "../schemas.js"; +import { + tls_certificates_and_hostnames_per_hostname_settings_response_collection_output, + tls_certificates_and_hostnames_per_hostname_settings_response_delete_output, + tls_certificates_and_hostnames_settingObjectDelete_output, +} from "./outputs.js"; /** * The tools of `zones.hostnames.settings.tls`. @@ -64,6 +84,34 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_settingObjectDelete" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response_delete" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, + "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_per_hostname_settings_response_delete": tls_certificates_and_hostnames_per_hostname_settings_response_delete_output, + "tls-certificates-and-hostnames_settingObjectDelete": tls_certificates_and_hostnames_settingObjectDelete_output, + "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, + "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, + "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hostnames/settings/${pathParam(args, "setting_id")}/${pathParam(args, "hostname")}`, }), @@ -120,6 +168,83 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "properties": { + "created_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-4" + }, + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3" + }, + "status": { + "$ref": "#/$defs/tls-certificates-and-hostnames_status-12" + }, + "updated_at": { + "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-5" + }, + "value": { + "$ref": "#/$defs/tls-certificates-and-hostnames_value" + } + }, + "type": "object" + }, + "type": "array" + }, + "result_info": { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response_collection" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, + "tls-certificates-and-hostnames_api-response-collection_result_info": tls_certificates_and_hostnames_api_response_collection_result_info_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, + "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_per_hostname_settings_response_collection": tls_certificates_and_hostnames_per_hostname_settings_response_collection_output, + "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, + "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, + "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hostnames/settings/${pathParam(args, "setting_id")}`, }), @@ -196,6 +321,34 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_settingObject" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, + "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_per_hostname_settings_response": tls_certificates_and_hostnames_per_hostname_settings_response_output, + "tls-certificates-and-hostnames_settingObject": tls_certificates_and_hostnames_settingObject_output, + "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, + "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, + "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hostnames/settings/${pathParam(args, "setting_id")}/${pathParam(args, "hostname")}`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts b/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts index 2d1a0b0b..c2f3d730 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts @@ -2,6 +2,19 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; +import { + tls_certificates_and_hostnames_api_response_common_failure_output, + tls_certificates_and_hostnames_messages_output, +} from "../../../../outputs.js"; +import { + tls_certificates_and_hostnames_created_at_4_output, + tls_certificates_and_hostnames_hostname_3_output, + tls_certificates_and_hostnames_per_hostname_settings_response_output, + tls_certificates_and_hostnames_settingObject_output, + tls_certificates_and_hostnames_status_12_output, + tls_certificates_and_hostnames_updated_at_5_output, + tls_certificates_and_hostnames_value_output, +} from "../outputs.js"; /** * The tools of `zones.hostnames.settings.tls_single`. @@ -50,6 +63,34 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/tls-certificates-and-hostnames_settingObject" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response" + }, + { + "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" + } + ] + } + }, + $defs: { + "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, + "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, + "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, + "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_per_hostname_settings_response": tls_certificates_and_hostnames_per_hostname_settings_response_output, + "tls-certificates-and-hostnames_settingObject": tls_certificates_and_hostnames_settingObject_output, + "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, + "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, + "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hostnames/settings/${pathParam(args, "setting_id")}/${pathParam(args, "hostname")}`, }), diff --git a/src/generated/forge-mcp/zones/imageResizing/outputs.ts b/src/generated/forge-mcp/zones/imageResizing/outputs.ts new file mode 100644 index 00000000..94584b43 --- /dev/null +++ b/src/generated/forge-mcp/zones/imageResizing/outputs.ts @@ -0,0 +1,53 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_image_resizing_response` in responses. + */ +export const speed_image_resizing_response_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "image_resizing" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/speed_image_resizing_value" + } + }, + "type": "object" +}; + +/** + * The schema of `speed_image_resizing_value` in responses. + */ +export const speed_image_resizing_value_output: JsonSchema = { + "enum": [ + "off", + "on", + "open", + "latest" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zones/imageResizing/tools.ts b/src/generated/forge-mcp/zones/imageResizing/tools.ts index c2306329..ee266b4e 100644 --- a/src/generated/forge-mcp/zones/imageResizing/tools.ts +++ b/src/generated/forge-mcp/zones/imageResizing/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { + speed_image_resizing_response_output, + speed_image_resizing_value_output, +} from "./outputs.js"; import { speed_image_resizing_value } from "./schemas.js"; /** @@ -70,6 +78,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_image_resizing_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_image_resizing_response": speed_image_resizing_response_output, + "speed_image_resizing_value": speed_image_resizing_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/image_resizing`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +146,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_image_resizing_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_image_resizing_response": speed_image_resizing_response_output, + "speed_image_resizing_value": speed_image_resizing_value_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/image_resizing`, }), diff --git a/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts b/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts new file mode 100644 index 00000000..c5fef66c --- /dev/null +++ b/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts @@ -0,0 +1,43 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cache-settings_origin_h2_max_streams` in responses. + */ +export const cache_settings_origin_h2_max_streams_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "origin_h2_max_streams" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/cache-settings_origin_h2_max_streams_value" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_origin_h2_max_streams_value` in responses. + */ +export const cache_settings_origin_h2_max_streams_value_output: JsonSchema = { + "type": "integer" +}; diff --git a/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts b/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts index 636f6b2a..d514db9c 100644 --- a/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts +++ b/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../outputs.js"; +import { + cache_settings_origin_h2_max_streams_output, + cache_settings_origin_h2_max_streams_value_output, +} from "./outputs.js"; import { cache_settings_origin_h2_max_streams_value } from "./schemas.js"; /** @@ -71,6 +79,22 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_h2_max_streams" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_h2_max_streams": cache_settings_origin_h2_max_streams_output, + "cache-settings_origin_h2_max_streams_value": cache_settings_origin_h2_max_streams_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/origin_h2_max_streams`, body: { value: args["body"], mediaType: "application/json" }, @@ -125,6 +149,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_h2_max_streams" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_h2_max_streams": cache_settings_origin_h2_max_streams_output, + "cache-settings_origin_h2_max_streams_value": cache_settings_origin_h2_max_streams_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/origin_h2_max_streams`, }), diff --git a/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts b/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts new file mode 100644 index 00000000..4a9be759 --- /dev/null +++ b/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts @@ -0,0 +1,47 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cache-settings_origin_max_http_version` in responses. + */ +export const cache_settings_origin_max_http_version_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "origin_max_http_version" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/cache-settings_origin_max_http_version_value" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_origin_max_http_version_value` in responses. + */ +export const cache_settings_origin_max_http_version_value_output: JsonSchema = { + "enum": [ + "2", + "1" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts b/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts index 83ab5837..c968a765 100644 --- a/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts +++ b/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../outputs.js"; +import { + cache_settings_origin_max_http_version_output, + cache_settings_origin_max_http_version_value_output, +} from "./outputs.js"; import { cache_settings_origin_max_http_version_value } from "./schemas.js"; /** @@ -71,6 +79,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_max_http_version" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_max_http_version": cache_settings_origin_max_http_version_output, + "cache-settings_origin_max_http_version_value": cache_settings_origin_max_http_version_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/origin_max_http_version`, body: { value: args["body"], mediaType: "application/json" }, @@ -125,6 +149,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_max_http_version" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_max_http_version": cache_settings_origin_max_http_version_output, + "cache-settings_origin_max_http_version_value": cache_settings_origin_max_http_version_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/origin_max_http_version`, }), diff --git a/src/generated/forge-mcp/zones/originTlsComplianceModes/outputs.ts b/src/generated/forge-mcp/zones/originTlsComplianceModes/outputs.ts new file mode 100644 index 00000000..ef147ac0 --- /dev/null +++ b/src/generated/forge-mcp/zones/originTlsComplianceModes/outputs.ts @@ -0,0 +1,45 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cache-settings_origin_tls_compliance_modes` in responses. + */ +export const cache_settings_origin_tls_compliance_modes_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "origin_tls_compliance_modes" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_origin_tls_compliance_modes_value` in + * responses. + */ +export const cache_settings_origin_tls_compliance_modes_value_output: JsonSchema = { + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" +}; diff --git a/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts b/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts index 6fe4cd8a..8f641ea9 100644 --- a/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts +++ b/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../outputs.js"; +import { + cache_settings_origin_tls_compliance_modes_output, + cache_settings_origin_tls_compliance_modes_value_output, +} from "./outputs.js"; import { cache_settings_origin_tls_compliance_modes_value } from "./schemas.js"; /** @@ -41,6 +49,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_tls_compliance_modes" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/origin_tls_compliance_modes`, }), @@ -94,6 +117,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_origin_tls_compliance_modes" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_origin_tls_compliance_modes_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, + "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/origin_tls_compliance_modes`, body: { value: args["body"], mediaType: "application/json" }, @@ -132,6 +186,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_origin_tls_compliance_modes" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_origin_tls_compliance_modes_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, + "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/origin_tls_compliance_modes`, }), @@ -185,6 +270,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "allOf": [ + { + "$ref": "#/$defs/cache-settings_origin_tls_compliance_modes" + }, + { + "properties": { + "value": { + "$ref": "#/$defs/cache-settings_origin_tls_compliance_modes_value" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, + "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/origin_tls_compliance_modes`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zones/outputs.ts b/src/generated/forge-mcp/zones/outputs.ts new file mode 100644 index 00000000..3a0a605d --- /dev/null +++ b/src/generated/forge-mcp/zones/outputs.ts @@ -0,0 +1,382 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `bill-subs-api_schemas-frequency` in responses. + */ +export const bill_subs_api_schemas_frequency_output: JsonSchema = { + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly" + ], + "type": "string" +}; + +/** + * The schema of `bill-subs-api_schemas-name` in responses. + */ +export const bill_subs_api_schemas_name_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zones_api-response-common-failure` in responses. + */ +export const zones_api_response_common_failure_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zones_messages" + }, + "messages": { + "$ref": "#/$defs/zones_messages" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zones_identifier` in responses. + */ +export const zones_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zones_messages` in responses. + */ +export const zones_messages_output: JsonSchema = { + "items": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "type": "array" +}; + +/** + * The schema of `zones_paused` in responses. + */ +export const zones_paused_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `zones_result_info` in responses. + */ +export const zones_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "number" + }, + "page": { + "type": "number" + }, + "per_page": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_type` in responses. + */ +export const zones_type_output: JsonSchema = { + "enum": [ + "full", + "partial", + "secondary", + "internal" + ], + "type": "string" +}; + +/** + * The schema of `zones_zone` in responses. + */ +export const zones_zone_output: JsonSchema = { + "properties": { + "account": { + "$ref": "#/$defs/zones_zone_account" + }, + "activated_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cname_suffix": { + "type": "string" + }, + "created_on": { + "format": "date-time", + "type": "string" + }, + "development_mode": { + "type": "number" + }, + "id": { + "type": "string" + }, + "meta": { + "$ref": "#/$defs/zones_zone_meta" + }, + "modified_on": { + "format": "date-time", + "type": "string" + }, + "name": { + "type": "string" + }, + "name_servers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "original_dnshost": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "original_name_servers": { + "oneOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "original_registrar": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "owner": { + "$ref": "#/$defs/zones_zone_owner" + }, + "paused": { + "$ref": "#/$defs/zones_paused" + }, + "permissions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "plan": { + "properties": { + "can_subscribe": { + "type": "boolean" + }, + "currency": { + "type": "string" + }, + "externally_managed": { + "type": "boolean" + }, + "frequency": { + "type": "string" + }, + "id": { + "$ref": "#/$defs/zones_identifier" + }, + "is_subscribed": { + "type": "boolean" + }, + "legacy_discount": { + "type": "boolean" + }, + "legacy_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "price": { + "type": "number" + } + }, + "type": "object" + }, + "status": { + "enum": [ + "initializing", + "pending", + "active", + "moved" + ], + "type": "string" + }, + "tenant": { + "properties": { + "id": { + "$ref": "#/$defs/zones_identifier" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "tenant_unit": { + "properties": { + "id": { + "$ref": "#/$defs/zones_identifier" + } + }, + "type": "object" + }, + "type": { + "$ref": "#/$defs/zones_type" + }, + "vanity_name_servers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "verification_key": { + "type": "string" + } + }, + "required": [ + "account", + "activated_on", + "created_on", + "development_mode", + "id", + "meta", + "modified_on", + "name", + "name_servers", + "original_dnshost", + "original_name_servers", + "original_registrar", + "owner", + "plan" + ], + "type": "object" +}; + +/** + * The schema of `zones_zone_account` in responses. + */ +export const zones_zone_account_output: JsonSchema = { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_zone_meta` in responses. + */ +export const zones_zone_meta_output: JsonSchema = { + "properties": { + "cdn_only": { + "type": "boolean" + }, + "custom_certificate_quota": { + "type": "integer" + }, + "dns_only": { + "type": "boolean" + }, + "foundation_dns": { + "type": "boolean" + }, + "page_rule_quota": { + "type": "integer" + }, + "phishing_detected": { + "type": "boolean" + }, + "step": { + "type": "integer" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_zone_owner` in responses. + */ +export const zones_zone_owner_output: JsonSchema = { + "properties": { + "id": { + "$ref": "#/$defs/zones_identifier" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zones/plans/outputs.ts b/src/generated/forge-mcp/zones/plans/outputs.ts new file mode 100644 index 00000000..9c386df9 --- /dev/null +++ b/src/generated/forge-mcp/zones/plans/outputs.ts @@ -0,0 +1,75 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `bill-subs-api_available-rate-plan` in responses. + */ +export const bill_subs_api_available_rate_plan_output: JsonSchema = { + "properties": { + "can_subscribe": { + "$ref": "#/$defs/bill-subs-api_can_subscribe" + }, + "currency": { + "$ref": "#/$defs/bill-subs-api_currency" + }, + "externally_managed": { + "$ref": "#/$defs/bill-subs-api_externally_managed" + }, + "frequency": { + "$ref": "#/$defs/bill-subs-api_schemas-frequency" + }, + "id": { + "$ref": "#/$defs/bill-subs-api_identifier" + }, + "is_subscribed": { + "$ref": "#/$defs/bill-subs-api_is_subscribed" + }, + "legacy_id": { + "$ref": "#/$defs/bill-subs-api_legacy_id" + }, + "name": { + "$ref": "#/$defs/bill-subs-api_schemas-name" + }, + "price": { + "$ref": "#/$defs/bill-subs-api_schemas-price" + } + }, + "type": "object" +}; + +/** + * The schema of `bill-subs-api_can_subscribe` in responses. + */ +export const bill_subs_api_can_subscribe_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bill-subs-api_externally_managed` in responses. + */ +export const bill_subs_api_externally_managed_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bill-subs-api_is_subscribed` in responses. + */ +export const bill_subs_api_is_subscribed_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `bill-subs-api_legacy_id` in responses. + */ +export const bill_subs_api_legacy_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bill-subs-api_schemas-price` in responses. + */ +export const bill_subs_api_schemas_price_output: JsonSchema = { + "type": "number" +}; diff --git a/src/generated/forge-mcp/zones/plans/tools.ts b/src/generated/forge-mcp/zones/plans/tools.ts index b1420901..b44b9f66 100644 --- a/src/generated/forge-mcp/zones/plans/tools.ts +++ b/src/generated/forge-mcp/zones/plans/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_currency_output, + bill_subs_api_identifier_output, + bill_subs_api_messages_output, + bill_subs_api_result_info_output, +} from "../../outputs.js"; +import { + bill_subs_api_schemas_frequency_output, + bill_subs_api_schemas_name_output, +} from "../outputs.js"; +import { + bill_subs_api_available_rate_plan_output, + bill_subs_api_can_subscribe_output, + bill_subs_api_externally_managed_output, + bill_subs_api_is_subscribed_output, + bill_subs_api_legacy_id_output, + bill_subs_api_schemas_price_output, +} from "./outputs.js"; /** * The tools of `zones.plans`. @@ -59,6 +78,30 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_available-rate-plan" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_available-rate-plan": bill_subs_api_available_rate_plan_output, + "bill-subs-api_can_subscribe": bill_subs_api_can_subscribe_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_externally_managed": bill_subs_api_externally_managed_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_is_subscribed": bill_subs_api_is_subscribed_output, + "bill-subs-api_legacy_id": bill_subs_api_legacy_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_schemas-frequency": bill_subs_api_schemas_frequency_output, + "bill-subs-api_schemas-name": bill_subs_api_schemas_name_output, + "bill-subs-api_schemas-price": bill_subs_api_schemas_price_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/available_plans/${pathParam(args, "plan_identifier")}`, }), @@ -110,6 +153,45 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/bill-subs-api_available-rate-plan" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/bill-subs-api_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_available-rate-plan": bill_subs_api_available_rate_plan_output, + "bill-subs-api_can_subscribe": bill_subs_api_can_subscribe_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_externally_managed": bill_subs_api_externally_managed_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_is_subscribed": bill_subs_api_is_subscribed_output, + "bill-subs-api_legacy_id": bill_subs_api_legacy_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_result_info": bill_subs_api_result_info_output, + "bill-subs-api_schemas-frequency": bill_subs_api_schemas_frequency_output, + "bill-subs-api_schemas-name": bill_subs_api_schemas_name_output, + "bill-subs-api_schemas-price": bill_subs_api_schemas_price_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/available_plans`, }), diff --git a/src/generated/forge-mcp/zones/ratePlans/outputs.ts b/src/generated/forge-mcp/zones/ratePlans/outputs.ts new file mode 100644 index 00000000..614a449c --- /dev/null +++ b/src/generated/forge-mcp/zones/ratePlans/outputs.ts @@ -0,0 +1,101 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `bill-subs-api_components-schemas-name` in responses. + */ +export const bill_subs_api_components_schemas_name_output: JsonSchema = { + "enum": [ + "zones", + "page_rules", + "dedicated_certificates", + "dedicated_certificates_custom" + ], + "type": "string" +}; + +/** + * The schema of `bill-subs-api_default` in responses. + */ +export const bill_subs_api_default_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `bill-subs-api_duration` in responses. + */ +export const bill_subs_api_duration_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `bill-subs-api_plan_component_value` in responses. + */ +export const bill_subs_api_plan_component_value_output: JsonSchema = { + "properties": { + "default": { + "$ref": "#/$defs/bill-subs-api_default" + }, + "name": { + "$ref": "#/$defs/bill-subs-api_components-schemas-name" + }, + "unit_price": { + "$ref": "#/$defs/bill-subs-api_unit_price" + } + }, + "type": "object" +}; + +/** + * The schema of `bill-subs-api_plan_rate_plan` in responses. + */ +export const bill_subs_api_plan_rate_plan_output: JsonSchema = { + "properties": { + "components": { + "$ref": "#/$defs/bill-subs-api_schemas-component_values" + }, + "currency": { + "$ref": "#/$defs/bill-subs-api_currency" + }, + "duration": { + "$ref": "#/$defs/bill-subs-api_duration" + }, + "frequency": { + "$ref": "#/$defs/bill-subs-api_schemas-frequency" + }, + "id": { + "$ref": "#/$defs/bill-subs-api_rate-plan_components-schemas-identifier" + }, + "name": { + "$ref": "#/$defs/bill-subs-api_schemas-name" + } + }, + "type": "object" +}; + +/** + * The schema of `bill-subs-api_rate-plan_components-schemas-identifier` in + * responses. + */ +export const bill_subs_api_rate_plan_components_schemas_identifier_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `bill-subs-api_schemas-component_values` in responses. + */ +export const bill_subs_api_schemas_component_values_output: JsonSchema = { + "items": { + "$ref": "#/$defs/bill-subs-api_plan_component_value" + }, + "type": "array" +}; + +/** + * The schema of `bill-subs-api_unit_price` in responses. + */ +export const bill_subs_api_unit_price_output: JsonSchema = { + "type": "number" +}; diff --git a/src/generated/forge-mcp/zones/ratePlans/tools.ts b/src/generated/forge-mcp/zones/ratePlans/tools.ts index 4ff38ace..39ff6ab3 100644 --- a/src/generated/forge-mcp/zones/ratePlans/tools.ts +++ b/src/generated/forge-mcp/zones/ratePlans/tools.ts @@ -2,6 +2,26 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_currency_output, + bill_subs_api_messages_output, + bill_subs_api_result_info_output, +} from "../../outputs.js"; +import { + bill_subs_api_schemas_frequency_output, + bill_subs_api_schemas_name_output, +} from "../outputs.js"; +import { + bill_subs_api_components_schemas_name_output, + bill_subs_api_default_output, + bill_subs_api_duration_output, + bill_subs_api_plan_component_value_output, + bill_subs_api_plan_rate_plan_output, + bill_subs_api_rate_plan_components_schemas_identifier_output, + bill_subs_api_schemas_component_values_output, + bill_subs_api_unit_price_output, +} from "./outputs.js"; /** * The tools of `zones.rate_plans`. @@ -54,6 +74,46 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/bill-subs-api_plan_rate_plan" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/bill-subs-api_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_components-schemas-name": bill_subs_api_components_schemas_name_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_default": bill_subs_api_default_output, + "bill-subs-api_duration": bill_subs_api_duration_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_plan_component_value": bill_subs_api_plan_component_value_output, + "bill-subs-api_plan_rate_plan": bill_subs_api_plan_rate_plan_output, + "bill-subs-api_rate-plan_components-schemas-identifier": bill_subs_api_rate_plan_components_schemas_identifier_output, + "bill-subs-api_result_info": bill_subs_api_result_info_output, + "bill-subs-api_schemas-component_values": bill_subs_api_schemas_component_values_output, + "bill-subs-api_schemas-frequency": bill_subs_api_schemas_frequency_output, + "bill-subs-api_schemas-name": bill_subs_api_schemas_name_output, + "bill-subs-api_unit_price": bill_subs_api_unit_price_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/available_rate_plans`, }), diff --git a/src/generated/forge-mcp/zones/rum/outputs.ts b/src/generated/forge-mcp/zones/rum/outputs.ts new file mode 100644 index 00000000..a3ea698b --- /dev/null +++ b/src/generated/forge-mcp/zones/rum/outputs.ts @@ -0,0 +1,43 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `rum_editable` in responses. + */ +export const rum_editable_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `rum_id` in responses. + */ +export const rum_id_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `rum_rum_site` in responses. + */ +export const rum_rum_site_output: JsonSchema = { + "properties": { + "editable": { + "$ref": "#/$defs/rum_editable" + }, + "id": { + "$ref": "#/$defs/rum_id" + }, + "value": { + "$ref": "#/$defs/rum_value" + } + }, + "type": "object" +}; + +/** + * The schema of `rum_value` in responses. + */ +export const rum_value_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zones/rum/tools.ts b/src/generated/forge-mcp/zones/rum/tools.ts index dc931483..6d82e0a8 100644 --- a/src/generated/forge-mcp/zones/rum/tools.ts +++ b/src/generated/forge-mcp/zones/rum/tools.ts @@ -2,6 +2,16 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + rum_api_response_common_failure_output, + rum_messages_2_output, +} from "../../outputs.js"; +import { + rum_editable_output, + rum_id_output, + rum_rum_site_output, + rum_value_output, +} from "./outputs.js"; import { rum_toggle_rum_request } from "./schemas.js"; /** @@ -51,6 +61,24 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/rum_rum_site" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_editable": rum_editable_output, + "rum_id": rum_id_output, + "rum_messages-2": rum_messages_2_output, + "rum_rum_site": rum_rum_site_output, + "rum_value": rum_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/rum`, body: { value: args["body"], mediaType: "application/json" }, @@ -93,6 +121,24 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/rum_rum_site" + }, + "4XX": { + "$ref": "#/$defs/rum_api-response-common-failure" + } + }, + $defs: { + "rum_api-response-common-failure": rum_api_response_common_failure_output, + "rum_editable": rum_editable_output, + "rum_id": rum_id_output, + "rum_messages-2": rum_messages_2_output, + "rum_rum_site": rum_rum_site_output, + "rum_value": rum_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/rum`, }), diff --git a/src/generated/forge-mcp/zones/settings/outputs.ts b/src/generated/forge-mcp/zones/settings/outputs.ts new file mode 100644 index 00000000..21b37fec --- /dev/null +++ b/src/generated/forge-mcp/zones/settings/outputs.ts @@ -0,0 +1,3708 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `zones_0rtt` in responses. + */ +export const zones_0rtt_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "0rtt" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_0rtt_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_0rtt_value` in responses. + */ +export const zones_0rtt_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_advanced_ddos` in responses. + */ +export const zones_advanced_ddos_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "advanced_ddos" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_advanced_ddos_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_advanced_ddos_value` in responses. + */ +export const zones_advanced_ddos_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_always_online` in responses. + */ +export const zones_always_online_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "always_online" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_always_online_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_always_online_value` in responses. + */ +export const zones_always_online_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_always_use_https-2` in responses. + */ +export const zones_always_use_https_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "always_use_https" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_always_use_https_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_always_use_https_value` in responses. + */ +export const zones_always_use_https_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_api-response-common-failure-3` in responses. + */ +export const zones_api_response_common_failure_3_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/zones_messages" + }, + "messages": { + "$ref": "#/$defs/zones_messages" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `zones_automatic_https_rewrites-2` in responses. + */ +export const zones_automatic_https_rewrites_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "automatic_https_rewrites" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_automatic_https_rewrites_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_automatic_https_rewrites_value` in responses. + */ +export const zones_automatic_https_rewrites_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_automatic_platform_optimization` in responses. + */ +export const zones_automatic_platform_optimization_output: JsonSchema = { + "properties": { + "cache_by_device_type": { + "type": "boolean" + }, + "cf": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "wordpress": { + "type": "boolean" + }, + "wp_plugin": { + "type": "boolean" + } + }, + "required": [ + "cache_by_device_type", + "cf", + "enabled", + "hostnames", + "wordpress", + "wp_plugin" + ], + "type": "object" +}; + +/** + * The schema of `zones_brotli` in responses. + */ +export const zones_brotli_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "brotli" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_brotli_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_brotli_value` in responses. + */ +export const zones_brotli_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_browser_cache_ttl-2` in responses. + */ +export const zones_browser_cache_ttl_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "browser_cache_ttl" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_browser_cache_ttl_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_browser_cache_ttl_value` in responses. + */ +export const zones_browser_cache_ttl_value_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `zones_browser_check-2` in responses. + */ +export const zones_browser_check_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "browser_check" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_browser_check_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_browser_check_value` in responses. + */ +export const zones_browser_check_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_cache-rules_aegis` in responses. + */ +export const zones_cache_rules_aegis_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "aegis" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_cache-rules_aegis_value" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `zones_cache-rules_aegis_value` in responses. + */ +export const zones_cache_rules_aegis_value_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "pool_id": { + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_cache-rules_origin_h2_max_streams` in responses. + */ +export const zones_cache_rules_origin_h2_max_streams_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "origin_h2_max_streams" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_cache-rules_origin_h2_max_streams_value" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `zones_cache-rules_origin_h2_max_streams_value` in responses. + */ +export const zones_cache_rules_origin_h2_max_streams_value_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `zones_cache-rules_origin_max_http_version` in responses. + */ +export const zones_cache_rules_origin_max_http_version_output: JsonSchema = { + "properties": { + "id": { + "enum": [ + "origin_max_http_version" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_cache-rules_origin_max_http_version_value" + } + }, + "required": [ + "id" + ], + "type": "object" +}; + +/** + * The schema of `zones_cache-rules_origin_max_http_version_value` in responses. + */ +export const zones_cache_rules_origin_max_http_version_value_output: JsonSchema = { + "enum": [ + "2", + "1" + ], + "type": "string" +}; + +/** + * The schema of `zones_cache_level-2` in responses. + */ +export const zones_cache_level_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "cache_level" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_cache_level_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_cache_level_value` in responses. + */ +export const zones_cache_level_value_output: JsonSchema = { + "enum": [ + "aggressive", + "basic", + "simplified" + ], + "type": "string" +}; + +/** + * The schema of `zones_challenge_ttl` in responses. + */ +export const zones_challenge_ttl_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "challenge_ttl" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_challenge_ttl_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_challenge_ttl_value` in responses. + */ +export const zones_challenge_ttl_value_output: JsonSchema = { + "enum": [ + 300, + 900, + 1800, + 2700, + 3600, + 7200, + 10800, + 14400, + 28800, + 57600, + 86400, + 604800, + 2592000, + 31536000 + ], + "type": "integer" +}; + +/** + * The schema of `zones_china_network_enabled` in responses. + */ +export const zones_china_network_enabled_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "china_network_enabled" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_china_network_enabled_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_china_network_enabled_value` in responses. + */ +export const zones_china_network_enabled_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_ciphers` in responses. + */ +export const zones_ciphers_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "ciphers" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_ciphers_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_ciphers_value` in responses. + */ +export const zones_ciphers_value_output: JsonSchema = { + "items": { + "type": "string" + }, + "type": "array" +}; + +/** + * The schema of `zones_cname_flattening` in responses. + */ +export const zones_cname_flattening_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "cname_flattening" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_cname_flattening_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_cname_flattening_value` in responses. + */ +export const zones_cname_flattening_value_output: JsonSchema = { + "enum": [ + "flatten_at_root", + "flatten_all" + ], + "type": "string" +}; + +/** + * The schema of `zones_content_converter` in responses. + */ +export const zones_content_converter_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "content_converter" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_content_converter_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_content_converter_value` in responses. + */ +export const zones_content_converter_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_development_mode` in responses. + */ +export const zones_development_mode_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "development_mode" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "time_remaining": { + "type": "number" + }, + "value": { + "$ref": "#/$defs/zones_development_mode_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_development_mode_value` in responses. + */ +export const zones_development_mode_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_early_hints` in responses. + */ +export const zones_early_hints_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "early_hints" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_early_hints_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_early_hints_value` in responses. + */ +export const zones_early_hints_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_edge_cache_ttl-2` in responses. + */ +export const zones_edge_cache_ttl_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "edge_cache_ttl" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_edge_cache_ttl_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_edge_cache_ttl_value` in responses. + */ +export const zones_edge_cache_ttl_value_output: JsonSchema = { + "enum": [ + 30, + 60, + 300, + 1200, + 1800, + 3600, + 7200, + 10800, + 14400, + 18000, + 28800, + 43200, + 57600, + 72000, + 86400, + 172800, + 259200, + 345600, + 432000, + 518400, + 604800 + ], + "type": "integer" +}; + +/** + * The schema of `zones_email_obfuscation-2` in responses. + */ +export const zones_email_obfuscation_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "email_obfuscation" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_email_obfuscation_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_email_obfuscation_value` in responses. + */ +export const zones_email_obfuscation_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_h2_prioritization` in responses. + */ +export const zones_h2_prioritization_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "h2_prioritization" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_h2_prioritization_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_h2_prioritization_value` in responses. + */ +export const zones_h2_prioritization_value_output: JsonSchema = { + "enum": [ + "on", + "off", + "custom" + ], + "type": "string" +}; + +/** + * The schema of `zones_hotlink_protection` in responses. + */ +export const zones_hotlink_protection_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "hotlink_protection" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_hotlink_protection_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_hotlink_protection_value` in responses. + */ +export const zones_hotlink_protection_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_http2` in responses. + */ +export const zones_http2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "http2" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_http2_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_http2_value` in responses. + */ +export const zones_http2_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_http3` in responses. + */ +export const zones_http3_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "http3" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_http3_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_http3_value` in responses. + */ +export const zones_http3_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_image_resizing` in responses. + */ +export const zones_image_resizing_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "image_resizing" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_image_resizing_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_image_resizing_value` in responses. + */ +export const zones_image_resizing_value_output: JsonSchema = { + "enum": [ + "on", + "off", + "open" + ], + "type": "string" +}; + +/** + * The schema of `zones_ip_geolocation-2` in responses. + */ +export const zones_ip_geolocation_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "ip_geolocation" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_ip_geolocation_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_ip_geolocation_value` in responses. + */ +export const zones_ip_geolocation_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_ipv6` in responses. + */ +export const zones_ipv6_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "ipv6" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_ipv6_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_ipv6_value` in responses. + */ +export const zones_ipv6_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_max_upload` in responses. + */ +export const zones_max_upload_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "max_upload" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_max_upload_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_max_upload_value` in responses. + */ +export const zones_max_upload_value_output: JsonSchema = { + "enum": [ + 100, + 125, + 150, + 175, + 200, + 225, + 250, + 275, + 300, + 325, + 350, + 375, + 400, + 425, + 450, + 475, + 500, + 1000, + 1500, + 2000, + 2500, + 3000, + 3500, + 4000, + 4500, + 5000 + ], + "type": "integer" +}; + +/** + * The schema of `zones_min_tls_version` in responses. + */ +export const zones_min_tls_version_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "min_tls_version" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_min_tls_version_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_min_tls_version_value` in responses. + */ +export const zones_min_tls_version_value_output: JsonSchema = { + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3" + ], + "type": "string" +}; + +/** + * The schema of `zones_mirage-2` in responses. + */ +export const zones_mirage_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "mirage" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_mirage_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_mirage_value` in responses. + */ +export const zones_mirage_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_nel` in responses. + */ +export const zones_nel_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "nel" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_nel_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_nel_value` in responses. + */ +export const zones_nel_value_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_opportunistic_encryption-2` in responses. + */ +export const zones_opportunistic_encryption_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "opportunistic_encryption" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_opportunistic_encryption_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_opportunistic_encryption_value` in responses. + */ +export const zones_opportunistic_encryption_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_opportunistic_onion` in responses. + */ +export const zones_opportunistic_onion_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "opportunistic_onion" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_opportunistic_onion_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_opportunistic_onion_value` in responses. + */ +export const zones_opportunistic_onion_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_orange_to_orange` in responses. + */ +export const zones_orange_to_orange_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "orange_to_orange" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_orange_to_orange_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_orange_to_orange_value` in responses. + */ +export const zones_orange_to_orange_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_origin_error_page_pass_thru-2` in responses. + */ +export const zones_origin_error_page_pass_thru_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "origin_error_page_pass_thru" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_origin_error_page_pass_thru_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_origin_error_page_pass_thru_value` in responses. + */ +export const zones_origin_error_page_pass_thru_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_polish-2` in responses. + */ +export const zones_polish_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "polish" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_polish_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_polish_value` in responses. + */ +export const zones_polish_value_output: JsonSchema = { + "enum": [ + "off", + "lossless", + "lossy" + ], + "type": "string" +}; + +/** + * The schema of `zones_pre_render` in responses. + */ +export const zones_pre_render_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "pre_render" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_pre_render_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_pre_render_value` in responses. + */ +export const zones_pre_render_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_prefetch_preload` in responses. + */ +export const zones_prefetch_preload_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "prefetch_preload" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_prefetch_preload_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_prefetch_preload_value` in responses. + */ +export const zones_prefetch_preload_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_privacy_pass` in responses. + */ +export const zones_privacy_pass_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "privacy_pass" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_privacy_pass_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_privacy_pass_value` in responses. + */ +export const zones_privacy_pass_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_proxy_read_timeout` in responses. + */ +export const zones_proxy_read_timeout_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "proxy_read_timeout" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_proxy_read_timeout_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_proxy_read_timeout_value` in responses. + */ +export const zones_proxy_read_timeout_value_output: JsonSchema = { + "type": "number" +}; + +/** + * The schema of `zones_pseudo_ipv4` in responses. + */ +export const zones_pseudo_ipv4_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "pseudo_ipv4" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_pseudo_ipv4_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_pseudo_ipv4_value` in responses. + */ +export const zones_pseudo_ipv4_value_output: JsonSchema = { + "enum": [ + "off", + "add_header", + "overwrite_header" + ], + "type": "string" +}; + +/** + * The schema of `zones_redirects_for_ai_training` in responses. + */ +export const zones_redirects_for_ai_training_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "redirects_for_ai_training" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_redirects_for_ai_training_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_redirects_for_ai_training_value` in responses. + */ +export const zones_redirects_for_ai_training_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_replace_insecure_js` in responses. + */ +export const zones_replace_insecure_js_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "replace_insecure_js" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_replace_insecure_js_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_replace_insecure_js_value` in responses. + */ +export const zones_replace_insecure_js_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_response_buffering-2` in responses. + */ +export const zones_response_buffering_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "response_buffering" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_response_buffering_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_response_buffering_value` in responses. + */ +export const zones_response_buffering_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_rocket_loader-2` in responses. + */ +export const zones_rocket_loader_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "rocket_loader" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_rocket_loader_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_rocket_loader_value` in responses. + */ +export const zones_rocket_loader_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_schemas-automatic_platform_optimization` in responses. + */ +export const zones_schemas_automatic_platform_optimization_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "automatic_platform_optimization" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_automatic_platform_optimization" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_search_for_agents` in responses. + */ +export const zones_search_for_agents_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "search_for_agents" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_search_for_agents_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_search_for_agents_value` in responses. + */ +export const zones_search_for_agents_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_security_header` in responses. + */ +export const zones_security_header_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "security_header" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_security_header_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_security_header_value` in responses. + */ +export const zones_security_header_value_output: JsonSchema = { + "properties": { + "strict_transport_security": { + "$ref": "#/$defs/zones_security_header_value_strict_transport_security" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_security_header_value_strict_transport_security` in + * responses. + */ +export const zones_security_header_value_strict_transport_security_output: JsonSchema = { + "properties": { + "enabled": { + "type": "boolean" + }, + "include_subdomains": { + "type": "boolean" + }, + "max_age": { + "type": "number" + }, + "nosniff": { + "type": "boolean" + }, + "preload": { + "type": "boolean" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_security_level-2` in responses. + */ +export const zones_security_level_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "security_level" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_security_level_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_security_level_value` in responses. + */ +export const zones_security_level_value_output: JsonSchema = { + "enum": [ + "off", + "essentially_off", + "low", + "medium", + "high", + "under_attack" + ], + "type": "string" +}; + +/** + * The schema of `zones_server_side_exclude` in responses. + */ +export const zones_server_side_exclude_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "server_side_exclude" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_server_side_exclude_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_server_side_exclude_value` in responses. + */ +export const zones_server_side_exclude_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_setting` in responses. + */ +export const zones_setting_output: JsonSchema = { + "oneOf": [ + { + "$ref": "#/$defs/zones_0rtt" + }, + { + "$ref": "#/$defs/zones_advanced_ddos" + }, + { + "$ref": "#/$defs/zones_cache-rules_aegis" + }, + { + "$ref": "#/$defs/zones_always_online" + }, + { + "$ref": "#/$defs/zones_always_use_https-2" + }, + { + "$ref": "#/$defs/zones_automatic_https_rewrites-2" + }, + { + "$ref": "#/$defs/zones_brotli" + }, + { + "$ref": "#/$defs/zones_browser_cache_ttl-2" + }, + { + "$ref": "#/$defs/zones_browser_check-2" + }, + { + "$ref": "#/$defs/zones_cache_level-2" + }, + { + "$ref": "#/$defs/zones_challenge_ttl" + }, + { + "$ref": "#/$defs/zones_china_network_enabled" + }, + { + "$ref": "#/$defs/zones_content_converter" + }, + { + "$ref": "#/$defs/zones_ciphers" + }, + { + "$ref": "#/$defs/zones_cname_flattening" + }, + { + "$ref": "#/$defs/zones_development_mode" + }, + { + "$ref": "#/$defs/zones_early_hints" + }, + { + "$ref": "#/$defs/zones_edge_cache_ttl-2" + }, + { + "$ref": "#/$defs/zones_email_obfuscation-2" + }, + { + "$ref": "#/$defs/zones_h2_prioritization" + }, + { + "$ref": "#/$defs/zones_hotlink_protection" + }, + { + "$ref": "#/$defs/zones_http2" + }, + { + "$ref": "#/$defs/zones_http3" + }, + { + "$ref": "#/$defs/zones_image_resizing" + }, + { + "$ref": "#/$defs/zones_ip_geolocation-2" + }, + { + "$ref": "#/$defs/zones_ipv6" + }, + { + "$ref": "#/$defs/zones_max_upload" + }, + { + "$ref": "#/$defs/zones_min_tls_version" + }, + { + "$ref": "#/$defs/zones_mirage-2" + }, + { + "$ref": "#/$defs/zones_nel" + }, + { + "$ref": "#/$defs/zones_opportunistic_encryption-2" + }, + { + "$ref": "#/$defs/zones_opportunistic_onion" + }, + { + "$ref": "#/$defs/zones_orange_to_orange" + }, + { + "$ref": "#/$defs/zones_origin_error_page_pass_thru-2" + }, + { + "$ref": "#/$defs/zones_cache-rules_origin_h2_max_streams" + }, + { + "$ref": "#/$defs/zones_cache-rules_origin_max_http_version" + }, + { + "$ref": "#/$defs/zones_polish-2" + }, + { + "$ref": "#/$defs/zones_prefetch_preload" + }, + { + "$ref": "#/$defs/zones_pre_render" + }, + { + "$ref": "#/$defs/zones_privacy_pass" + }, + { + "$ref": "#/$defs/zones_proxy_read_timeout" + }, + { + "$ref": "#/$defs/zones_pseudo_ipv4" + }, + { + "$ref": "#/$defs/zones_redirects_for_ai_training" + }, + { + "$ref": "#/$defs/zones_replace_insecure_js" + }, + { + "$ref": "#/$defs/zones_response_buffering-2" + }, + { + "$ref": "#/$defs/zones_rocket_loader-2" + }, + { + "$ref": "#/$defs/zones_schemas-automatic_platform_optimization" + }, + { + "$ref": "#/$defs/zones_search_for_agents" + }, + { + "$ref": "#/$defs/zones_security_header" + }, + { + "$ref": "#/$defs/zones_security_level-2" + }, + { + "$ref": "#/$defs/zones_server_side_exclude" + }, + { + "$ref": "#/$defs/zones_sha1_support" + }, + { + "$ref": "#/$defs/zones_sort_query_string_for_cache-2" + }, + { + "$ref": "#/$defs/zones_ssl-2" + }, + { + "$ref": "#/$defs/zones_ssl_recommender" + }, + { + "$ref": "#/$defs/zones_tls_1_2_only" + }, + { + "$ref": "#/$defs/zones_tls_1_3" + }, + { + "$ref": "#/$defs/zones_tls_client_auth" + }, + { + "$ref": "#/$defs/zones_transformations" + }, + { + "$ref": "#/$defs/zones_transformations_allowed_origins" + }, + { + "$ref": "#/$defs/zones_true_client_ip_header-2" + }, + { + "$ref": "#/$defs/zones_waf-2" + }, + { + "$ref": "#/$defs/zones_webmcp_enabled" + }, + { + "$ref": "#/$defs/zones_webmcp_mcp_url" + }, + { + "$ref": "#/$defs/zones_webmcp_packs" + }, + { + "$ref": "#/$defs/zones_webp" + }, + { + "$ref": "#/$defs/zones_websockets" + } + ] +}; + +/** + * The schema of `zones_sha1_support` in responses. + */ +export const zones_sha1_support_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "sha1_support" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_sha1_support_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_sha1_support_value` in responses. + */ +export const zones_sha1_support_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_sort_query_string_for_cache-2` in responses. + */ +export const zones_sort_query_string_for_cache_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "sort_query_string_for_cache" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_sort_query_string_for_cache_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_sort_query_string_for_cache_value` in responses. + */ +export const zones_sort_query_string_for_cache_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_ssl-2` in responses. + */ +export const zones_ssl_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "ssl" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_ssl_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_ssl_recommender` in responses. + */ +export const zones_ssl_recommender_output: JsonSchema = { + "properties": { + "enabled": { + "$ref": "#/$defs/zones_ssl_recommender_enabled" + }, + "id": { + "enum": [ + "ssl_recommender" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of `zones_ssl_recommender_enabled` in responses. + */ +export const zones_ssl_recommender_enabled_output: JsonSchema = { + "type": "boolean" +}; + +/** + * The schema of `zones_ssl_value` in responses. + */ +export const zones_ssl_value_output: JsonSchema = { + "enum": [ + "off", + "flexible", + "full", + "strict" + ], + "type": "string" +}; + +/** + * The schema of `zones_tls_1_2_only` in responses. + */ +export const zones_tls_1_2_only_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "tls_1_2_only" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_tls_1_2_only_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_tls_1_2_only_value` in responses. + */ +export const zones_tls_1_2_only_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_tls_1_3` in responses. + */ +export const zones_tls_1_3_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "tls_1_3" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_tls_1_3_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_tls_1_3_value` in responses. + */ +export const zones_tls_1_3_value_output: JsonSchema = { + "enum": [ + "on", + "off", + "zrt" + ], + "type": "string" +}; + +/** + * The schema of `zones_tls_client_auth` in responses. + */ +export const zones_tls_client_auth_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "tls_client_auth" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_tls_client_auth_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_tls_client_auth_value` in responses. + */ +export const zones_tls_client_auth_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_transformations` in responses. + */ +export const zones_transformations_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "transformations" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_image_resizing_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_transformations_allowed_origins` in responses. + */ +export const zones_transformations_allowed_origins_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "transformations_allowed_origins" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_transformations_allowed_origins_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_transformations_allowed_origins_value` in responses. + */ +export const zones_transformations_allowed_origins_value_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zones_true_client_ip_header-2` in responses. + */ +export const zones_true_client_ip_header_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "true_client_ip_header" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_true_client_ip_header_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_true_client_ip_header_value` in responses. + */ +export const zones_true_client_ip_header_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_waf-2` in responses. + */ +export const zones_waf_2_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "waf" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_waf_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_waf_value` in responses. + */ +export const zones_waf_value_output: JsonSchema = { + "enum": [ + "on", + "off" + ], + "type": "string" +}; + +/** + * The schema of `zones_webmcp_enabled` in responses. + */ +export const zones_webmcp_enabled_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "webmcp_enabled" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_webmcp_enabled_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_webmcp_enabled_value` in responses. + */ +export const zones_webmcp_enabled_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_webmcp_mcp_url` in responses. + */ +export const zones_webmcp_mcp_url_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "webmcp_mcp_url" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_webmcp_mcp_url_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_webmcp_mcp_url_value` in responses. + */ +export const zones_webmcp_mcp_url_value_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zones_webmcp_packs` in responses. + */ +export const zones_webmcp_packs_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "webmcp_packs" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_webmcp_packs_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_webmcp_packs_value` in responses. + */ +export const zones_webmcp_packs_value_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `zones_webp` in responses. + */ +export const zones_webp_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "webp" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_webp_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_webp_value` in responses. + */ +export const zones_webp_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; + +/** + * The schema of `zones_websockets` in responses. + */ +export const zones_websockets_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "websockets" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/zones_websockets_value" + } + }, + "required": [ + "id", + "value" + ], + "type": "object" +}; + +/** + * The schema of `zones_websockets_value` in responses. + */ +export const zones_websockets_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zones/settings/tools.ts b/src/generated/forge-mcp/zones/settings/tools.ts index cac8c1a3..ce078a02 100644 --- a/src/generated/forge-mcp/zones/settings/tools.ts +++ b/src/generated/forge-mcp/zones/settings/tools.ts @@ -2,6 +2,145 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { zones_messages_output } from "../outputs.js"; +import { + zones_0rtt_output, + zones_0rtt_value_output, + zones_advanced_ddos_output, + zones_advanced_ddos_value_output, + zones_always_online_output, + zones_always_online_value_output, + zones_always_use_https_2_output, + zones_always_use_https_value_output, + zones_api_response_common_failure_3_output, + zones_automatic_https_rewrites_2_output, + zones_automatic_https_rewrites_value_output, + zones_automatic_platform_optimization_output, + zones_brotli_output, + zones_brotli_value_output, + zones_browser_cache_ttl_2_output, + zones_browser_cache_ttl_value_output, + zones_browser_check_2_output, + zones_browser_check_value_output, + zones_cache_level_2_output, + zones_cache_level_value_output, + zones_cache_rules_aegis_output, + zones_cache_rules_aegis_value_output, + zones_cache_rules_origin_h2_max_streams_output, + zones_cache_rules_origin_h2_max_streams_value_output, + zones_cache_rules_origin_max_http_version_output, + zones_cache_rules_origin_max_http_version_value_output, + zones_challenge_ttl_output, + zones_challenge_ttl_value_output, + zones_china_network_enabled_output, + zones_china_network_enabled_value_output, + zones_ciphers_output, + zones_ciphers_value_output, + zones_cname_flattening_output, + zones_cname_flattening_value_output, + zones_content_converter_output, + zones_content_converter_value_output, + zones_development_mode_output, + zones_development_mode_value_output, + zones_early_hints_output, + zones_early_hints_value_output, + zones_edge_cache_ttl_2_output, + zones_edge_cache_ttl_value_output, + zones_email_obfuscation_2_output, + zones_email_obfuscation_value_output, + zones_h2_prioritization_output, + zones_h2_prioritization_value_output, + zones_hotlink_protection_output, + zones_hotlink_protection_value_output, + zones_http2_output, + zones_http2_value_output, + zones_http3_output, + zones_http3_value_output, + zones_image_resizing_output, + zones_image_resizing_value_output, + zones_ip_geolocation_2_output, + zones_ip_geolocation_value_output, + zones_ipv6_output, + zones_ipv6_value_output, + zones_max_upload_output, + zones_max_upload_value_output, + zones_min_tls_version_output, + zones_min_tls_version_value_output, + zones_mirage_2_output, + zones_mirage_value_output, + zones_nel_output, + zones_nel_value_output, + zones_opportunistic_encryption_2_output, + zones_opportunistic_encryption_value_output, + zones_opportunistic_onion_output, + zones_opportunistic_onion_value_output, + zones_orange_to_orange_output, + zones_orange_to_orange_value_output, + zones_origin_error_page_pass_thru_2_output, + zones_origin_error_page_pass_thru_value_output, + zones_polish_2_output, + zones_polish_value_output, + zones_pre_render_output, + zones_pre_render_value_output, + zones_prefetch_preload_output, + zones_prefetch_preload_value_output, + zones_privacy_pass_output, + zones_privacy_pass_value_output, + zones_proxy_read_timeout_output, + zones_proxy_read_timeout_value_output, + zones_pseudo_ipv4_output, + zones_pseudo_ipv4_value_output, + zones_redirects_for_ai_training_output, + zones_redirects_for_ai_training_value_output, + zones_replace_insecure_js_output, + zones_replace_insecure_js_value_output, + zones_response_buffering_2_output, + zones_response_buffering_value_output, + zones_rocket_loader_2_output, + zones_rocket_loader_value_output, + zones_schemas_automatic_platform_optimization_output, + zones_search_for_agents_output, + zones_search_for_agents_value_output, + zones_security_header_output, + zones_security_header_value_output, + zones_security_header_value_strict_transport_security_output, + zones_security_level_2_output, + zones_security_level_value_output, + zones_server_side_exclude_output, + zones_server_side_exclude_value_output, + zones_setting_output, + zones_sha1_support_output, + zones_sha1_support_value_output, + zones_sort_query_string_for_cache_2_output, + zones_sort_query_string_for_cache_value_output, + zones_ssl_2_output, + zones_ssl_recommender_enabled_output, + zones_ssl_recommender_output, + zones_ssl_value_output, + zones_tls_1_2_only_output, + zones_tls_1_2_only_value_output, + zones_tls_1_3_output, + zones_tls_1_3_value_output, + zones_tls_client_auth_output, + zones_tls_client_auth_value_output, + zones_transformations_allowed_origins_output, + zones_transformations_allowed_origins_value_output, + zones_transformations_output, + zones_true_client_ip_header_2_output, + zones_true_client_ip_header_value_output, + zones_waf_2_output, + zones_waf_value_output, + zones_webmcp_enabled_output, + zones_webmcp_enabled_value_output, + zones_webmcp_mcp_url_output, + zones_webmcp_mcp_url_value_output, + zones_webmcp_packs_output, + zones_webmcp_packs_value_output, + zones_webp_output, + zones_webp_value_output, + zones_websockets_output, + zones_websockets_value_output, +} from "./outputs.js"; import { zones_0rtt_value, zones_advanced_ddos_value, @@ -202,6 +341,155 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zones_setting" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-3" + } + }, + $defs: { + "zones_0rtt": zones_0rtt_output, + "zones_0rtt_value": zones_0rtt_value_output, + "zones_advanced_ddos": zones_advanced_ddos_output, + "zones_advanced_ddos_value": zones_advanced_ddos_value_output, + "zones_always_online": zones_always_online_output, + "zones_always_online_value": zones_always_online_value_output, + "zones_always_use_https-2": zones_always_use_https_2_output, + "zones_always_use_https_value": zones_always_use_https_value_output, + "zones_api-response-common-failure-3": zones_api_response_common_failure_3_output, + "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites_2_output, + "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value_output, + "zones_automatic_platform_optimization": zones_automatic_platform_optimization_output, + "zones_brotli": zones_brotli_output, + "zones_brotli_value": zones_brotli_value_output, + "zones_browser_cache_ttl-2": zones_browser_cache_ttl_2_output, + "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value_output, + "zones_browser_check-2": zones_browser_check_2_output, + "zones_browser_check_value": zones_browser_check_value_output, + "zones_cache-rules_aegis": zones_cache_rules_aegis_output, + "zones_cache-rules_aegis_value": zones_cache_rules_aegis_value_output, + "zones_cache-rules_origin_h2_max_streams": zones_cache_rules_origin_h2_max_streams_output, + "zones_cache-rules_origin_h2_max_streams_value": zones_cache_rules_origin_h2_max_streams_value_output, + "zones_cache-rules_origin_max_http_version": zones_cache_rules_origin_max_http_version_output, + "zones_cache-rules_origin_max_http_version_value": zones_cache_rules_origin_max_http_version_value_output, + "zones_cache_level-2": zones_cache_level_2_output, + "zones_cache_level_value": zones_cache_level_value_output, + "zones_challenge_ttl": zones_challenge_ttl_output, + "zones_challenge_ttl_value": zones_challenge_ttl_value_output, + "zones_china_network_enabled": zones_china_network_enabled_output, + "zones_china_network_enabled_value": zones_china_network_enabled_value_output, + "zones_ciphers": zones_ciphers_output, + "zones_ciphers_value": zones_ciphers_value_output, + "zones_cname_flattening": zones_cname_flattening_output, + "zones_cname_flattening_value": zones_cname_flattening_value_output, + "zones_content_converter": zones_content_converter_output, + "zones_content_converter_value": zones_content_converter_value_output, + "zones_development_mode": zones_development_mode_output, + "zones_development_mode_value": zones_development_mode_value_output, + "zones_early_hints": zones_early_hints_output, + "zones_early_hints_value": zones_early_hints_value_output, + "zones_edge_cache_ttl-2": zones_edge_cache_ttl_2_output, + "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value_output, + "zones_email_obfuscation-2": zones_email_obfuscation_2_output, + "zones_email_obfuscation_value": zones_email_obfuscation_value_output, + "zones_h2_prioritization": zones_h2_prioritization_output, + "zones_h2_prioritization_value": zones_h2_prioritization_value_output, + "zones_hotlink_protection": zones_hotlink_protection_output, + "zones_hotlink_protection_value": zones_hotlink_protection_value_output, + "zones_http2": zones_http2_output, + "zones_http2_value": zones_http2_value_output, + "zones_http3": zones_http3_output, + "zones_http3_value": zones_http3_value_output, + "zones_image_resizing": zones_image_resizing_output, + "zones_image_resizing_value": zones_image_resizing_value_output, + "zones_ip_geolocation-2": zones_ip_geolocation_2_output, + "zones_ip_geolocation_value": zones_ip_geolocation_value_output, + "zones_ipv6": zones_ipv6_output, + "zones_ipv6_value": zones_ipv6_value_output, + "zones_max_upload": zones_max_upload_output, + "zones_max_upload_value": zones_max_upload_value_output, + "zones_messages": zones_messages_output, + "zones_min_tls_version": zones_min_tls_version_output, + "zones_min_tls_version_value": zones_min_tls_version_value_output, + "zones_mirage-2": zones_mirage_2_output, + "zones_mirage_value": zones_mirage_value_output, + "zones_nel": zones_nel_output, + "zones_nel_value": zones_nel_value_output, + "zones_opportunistic_encryption-2": zones_opportunistic_encryption_2_output, + "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value_output, + "zones_opportunistic_onion": zones_opportunistic_onion_output, + "zones_opportunistic_onion_value": zones_opportunistic_onion_value_output, + "zones_orange_to_orange": zones_orange_to_orange_output, + "zones_orange_to_orange_value": zones_orange_to_orange_value_output, + "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru_2_output, + "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value_output, + "zones_polish-2": zones_polish_2_output, + "zones_polish_value": zones_polish_value_output, + "zones_pre_render": zones_pre_render_output, + "zones_pre_render_value": zones_pre_render_value_output, + "zones_prefetch_preload": zones_prefetch_preload_output, + "zones_prefetch_preload_value": zones_prefetch_preload_value_output, + "zones_privacy_pass": zones_privacy_pass_output, + "zones_privacy_pass_value": zones_privacy_pass_value_output, + "zones_proxy_read_timeout": zones_proxy_read_timeout_output, + "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value_output, + "zones_pseudo_ipv4": zones_pseudo_ipv4_output, + "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value_output, + "zones_redirects_for_ai_training": zones_redirects_for_ai_training_output, + "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value_output, + "zones_replace_insecure_js": zones_replace_insecure_js_output, + "zones_replace_insecure_js_value": zones_replace_insecure_js_value_output, + "zones_response_buffering-2": zones_response_buffering_2_output, + "zones_response_buffering_value": zones_response_buffering_value_output, + "zones_rocket_loader-2": zones_rocket_loader_2_output, + "zones_rocket_loader_value": zones_rocket_loader_value_output, + "zones_schemas-automatic_platform_optimization": zones_schemas_automatic_platform_optimization_output, + "zones_search_for_agents": zones_search_for_agents_output, + "zones_search_for_agents_value": zones_search_for_agents_value_output, + "zones_security_header": zones_security_header_output, + "zones_security_header_value": zones_security_header_value_output, + "zones_security_header_value_strict_transport_security": zones_security_header_value_strict_transport_security_output, + "zones_security_level-2": zones_security_level_2_output, + "zones_security_level_value": zones_security_level_value_output, + "zones_server_side_exclude": zones_server_side_exclude_output, + "zones_server_side_exclude_value": zones_server_side_exclude_value_output, + "zones_setting": zones_setting_output, + "zones_sha1_support": zones_sha1_support_output, + "zones_sha1_support_value": zones_sha1_support_value_output, + "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache_2_output, + "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value_output, + "zones_ssl-2": zones_ssl_2_output, + "zones_ssl_recommender": zones_ssl_recommender_output, + "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled_output, + "zones_ssl_value": zones_ssl_value_output, + "zones_tls_1_2_only": zones_tls_1_2_only_output, + "zones_tls_1_2_only_value": zones_tls_1_2_only_value_output, + "zones_tls_1_3": zones_tls_1_3_output, + "zones_tls_1_3_value": zones_tls_1_3_value_output, + "zones_tls_client_auth": zones_tls_client_auth_output, + "zones_tls_client_auth_value": zones_tls_client_auth_value_output, + "zones_transformations": zones_transformations_output, + "zones_transformations_allowed_origins": zones_transformations_allowed_origins_output, + "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value_output, + "zones_true_client_ip_header-2": zones_true_client_ip_header_2_output, + "zones_true_client_ip_header_value": zones_true_client_ip_header_value_output, + "zones_waf-2": zones_waf_2_output, + "zones_waf_value": zones_waf_value_output, + "zones_webmcp_enabled": zones_webmcp_enabled_output, + "zones_webmcp_enabled_value": zones_webmcp_enabled_value_output, + "zones_webmcp_mcp_url": zones_webmcp_mcp_url_output, + "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value_output, + "zones_webmcp_packs": zones_webmcp_packs_output, + "zones_webmcp_packs_value": zones_webmcp_packs_value_output, + "zones_webp": zones_webp_output, + "zones_webp_value": zones_webp_value_output, + "zones_websockets": zones_websockets_output, + "zones_websockets_value": zones_websockets_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/${pathParam(args, "setting_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -259,6 +547,155 @@ export const tools: readonly Tool[] = [ "pro": false } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zones_setting" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure-3" + } + }, + $defs: { + "zones_0rtt": zones_0rtt_output, + "zones_0rtt_value": zones_0rtt_value_output, + "zones_advanced_ddos": zones_advanced_ddos_output, + "zones_advanced_ddos_value": zones_advanced_ddos_value_output, + "zones_always_online": zones_always_online_output, + "zones_always_online_value": zones_always_online_value_output, + "zones_always_use_https-2": zones_always_use_https_2_output, + "zones_always_use_https_value": zones_always_use_https_value_output, + "zones_api-response-common-failure-3": zones_api_response_common_failure_3_output, + "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites_2_output, + "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value_output, + "zones_automatic_platform_optimization": zones_automatic_platform_optimization_output, + "zones_brotli": zones_brotli_output, + "zones_brotli_value": zones_brotli_value_output, + "zones_browser_cache_ttl-2": zones_browser_cache_ttl_2_output, + "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value_output, + "zones_browser_check-2": zones_browser_check_2_output, + "zones_browser_check_value": zones_browser_check_value_output, + "zones_cache-rules_aegis": zones_cache_rules_aegis_output, + "zones_cache-rules_aegis_value": zones_cache_rules_aegis_value_output, + "zones_cache-rules_origin_h2_max_streams": zones_cache_rules_origin_h2_max_streams_output, + "zones_cache-rules_origin_h2_max_streams_value": zones_cache_rules_origin_h2_max_streams_value_output, + "zones_cache-rules_origin_max_http_version": zones_cache_rules_origin_max_http_version_output, + "zones_cache-rules_origin_max_http_version_value": zones_cache_rules_origin_max_http_version_value_output, + "zones_cache_level-2": zones_cache_level_2_output, + "zones_cache_level_value": zones_cache_level_value_output, + "zones_challenge_ttl": zones_challenge_ttl_output, + "zones_challenge_ttl_value": zones_challenge_ttl_value_output, + "zones_china_network_enabled": zones_china_network_enabled_output, + "zones_china_network_enabled_value": zones_china_network_enabled_value_output, + "zones_ciphers": zones_ciphers_output, + "zones_ciphers_value": zones_ciphers_value_output, + "zones_cname_flattening": zones_cname_flattening_output, + "zones_cname_flattening_value": zones_cname_flattening_value_output, + "zones_content_converter": zones_content_converter_output, + "zones_content_converter_value": zones_content_converter_value_output, + "zones_development_mode": zones_development_mode_output, + "zones_development_mode_value": zones_development_mode_value_output, + "zones_early_hints": zones_early_hints_output, + "zones_early_hints_value": zones_early_hints_value_output, + "zones_edge_cache_ttl-2": zones_edge_cache_ttl_2_output, + "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value_output, + "zones_email_obfuscation-2": zones_email_obfuscation_2_output, + "zones_email_obfuscation_value": zones_email_obfuscation_value_output, + "zones_h2_prioritization": zones_h2_prioritization_output, + "zones_h2_prioritization_value": zones_h2_prioritization_value_output, + "zones_hotlink_protection": zones_hotlink_protection_output, + "zones_hotlink_protection_value": zones_hotlink_protection_value_output, + "zones_http2": zones_http2_output, + "zones_http2_value": zones_http2_value_output, + "zones_http3": zones_http3_output, + "zones_http3_value": zones_http3_value_output, + "zones_image_resizing": zones_image_resizing_output, + "zones_image_resizing_value": zones_image_resizing_value_output, + "zones_ip_geolocation-2": zones_ip_geolocation_2_output, + "zones_ip_geolocation_value": zones_ip_geolocation_value_output, + "zones_ipv6": zones_ipv6_output, + "zones_ipv6_value": zones_ipv6_value_output, + "zones_max_upload": zones_max_upload_output, + "zones_max_upload_value": zones_max_upload_value_output, + "zones_messages": zones_messages_output, + "zones_min_tls_version": zones_min_tls_version_output, + "zones_min_tls_version_value": zones_min_tls_version_value_output, + "zones_mirage-2": zones_mirage_2_output, + "zones_mirage_value": zones_mirage_value_output, + "zones_nel": zones_nel_output, + "zones_nel_value": zones_nel_value_output, + "zones_opportunistic_encryption-2": zones_opportunistic_encryption_2_output, + "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value_output, + "zones_opportunistic_onion": zones_opportunistic_onion_output, + "zones_opportunistic_onion_value": zones_opportunistic_onion_value_output, + "zones_orange_to_orange": zones_orange_to_orange_output, + "zones_orange_to_orange_value": zones_orange_to_orange_value_output, + "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru_2_output, + "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value_output, + "zones_polish-2": zones_polish_2_output, + "zones_polish_value": zones_polish_value_output, + "zones_pre_render": zones_pre_render_output, + "zones_pre_render_value": zones_pre_render_value_output, + "zones_prefetch_preload": zones_prefetch_preload_output, + "zones_prefetch_preload_value": zones_prefetch_preload_value_output, + "zones_privacy_pass": zones_privacy_pass_output, + "zones_privacy_pass_value": zones_privacy_pass_value_output, + "zones_proxy_read_timeout": zones_proxy_read_timeout_output, + "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value_output, + "zones_pseudo_ipv4": zones_pseudo_ipv4_output, + "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value_output, + "zones_redirects_for_ai_training": zones_redirects_for_ai_training_output, + "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value_output, + "zones_replace_insecure_js": zones_replace_insecure_js_output, + "zones_replace_insecure_js_value": zones_replace_insecure_js_value_output, + "zones_response_buffering-2": zones_response_buffering_2_output, + "zones_response_buffering_value": zones_response_buffering_value_output, + "zones_rocket_loader-2": zones_rocket_loader_2_output, + "zones_rocket_loader_value": zones_rocket_loader_value_output, + "zones_schemas-automatic_platform_optimization": zones_schemas_automatic_platform_optimization_output, + "zones_search_for_agents": zones_search_for_agents_output, + "zones_search_for_agents_value": zones_search_for_agents_value_output, + "zones_security_header": zones_security_header_output, + "zones_security_header_value": zones_security_header_value_output, + "zones_security_header_value_strict_transport_security": zones_security_header_value_strict_transport_security_output, + "zones_security_level-2": zones_security_level_2_output, + "zones_security_level_value": zones_security_level_value_output, + "zones_server_side_exclude": zones_server_side_exclude_output, + "zones_server_side_exclude_value": zones_server_side_exclude_value_output, + "zones_setting": zones_setting_output, + "zones_sha1_support": zones_sha1_support_output, + "zones_sha1_support_value": zones_sha1_support_value_output, + "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache_2_output, + "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value_output, + "zones_ssl-2": zones_ssl_2_output, + "zones_ssl_recommender": zones_ssl_recommender_output, + "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled_output, + "zones_ssl_value": zones_ssl_value_output, + "zones_tls_1_2_only": zones_tls_1_2_only_output, + "zones_tls_1_2_only_value": zones_tls_1_2_only_value_output, + "zones_tls_1_3": zones_tls_1_3_output, + "zones_tls_1_3_value": zones_tls_1_3_value_output, + "zones_tls_client_auth": zones_tls_client_auth_output, + "zones_tls_client_auth_value": zones_tls_client_auth_value_output, + "zones_transformations": zones_transformations_output, + "zones_transformations_allowed_origins": zones_transformations_allowed_origins_output, + "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value_output, + "zones_true_client_ip_header-2": zones_true_client_ip_header_2_output, + "zones_true_client_ip_header_value": zones_true_client_ip_header_value_output, + "zones_waf-2": zones_waf_2_output, + "zones_waf_value": zones_waf_value_output, + "zones_webmcp_enabled": zones_webmcp_enabled_output, + "zones_webmcp_enabled_value": zones_webmcp_enabled_value_output, + "zones_webmcp_mcp_url": zones_webmcp_mcp_url_output, + "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value_output, + "zones_webmcp_packs": zones_webmcp_packs_output, + "zones_webmcp_packs_value": zones_webmcp_packs_value_output, + "zones_webp": zones_webp_output, + "zones_webp_value": zones_webp_value_output, + "zones_websockets": zones_websockets_output, + "zones_websockets_value": zones_websockets_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/${pathParam(args, "setting_id")}`, }), diff --git a/src/generated/forge-mcp/zones/speedBrain/outputs.ts b/src/generated/forge-mcp/zones/speedBrain/outputs.ts new file mode 100644 index 00000000..ea94d88f --- /dev/null +++ b/src/generated/forge-mcp/zones/speedBrain/outputs.ts @@ -0,0 +1,37 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_cloudflare_speed_brain_response` in responses. + */ +export const speed_cloudflare_speed_brain_response_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zones/speedBrain/tools.ts b/src/generated/forge-mcp/zones/speedBrain/tools.ts index 02b8aa2a..38a5bb4a 100644 --- a/src/generated/forge-mcp/zones/speedBrain/tools.ts +++ b/src/generated/forge-mcp/zones/speedBrain/tools.ts @@ -2,6 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { speed_cloudflare_speed_brain_response_output } from "./outputs.js"; /** * The tools of `zones.speed_brain`. @@ -70,6 +75,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_cloudflare_speed_brain_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/speed_brain`, body: { value: args["body"], mediaType: "application/json" }, @@ -122,6 +142,21 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_cloudflare_speed_brain_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response_output, + "speed_messages": speed_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/speed_brain`, }), diff --git a/src/generated/forge-mcp/zones/subscriptions/outputs.ts b/src/generated/forge-mcp/zones/subscriptions/outputs.ts new file mode 100644 index 00000000..8237828e --- /dev/null +++ b/src/generated/forge-mcp/zones/subscriptions/outputs.ts @@ -0,0 +1,114 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `bill-subs-api_api-response-single` in responses. + */ +export const bill_subs_api_api_response_single_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/bill-subs-api_messages" + }, + "messages": { + "$ref": "#/$defs/bill-subs-api_messages" + }, + "result": { + "$ref": "#/$defs/bill-subs-api_api-response-single_result" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `bill-subs-api_api-response-single_result` in responses. + */ +export const bill_subs_api_api_response_single_result_output: JsonSchema = { + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + }, + { + "type": "null" + } + ] +}; + +/** + * The schema of `bill-subs-api_frequency_response` in responses. + */ +export const bill_subs_api_frequency_response_output: JsonSchema = { + "allOf": [ + { + "$ref": "#/$defs/bill-subs-api_frequency" + }, + { + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly", + "not-applicable" + ], + "type": "string" + } + ] +}; + +/** + * The schema of `bill-subs-api_subscription_response` in responses. + */ +export const bill_subs_api_subscription_response_output: JsonSchema = { + "properties": { + "app": { + "$ref": "#/$defs/bill-subs-api_subscription-v2_app" + }, + "component_values": { + "$ref": "#/$defs/bill-subs-api_component_values" + }, + "currency": { + "$ref": "#/$defs/bill-subs-api_currency" + }, + "current_period_end": { + "$ref": "#/$defs/bill-subs-api_current_period_end" + }, + "current_period_start": { + "$ref": "#/$defs/bill-subs-api_current_period_start" + }, + "frequency": { + "$ref": "#/$defs/bill-subs-api_frequency_response" + }, + "id": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier" + }, + "price": { + "$ref": "#/$defs/bill-subs-api_price" + }, + "rate_plan": { + "$ref": "#/$defs/bill-subs-api_rate_plan" + }, + "state": { + "$ref": "#/$defs/bill-subs-api_state" + }, + "zone": { + "$ref": "#/$defs/bill-subs-api_zone" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zones/subscriptions/tools.ts b/src/generated/forge-mcp/zones/subscriptions/tools.ts index c8633769..1b990737 100644 --- a/src/generated/forge-mcp/zones/subscriptions/tools.ts +++ b/src/generated/forge-mcp/zones/subscriptions/tools.ts @@ -2,6 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + bill_subs_api_api_response_common_failure_output, + bill_subs_api_component_value_output, + bill_subs_api_component_values_output, + bill_subs_api_currency_output, + bill_subs_api_current_period_end_output, + bill_subs_api_current_period_start_output, + bill_subs_api_frequency_output, + bill_subs_api_identifier_output, + bill_subs_api_install_id_output, + bill_subs_api_messages_output, + bill_subs_api_name_output, + bill_subs_api_price_output, + bill_subs_api_rate_plan_output, + bill_subs_api_schemas_identifier_output, + bill_subs_api_state_output, + bill_subs_api_subscription_v2_app_output, + bill_subs_api_zone_output, +} from "../../outputs.js"; import { bill_subs_api_component_value, bill_subs_api_component_values, @@ -12,6 +31,12 @@ import { bill_subs_api_subscription_v2_app, bill_subs_api_zone, } from "../../schemas.js"; +import { + bill_subs_api_api_response_single_output, + bill_subs_api_api_response_single_result_output, + bill_subs_api_frequency_response_output, + bill_subs_api_subscription_response_output, +} from "./outputs.js"; /** * The tools of `zones.subscriptions`. @@ -81,6 +106,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_subscription_response" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_component_value": bill_subs_api_component_value_output, + "bill-subs-api_component_values": bill_subs_api_component_values_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, + "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, + "bill-subs-api_frequency": bill_subs_api_frequency_output, + "bill-subs-api_frequency_response": bill_subs_api_frequency_response_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_install_id": bill_subs_api_install_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_name": bill_subs_api_name_output, + "bill-subs-api_price": bill_subs_api_price_output, + "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_state": bill_subs_api_state_output, + "bill-subs-api_subscription-v2_app": bill_subs_api_subscription_v2_app_output, + "bill-subs-api_subscription_response": bill_subs_api_subscription_response_output, + "bill-subs-api_zone": bill_subs_api_zone_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/subscription`, body: { value: args["body"], mediaType: "application/json" }, @@ -132,6 +188,48 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "properties": { + "subscription_id": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier" + } + }, + "type": "object" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/bill-subs-api_api-response-single" + }, + { + "properties": { + "result": { + "properties": { + "subscription_id": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier" + } + }, + "type": "object" + } + }, + "type": "object" + }, + { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + ] + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, + "bill-subs-api_api-response-single_result": bill_subs_api_api_response_single_result_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/subscription`, }), @@ -183,6 +281,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_subscription_response" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_component_value": bill_subs_api_component_value_output, + "bill-subs-api_component_values": bill_subs_api_component_values_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, + "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, + "bill-subs-api_frequency": bill_subs_api_frequency_output, + "bill-subs-api_frequency_response": bill_subs_api_frequency_response_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_install_id": bill_subs_api_install_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_name": bill_subs_api_name_output, + "bill-subs-api_price": bill_subs_api_price_output, + "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_state": bill_subs_api_state_output, + "bill-subs-api_subscription-v2_app": bill_subs_api_subscription_v2_app_output, + "bill-subs-api_subscription_response": bill_subs_api_subscription_response_output, + "bill-subs-api_zone": bill_subs_api_zone_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/subscription`, }), @@ -251,6 +380,37 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/bill-subs-api_subscription_response" + }, + "4XX": { + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" + } + }, + $defs: { + "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, + "bill-subs-api_component_value": bill_subs_api_component_value_output, + "bill-subs-api_component_values": bill_subs_api_component_values_output, + "bill-subs-api_currency": bill_subs_api_currency_output, + "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, + "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, + "bill-subs-api_frequency": bill_subs_api_frequency_output, + "bill-subs-api_frequency_response": bill_subs_api_frequency_response_output, + "bill-subs-api_identifier": bill_subs_api_identifier_output, + "bill-subs-api_install_id": bill_subs_api_install_id_output, + "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_name": bill_subs_api_name_output, + "bill-subs-api_price": bill_subs_api_price_output, + "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, + "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_state": bill_subs_api_state_output, + "bill-subs-api_subscription-v2_app": bill_subs_api_subscription_v2_app_output, + "bill-subs-api_subscription_response": bill_subs_api_subscription_response_output, + "bill-subs-api_zone": bill_subs_api_zone_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/subscription`, body: { value: args["body"], mediaType: "application/json" }, diff --git a/src/generated/forge-mcp/zones/tools.ts b/src/generated/forge-mcp/zones/tools.ts index a58998d1..8fcd2957 100644 --- a/src/generated/forge-mcp/zones/tools.ts +++ b/src/generated/forge-mcp/zones/tools.ts @@ -2,6 +2,18 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; +import { + zones_api_response_common_failure_output, + zones_identifier_output, + zones_messages_output, + zones_paused_output, + zones_result_info_output, + zones_type_output, + zones_zone_account_output, + zones_zone_meta_output, + zones_zone_output, + zones_zone_owner_output, +} from "./outputs.js"; import { zones_identifier, zones_name, @@ -73,6 +85,27 @@ export const tools: readonly Tool[] = [ "Zone DNS Edit" ] }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zones_zone" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure" + } + }, + $defs: { + "zones_api-response-common-failure": zones_api_response_common_failure_output, + "zones_identifier": zones_identifier_output, + "zones_messages": zones_messages_output, + "zones_paused": zones_paused_output, + "zones_type": zones_type_output, + "zones_zone": zones_zone_output, + "zones_zone_account": zones_zone_account_output, + "zones_zone_meta": zones_zone_meta_output, + "zones_zone_owner": zones_zone_owner_output, + }, + }, request: (args) => ({ path: `/zones`, body: { value: args["body"], mediaType: "application/json" }, @@ -124,6 +157,36 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "oneOf": [ + { + "properties": { + "id": { + "$ref": "#/$defs/zones_identifier" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure" + } + }, + $defs: { + "zones_api-response-common-failure": zones_api_response_common_failure_output, + "zones_identifier": zones_identifier_output, + "zones_messages": zones_messages_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}`, }), @@ -205,6 +268,27 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zones_zone" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure" + } + }, + $defs: { + "zones_api-response-common-failure": zones_api_response_common_failure_output, + "zones_identifier": zones_identifier_output, + "zones_messages": zones_messages_output, + "zones_paused": zones_paused_output, + "zones_type": zones_type_output, + "zones_zone": zones_zone_output, + "zones_zone_account": zones_zone_account_output, + "zones_zone_meta": zones_zone_meta_output, + "zones_zone_owner": zones_zone_owner_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}`, body: { value: args["body"], mediaType: "application/json" }, @@ -294,6 +378,27 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/zones_zone" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure" + } + }, + $defs: { + "zones_api-response-common-failure": zones_api_response_common_failure_output, + "zones_identifier": zones_identifier_output, + "zones_messages": zones_messages_output, + "zones_paused": zones_paused_output, + "zones_type": zones_type_output, + "zones_zone": zones_zone_output, + "zones_zone_account": zones_zone_account_output, + "zones_zone_meta": zones_zone_meta_output, + "zones_zone_owner": zones_zone_owner_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}`, }), @@ -394,6 +499,42 @@ export const tools: readonly Tool[] = [ "Zone Zone Read" ] }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/zones_zone" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/zones_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "4XX": { + "$ref": "#/$defs/zones_api-response-common-failure" + } + }, + $defs: { + "zones_api-response-common-failure": zones_api_response_common_failure_output, + "zones_identifier": zones_identifier_output, + "zones_messages": zones_messages_output, + "zones_paused": zones_paused_output, + "zones_result_info": zones_result_info_output, + "zones_type": zones_type_output, + "zones_zone": zones_zone_output, + "zones_zone_account": zones_zone_account_output, + "zones_zone_meta": zones_zone_meta_output, + "zones_zone_owner": zones_zone_owner_output, + }, + }, request: (args) => ({ path: `/zones`, query: [ diff --git a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts new file mode 100644 index 00000000..7fd8eb23 --- /dev/null +++ b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts @@ -0,0 +1,47 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_transformations_allowed_origins_response` in responses. + */ +export const speed_transformations_allowed_origins_response_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "image_resizing_allowed_origins" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/speed_transformations_allowed_origins_value" + } + }, + "type": "object" +}; + +/** + * The schema of `speed_transformations_allowed_origins_value` in responses. + */ +export const speed_transformations_allowed_origins_value_output: JsonSchema = { + "type": "string" +}; diff --git a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts index 19027fa0..c2df324d 100644 --- a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts +++ b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { + speed_transformations_allowed_origins_response_output, + speed_transformations_allowed_origins_value_output, +} from "./outputs.js"; import { speed_transformations_allowed_origins_value } from "./schemas.js"; /** @@ -60,6 +68,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_transformations_allowed_origins_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_messages": speed_messages_output, + "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response_output, + "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/transformations_allowed_origins`, body: { value: args["body"], mediaType: "application/json" }, @@ -102,6 +126,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_transformations_allowed_origins_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_messages": speed_messages_output, + "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response_output, + "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/transformations_allowed_origins`, }), diff --git a/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts b/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts new file mode 100644 index 00000000..626569b7 --- /dev/null +++ b/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts @@ -0,0 +1,51 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_transformations_c2pa_response` in responses. + */ +export const speed_transformations_c2pa_response_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "image_resizing_c2pa" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/speed_transformations_c2pa_value" + } + }, + "type": "object" +}; + +/** + * The schema of `speed_transformations_c2pa_value` in responses. + */ +export const speed_transformations_c2pa_value_output: JsonSchema = { + "enum": [ + "off", + "on" + ], + "type": "string" +}; diff --git a/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts b/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts index 409c25ee..ee954d93 100644 --- a/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts +++ b/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { + speed_transformations_c2pa_response_output, + speed_transformations_c2pa_value_output, +} from "./outputs.js"; import { speed_transformations_c2pa_value } from "./schemas.js"; /** @@ -60,6 +68,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_transformations_c2pa_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_messages": speed_messages_output, + "speed_transformations_c2pa_response": speed_transformations_c2pa_response_output, + "speed_transformations_c2pa_value": speed_transformations_c2pa_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/transformations_c2pa`, body: { value: args["body"], mediaType: "application/json" }, @@ -102,6 +126,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_transformations_c2pa_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_messages": speed_messages_output, + "speed_transformations_c2pa_response": speed_transformations_c2pa_response_output, + "speed_transformations_c2pa_value": speed_transformations_c2pa_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/transformations_c2pa`, }), diff --git a/src/generated/forge-mcp/zones/transformationsConfig/outputs.ts b/src/generated/forge-mcp/zones/transformationsConfig/outputs.ts new file mode 100644 index 00000000..84f25cf7 --- /dev/null +++ b/src/generated/forge-mcp/zones/transformationsConfig/outputs.ts @@ -0,0 +1,68 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `speed_transformations_config_response` in responses. + */ +export const speed_transformations_config_response_output: JsonSchema = { + "properties": { + "editable": { + "enum": [ + true, + false + ], + "type": "boolean" + }, + "id": { + "enum": [ + "transformations_config" + ], + "type": "string" + }, + "modified_on": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/$defs/speed_transformations_config_value" + } + }, + "type": "object" +}; + +/** + * The schema of `speed_transformations_config_value` in responses. + */ +export const speed_transformations_config_value_output: JsonSchema = { + "properties": { + "allowed_origins": { + "type": "string" + }, + "c2pa": { + "enum": [ + "off", + "on" + ], + "type": "string" + }, + "transformations": { + "enum": [ + "off", + "on", + "open", + "latest" + ], + "type": "string" + } + }, + "type": "object" +}; diff --git a/src/generated/forge-mcp/zones/transformationsConfig/tools.ts b/src/generated/forge-mcp/zones/transformationsConfig/tools.ts index e117a652..c3b83f04 100644 --- a/src/generated/forge-mcp/zones/transformationsConfig/tools.ts +++ b/src/generated/forge-mcp/zones/transformationsConfig/tools.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { + speed_api_response_common_failure_output, + speed_messages_output, +} from "../../outputs.js"; +import { + speed_transformations_config_response_output, + speed_transformations_config_value_output, +} from "./outputs.js"; import { speed_transformations_config_value } from "./schemas.js"; /** @@ -60,6 +68,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_transformations_config_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_messages": speed_messages_output, + "speed_transformations_config_response": speed_transformations_config_response_output, + "speed_transformations_config_value": speed_transformations_config_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/transformations_config`, body: { value: args["body"], mediaType: "application/json" }, @@ -102,6 +126,22 @@ export const tools: readonly Tool[] = [ "pro": true } }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/speed_transformations_config_response" + }, + "4XX": { + "$ref": "#/$defs/speed_api-response-common-failure" + } + }, + $defs: { + "speed_api-response-common-failure": speed_api_response_common_failure_output, + "speed_messages": speed_messages_output, + "speed_transformations_config_response": speed_transformations_config_response_output, + "speed_transformations_config_value": speed_transformations_config_value_output, + }, + }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/transformations_config`, }), diff --git a/src/metrics.ts b/src/metrics.ts index b2d678c9..44061384 100644 --- a/src/metrics.ts +++ b/src/metrics.ts @@ -7,12 +7,31 @@ * the other servers and are picked up by existing dashboards/queries. * * Positional layout (must not change — the dataset columns are positional): - * index1 = event type (`tool_call` | `auth_user`) + * index1 = event type (`tool_call` | `auth_user` | `response_schema_mismatch`) * blob1 = MCP server name (reserved, injected by the tracker) * blob2 = MCP server version (reserved, injected by the tracker) * blob3 = userId - * blob4 = toolName (tool_call) | errorMessage (auth_user) - * double1 = errorCode (tool_call) + * blob4 = toolName (tool_call, response_schema_mismatch) | errorMessage (auth_user) + * double1 = errorCode (tool_call; always 0 for response_schema_mismatch) + * + * `response_schema_mismatch` (a direct-tool response that doesn't match its + * OpenAPI response schema, see `src/response-validation.ts`) adds: + * blob5 = HTTP method (`GET`) + * blob6 = OpenAPI path template (`/zones/{zone_id}/dns_records`) + * blob7 = product (path segment after `{account_id}`/`{zone_id}`, else the first) + * blob8 = generated forge tool whose response schema was used + * blob9 = response key whose schema was used (`200`, `4XX`, `default`) + * blob10 = first violation's keyword (`type`, `required`, `enum`, …) + * blob11 = first violation's schema location + * (`#/components/schemas//…` or `#/responses//schema/…`) + * blob12 = first violation's instance path, indices and undeclared keys as `*` + * blob13 = OpenAPI release the generated schemas came from (`openapi@`) + * double2 = HTTP status + * double3 = number of violations + * double4 = sample interval (1 / RESPONSE_VALIDATION_SAMPLE_RATE); weight counts by it + * double5 = 1 if double3 counts every violation, 0 if it is a lower bound + * (arrays past 25 items unchecked, or too large to count) + * No blob holds a response value: those are customer data. * * Note: this server is stateless (a fresh McpServer per request) so it does not * emit `session_start` events the way the Durable-Object-backed Cloudflare MCP @@ -30,7 +49,8 @@ import { SERVER_INFO, type ServerInfo } from './constants' export enum MetricsEventIndexId { AUTH_USER = 'auth_user', - TOOL_CALL = 'tool_call' + TOOL_CALL = 'tool_call', + RESPONSE_SCHEMA_MISMATCH = 'response_schema_mismatch' } type Range1To20 = @@ -182,6 +202,58 @@ export class AuthUser extends MetricsEvent { } } +export interface ResponseSchemaMismatchFields { + userId?: string + toolName: string + method: string + pathTemplate: string + product: string + /** The generated forge tool whose response schema was used. */ + forgeTool: string + responseKey: string + /** The OpenAPI release tag the schema came from, or `null` when unknown. */ + specRelease: string | null + status: number + errorCount: number + /** Whether `errorCount` is every violation rather than a lower bound. */ + counted: boolean + sampleInterval: number + first: { keyword: string; schemaLocation: string; instancePath: string } +} + +export class ResponseSchemaMismatch extends MetricsEvent { + constructor(private mismatch: ResponseSchemaMismatchFields) { + super() + } + + toDataPoint(): AnalyticsEngineDataPoint { + const { mismatch } = this + return { + indexes: [MetricsEventIndexId.RESPONSE_SCHEMA_MISMATCH], + blobs: this.mapBlobs({ + blob3: mismatch.userId, + blob4: mismatch.toolName, + blob5: mismatch.method, + blob6: mismatch.pathTemplate, + blob7: mismatch.product, + blob8: mismatch.forgeTool, + blob9: mismatch.responseKey, + blob10: mismatch.first.keyword, + blob11: mismatch.first.schemaLocation, + blob12: mismatch.first.instancePath, + blob13: mismatch.specRelease + }), + doubles: this.mapDoubles({ + double1: 0, + double2: mismatch.status, + double3: mismatch.errorCount, + double4: mismatch.sampleInterval, + double5: mismatch.counted ? 1 : 0 + }) + } + } +} + /** * Wraps the Analytics Engine binding. Tolerates a missing binding (e.g. in * tests or local dev where MCP_METRICS isn't configured) by becoming a no-op. @@ -224,6 +296,15 @@ export function recordToolCall(props: AuthProps, toolName: string, isError: bool ) } +/** Record one direct-tool response that didn't match its OpenAPI response schema. */ +export function recordResponseSchemaMismatch( + props: AuthProps, + mismatch: Omit +): void { + const metrics = new MetricsTracker(env.MCP_METRICS, SERVER_INFO) + metrics.logEvent(new ResponseSchemaMismatch({ ...mismatch, userId: userIdFromProps(props) })) +} + /** * Wire Analytics Engine metrics into a server instance: log a `tool_call` for * every tool invocation (with an `errorCode` on failure). Monkey-patches diff --git a/src/response-schema-check.ts b/src/response-schema-check.ts new file mode 100644 index 00000000..da500337 --- /dev/null +++ b/src/response-schema-check.ts @@ -0,0 +1,380 @@ +import { dereference, validate, type OutputUnit, type Schema } from '@cfworker/json-schema' +import type { ToolResponses } from './generated/forge-mcp' + +/** + * Validates a response body against a generated tool's response schemas + * (`responses` in `src/generated/forge-mcp`) and describes the violations + * without response values. Runs in the forge tools service, which holds the + * schemas; the main Worker trims the body first with `trimForCheck`, which + * imports nothing from the validator, so the main Worker doesn't bundle it. + */ + +/** Violations kept per mismatch, for the log line. */ +const MAX_REPORTED_ERRORS = 5 +/** Compiled validators kept per isolate; the cache is dropped when full. */ +const MAX_VALIDATORS = 256 +/** + * Most JSON values whose violations are all counted. Counting validates again + * without stopping at the first error, and the validator spreads every child + * error into its parent's list, so a body with very many violations can + * overflow the stack. + */ +const MAX_COUNTED_VALUES = 20_000 +const DEFS_PREFIX = '#/$defs/' + +/** A response body trimmed for checking (`trimForCheck`). */ +export interface TrimmedResponse { + status: number + /** The parsed JSON body, with arrays cut to their first items. */ + body: unknown + /** Instance locations, as the validator writes them, of the arrays that were cut. */ + trimmed: string[] + /** How many JSON values the trimmed body holds. */ + values: number +} + +/** One schema violation, with no response values. */ +export interface MismatchError { + keyword: string + /** Schema location, through `$ref`s to the innermost component schema. */ + schemaLocation: string + /** Instance path with array indices and undeclared keys replaced by `*`. */ + instancePath: string +} + +export interface Mismatch { + /** Response key the schema came from: the status, its class (`4XX`) or `default`. */ + responseKey: string + /** + * Violations found: every one when `counted`; otherwise a lower bound, + * because arrays were trimmed or the body was too large to count them all. + */ + errorCount: number + /** Whether the whole body was checked and every violation counted. */ + counted: boolean + errors: MismatchError[] +} + +interface CompiledSchema { + /** The response schema plus the component schemas it reaches. */ + root: Schema + /** The validator's index of `root`'s subschemas. */ + lookup: Record + /** Every property name the schema declares; other instance keys are `*`. */ + propertyNames: Set +} + +let compiled = new Map() + +/** + * Validate a trimmed body against `responses`. Returns `undefined` when it + * matches or there is nothing to check against. `cacheKey` names the tool, so + * its compiled validators are reused. + */ +export function findMismatch( + responses: ToolResponses, + response: TrimmedResponse, + cacheKey: string +): Mismatch | undefined { + const responseKey = responseKeyFor(responses.schemas, response.status) + if (!responseKey) return undefined + const schema = compile(responses, `${cacheKey} ${responseKey}`, responseKey) + if (!schema) return undefined + const { root, lookup, propertyNames } = schema + const trimmed = new Set(response.trimmed) + + // Stopping at the first violation costs the same as a full pass for a valid + // body and almost nothing for an invalid one. + const first = validate(response.body, root, '2020-12', lookup, true) + if (first.valid) return undefined + + let leaves = leafErrors(root, first.errors, trimmed) + let counted = false + if (response.values <= MAX_COUNTED_VALUES) { + try { + leaves = leafErrors( + root, + validate(response.body, root, '2020-12', lookup, false).errors, + trimmed + ) + counted = trimmed.size === 0 + } catch { + // Too many violations to collect; keep the ones found before stopping. + } + } + // Every violation was an artefact of trimming. + if (leaves.length === 0) return undefined + + return { + responseKey, + errorCount: leaves.length, + counted, + errors: leaves.slice(0, MAX_REPORTED_ERRORS).map((error) => ({ + keyword: error.keyword, + schemaLocation: schemaLocation(root, error.keywordLocation, responseKey), + instancePath: joinPath( + safeInstancePath(error.instanceLocation, propertyNames), + missingProperty(root, error) + ) + })) + } +} + +/** The status's own response, then its class (`4XX`), then `default`. */ +export function responseKeyFor( + schemas: ToolResponses['schemas'], + status: number +): string | undefined { + const key = [String(status), `${Math.floor(status / 100)}XX`, 'default'].find( + (candidate) => candidate in schemas + ) + // A documented response without a JSON body: nothing to check against. + return key !== undefined && schemas[key] !== null ? key : undefined +} + +/** + * Cut every array in `body` to its first `maxItems` items, recording where. + * Validation costs up to ~0.5 ms per KB (a DNS record is matched against an + * `anyOf` of every record type), so this bounds the check and keeps the body + * sent to the forge tools service small. The main Worker trims; locations are + * written as the validator writes them. + */ +export function trimForCheck(status: number, body: unknown, maxItems: number): TrimmedResponse { + const trimmed: string[] = [] + let values = 0 + const copy = (value: unknown, location: string): unknown => { + values++ + if (Array.isArray(value)) { + if (value.length > maxItems) trimmed.push(location) + return value.slice(0, maxItems).map((item, index) => copy(item, `${location}/${index}`)) + } + if (typeof value === 'object' && value !== null) { + const out: Record = {} + for (const [key, item] of Object.entries(value)) { + out[key] = copy(item, `${location}/${encodeValidatorToken(key)}`) + } + return out + } + return value + } + return { status, body: copy(body, '#'), trimmed, values } +} + +function compile( + responses: ToolResponses, + cacheKey: string, + responseKey: string +): CompiledSchema | null { + const hit = compiled.get(cacheKey) + if (hit !== undefined) return hit + if (compiled.size >= MAX_VALIDATORS) compiled = new Map() + + let result: CompiledSchema | null = null + try { + const schema = responses.schemas[responseKey] + // The validator annotates the schema objects it indexes, so give it a copy + // rather than the generated constants. + const root = structuredClone({ ...schema, $defs: responses.$defs ?? {} }) as Schema + result = { root, lookup: dereference(root), propertyNames: declaredPropertyNames(root) } + } finally { + // A schema that fails to compile is remembered as uncheckable. + compiled.set(cacheKey, result) + } + return result +} + +function declaredPropertyNames(root: unknown): Set { + const names = new Set() + const queue: unknown[] = [root] + while (queue.length > 0) { + const node = queue.pop() + if (Array.isArray(node)) { + queue.push(...node) + } else if (typeof node === 'object' && node !== null) { + for (const [keyword, value] of Object.entries(node)) { + if (keyword === 'enum' || keyword === 'const') continue + if (keyword === 'properties' && typeof value === 'object' && value !== null) { + for (const name of Object.keys(value)) names.add(name) + } + queue.push(value) + } + } + } + return names +} + +/** + * For a `required` violation, `/` of the missing property, so the path + * points at it. The validator names it only in its message; the name is used + * only if the schema's `required` list holds it, so it is never response data. + */ +function missingProperty(root: Schema, error: OutputUnit): string { + if (error.keyword !== 'required') return '' + const name = /required property "(.*)"\.$/.exec(error.error)?.[1] + const required = walkSchema(root, error.keywordLocation).node + return name !== undefined && Array.isArray(required) && required.includes(name) + ? `/${encodePointerToken(name)}` + : '' +} + +function joinPath(path: string, suffix: string): string { + return path === '/' && suffix ? suffix : path + suffix +} + +const TRIM_SENSITIVE = new Set(['minItems', 'contains']) + +/** + * Drop the `additionalProperties` errors the validator raises for declared + * properties. It marks a property evaluated only when the property is valid, + * so a declared property that fails its own schema is checked again against + * `additionalProperties` and reported twice. Each such error is followed by its + * child, whose instance location ends in the property's key. + */ +function withoutRecheckedProperties(root: Schema, errors: OutputUnit[]): OutputUnit[] { + const kept: OutputUnit[] = [] + for (let i = 0; i < errors.length; i++) { + const error = errors[i] + const child = errors[i + 1] + const prefix = `${error.instanceLocation}/` + if (error.keyword !== 'additionalProperties' || !child?.instanceLocation.startsWith(prefix)) { + kept.push(error) + continue + } + const key = decodeValidatorToken(child.instanceLocation.slice(prefix.length).split('/')[0]) + const parent = walkSchema(root, error.keywordLocation.replace(/\/additionalProperties$/, '')) + const properties = (parent.node as Schema | undefined)?.properties + if (!properties || !Object.hasOwn(properties, key)) { + kept.push(error) + continue + } + const propertyLocation = `${prefix}${encodeValidatorToken(key)}` + const inSubtree = (unit: OutputUnit) => + (unit.instanceLocation === propertyLocation || + unit.instanceLocation.startsWith(`${propertyLocation}/`)) && + (unit.keyword === 'false' || unit.keywordLocation.startsWith(`${error.keywordLocation}/`)) + while (i + 1 < errors.length && inSubtree(errors[i + 1])) i++ + } + return kept +} + +/** + * The errors that name a violation, not the wrappers (`properties`, `items`, + * `$ref`, `allOf`) that only say a child failed. An `anyOf`/`oneOf` failure + * counts as one violation; the reasons each alternative failed are dropped. + * + * The validator reports errors in pre-order, a parent directly before its + * children, so one pass finds them. + */ +function leafErrors(root: Schema, errors: OutputUnit[], trimmed: Set): OutputUnit[] { + // `false` schemas (e.g. `additionalProperties: false`) report the instance + // location as their keyword location; their parent names the violation. + const units = withoutRecheckedProperties(root, errors).filter( + (error) => error.keyword !== 'false' + ) + const leaves: OutputUnit[] = [] + for (let i = 0; i < units.length; i++) { + const error = units[i] + const childPrefix = `${error.keywordLocation}/` + const isChild = (unit: OutputUnit | undefined) => + unit !== undefined && + unit.keywordLocation.startsWith(childPrefix) && + unit.instanceLocation.startsWith(error.instanceLocation) + if (error.keyword === 'anyOf' || error.keyword === 'oneOf') { + leaves.push(error) + while (isChild(units[i + 1])) i++ + } else if (!isChild(units[i + 1])) { + leaves.push(error) + } + } + // A trimmed array can fail `minItems` or `contains` that the whole one meets. + return leaves.filter( + (error) => !(TRIM_SENSITIVE.has(error.keyword) && trimmed.has(error.instanceLocation)) + ) +} + +/** + * Turn the validator's keyword location (`#/properties/result/items/$ref/required`) + * into where the keyword lives: the innermost component schema + * (`#/components/schemas/zones_zone/required`), or the operation's response + * schema (`#/responses/200/schema/properties/result`). + */ +function schemaLocation(root: Schema, keywordLocation: string, responseKey: string): string { + const { defName, rest } = walkSchema(root, keywordLocation) + const base = + defName === undefined + ? `#/responses/${responseKey}/schema` + : `#/components/schemas/${encodePointerToken(defName)}` + return rest.length > 0 ? `${base}/${rest.join('/')}` : base +} + +/** + * Follow a keyword location through `root`, jumping to the component schema at + * each `$ref`. Returns the schema node it ends at, the innermost component + * schema's name, and the pointer tokens after it (`*` for any not in the schema). + */ +function walkSchema( + root: Schema, + keywordLocation: string +): { node: unknown; defName?: string; rest: string[] } { + let defName: string | undefined + let rest: string[] = [] + let node: unknown = root + for (const token of keywordLocation.replace(/^#\/?/, '').split('/')) { + if (token === '') continue + const current = typeof node === 'object' && node !== null ? (node as Schema) : undefined + if (token === '$ref' && current?.$ref?.startsWith(DEFS_PREFIX)) { + defName = decodePointerToken(current.$ref.slice(DEFS_PREFIX.length)) + rest = [] + node = (root.$defs as Record)[defName] + continue + } + const name = decodeValidatorToken(token) + // Every token names a keyword or key in the schema; one that doesn't + // could only have come from the response, so it is not copied. + const exists = current !== undefined && Object.hasOwn(current, name) + rest.push(exists ? encodePointerToken(name) : '*') + node = exists ? (current as Record)[name] : undefined + } + return { node, defName, rest } +} + +/** + * The instance path with every segment that could be customer data replaced + * by `*`: array indices, and object keys the schema doesn't declare (map keys + * such as hostnames or IDs). + */ +export function safeInstancePath(instanceLocation: string, propertyNames: Set): string { + const tokens = instanceLocation + .replace(/^#\/?/, '') + .split('/') + .filter((token) => token !== '') + .map((token) => { + const name = decodeValidatorToken(token) + return !/^\d+$/.test(name) && propertyNames.has(name) ? encodePointerToken(name) : '*' + }) + return `/${tokens.join('/')}` +} + +function encodePointerToken(token: string): string { + return token.replace(/~/g, '~0').replace(/\//g, '~1') +} + +function decodePointerToken(token: string): string { + return token.replace(/~1/g, '/').replace(/~0/g, '~') +} + +/** A key as the validator writes it in a location: `encodeURI` over `~0`/`~1` escaping. */ +function encodeValidatorToken(key: string): string { + return encodeURI(encodePointerToken(key)) +} + +/** A location token as the validator writes it, back to the key it names. */ +function decodeValidatorToken(token: string): string { + let unescaped = token + try { + unescaped = decodeURI(token) + } catch { + // Not URI-encoded after all; use it as is. + } + return decodePointerToken(unescaped) +} diff --git a/src/response-validation.ts b/src/response-validation.ts new file mode 100644 index 00000000..b077d6e1 --- /dev/null +++ b/src/response-validation.ts @@ -0,0 +1,132 @@ +import { env, waitUntil } from 'cloudflare:workers' +import type { AuthProps } from './auth/types' +import source from './generated/forge-mcp/source.json' +import { recordResponseSchemaMismatch } from './metrics' +import { trimForCheck, type MismatchError } from './response-schema-check' +import { concretePaths, extractProduct } from './spec-processor' + +/** + * Checks direct-tool responses against the response schemas forge generates + * (`src/generated/forge-mcp`) and records each mismatch, so product teams can + * fix their schemas before tools advertise an `outputSchema`. + * + * The schemas live in the forge tools service with the generated tools, so + * the check runs there: this Worker trims the body and sends it over RPC, and + * records what comes back. Nothing here may change or fail a tool result: + * `checkResponse` returns immediately, the work runs in `waitUntil` after the + * result is built, and every error is caught. Nothing recorded or logged + * contains response values, which are customer data. + */ + +/** Bodies larger than this are not checked, which bounds the cost of trimming and sending them. */ +const MAX_BODY_CHARS = 1_000_000 +/** Items checked per array; a schema mismatch almost always repeats in every item. */ +const MAX_CHECKED_ITEMS = 25 +/** Longest string written to one Analytics Engine blob. */ +const MAX_BLOB_CHARS = 512 + +export interface ResponseCheck { + /** The MCP tool that made the request. */ + toolName: string + /** HTTP method, any case. */ + method: string + /** The path template the tool was built from, e.g. `/zones/{zone_id}/dns_records`. */ + pathTemplate: string + status: number + /** The parsed JSON body. */ + body: unknown + /** Length of the raw body text. */ + bodyChars: number + props: AuthProps +} + +/** + * Check a direct-tool response against its generated response schema in the + * background and record any mismatch. Call it for JSON responses only. The + * endpoint tools and the forge tools both call it. Never throws. + */ +export function checkResponse(check: ResponseCheck): void { + try { + const sampleRate = sampleRateFrom(env.RESPONSE_VALIDATION_SAMPLE_RATE) + if (sampleRate <= 0 || Math.random() >= sampleRate) return + if (check.bodyChars > MAX_BODY_CHARS) return + waitUntil(run(check, sampleRate)) + } catch (error) { + logFailure(check, error) + } +} + +async function run(check: ResponseCheck, sampleRate: number): Promise { + try { + // Yield a macrotask so the tool result is serialized and sent first. + await new Promise((resolve) => setTimeout(resolve, 0)) + const method = check.method.toUpperCase() + const mismatch = await env.FORGE_TOOLS.checkResponse({ + method, + pathTemplate: check.pathTemplate, + ...trimForCheck(check.status, check.body, MAX_CHECKED_ITEMS) + }) + if (!mismatch) return + const { errors, ...summary } = mismatch + const event = { + toolName: check.toolName, + method, + pathTemplate: check.pathTemplate, + product: productOf(check.pathTemplate), + status: check.status, + sampleInterval: 1 / sampleRate, + // Ties the mismatch to the exact schema after the spec moves on. + specRelease: source.release, + ...summary + } + recordResponseSchemaMismatch(check.props, { ...event, first: clip(errors[0]) }) + console.warn(JSON.stringify({ message: 'response_schema_mismatch', ...event, errors })) + } catch (error) { + logFailure(check, error) + } +} + +/** `RESPONSE_VALIDATION_SAMPLE_RATE` as a fraction in [0, 1]. Unset or invalid means 1. */ +export function sampleRateFrom(value: string | undefined): number { + if (value === undefined || value.trim() === '') return 1 + const rate = Number(value) + if (!Number.isFinite(rate)) return 1 + return Math.min(1, Math.max(0, rate)) +} + +/** + * The product a template belongs to, to route a mismatch to its team: the + * segment after `{account_id}`/`{zone_id}` (also in a merged + * `/{account_or_zone}/…` template), else the first segment. + */ +export function productOf(pathTemplate: string): string { + const [{ path }] = concretePaths(pathTemplate) + return extractProduct(path) ?? path.split('/')[1] ?? 'unknown' +} + +/** A violation's fields cut to fit an Analytics Engine blob. */ +function clip({ keyword, schemaLocation, instancePath }: MismatchError): MismatchError { + return { + keyword: keyword.slice(0, MAX_BLOB_CHARS), + schemaLocation: schemaLocation.slice(0, MAX_BLOB_CHARS), + instancePath: instancePath.slice(0, MAX_BLOB_CHARS) + } +} + +function logFailure(check: ResponseCheck, error: unknown): void { + try { + console.warn( + JSON.stringify({ + message: 'response_validation_failed', + toolName: check.toolName, + method: check.method, + pathTemplate: check.pathTemplate, + status: check.status, + // Validator and RPC errors name schemas, never response values. + error: String(error instanceof Error ? error.message : error).slice(0, 300) + }) + ) + } catch { + // Logging must not throw either. + } +} diff --git a/src/spec-processor.ts b/src/spec-processor.ts index 09fb96a0..86e004f6 100644 --- a/src/spec-processor.ts +++ b/src/spec-processor.ts @@ -33,7 +33,7 @@ const SCOPES = [ type Scope = (typeof SCOPES)[number] /** The concrete paths a spec path stands for, with the scope it was split into. */ -function concretePaths(path: string): Array<{ path: string; scope?: Scope }> { +export function concretePaths(path: string): Array<{ path: string; scope?: Scope }> { if (!path.startsWith(ACCOUNT_OR_ZONE_PREFIX)) return [{ path }] const rest = path.slice(ACCOUNT_OR_ZONE_PREFIX.length) return SCOPES.map((scope) => ({ path: `/${scope.segment}/{${scope.idParam}}${rest}`, scope })) diff --git a/src/tools/forge-tools.ts b/src/tools/forge-tools.ts index f00a1c02..67ffd2ef 100644 --- a/src/tools/forge-tools.ts +++ b/src/tools/forge-tools.ts @@ -10,6 +10,7 @@ import { unknownAccountHint } from '../auth/account-access' import { recordToolCall } from '../metrics' +import { checkResponse } from '../response-validation' import { DOCS_TOOL, runDocsTool } from './docs-search' import { WHOAMI_TOOL, WhoamiInputSchema, runWhoamiTool } from './whoami' import type { AuthProps } from '../auth/types' @@ -109,7 +110,22 @@ async function callForgeTool( }, { caller: 'forge_tool_call' } ) - const result = isJson(response) ? await response.json() : await response.text() + const json = isJson(response) + const bodyText = await response.text() + const result: unknown = json ? JSON.parse(bodyText) : bodyText + + // Background check against the spec's response schema; never affects the result. + if (json) { + checkResponse({ + toolName: name, + method: plan.method, + pathTemplate: plan.template, + status: response.status, + body: result, + bodyChars: bodyText.length, + props + }) + } return apiCallResult( { diff --git a/src/tools/non-codemode.ts b/src/tools/non-codemode.ts index 244b95ff..c1b894c3 100644 --- a/src/tools/non-codemode.ts +++ b/src/tools/non-codemode.ts @@ -11,6 +11,7 @@ import { unknownAccountHint } from '../auth/account-access' import { recordToolCall } from '../metrics' +import { checkResponse } from '../response-validation' import { DOCS_TOOL, runDocsTool } from './docs-search' import { WHOAMI_TOOL, WhoamiInputSchema, runWhoamiTool } from './whoami' import { zodInputSchemaFromJson, type McpTool } from '../openapi' @@ -123,9 +124,22 @@ async function callNonCodemodeTool( { caller: 'non_codemode_tool_call' } ) const contentType = response.headers.get('content-type') || '' - const result = contentType.includes('application/json') - ? await response.json() - : await response.text() + const bodyText = await response.text() + const isJson = contentType.includes('application/json') + const result: unknown = isJson ? JSON.parse(bodyText) : bodyText + + // Background check against the spec's response schema; never affects the result. + if (isJson) { + checkResponse({ + toolName: tool.name, + method: tool.method, + pathTemplate: tool.path, + status: response.status, + body: result, + bodyChars: bodyText.length, + props + }) + } // The generated tool already names its endpoint's template and accepted permissions. const accountId = params['account_id'] as string | undefined diff --git a/tests/forge-tools-worker.test.ts b/tests/forge-tools-worker.test.ts index 2329b07c..8ca67fec 100644 --- a/tests/forge-tools-worker.test.ts +++ b/tests/forge-tools-worker.test.ts @@ -65,7 +65,7 @@ afterEach(async () => { }) describe('generated direct tools (?codemode=false&experimentalForge=true)', () => { - it('lists docs, whoami and every generated tool, without their request code', async () => { + it('lists docs, whoami and every generated tool, without their request code or response schemas', async () => { const tools = await listForgeTools(ACCOUNT_TOKEN) expect(tools.map((tool) => tool.name)).toEqual([ @@ -75,7 +75,8 @@ describe('generated direct tools (?codemode=false&experimentalForge=true)', () = ]) const d1 = tools.find((tool) => tool.name === 'd1_list')! expect(d1.inputSchema.required ?? []).not.toContain('account_id') - for (const key of ['request', 'method', 'path', 'extensions']) { + expect(generatedTools.find((tool) => tool.name === 'd1_list')?.responses).toBeDefined() + for (const key of ['request', 'method', 'path', 'extensions', 'responses']) { expect(d1).not.toHaveProperty(key) } }) diff --git a/tests/metrics.test.ts b/tests/metrics.test.ts index 81ea66bc..a81f3e9d 100644 --- a/tests/metrics.test.ts +++ b/tests/metrics.test.ts @@ -6,6 +6,7 @@ import { MetricsEventIndexId, MetricsError, MetricsTracker, + ResponseSchemaMismatch, ToolCall } from '../src/metrics' import { API_BASE, cfSuccess, mockIdentityProbe } from './helpers/cloudflare-api' @@ -49,6 +50,81 @@ describe('AuthUser', () => { }) }) +describe('ResponseSchemaMismatch', () => { + it('keeps the shared slots and puts mismatch fields in the later ones', () => { + const event = new ResponseSchemaMismatch({ + userId: 'user-1', + toolName: 'get_zones_dns_records', + method: 'GET', + pathTemplate: '/zones/{zone_id}/dns_records', + product: 'dns_records', + forgeTool: 'dns_records_list', + responseKey: '200', + specRelease: 'openapi@933e9f6', + status: 200, + errorCount: 3, + counted: true, + sampleInterval: 4, + first: { + keyword: 'required', + schemaLocation: '#/components/schemas/dns-records_dns-record-response/required', + instancePath: '/result/*' + } + }) + event.serverInfo = SERVER_INFO + const dp = event.toDataPoint() + + expect(dp.indexes).toEqual([MetricsEventIndexId.RESPONSE_SCHEMA_MISMATCH]) + expect(dp.indexes).toEqual(['response_schema_mismatch']) + expect(dp.blobs).toEqual([ + 'cloudflare-api', // blob1 server name + '0.1.0', // blob2 server version + 'user-1', // blob3 userId + 'get_zones_dns_records', // blob4 toolName + 'GET', // blob5 method + '/zones/{zone_id}/dns_records', // blob6 path template + 'dns_records', // blob7 product + 'dns_records_list', // blob8 forge tool + '200', // blob9 response key + 'required', // blob10 keyword + '#/components/schemas/dns-records_dns-record-response/required', // blob11 schema location + '/result/*', // blob12 instance path + 'openapi@933e9f6' // blob13 spec release + ]) + // double1 errorCode 0, double2 status, double3 count, double4 sample interval, double5 counted + expect(dp.doubles).toEqual([0, 200, 3, 4, 1]) + }) + + it('writes null for an absent user or spec release, keeping later positions in place', () => { + const event = new ResponseSchemaMismatch({ + toolName: 't', + method: 'GET', + pathTemplate: '/p', + product: 'p', + forgeTool: 't_list', + responseKey: 'default', + specRelease: null, + status: 500, + errorCount: 1, + counted: false, + sampleInterval: 1, + first: { + keyword: 'type', + schemaLocation: '#/responses/default/schema/type', + instancePath: '/' + } + }) + event.serverInfo = SERVER_INFO + const dp = event.toDataPoint() + + expect(dp.blobs?.[2]).toBeNull() + expect(dp.blobs?.[7]).toBe('t_list') + expect(dp.blobs?.[8]).toBe('default') + expect(dp.blobs?.[12]).toBeNull() + expect(dp.doubles).toEqual([0, 500, 1, 1, 0]) + }) +}) + describe('MetricsEvent guards', () => { it('throws when server info is not set', () => { const event = new ToolCall({ toolName: 'execute' }) diff --git a/tests/response-schema-check.test.ts b/tests/response-schema-check.test.ts new file mode 100644 index 00000000..636f6c61 --- /dev/null +++ b/tests/response-schema-check.test.ts @@ -0,0 +1,223 @@ +import { describe, expect, it } from 'vitest' +import type { ToolResponses } from '../src/generated/forge-mcp' +import { + findMismatch, + responseKeyFor, + safeInstancePath, + trimForCheck +} from '../src/response-schema-check' +import { productOf, sampleRateFrom } from '../src/response-validation' + +const SECRET = 'customer-secret.example.com' +const MAX_ITEMS = 25 + +/** Response schemas in the shape forge generates them. */ +const RESPONSES: ToolResponses = { + schemas: { + '200': { + type: 'object', + required: ['result'], + properties: { + result: { type: 'array', minItems: 30, items: { $ref: '#/$defs/record' } } + } + }, + '204': null, + '4XX': { $ref: '#/$defs/failure' }, + default: { type: 'object', required: ['fallback'] } + }, + $defs: { + record: { + type: 'object', + required: ['id', 'type'], + additionalProperties: false, + properties: { + id: { type: 'string' }, + type: { type: 'string', enum: ['A', 'AAAA'] }, + ttl: { anyOf: [{ type: 'integer' }, { type: 'string', enum: ['auto'] }] }, + meta: { type: 'object', additionalProperties: { type: 'integer' } } + } + }, + failure: { + type: 'object', + required: ['success', 'errors'], + properties: { success: { type: 'boolean' }, errors: { type: 'array' } } + } + } +} + +function check(body: unknown, status = 200, responses = RESPONSES) { + return findMismatch(responses, trimForCheck(status, body, MAX_ITEMS), 'test_tool') +} + +function records(count: number, record: Record = { id: 'r', type: 'A' }) { + return { result: Array.from({ length: count }, () => ({ ...record })) } +} + +describe('findMismatch', () => { + it('finds nothing when the body matches', () => { + expect(check(records(30, { id: 'r', type: 'A', ttl: 'auto', meta: { a: 1 } }))).toBeUndefined() + }) + + it('names the keyword and the component schema it lives in', () => { + const mismatch = check(records(30, { id: 'r', type: 'CNAME' })) + + // Only the first 25 items are checked, so the count is a lower bound. + expect(mismatch).toMatchObject({ responseKey: '200', errorCount: 25, counted: false }) + expect(mismatch?.errors[0]).toEqual({ + keyword: 'enum', + schemaLocation: '#/components/schemas/record/properties/type/enum', + instancePath: '/result/*/type' + }) + }) + + it('locates violations in the response schema itself, naming a missing property', () => { + expect(check({}, 200)?.errors[0]).toEqual({ + keyword: 'required', + schemaLocation: '#/responses/200/schema/required', + instancePath: '/result' + }) + expect(check({ other: true }, 500)?.errors[0]).toEqual({ + keyword: 'required', + schemaLocation: '#/responses/default/schema/required', + instancePath: '/fallback' + }) + }) + + it('checks error responses: the status, then its class, then default', () => { + expect(check({ success: false }, 403)).toMatchObject({ + responseKey: '4XX', + errorCount: 1, + counted: true, + errors: [{ keyword: 'required', instancePath: '/errors' }] + }) + expect(check({ success: false, errors: [] }, 404)).toBeUndefined() + expect(check({}, 503)?.responseKey).toBe('default') + }) + + it('stops at a documented response that has no JSON body', () => { + expect(check({ anything: true }, 204)).toBeUndefined() + expect( + check({}, 200, { schemas: { '200': null, default: { type: 'string' } } }) + ).toBeUndefined() + }) + + it('counts one violation for an anyOf, not one per alternative', () => { + expect(check(records(30, { id: 'r', type: 'A', ttl: true }))?.errors).toEqual([ + expect.objectContaining({ keyword: 'anyOf', instancePath: '/result/*/ttl' }), + ...Array.from({ length: 4 }, () => expect.objectContaining({ keyword: 'anyOf' })) + ]) + }) + + it('counts a declared property that fails once, though additionalProperties is false', () => { + // The validator re-checks a failing declared property against + // additionalProperties; that second report is dropped. + expect(check(records(1, { id: 'r', type: 'MX' }))).toMatchObject({ + errorCount: 2, + errors: [{ keyword: 'minItems' }, { keyword: 'enum' }] + }) + }) + + it('reports an unexpected property at its parent without naming it', () => { + expect(check(records(30, { id: 'r', type: 'A', [SECRET]: 'x' }))?.errors[0]).toEqual({ + keyword: 'additionalProperties', + schemaLocation: '#/components/schemas/record/additionalProperties', + instancePath: '/result/*' + }) + }) + + it('never includes response values, keys the schema does not declare, or indices', () => { + const mismatch = check(records(30, { id: SECRET, type: SECRET, meta: { [SECRET]: SECRET } })) + + expect(mismatch?.errors).toContainEqual({ + keyword: 'type', + schemaLocation: '#/components/schemas/record/properties/meta/additionalProperties/type', + instancePath: '/result/*/meta/*' + }) + expect(JSON.stringify(mismatch)).not.toContain('customer-secret') + }) + + it(`checks only the first ${MAX_ITEMS} items of an array`, () => { + const body = records(100) + body.result[MAX_ITEMS] = { id: 'r', type: 'MX' } + expect(check(body)).toBeUndefined() + + body.result[0] = { id: 'r', type: 'MX' } + expect(check(body)).toMatchObject({ errorCount: 1, counted: false }) + }) + + it('ignores minItems on an array it trimmed, but not on a whole one', () => { + expect(check(records(MAX_ITEMS + 10))).toBeUndefined() + expect(check(records(3))?.errors[0]).toMatchObject({ + keyword: 'minItems', + instancePath: '/result' + }) + }) + + it('leaves the generated schemas untouched', () => { + const before = JSON.stringify(RESPONSES) + check(records(30)) + check(records(30, { id: 'r', type: 'X' })) + expect(JSON.stringify(RESPONSES)).toBe(before) + }) + + it('throws on a broken schema; the caller catches it', () => { + const broken: ToolResponses = { schemas: { '200': { $ref: '#/$defs/missing' } } } + expect(() => findMismatch(broken, trimForCheck(200, {}, MAX_ITEMS), 'broken')).toThrow() + }) +}) + +describe('trimForCheck', () => { + it('cuts arrays, records where in the validator’s location format, and counts values', () => { + const trimmed = trimForCheck( + 200, + { 'a/b c': Array.from({ length: 30 }, (_, i) => i), ok: [1] }, + MAX_ITEMS + ) + expect(trimmed.trimmed).toEqual(['#/a~1b%20c']) + expect((trimmed.body as { 'a/b c': number[] })['a/b c']).toHaveLength(MAX_ITEMS) + expect(trimmed.values).toBe(1 + 1 + MAX_ITEMS + 1 + 1) + }) +}) + +describe('responseKeyFor', () => { + it('prefers the exact status, then its class, then default', () => { + const schemas = { '200': {}, '4XX': {}, default: {} } + expect(responseKeyFor(schemas, 200)).toBe('200') + expect(responseKeyFor(schemas, 429)).toBe('4XX') + expect(responseKeyFor(schemas, 500)).toBe('default') + expect(responseKeyFor({ '200': {} }, 500)).toBeUndefined() + }) +}) + +describe('safeInstancePath', () => { + it('keeps declared property names and replaces indices and other keys with *', () => { + const declared = new Set(['result', 'meta', '0']) + expect(safeInstancePath('#/result/12/meta/host.example.com', declared)).toBe('/result/*/meta/*') + expect(safeInstancePath('#', declared)).toBe('/') + }) + + it("reads the validator's URI-encoded tokens", () => { + const declared = new Set(['zone name', 'a/b']) + expect(safeInstancePath('#/zone%20name/a~1b/caf%C3%A9', declared)).toBe('/zone name/a~1b/*') + }) +}) + +describe('productOf', () => { + it('routes by the segment after the account or zone, merged or not', () => { + expect(productOf('/zones/{zone_id}/dns_records')).toBe('dns_records') + expect(productOf('/{account_or_zone}/{account_or_zone_id}/access/apps')).toBe('access') + expect(productOf('/user/tokens')).toBe('user') + }) +}) + +describe('sampleRateFrom', () => { + it('reads a fraction, clamps it, and defaults to checking everything', () => { + expect(sampleRateFrom('0.25')).toBe(0.25) + expect(sampleRateFrom('0')).toBe(0) + expect(sampleRateFrom('5')).toBe(1) + expect(sampleRateFrom('-1')).toBe(0) + expect(sampleRateFrom(undefined)).toBe(1) + expect(sampleRateFrom('')).toBe(1) + expect(sampleRateFrom('often')).toBe(1) + }) +}) diff --git a/tests/response-validation-worker.test.ts b/tests/response-validation-worker.test.ts new file mode 100644 index 00000000..b85577dd --- /dev/null +++ b/tests/response-validation-worker.test.ts @@ -0,0 +1,220 @@ +import { env, exports } from 'cloudflare:workers' +import { http, HttpResponse } from 'msw' +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { API_BASE, cfSuccess, mockIdentityProbe } from './helpers/cloudflare-api' +import { clearKv } from './helpers/kv' +import { MCP_URL, mcpToolCallRequest, parseMcpResult, toolText } from './helpers/mcp' +import { clearSpec, seedSpec } from './helpers/spec' +import { server } from './setup/msw' +import source from '../src/generated/forge-mcp/source.json' +import { stringifyResponse } from '../src/truncate' + +/** + * Response schema checks through the real worker, for both direct-tool + * surfaces, against the response schemas forge generated: `d1_list` backs + * both the endpoint tool `get_accounts_d1_database` and the forge tool. The + * Cloudflare API is the only mocked boundary (MSW); the forge tools service + * runs for real. Checks run in `waitUntil` after the result is built, so tests + * wait for the datapoint. + */ + +const ACCOUNT_ID = '00000000000000000000000000000001' +const TOKEN = 'acct-token-response-validation' +const D1_URL = `${API_BASE}/accounts/${ACCOUNT_ID}/d1/database` +const SECRET = 'customer-secret-value' + +type DataPoint = { indexes?: string[]; blobs?: Array; doubles?: number[] } + +function mismatches(spy: { mock: { calls: unknown[][] } }): DataPoint[] { + return spy.mock.calls + .map((args) => args[0] as DataPoint) + .filter((dp) => dp?.indexes?.[0] === 'response_schema_mismatch') +} + +async function call(query: string, name: string, args: Record = {}) { + const request = new Request(`${MCP_URL}?${query}`, mcpToolCallRequest(TOKEN, name, args)) + return parseMcpResult(await exports.default.fetch(request)) +} + +const endpointTool = () => call('codemode=false', 'get_accounts_d1_database') +const forgeTool = (name = 'd1_list', args: Record = {}) => + call('codemode=false&experimentalForge=true', name, args) + +/** Background work has no handle; give it time to finish before asserting nothing happened. */ +const settle = () => new Promise((resolve) => setTimeout(resolve, 200)) + +beforeEach(async () => { + // Off for every other test file (vitest.config.ts). + Object.assign(env, { RESPONSE_VALIDATION_SAMPLE_RATE: '1' }) + await seedSpec({ + '/accounts/{account_id}/d1/database': { + get: { summary: 'List D1 Databases', parameters: [{ name: 'account_id', in: 'path' }] } + }, + '/accounts/{account_id}/not-generated': { + get: { + summary: 'Not in the generated tools', + parameters: [{ name: 'account_id', in: 'path' }] + } + } + }) + mockIdentityProbe({ accounts: [{ id: ACCOUNT_ID, name: 'Acc' }] }) +}) + +afterEach(async () => { + Object.assign(env, { RESPONSE_VALIDATION_SAMPLE_RATE: '0' }) + vi.restoreAllMocks() + await clearSpec() + await clearKv(env.OAUTH_KV) +}) + +describe('direct-tool response schema checks', () => { + it('records one mismatch for an endpoint tool and leaves its result unchanged', async () => { + const body = cfSuccess([{ uuid: 42, name: SECRET }, { uuid: 7 }]) + server.use(http.get(D1_URL, () => HttpResponse.json(body))) + const writeSpy = vi.spyOn(env.MCP_METRICS, 'writeDataPoint') + const warnSpy = vi.spyOn(console, 'warn').mockImplementation(() => {}) + + const result = await endpointTool() + + expect(result.result?.isError).toBeFalsy() + expect(toolText(result)).toBe(stringifyResponse(body)) + await vi.waitFor(() => expect(mismatches(writeSpy)).toHaveLength(1)) + expect(mismatches(writeSpy)[0]).toEqual({ + indexes: ['response_schema_mismatch'], + blobs: [ + 'cloudflare-api', + expect.any(String), + null, // account token: no user + 'get_accounts_d1_database', + 'GET', + '/accounts/{account_id}/d1/database', + 'd1', + 'd1_list', // the generated tool whose schema was used + '200', + 'type', + '#/components/schemas/d1_database-identifier/type', + '/result/*/uuid', + source.release + ], + doubles: [0, 200, 2, 1, 1] + }) + + const logged = warnSpy.mock.calls.map((args) => String(args[0])) + const line = logged.find((text) => text.includes('response_schema_mismatch')) + expect(JSON.parse(line!)).toMatchObject({ + message: 'response_schema_mismatch', + forgeTool: 'd1_list', + errorCount: 2, + errors: [ + { keyword: 'type', instancePath: '/result/*/uuid' }, + { keyword: 'type', instancePath: '/result/*/uuid' } + ] + }) + // Neither the datapoint nor the log line carries response values. + expect(JSON.stringify(writeSpy.mock.calls)).not.toContain(SECRET) + expect(logged.join('\n')).not.toContain(SECRET) + }) + + it('checks forge tool responses against the same generated schema', async () => { + const body = cfSuccess([{ uuid: 42 }]) + server.use(http.get(D1_URL, () => HttpResponse.json(body))) + const writeSpy = vi.spyOn(env.MCP_METRICS, 'writeDataPoint') + vi.spyOn(console, 'warn').mockImplementation(() => {}) + + const result = await forgeTool() + + expect(toolText(result)).toBe(stringifyResponse(body)) + await vi.waitFor(() => expect(mismatches(writeSpy)).toHaveLength(1)) + expect(mismatches(writeSpy)[0].blobs?.slice(3, 11)).toEqual([ + 'd1_list', + 'GET', + '/accounts/{account_id}/d1/database', + 'd1', + 'd1_list', + '200', + 'type', + '#/components/schemas/d1_database-identifier/type' + ]) + }) + + it('finds the schema of a forge tool on a merged account-or-zone path', async () => { + server.use( + http.get(`${API_BASE}/accounts/${ACCOUNT_ID}/access/apps`, () => + HttpResponse.json(cfSuccess('not a list')) + ) + ) + const writeSpy = vi.spyOn(env.MCP_METRICS, 'writeDataPoint') + vi.spyOn(console, 'warn').mockImplementation(() => {}) + + await forgeTool('zero_trust_access_applications_list', { account_or_zone: 'accounts' }) + + await vi.waitFor(() => expect(mismatches(writeSpy)).toHaveLength(1)) + expect(mismatches(writeSpy)[0].blobs?.slice(5, 12)).toEqual([ + '/{account_or_zone}/{account_or_zone_id}/access/apps', + 'access', + 'zero_trust_access_applications_list', + '200', + 'type', + '#/responses/200/schema/properties/result/type', + '/result' + ]) + }) + + it('checks error responses against their own schema', async () => { + const body = { + success: false, + errors: [{ code: '10000', message: 'Authentication error' }], + messages: [], + result: null + } + server.use(http.get(D1_URL, () => HttpResponse.json(body, { status: 403 }))) + const writeSpy = vi.spyOn(env.MCP_METRICS, 'writeDataPoint') + vi.spyOn(console, 'warn').mockImplementation(() => {}) + + const result = await endpointTool() + + expect(result.result?.isError).toBe(true) + expect(toolText(result)).toContain('returned HTTP 403') + await vi.waitFor(() => expect(mismatches(writeSpy)).toHaveLength(1)) + const [dp] = mismatches(writeSpy) + expect(dp.blobs?.slice(8, 12)).toEqual([ + '4XX', + 'type', + '#/components/schemas/d1_messages/items/properties/code/type', + '/errors/*/code' + ]) + expect(dp.doubles?.[1]).toBe(403) + }) + + it('records nothing for a response that matches, or an operation with no generated tool', async () => { + server.use( + http.get(D1_URL, () => HttpResponse.json(cfSuccess([{ uuid: 'db-1' }]))), + http.get(`${API_BASE}/accounts/${ACCOUNT_ID}/not-generated`, () => + HttpResponse.json(cfSuccess(42)) + ) + ) + const writeSpy = vi.spyOn(env.MCP_METRICS, 'writeDataPoint') + + const matching = await endpointTool() + await call('codemode=false', 'get_accounts_not_generated') + await settle() + + expect(toolText(matching)).toContain('db-1') + expect(mismatches(writeSpy)).toHaveLength(0) + }) + + it('serves the tool result when recording the mismatch fails', async () => { + const body = cfSuccess([{ uuid: 7 }]) + server.use(http.get(D1_URL, () => HttpResponse.json(body))) + const writeSpy = vi.spyOn(env.MCP_METRICS, 'writeDataPoint').mockImplementation(() => { + throw new Error('Analytics Engine down') + }) + vi.spyOn(console, 'warn').mockImplementation(() => {}) + vi.spyOn(console, 'error').mockImplementation(() => {}) + + const result = await endpointTool() + + expect(toolText(result)).toBe(stringifyResponse(body)) + await vi.waitFor(() => expect(mismatches(writeSpy)).toHaveLength(1)) + }) +}) diff --git a/vitest.config.ts b/vitest.config.ts index 122f8acf..b725d82b 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -22,7 +22,10 @@ export default defineConfig({ MCP_COOKIE_ENCRYPTION_KEY: 'test-cookie-encryption-key-0000000000000000', CLOUDFLARE_CLIENT_ID: 'test-client-id', CLOUDFLARE_CLIENT_SECRET: 'test-client-secret', - MCP_RESOURCE: 'https://mcp.cloudflare.com/mcp' + MCP_RESOURCE: 'https://mcp.cloudflare.com/mcp', + // Response schema checks run in waitUntil and can outlive a test + // file; tests/response-validation-worker.test.ts turns them on. + RESPONSE_VALIDATION_SAMPLE_RATE: '0' }, workers: [ { diff --git a/worker-configuration.d.ts b/worker-configuration.d.ts index 168dbd3c..37b29db7 100644 --- a/worker-configuration.d.ts +++ b/worker-configuration.d.ts @@ -1,5 +1,5 @@ /* eslint-disable */ -// Generated by Wrangler by running `wrangler types --config=wrangler.jsonc --config=wrangler.forge-tools.jsonc --env-file=.env_example` (hash: 01c84b3073da6873f2b381e5fed13929) +// Generated by Wrangler by running `wrangler types --config=wrangler.jsonc --config=wrangler.forge-tools.jsonc --env-file=.env_example` (hash: 9a9ca6ad8f6ddc65f6f5dc45429a52d6) // Runtime types generated with workerd@1.20261006.1 2026-06-17 global_fetch_strictly_public,nodejs_compat interface __BaseEnv_Env { OAUTH_KV: KVNamespace; @@ -11,6 +11,7 @@ interface __BaseEnv_Env { CLOUDFLARE_OAUTH_DOMAIN: "https://dash.staging.cloudflare.com" | "https://dash.cloudflare.com"; MCP_RESOURCE: "https://staging.mcp.cloudflare.com/mcp" | "https://mcp.cloudflare.com/mcp" | "http://localhost:2529/mcp"; OPENAPI_SPEC_URL: "https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json"; + RESPONSE_VALIDATION_SAMPLE_RATE: "1"; MCP_COOKIE_ENCRYPTION_KEY: string; CLOUDFLARE_CLIENT_ID: string; CLOUDFLARE_CLIENT_SECRET: string; @@ -31,6 +32,7 @@ declare namespace Cloudflare { CLOUDFLARE_OAUTH_DOMAIN: "https://dash.staging.cloudflare.com"; MCP_RESOURCE: "https://staging.mcp.cloudflare.com/mcp"; OPENAPI_SPEC_URL: "https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json"; + RESPONSE_VALIDATION_SAMPLE_RATE: "1"; MCP_COOKIE_ENCRYPTION_KEY: string; CLOUDFLARE_CLIENT_ID: string; CLOUDFLARE_CLIENT_SECRET: string; @@ -47,6 +49,7 @@ declare namespace Cloudflare { CLOUDFLARE_OAUTH_DOMAIN: "https://dash.cloudflare.com"; MCP_RESOURCE: "https://mcp.cloudflare.com/mcp"; OPENAPI_SPEC_URL: "https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json"; + RESPONSE_VALIDATION_SAMPLE_RATE: "1"; MCP_COOKIE_ENCRYPTION_KEY: string; CLOUDFLARE_CLIENT_ID: string; CLOUDFLARE_CLIENT_SECRET: string; @@ -60,7 +63,7 @@ type StringifyValues> = { [Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string; }; declare namespace NodeJS { - interface ProcessEnv extends StringifyValues> {} + interface ProcessEnv extends StringifyValues> {} } declare module "*.txt" { const value: string; diff --git a/wrangler.jsonc b/wrangler.jsonc index 565d71e0..c5e55751 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -23,7 +23,8 @@ "CLOUDFLARE_API_BASE": "https://api.cloudflare.com/client/v4", "CLOUDFLARE_OAUTH_DOMAIN": "https://dash.cloudflare.com", "MCP_RESOURCE": "http://localhost:2529/mcp", - "OPENAPI_SPEC_URL": "https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json" + "OPENAPI_SPEC_URL": "https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json", + "RESPONSE_VALIDATION_SAMPLE_RATE": "1" }, "worker_loaders": [ { @@ -117,7 +118,8 @@ "CLOUDFLARE_API_BASE": "https://api.staging.cloudflare.com/client/v4", "CLOUDFLARE_OAUTH_DOMAIN": "https://dash.staging.cloudflare.com", "MCP_RESOURCE": "https://staging.mcp.cloudflare.com/mcp", - "OPENAPI_SPEC_URL": "https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json" + "OPENAPI_SPEC_URL": "https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json", + "RESPONSE_VALIDATION_SAMPLE_RATE": "1" } }, "production": { @@ -172,7 +174,8 @@ "CLOUDFLARE_API_BASE": "https://api.cloudflare.com/client/v4", "CLOUDFLARE_OAUTH_DOMAIN": "https://dash.cloudflare.com", "MCP_RESOURCE": "https://mcp.cloudflare.com/mcp", - "OPENAPI_SPEC_URL": "https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json" + "OPENAPI_SPEC_URL": "https://github.com/cloudflare/forge/releases/latest/download/openapi.forge.json", + "RESPONSE_VALIDATION_SAMPLE_RATE": "1" } } }